@guru-ai-product/ai-product-kit 0.2.251113163244 → 0.2.251113170245
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 +3 -3
- package/bin/setup.js +0 -38
- package/package.json +1 -2
- 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 +3 -3
- 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
|
@@ -110,7 +110,7 @@ Add this configuration to your MCP client so you can access AI Product Kit skill
|
|
|
110
110
|
```toml
|
|
111
111
|
[mcp_servers.ai_product_kit]
|
|
112
112
|
command = "npx"
|
|
113
|
-
args = ["-y", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]
|
|
113
|
+
args = ["-y", "-p", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]
|
|
114
114
|
timeout = 60
|
|
115
115
|
```
|
|
116
116
|
|
|
@@ -121,7 +121,7 @@ timeout = 60
|
|
|
121
121
|
"mcpServers": {
|
|
122
122
|
"ai-product-kit": {
|
|
123
123
|
"command": "npx",
|
|
124
|
-
"args": ["-y", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]
|
|
124
|
+
"args": ["-y", "-p", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ timeout = 60
|
|
|
129
129
|
|
|
130
130
|
**Other MCP Clients** – use the same pattern:
|
|
131
131
|
- Command: `npx`
|
|
132
|
-
- Arguments: `["-y", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]`
|
|
132
|
+
- Arguments: `["-y", "-p", "@guru-ai-product/ai-product-kit@latest", "ai-product-kit-mcp"]`
|
|
133
133
|
|
|
134
134
|
##### Option B: Using Local Installation
|
|
135
135
|
|
package/bin/setup.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const fs = require('node:fs');
|
|
4
4
|
const path = require('node:path');
|
|
5
|
-
const { spawn } = require('node:child_process');
|
|
6
5
|
|
|
7
6
|
const packageRoot = path.resolve(__dirname, '..');
|
|
8
7
|
const bundledSkillsDir = path.join(packageRoot, 'skills');
|
|
@@ -78,44 +77,7 @@ function copyBundledSkills(targetDir) {
|
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
function startMcpServer() {
|
|
82
|
-
const mcpServerPath = path.join(packageRoot, 'mcp', 'src', 'server.js');
|
|
83
|
-
log('Starting MCP server via setup dispatcher...');
|
|
84
|
-
const child = spawn(process.execPath, [mcpServerPath], {
|
|
85
|
-
stdio: 'inherit',
|
|
86
|
-
cwd: path.join(packageRoot, 'mcp', 'src')
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
child.on('close', (code) => {
|
|
90
|
-
if (code !== 0) {
|
|
91
|
-
console.error(`\n[ai-product-kit] MCP server exited with code ${code}`);
|
|
92
|
-
process.exit(code);
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
child.on('error', (err) => {
|
|
97
|
-
console.error('[ai-product-kit] Failed to start MCP server:', err.message);
|
|
98
|
-
process.exit(1);
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
const shutdown = (signal) => () => {
|
|
102
|
-
log(`Shutting down MCP server (${signal})...`);
|
|
103
|
-
child.kill(signal);
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
process.on('SIGINT', shutdown('SIGINT'));
|
|
107
|
-
process.on('SIGTERM', shutdown('SIGTERM'));
|
|
108
|
-
}
|
|
109
|
-
|
|
110
80
|
function main() {
|
|
111
|
-
// Support npx invocation pattern:
|
|
112
|
-
// npx -y @guru-ai-product/ai-product-kit@latest ai-product-kit-mcp
|
|
113
|
-
const subcmd = process.argv[2];
|
|
114
|
-
if (subcmd && (subcmd === 'ai-product-kit-mcp' || subcmd === 'mcp')) {
|
|
115
|
-
return startMcpServer();
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// Default behavior: copy bundled skills into .claude/skills
|
|
119
81
|
assertBundledSkills();
|
|
120
82
|
const targetDir = path.join(process.cwd(), '.claude', 'skills');
|
|
121
83
|
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.
|
|
3
|
+
"version": "0.2.251113170245",
|
|
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",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "UNLICENSED",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
25
24
|
"sharp": "^0.33.3"
|
|
26
25
|
}
|
|
27
26
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# GURU AI Snapshot
|
|
2
2
|
|
|
3
|
-
Last refreshed: 2025-11-
|
|
3
|
+
Last refreshed: 2025-11-13T09:02:45.464Z
|
|
4
4
|
|
|
5
5
|
| File | Last Modified (UTC) |
|
|
6
6
|
| --- | --- |
|
|
7
7
|
| `scripts/check_agents.sh` | 2025-11-13T04:11:11.782Z |
|
|
8
8
|
| `SKILL.md` | 2025-11-13T07:34:56.198Z |
|
|
9
|
-
| `template/AGENTS_TEMPLATE_MCP.md` | 2025-11-
|
|
10
|
-
| `template/AGENTS_TEMPLATE.md` | 2025-11-
|
|
9
|
+
| `template/AGENTS_TEMPLATE_MCP.md` | 2025-11-13T09:02:45.430Z |
|
|
10
|
+
| `template/AGENTS_TEMPLATE.md` | 2025-11-13T09:02:45.424Z |
|