@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 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 main() {
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@guru-ai-product/ai-product-kit",
3
- "version": "0.2.251113181644",
3
+ "version": "0.2.251113183443",
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-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
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-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
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-13T10:16:44.504Z
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:16:44.467Z |
10
+ | `template/AGENTS_TEMPLATE.md` | 2025-11-13T10:34:43.412Z |
@@ -1,6 +1,6 @@
1
1
  # GURU AI Snapshot
2
2
 
3
- Last refreshed: 2025-11-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
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-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
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-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
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-13T10:16:44.504Z
3
+ Last refreshed: 2025-11-13T10:34:43.468Z
4
4
 
5
5
  | File | Last Modified (UTC) |
6
6
  | --- | --- |