@guru-ai-product/ai-product-kit 0.2.251118163500 → 0.2.251118173511
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/bin/setup.js +26 -37
- package/mcp/skills/aipk_init_project/template/AGENTS_TEMPLATE.md +1 -1
- package/package.json +1 -1
- package/skills/aipk_aso-new-release/GURU_AI.md +1 -1
- package/skills/aipk_development/GURU_AI.md +1 -1
- package/skills/aipk_format-requirement-pages-with-design/GURU_AI.md +1 -1
- package/skills/aipk_init_project/GURU_AI.md +2 -2
- package/skills/aipk_init_project/template/AGENTS_TEMPLATE.md +3 -1
- package/skills/aipk_initiative-planning/GURU_AI.md +1 -1
- package/skills/aipk_requirements-changes/GURU_AI.md +1 -1
- package/skills/aipk_requirements-documentation/GURU_AI.md +1 -1
- package/skills/aipk_requirements-intake/GURU_AI.md +1 -1
- package/skills/aipk_skill_generate/GURU_AI.md +1 -1
- package/skills/aipk_tool_prompts/GURU_AI.md +1 -1
- package/skills/aipk_update-requirements-from-design/GURU_AI.md +1 -1
package/bin/setup.js
CHANGED
|
@@ -283,54 +283,43 @@ function mergeAgentsContent(existingContent, newTemplate) {
|
|
|
283
283
|
|
|
284
284
|
function parseTemplate(template) {
|
|
285
285
|
const parts = {};
|
|
286
|
-
|
|
287
286
|
const projectOverviewIndex = template.indexOf('# Project Overview');
|
|
287
|
+
const conventionsIndex = template.indexOf('## Conventions');
|
|
288
|
+
const skillsBundleAccessIndex = template.indexOf('## Skills Bundle Access');
|
|
289
|
+
let skillsSystemIndex = template.indexOf('<skills_system priority');
|
|
290
|
+
if (skillsSystemIndex === -1) {
|
|
291
|
+
skillsSystemIndex = template.indexOf('<skills_system');
|
|
292
|
+
}
|
|
293
|
+
|
|
288
294
|
if (projectOverviewIndex !== -1) {
|
|
289
|
-
const
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
const skillsSystemTagIndex = afterProjectOverview.indexOf(skillsSystemTagMatch[0]);
|
|
297
|
-
parts.projectOverview = afterProjectOverview.substring(0, skillsSystemTagIndex).trim();
|
|
298
|
-
} else {
|
|
299
|
-
parts.projectOverview = afterProjectOverview.trim();
|
|
300
|
-
}
|
|
301
|
-
}
|
|
295
|
+
const projectEnd =
|
|
296
|
+
conventionsIndex !== -1
|
|
297
|
+
? conventionsIndex
|
|
298
|
+
: skillsSystemIndex !== -1
|
|
299
|
+
? skillsSystemIndex
|
|
300
|
+
: template.length;
|
|
301
|
+
parts.projectOverview = template.substring(projectOverviewIndex, projectEnd).trim();
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
const conventionsIndex = template.indexOf('## Conventions');
|
|
305
304
|
if (conventionsIndex !== -1) {
|
|
306
|
-
const
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
const skillsSystemTagIndex = afterConventions.indexOf(skillsSystemTagMatch[0]);
|
|
314
|
-
parts.conventions = afterConventions.substring(0, skillsSystemTagIndex).trim();
|
|
315
|
-
} else {
|
|
316
|
-
parts.conventions = afterConventions.trim();
|
|
317
|
-
}
|
|
318
|
-
}
|
|
305
|
+
const conventionsEnd =
|
|
306
|
+
skillsBundleAccessIndex !== -1
|
|
307
|
+
? skillsBundleAccessIndex
|
|
308
|
+
: skillsSystemIndex !== -1
|
|
309
|
+
? skillsSystemIndex
|
|
310
|
+
: template.length;
|
|
311
|
+
parts.conventions = template.substring(conventionsIndex, conventionsEnd).trim();
|
|
319
312
|
}
|
|
320
313
|
|
|
321
|
-
const skillsBundleAccessIndex = template.indexOf('## Skills Bundle Access');
|
|
322
314
|
if (skillsBundleAccessIndex !== -1) {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
const skillsSystemTagIndex = afterSkillsBundleAccess.indexOf(skillsSystemTagMatch[0]);
|
|
327
|
-
parts.skillsBundleAccess = afterSkillsBundleAccess.substring(0, skillsSystemTagIndex).trim();
|
|
328
|
-
} else {
|
|
329
|
-
parts.skillsBundleAccess = afterSkillsBundleAccess.trim();
|
|
315
|
+
let bundleEnd = skillsSystemIndex !== -1 ? skillsSystemIndex : template.length;
|
|
316
|
+
if (bundleEnd <= skillsBundleAccessIndex) {
|
|
317
|
+
bundleEnd = template.length;
|
|
330
318
|
}
|
|
319
|
+
parts.skillsBundleAccess = template.substring(skillsBundleAccessIndex, bundleEnd).trim();
|
|
331
320
|
}
|
|
332
321
|
|
|
333
|
-
const skillsSystemMatch = template.match(/<skills_system[\s\S]*?<\/skills_system>/);
|
|
322
|
+
const skillsSystemMatch = template.match(/<skills_system[^>]*priority[\s\S]*?<\/skills_system>/);
|
|
334
323
|
if (skillsSystemMatch) {
|
|
335
324
|
parts.skillsSystem = skillsSystemMatch[0];
|
|
336
325
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# GURU AI Snapshot
|
|
2
2
|
|
|
3
|
-
Last refreshed: 2025-11-
|
|
3
|
+
Last refreshed: 2025-11-18T09:35:11.934Z
|
|
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-
|
|
10
|
+
| `template/AGENTS_TEMPLATE.md` | 2025-11-18T09:35:11.826Z |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- Shared base for AGENTS templates (do not edit sections added by automation) -->
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Project Overview
|
|
4
4
|
|
|
5
5
|
Write a concise overview of your project here. Keep it brief and scannable.
|
|
6
6
|
|
|
@@ -13,6 +13,8 @@ Write a concise overview of your project here. Keep it brief and scannable.
|
|
|
13
13
|
|
|
14
14
|
## Skills Bundle Access
|
|
15
15
|
|
|
16
|
+
> Setup (`npx -y @guru-ai-product/ai-product-kit@latest ai-product-kit`) already performs these steps once; repeat them only when the `.claude/skills/` bundle is missing or outdated.
|
|
17
|
+
|
|
16
18
|
1. Ensure `.claude/skills/` contains the latest AI Product Kit bundle before editing documents.
|
|
17
19
|
2. Inspect the Skill folders to locate templates, prompts, and GURU snapshots relevant to your task.
|
|
18
20
|
3. When sharing references, link to the files under `.claude/skills/` using relative Markdown paths.
|