@guru-ai-product/ai-product-kit 0.2.251117191453 → 0.2.251117192248
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 +40 -9
- 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_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
|
@@ -284,19 +284,50 @@ function mergeAgentsContent(existingContent, newTemplate) {
|
|
|
284
284
|
function parseTemplate(template) {
|
|
285
285
|
const parts = {};
|
|
286
286
|
|
|
287
|
-
const
|
|
288
|
-
if (
|
|
289
|
-
|
|
287
|
+
const projectOverviewIndex = template.indexOf('# Project Overview');
|
|
288
|
+
if (projectOverviewIndex !== -1) {
|
|
289
|
+
const afterProjectOverview = template.substring(projectOverviewIndex);
|
|
290
|
+
const conventionsIndex = afterProjectOverview.indexOf('\n## Conventions');
|
|
291
|
+
if (conventionsIndex !== -1) {
|
|
292
|
+
parts.projectOverview = afterProjectOverview.substring(0, conventionsIndex).trim();
|
|
293
|
+
} else {
|
|
294
|
+
const skillsSystemTagMatch = afterProjectOverview.match(/<skills_system[\s>]/);
|
|
295
|
+
if (skillsSystemTagMatch) {
|
|
296
|
+
const skillsSystemTagIndex = afterProjectOverview.indexOf(skillsSystemTagMatch[0]);
|
|
297
|
+
parts.projectOverview = afterProjectOverview.substring(0, skillsSystemTagIndex).trim();
|
|
298
|
+
} else {
|
|
299
|
+
parts.projectOverview = afterProjectOverview.trim();
|
|
300
|
+
}
|
|
301
|
+
}
|
|
290
302
|
}
|
|
291
303
|
|
|
292
|
-
const
|
|
293
|
-
if (
|
|
294
|
-
|
|
304
|
+
const conventionsIndex = template.indexOf('## Conventions');
|
|
305
|
+
if (conventionsIndex !== -1) {
|
|
306
|
+
const afterConventions = template.substring(conventionsIndex);
|
|
307
|
+
const skillsBundleAccessIndex = afterConventions.indexOf('\n## Skills Bundle Access');
|
|
308
|
+
if (skillsBundleAccessIndex !== -1) {
|
|
309
|
+
parts.conventions = afterConventions.substring(0, skillsBundleAccessIndex).trim();
|
|
310
|
+
} else {
|
|
311
|
+
const skillsSystemTagMatch = afterConventions.match(/<skills_system[\s>]/);
|
|
312
|
+
if (skillsSystemTagMatch) {
|
|
313
|
+
const skillsSystemTagIndex = afterConventions.indexOf(skillsSystemTagMatch[0]);
|
|
314
|
+
parts.conventions = afterConventions.substring(0, skillsSystemTagIndex).trim();
|
|
315
|
+
} else {
|
|
316
|
+
parts.conventions = afterConventions.trim();
|
|
317
|
+
}
|
|
318
|
+
}
|
|
295
319
|
}
|
|
296
320
|
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
|
|
321
|
+
const skillsBundleAccessIndex = template.indexOf('## Skills Bundle Access');
|
|
322
|
+
if (skillsBundleAccessIndex !== -1) {
|
|
323
|
+
const afterSkillsBundleAccess = template.substring(skillsBundleAccessIndex);
|
|
324
|
+
const skillsSystemTagMatch = afterSkillsBundleAccess.match(/<skills_system[\s>]/);
|
|
325
|
+
if (skillsSystemTagMatch) {
|
|
326
|
+
const skillsSystemTagIndex = afterSkillsBundleAccess.indexOf(skillsSystemTagMatch[0]);
|
|
327
|
+
parts.skillsBundleAccess = afterSkillsBundleAccess.substring(0, skillsSystemTagIndex).trim();
|
|
328
|
+
} else {
|
|
329
|
+
parts.skillsBundleAccess = afterSkillsBundleAccess.trim();
|
|
330
|
+
}
|
|
300
331
|
}
|
|
301
332
|
|
|
302
333
|
const skillsSystemMatch = template.match(/<skills_system[\s\S]*?<\/skills_system>/);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# GURU AI Snapshot
|
|
2
2
|
|
|
3
|
-
Last refreshed: 2025-11-17T11:
|
|
3
|
+
Last refreshed: 2025-11-17T11:22:48.910Z
|
|
4
4
|
|
|
5
5
|
| File | Last Modified (UTC) |
|
|
6
6
|
| --- | --- |
|
|
7
7
|
| `scripts/check_agents.sh` | 2025-11-13T09:03:47.702Z |
|
|
8
8
|
| `skill.ini` | 2025-11-13T09:47:02.793Z |
|
|
9
9
|
| `SKILL.md` | 2025-11-13T10:06:33.764Z |
|
|
10
|
-
| `template/AGENTS_TEMPLATE.md` | 2025-11-17T11:
|
|
10
|
+
| `template/AGENTS_TEMPLATE.md` | 2025-11-17T11:22:48.804Z |
|