@guru-ai-product/ai-product-kit 0.2.251118174220 → 0.2.251119110850

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -65,23 +65,25 @@ First-time setup or update to the latest version:
65
65
  npx -y @guru-ai-product/ai-product-kit@latest ai-product-kit
66
66
  ```
67
67
 
68
- This downloads the Skill bundle (templates, scripts, and `GURU_AI.md` files) to `.claude/skills/` in your working tree.
69
-
70
- #### 2. 🚀 Initialize Your Project
71
-
72
- ```text
73
- Initialize my project using the init-project skill located at .claude/skills/aipk_init_project.
74
- ```
75
-
76
- #### 3. 📋 Using Skills
77
-
78
- After initialization, use any Skill to accelerate your workflow:
79
-
80
- ```text
81
- Please write a PRD for feature X using the AI Product Kit template
82
- ```
83
-
84
- Each Skill provides specific templates, checklists, and guidance for that phase of the product lifecycle.
68
+ This downloads the Skill bundle (templates, scripts, and `GURU_AI.md` files) to `.claude/skills/` in your working tree. The bundle is ready to use immediately—agents learn where every Skill lives from `AGENTS.md`, so no explicit initialization command is required.
69
+
70
+ #### 2. 🧩 Skill Usage Examples
71
+
72
+ Use the prompts below as templates for each Skill. Swap in your feature, artifact, or dataset details to get phase-specific deliverables.
73
+
74
+ | Skill | Scenario | Example Prompt | Likely Result |
75
+ |-------|----------|----------------|---------------|
76
+ | `aipk_init_project` | New repository needs guardrail coverage | `Run aipk_init_project to audit AGENTS.md and spell out any missing guardrails before we invite the triad.` | Actionable checklist with required sections, TODO comments, and remediation steps. |
77
+ | `aipk_requirements-intake` | Validate an idea from interviews and market scans | `Use aipk_requirements-intake to summarize the last five research calls and create an intake brief for voice journaling.` | Intake artifact covering goals, user pains, supporting data, and next-step experiments. |
78
+ | `aipk_requirements-documentation` | Draft a net-new PRD | `Apply aipk_requirements-documentation to produce a PRD for multimodal search in the mobile workspace app.` | Structured PRD with problem statement, requirements, flows, KPIs, and acceptance criteria. |
79
+ | `aipk_requirements-changes` | Capture deltas between requirement versions | `Use aipk_requirements-changes to document what changed between v1.2 and v1.3 of the sharing experience.` | Change log including context, before/after comparison tables, and approvals. |
80
+ | `aipk_initiative-planning` | Scope a cross-functional program | `Ask aipk_initiative-planning to map dependencies, staffing, and risk mitigations for the AI launch readiness initiative.` | Initiative canvas outlining objectives, swimlanes, resource asks, and risk tracking. |
81
+ | `aipk_update-requirements-from-design` | Align PRD text with new mockups | `Leverage aipk_update-requirements-from-design to sync the latest Figma frames for the composer with the spec.` | Updated requirement sections that cite panel IDs, describe UX changes, and log diffs. |
82
+ | `aipk_format-requirement-pages-with-design` | Format doc pages that mix copy and visuals | `Use aipk_format-requirement-pages-with-design to turn the payments walkthrough page into a two-column layout with the hero mock.` | Markdown table pairing design captions with corresponding assets and annotations. |
83
+ | `aipk_aso-new-release` | Prepare store listing updates | `Invoke aipk_aso-new-release to craft the 4.2 release notes plus asset requests for the growth sprint.` | Polished ASO brief covering highlights, localized blurbs, and screenshot/video guidance. |
84
+ | `aipk_development` | Plan engineering execution | `Use aipk_development to outline the implementation plan for the voice summarization service handoff.` | Development plan with architecture notes, tasks by owner, testing hooks, and rollout steps. |
85
+ | `aipk_skill_generate` | Create a custom Skill for an internal guide | `Call aipk_skill_generate to scaffold a skill focused on data-retention audits.` | Ready-to-ship Skill folder containing SKILL.md, prompts, metadata, and validation checklist. |
86
+ | `aipk_tool_prompts` | Reuse trusted prompting patterns | `Ask aipk_tool_prompts for the recommended prompt to diff two API schemas and highlight developer risks.` | Reusable prompt block plus instructions on how to adapt inputs and expected outputs. |
85
87
 
86
88
  ### ⚡ Using MCP Server
87
89
 
package/bin/setup.js CHANGED
@@ -281,9 +281,15 @@ function mergeAgentsContent(existingContent, newTemplate) {
281
281
  return parts.join('\n\n').trim() + '\n';
282
282
  }
283
283
 
284
+ function findProjectOverviewIndex(text) {
285
+ const h2Index = text.indexOf('## Project Overview');
286
+ if (h2Index !== -1) return h2Index;
287
+ return text.indexOf('# Project Overview');
288
+ }
289
+
284
290
  function parseTemplate(template) {
285
291
  const parts = {};
286
- const projectOverviewIndex = template.indexOf('# Project Overview');
292
+ const projectOverviewIndex = findProjectOverviewIndex(template);
287
293
  const conventionsIndex = template.indexOf('## Conventions');
288
294
  const skillsBundleAccessIndex = template.indexOf('## Skills Bundle Access');
289
295
  let skillsSystemIndex = template.indexOf('<skills_system priority');
@@ -335,7 +341,7 @@ function parseTemplate(template) {
335
341
  function parseExistingContent(content) {
336
342
  const parts = {};
337
343
 
338
- const projectOverviewStart = content.search(/# Project Overview/);
344
+ const projectOverviewStart = content.search(/##? Project Overview/);
339
345
  if (projectOverviewStart === -1) {
340
346
  const beforeConventions = content.split(/## Conventions|<skills_system/)[0].trim();
341
347
  if (beforeConventions) {
@@ -348,9 +354,11 @@ function parseExistingContent(content) {
348
354
  parts.beforeProjectOverview = content.substring(0, projectOverviewStart).trim();
349
355
  }
350
356
 
351
- const projectOverviewMatch = content.substring(projectOverviewStart).match(/# Project Overview\s*\n([\s\S]*?)(?=\n## Conventions|<skills_system|$)/);
357
+ const projectOverviewMatch = content
358
+ .substring(projectOverviewStart)
359
+ .match(/((?:##|#) Project Overview\s*\n[\s\S]*?)(?=\n## Conventions|<skills_system|$)/);
352
360
  if (projectOverviewMatch) {
353
- parts.projectOverview = `# Project Overview\n${projectOverviewMatch[1].trim()}`;
361
+ parts.projectOverview = projectOverviewMatch[1].trim();
354
362
  }
355
363
 
356
364
  const ruleCommentMatch = content.match(/<!-- rule:[\s\S]*?-->/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guru-ai-product/ai-product-kit",
3
- "version": "0.2.251118174220",
3
+ "version": "0.2.251119110850",
4
4
  "description": "Sync the AI Product Kit Skill bundle through npx without cloning the repository.",
5
5
  "bin": {
6
6
  "ai-product-kit": "bin/setup.js",
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,10 +1,10 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
7
7
  | `scripts/check_agents.sh` | 2025-11-13T09:03:47.000Z |
8
8
  | `skill.ini` | 2025-11-13T09:47:02.000Z |
9
9
  | `SKILL.md` | 2025-11-17T13:24:45.000Z |
10
- | `template/AGENTS_TEMPLATE.md` | 2025-11-18T09:42:20.387Z |
10
+ | `template/AGENTS_TEMPLATE.md` | 2025-11-19T03:08:50.864Z |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-18T09:42:20.501Z
3
+ Last refreshed: 2025-11-19T03:08:50.945Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |