@guru-ai-product/ai-product-kit 0.2.251113181644 β 0.2.251113183443
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 +4 -2
- package/bin/setup.js +45 -1
- package/package.json +1 -1
- package/skills/aipk_design/GURU_AI.md +1 -1
- package/skills/aipk_development/GURU_AI.md +1 -1
- package/skills/aipk_init_project/GURU_AI.md +2 -2
- package/skills/aipk_operations/GURU_AI.md +1 -1
- package/skills/aipk_requirements/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/README.md
CHANGED
|
@@ -82,7 +82,7 @@ This downloads the Skill bundle (templates, scripts, and `GURU_AI.md` files) to
|
|
|
82
82
|
#### 2. π Initialize Your Project
|
|
83
83
|
|
|
84
84
|
```text
|
|
85
|
-
Initialize my project using the init-project skill.
|
|
85
|
+
Initialize my project using the init-project skill located at .claude/skills/aipk_init_project.
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
#### 3. π Using Skills
|
|
@@ -168,8 +168,10 @@ The tool returns:
|
|
|
168
168
|
|
|
169
169
|
#### 4. π Initialize Your Project
|
|
170
170
|
|
|
171
|
+
Use the MCP tool to initialize your project:
|
|
172
|
+
|
|
171
173
|
```text
|
|
172
|
-
Initialize my project using the init-project skill.
|
|
174
|
+
Initialize my project using the init-project skill with the product_kit_skill tool.
|
|
173
175
|
```
|
|
174
176
|
|
|
175
177
|
#### 5. π Supported Skills
|
package/bin/setup.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const fs = require('node:fs');
|
|
4
4
|
const path = require('node:path');
|
|
5
|
+
const { spawn, spawnSync } = require('node:child_process');
|
|
5
6
|
|
|
6
7
|
const packageRoot = path.resolve(__dirname, '..');
|
|
7
8
|
const bundledSkillsDir = path.join(packageRoot, 'skills');
|
|
@@ -77,7 +78,50 @@ function copyBundledSkills(targetDir) {
|
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
|
|
80
|
-
function
|
|
81
|
+
function installOrUpdateOpenskills() {
|
|
82
|
+
return new Promise((resolve, reject) => {
|
|
83
|
+
log('Checking and installing/updating openskills globally...');
|
|
84
|
+
|
|
85
|
+
const child = spawn('npm', ['install', '-g', 'openskills@latest'], {
|
|
86
|
+
stdio: 'pipe',
|
|
87
|
+
shell: true
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
let stdout = '';
|
|
91
|
+
let stderr = '';
|
|
92
|
+
|
|
93
|
+
child.stdout.on('data', (data) => {
|
|
94
|
+
stdout += data.toString();
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
child.stderr.on('data', (data) => {
|
|
98
|
+
stderr += data.toString();
|
|
99
|
+
process.stderr.write(data);
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
child.on('close', (code) => {
|
|
103
|
+
if (code === 0) {
|
|
104
|
+
log('Successfully installed/updated openskills globally.');
|
|
105
|
+
resolve();
|
|
106
|
+
} else {
|
|
107
|
+
if (stdout) log(stdout);
|
|
108
|
+
log('Warning: Failed to install/update openskills globally. Continuing anyway...');
|
|
109
|
+
log('You may need to install it manually: npm install -g openskills');
|
|
110
|
+
resolve(); // δΈζη»οΌη»§η»ζ§θ‘
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
child.on('error', (err) => {
|
|
115
|
+
log('Warning: Could not run npm to install openskills. Continuing anyway...');
|
|
116
|
+
log('You may need to install it manually: npm install -g openskills');
|
|
117
|
+
resolve(); // δΈζη»οΌη»§η»ζ§θ‘
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
async function main() {
|
|
123
|
+
await installOrUpdateOpenskills();
|
|
124
|
+
|
|
81
125
|
assertBundledSkills();
|
|
82
126
|
const targetDir = path.join(process.cwd(), '.claude', 'skills');
|
|
83
127
|
ensureClaudeSkillsDir(targetDir);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# GURU AI Snapshot
|
|
2
2
|
|
|
3
|
-
Last refreshed: 2025-11-13T10:
|
|
3
|
+
Last refreshed: 2025-11-13T10:34:43.468Z
|
|
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-13T10:
|
|
10
|
+
| `template/AGENTS_TEMPLATE.md` | 2025-11-13T10:34:43.412Z |
|