musubi-sdd 0.1.3 → 0.1.4

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.
@@ -86,7 +86,7 @@ async function main(agent, agentKey) {
86
86
  ];
87
87
 
88
88
  // Skills selection is only for Claude Code (Skills API exclusive)
89
- if (agent.features.hasSkills) {
89
+ if (agentKey === 'claude-code' && agent.layout.skillsDir) {
90
90
  prompts.push({
91
91
  type: 'checkbox',
92
92
  name: 'skills',
@@ -149,8 +149,8 @@ async function main(agent, agentKey) {
149
149
  console.log(chalk.gray(` Created ${dir}/`));
150
150
  }
151
151
 
152
- // Install skills (Claude Code only)
153
- if (agent.features.hasSkills && answers.skills) {
152
+ // Install skills (Claude Code only - Skills API)
153
+ if (agentKey === 'claude-code' && agent.layout.skillsDir && answers.skills) {
154
154
  const skillGroups = {
155
155
  core: ['orchestrator', 'steering', 'constitution-enforcer'],
156
156
  requirements: ['requirements-analyst', 'project-manager', 'change-impact-analyzer'],
@@ -221,6 +221,11 @@ async function main(agent, agentKey) {
221
221
  }
222
222
 
223
223
  async function copySkill(skillName, agent) {
224
+ // Only Claude Code has skillsDir (Skills API)
225
+ if (!agent.layout.skillsDir) {
226
+ return; // Skip for agents without Skills API support
227
+ }
228
+
224
229
  const srcDir = path.join(AGENTS_TEMPLATE_DIR, 'claude-code', 'skills', skillName);
225
230
  const destDir = path.join(agent.layout.skillsDir, skillName);
226
231
  await fs.copy(srcDir, destDir);
package/bin/musubi.js CHANGED
@@ -39,7 +39,7 @@ aliasFlags.forEach(flag => {
39
39
  initCommand.option(`--${flag}`, `Select agent: ${flag}`);
40
40
  });
41
41
 
42
- initCommand.action((options) => {
42
+ initCommand.action(async (options) => {
43
43
  const agentKey = detectAgentFromFlags(options);
44
44
  const agent = getAgentDefinition(agentKey);
45
45
 
@@ -47,7 +47,8 @@ initCommand.action((options) => {
47
47
  console.log(chalk.gray(`Description: ${agent.description}\n`));
48
48
 
49
49
  // Delegate to musubi-init.js with agent info
50
- require('./musubi-init.js')(agent, agentKey);
50
+ const initMain = require('./musubi-init.js');
51
+ await initMain(agent, agentKey);
51
52
  });
52
53
 
53
54
  // ============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musubi-sdd",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Ultimate Specification Driven Development Tool with 25 Agents for 7 AI Coding Platforms (Claude Code, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Qwen Code)",
5
5
  "main": "src/index.js",
6
6
  "bin": {