musubi-sdd 0.1.0
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/LICENSE +21 -0
- package/README.ja.md +531 -0
- package/README.md +531 -0
- package/bin/musubi-init.js +321 -0
- package/bin/musubi.js +359 -0
- package/package.json +55 -0
- package/src/agents/registry.js +242 -0
- package/src/templates/agents/claude-code/CLAUDE.md +232 -0
- package/src/templates/agents/claude-code/commands/sdd-design.md +673 -0
- package/src/templates/agents/claude-code/commands/sdd-implement.md +777 -0
- package/src/templates/agents/claude-code/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/claude-code/commands/sdd-steering.md +334 -0
- package/src/templates/agents/claude-code/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/claude-code/commands/sdd-validate.md +710 -0
- package/src/templates/agents/claude-code/skills/ai-ml-engineer/SKILL.md +3055 -0
- package/src/templates/agents/claude-code/skills/api-designer/SKILL.md +1364 -0
- package/src/templates/agents/claude-code/skills/bug-hunter/SKILL.md +482 -0
- package/src/templates/agents/claude-code/skills/change-impact-analyzer/SKILL.md +397 -0
- package/src/templates/agents/claude-code/skills/cloud-architect/SKILL.md +1468 -0
- package/src/templates/agents/claude-code/skills/code-reviewer/SKILL.md +906 -0
- package/src/templates/agents/claude-code/skills/constitution-enforcer/SKILL.md +466 -0
- package/src/templates/agents/claude-code/skills/database-administrator/SKILL.md +3522 -0
- package/src/templates/agents/claude-code/skills/database-schema-designer/SKILL.md +1158 -0
- package/src/templates/agents/claude-code/skills/devops-engineer/SKILL.md +647 -0
- package/src/templates/agents/claude-code/skills/orchestrator/SKILL.md +574 -0
- package/src/templates/agents/claude-code/skills/performance-optimizer/SKILL.md +464 -0
- package/src/templates/agents/claude-code/skills/project-manager/SKILL.md +769 -0
- package/src/templates/agents/claude-code/skills/quality-assurance/SKILL.md +1059 -0
- package/src/templates/agents/claude-code/skills/release-coordinator/SKILL.md +653 -0
- package/src/templates/agents/claude-code/skills/requirements-analyst/SKILL.md +1287 -0
- package/src/templates/agents/claude-code/skills/security-auditor/SKILL.md +1107 -0
- package/src/templates/agents/claude-code/skills/site-reliability-engineer/SKILL.md +404 -0
- package/src/templates/agents/claude-code/skills/software-developer/SKILL.md +1254 -0
- package/src/templates/agents/claude-code/skills/steering/SKILL.md +383 -0
- package/src/templates/agents/claude-code/skills/system-architect/SKILL.md +1288 -0
- package/src/templates/agents/claude-code/skills/technical-writer/SKILL.md +712 -0
- package/src/templates/agents/claude-code/skills/test-engineer/SKILL.md +1262 -0
- package/src/templates/agents/claude-code/skills/traceability-auditor/SKILL.md +298 -0
- package/src/templates/agents/claude-code/skills/ui-ux-designer/SKILL.md +1009 -0
- package/src/templates/agents/codex/AGENTS.md +138 -0
- package/src/templates/agents/codex/commands/sdd-design.md +673 -0
- package/src/templates/agents/codex/commands/sdd-implement.md +777 -0
- package/src/templates/agents/codex/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/codex/commands/sdd-steering.md +334 -0
- package/src/templates/agents/codex/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/codex/commands/sdd-validate.md +710 -0
- package/src/templates/agents/cursor/AGENTS.md +138 -0
- package/src/templates/agents/cursor/commands/sdd-design.md +673 -0
- package/src/templates/agents/cursor/commands/sdd-implement.md +777 -0
- package/src/templates/agents/cursor/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/cursor/commands/sdd-steering.md +334 -0
- package/src/templates/agents/cursor/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/cursor/commands/sdd-validate.md +710 -0
- package/src/templates/agents/gemini-cli/GEMINI.md +128 -0
- package/src/templates/agents/gemini-cli/commands/sdd-design.toml +359 -0
- package/src/templates/agents/gemini-cli/commands/sdd-implement.toml +484 -0
- package/src/templates/agents/gemini-cli/commands/sdd-requirements.toml +291 -0
- package/src/templates/agents/gemini-cli/commands/sdd-steering.toml +209 -0
- package/src/templates/agents/gemini-cli/commands/sdd-tasks.toml +441 -0
- package/src/templates/agents/gemini-cli/commands/sdd-validate.toml +553 -0
- package/src/templates/agents/github-copilot/AGENTS.md +138 -0
- package/src/templates/agents/github-copilot/commands/sdd-design.md +673 -0
- package/src/templates/agents/github-copilot/commands/sdd-implement.md +777 -0
- package/src/templates/agents/github-copilot/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/github-copilot/commands/sdd-steering.md +334 -0
- package/src/templates/agents/github-copilot/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/github-copilot/commands/sdd-validate.md +710 -0
- package/src/templates/agents/qwen-code/QWEN.md +128 -0
- package/src/templates/agents/qwen-code/commands/sdd-design.md +673 -0
- package/src/templates/agents/qwen-code/commands/sdd-implement.md +777 -0
- package/src/templates/agents/qwen-code/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/qwen-code/commands/sdd-steering.md +334 -0
- package/src/templates/agents/qwen-code/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/qwen-code/commands/sdd-validate.md +710 -0
- package/src/templates/agents/windsurf/AGENTS.md +138 -0
- package/src/templates/agents/windsurf/commands/sdd-design.md +673 -0
- package/src/templates/agents/windsurf/commands/sdd-implement.md +777 -0
- package/src/templates/agents/windsurf/commands/sdd-requirements.md +438 -0
- package/src/templates/agents/windsurf/commands/sdd-steering.md +334 -0
- package/src/templates/agents/windsurf/commands/sdd-tasks.md +582 -0
- package/src/templates/agents/windsurf/commands/sdd-validate.md +710 -0
- package/src/templates/shared/constitution/constitution.md +408 -0
- package/src/templates/shared/constitution/ears-format.md +613 -0
- package/src/templates/shared/constitution/workflow.md +653 -0
- package/src/templates/shared/documents/design.md +737 -0
- package/src/templates/shared/documents/requirements.md +329 -0
- package/src/templates/shared/documents/research.md +494 -0
- package/src/templates/shared/documents/tasks.md +781 -0
- package/src/templates/shared/steering/product.md +544 -0
- package/src/templates/shared/steering/structure.md +405 -0
- package/src/templates/shared/steering/tech.md +537 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "musubi-sdd",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Ultimate Specification Driven Development Tool with 25 Claude Code Skills",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"musubi": "bin/musubi.js",
|
|
8
|
+
"musubi-init": "bin/musubi-init.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "jest",
|
|
12
|
+
"test:watch": "jest --watch",
|
|
13
|
+
"test:coverage": "jest --coverage",
|
|
14
|
+
"lint": "eslint bin/ src/ tests/",
|
|
15
|
+
"lint:fix": "eslint bin/ src/ tests/ --fix",
|
|
16
|
+
"format": "prettier --write bin/ src/ tests/"
|
|
17
|
+
},
|
|
18
|
+
"keywords": [
|
|
19
|
+
"specification-driven-development",
|
|
20
|
+
"sdd",
|
|
21
|
+
"claude-code",
|
|
22
|
+
"claude-skills",
|
|
23
|
+
"requirements",
|
|
24
|
+
"ears-format",
|
|
25
|
+
"constitutional-governance",
|
|
26
|
+
"traceability",
|
|
27
|
+
"musubi"
|
|
28
|
+
],
|
|
29
|
+
"author": "MUSUBI Contributors",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/nahisaho/musubi.git"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=18.0.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"chalk": "^4.1.2",
|
|
40
|
+
"commander": "^11.0.0",
|
|
41
|
+
"fs-extra": "^11.0.0",
|
|
42
|
+
"inquirer": "^9.0.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"eslint": "^8.50.0",
|
|
46
|
+
"jest": "^29.0.0",
|
|
47
|
+
"prettier": "^3.0.0"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"bin/",
|
|
51
|
+
"src/",
|
|
52
|
+
"README.md",
|
|
53
|
+
"LICENSE"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MUSUBI Agent Registry
|
|
3
|
+
*
|
|
4
|
+
* Defines supported AI coding agents and their installation configurations.
|
|
5
|
+
* Inspired by cc-sdd multi-agent architecture.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const agentDefinitions = {
|
|
9
|
+
'claude-code': {
|
|
10
|
+
label: 'Claude Code',
|
|
11
|
+
description: 'Installs MUSUBI skills in `.claude/skills/`, commands in `.claude/commands/`, and steering in `steering/`',
|
|
12
|
+
aliasFlags: ['--claude-code', '--claude'],
|
|
13
|
+
recommendedModels: ['Claude Sonnet 4.5 or newer'],
|
|
14
|
+
layout: {
|
|
15
|
+
skillsDir: '.claude/skills', // MUSUBI-specific: 25 skills
|
|
16
|
+
commandsDir: '.claude/commands',
|
|
17
|
+
agentDir: '.claude',
|
|
18
|
+
docFile: 'CLAUDE.md',
|
|
19
|
+
},
|
|
20
|
+
commands: {
|
|
21
|
+
steering: '/sdd-steering',
|
|
22
|
+
requirements: '/sdd-requirements <feature>',
|
|
23
|
+
design: '/sdd-design <feature>',
|
|
24
|
+
tasks: '/sdd-tasks <feature>',
|
|
25
|
+
implement: '/sdd-implement <feature>',
|
|
26
|
+
validate: '/sdd-validate <feature>',
|
|
27
|
+
},
|
|
28
|
+
features: {
|
|
29
|
+
hasSkills: true, // Claude Code supports Skills API
|
|
30
|
+
hasCommands: true,
|
|
31
|
+
commandPrefix: '/',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
'github-copilot': {
|
|
35
|
+
label: 'GitHub Copilot',
|
|
36
|
+
description: 'Installs MUSUBI prompts in `.github/prompts/` and steering in `steering/`',
|
|
37
|
+
aliasFlags: ['--copilot', '--github-copilot'],
|
|
38
|
+
recommendedModels: ['Claude Sonnet 4.5 or newer', 'GPT-4'],
|
|
39
|
+
layout: {
|
|
40
|
+
commandsDir: '.github/prompts',
|
|
41
|
+
agentDir: '.github',
|
|
42
|
+
docFile: 'AGENTS.md',
|
|
43
|
+
},
|
|
44
|
+
commands: {
|
|
45
|
+
steering: '#sdd-steering',
|
|
46
|
+
requirements: '#sdd-requirements <feature>',
|
|
47
|
+
design: '#sdd-design <feature>',
|
|
48
|
+
tasks: '#sdd-tasks <feature>',
|
|
49
|
+
implement: '#sdd-implement <feature>',
|
|
50
|
+
validate: '#sdd-validate <feature>',
|
|
51
|
+
},
|
|
52
|
+
features: {
|
|
53
|
+
hasSkills: false, // Copilot doesn't support Skills API
|
|
54
|
+
hasCommands: true,
|
|
55
|
+
commandPrefix: '#',
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
'cursor': {
|
|
59
|
+
label: 'Cursor IDE',
|
|
60
|
+
description: 'Installs MUSUBI commands in `.cursor/commands/` and steering in `steering/`',
|
|
61
|
+
aliasFlags: ['--cursor'],
|
|
62
|
+
recommendedModels: ['Claude Sonnet 4.5 or newer', 'GPT-4'],
|
|
63
|
+
layout: {
|
|
64
|
+
commandsDir: '.cursor/commands',
|
|
65
|
+
agentDir: '.cursor',
|
|
66
|
+
docFile: 'AGENTS.md',
|
|
67
|
+
},
|
|
68
|
+
commands: {
|
|
69
|
+
steering: '/sdd-steering',
|
|
70
|
+
requirements: '/sdd-requirements <feature>',
|
|
71
|
+
design: '/sdd-design <feature>',
|
|
72
|
+
tasks: '/sdd-tasks <feature>',
|
|
73
|
+
implement: '/sdd-implement <feature>',
|
|
74
|
+
validate: '/sdd-validate <feature>',
|
|
75
|
+
},
|
|
76
|
+
features: {
|
|
77
|
+
hasSkills: false,
|
|
78
|
+
hasCommands: true,
|
|
79
|
+
commandPrefix: '/',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
'gemini-cli': {
|
|
83
|
+
label: 'Gemini CLI',
|
|
84
|
+
description: 'Installs MUSUBI commands in `.gemini/commands/` (TOML format) and steering in `steering/`',
|
|
85
|
+
aliasFlags: ['--gemini-cli', '--gemini'],
|
|
86
|
+
recommendedModels: ['Gemini 2.0 Flash or newer'],
|
|
87
|
+
layout: {
|
|
88
|
+
commandsDir: '.gemini/commands',
|
|
89
|
+
agentDir: '.gemini',
|
|
90
|
+
docFile: 'GEMINI.md',
|
|
91
|
+
},
|
|
92
|
+
commands: {
|
|
93
|
+
steering: '/sdd-steering',
|
|
94
|
+
requirements: '/sdd-requirements <feature>',
|
|
95
|
+
design: '/sdd-design <feature>',
|
|
96
|
+
tasks: '/sdd-tasks <feature>',
|
|
97
|
+
implement: '/sdd-implement <feature>',
|
|
98
|
+
validate: '/sdd-validate <feature>',
|
|
99
|
+
},
|
|
100
|
+
features: {
|
|
101
|
+
hasSkills: false,
|
|
102
|
+
hasCommands: true,
|
|
103
|
+
commandPrefix: '/',
|
|
104
|
+
commandFormat: 'toml', // Unique: Gemini uses TOML instead of Markdown
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
'codex': {
|
|
108
|
+
label: 'Codex CLI',
|
|
109
|
+
description: 'Installs MUSUBI prompts in `.codex/prompts/` and steering in `steering/`',
|
|
110
|
+
aliasFlags: ['--codex', '--codex-cli'],
|
|
111
|
+
recommendedModels: ['GPT-4 or newer'],
|
|
112
|
+
layout: {
|
|
113
|
+
commandsDir: '.codex/prompts',
|
|
114
|
+
agentDir: '.codex',
|
|
115
|
+
docFile: 'AGENTS.md',
|
|
116
|
+
},
|
|
117
|
+
commands: {
|
|
118
|
+
steering: '/prompts:sdd-steering',
|
|
119
|
+
requirements: '/prompts:sdd-requirements <feature>',
|
|
120
|
+
design: '/prompts:sdd-design <feature>',
|
|
121
|
+
tasks: '/prompts:sdd-tasks <feature>',
|
|
122
|
+
implement: '/prompts:sdd-implement <feature>',
|
|
123
|
+
validate: '/prompts:sdd-validate <feature>',
|
|
124
|
+
},
|
|
125
|
+
features: {
|
|
126
|
+
hasSkills: false,
|
|
127
|
+
hasCommands: true,
|
|
128
|
+
commandPrefix: '/prompts:',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
'qwen-code': {
|
|
132
|
+
label: 'Qwen Code',
|
|
133
|
+
description: 'Installs MUSUBI commands in `.qwen/commands/` and steering in `steering/`',
|
|
134
|
+
aliasFlags: ['--qwen-code', '--qwen'],
|
|
135
|
+
recommendedModels: ['Qwen 2.5 Coder or newer'],
|
|
136
|
+
layout: {
|
|
137
|
+
commandsDir: '.qwen/commands',
|
|
138
|
+
agentDir: '.qwen',
|
|
139
|
+
docFile: 'QWEN.md',
|
|
140
|
+
},
|
|
141
|
+
commands: {
|
|
142
|
+
steering: '/sdd-steering',
|
|
143
|
+
requirements: '/sdd-requirements <feature>',
|
|
144
|
+
design: '/sdd-design <feature>',
|
|
145
|
+
tasks: '/sdd-tasks <feature>',
|
|
146
|
+
implement: '/sdd-implement <feature>',
|
|
147
|
+
validate: '/sdd-validate <feature>',
|
|
148
|
+
},
|
|
149
|
+
features: {
|
|
150
|
+
hasSkills: false,
|
|
151
|
+
hasCommands: true,
|
|
152
|
+
commandPrefix: '/',
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
'windsurf': {
|
|
156
|
+
label: 'Windsurf IDE',
|
|
157
|
+
description: 'Installs MUSUBI workflows in `.windsurf/workflows/` and steering in `steering/`',
|
|
158
|
+
aliasFlags: ['--windsurf'],
|
|
159
|
+
recommendedModels: ['Claude Sonnet 4.5 or newer', 'GPT-4'],
|
|
160
|
+
layout: {
|
|
161
|
+
commandsDir: '.windsurf/workflows',
|
|
162
|
+
agentDir: '.windsurf',
|
|
163
|
+
docFile: 'AGENTS.md',
|
|
164
|
+
},
|
|
165
|
+
commands: {
|
|
166
|
+
steering: '/sdd-steering',
|
|
167
|
+
requirements: '/sdd-requirements <feature>',
|
|
168
|
+
design: '/sdd-design <feature>',
|
|
169
|
+
tasks: '/sdd-tasks <feature>',
|
|
170
|
+
implement: '/sdd-implement <feature>',
|
|
171
|
+
validate: '/sdd-validate <feature>',
|
|
172
|
+
},
|
|
173
|
+
features: {
|
|
174
|
+
hasSkills: false,
|
|
175
|
+
hasCommands: true,
|
|
176
|
+
commandPrefix: '/',
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Get agent definition by key
|
|
183
|
+
* @param {string} agentKey - Agent key (e.g., 'claude-code', 'cursor')
|
|
184
|
+
* @returns {object} Agent definition
|
|
185
|
+
*/
|
|
186
|
+
function getAgentDefinition(agentKey) {
|
|
187
|
+
const definition = agentDefinitions[agentKey];
|
|
188
|
+
if (!definition) {
|
|
189
|
+
throw new Error(`Unknown agent: ${agentKey}`);
|
|
190
|
+
}
|
|
191
|
+
return definition;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Detect agent from CLI flags
|
|
196
|
+
* @param {object} options - CLI options object
|
|
197
|
+
* @returns {string} Agent key
|
|
198
|
+
*/
|
|
199
|
+
function detectAgentFromFlags(options) {
|
|
200
|
+
// Check each agent's alias flags
|
|
201
|
+
for (const [agentKey, definition] of Object.entries(agentDefinitions)) {
|
|
202
|
+
for (const flag of definition.aliasFlags) {
|
|
203
|
+
const flagName = flag.replace(/^--/, '');
|
|
204
|
+
if (options[flagName]) {
|
|
205
|
+
return agentKey;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// Default to Claude Code
|
|
211
|
+
return 'claude-code';
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Get list of all supported agents
|
|
216
|
+
* @returns {string[]} Array of agent keys
|
|
217
|
+
*/
|
|
218
|
+
function getAgentList() {
|
|
219
|
+
return Object.keys(agentDefinitions);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Get all alias flags for CLI option parsing
|
|
224
|
+
* @returns {string[]} Array of flag names (without --)
|
|
225
|
+
*/
|
|
226
|
+
function getAllAliasFlags() {
|
|
227
|
+
const flags = new Set();
|
|
228
|
+
for (const definition of Object.values(agentDefinitions)) {
|
|
229
|
+
for (const flag of definition.aliasFlags) {
|
|
230
|
+
flags.add(flag.replace(/^--/, ''));
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
return Array.from(flags);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
module.exports = {
|
|
237
|
+
agentDefinitions,
|
|
238
|
+
getAgentDefinition,
|
|
239
|
+
detectAgentFromFlags,
|
|
240
|
+
getAgentList,
|
|
241
|
+
getAllAliasFlags,
|
|
242
|
+
};
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
# MUSUBI for Claude Code
|
|
2
|
+
|
|
3
|
+
**Ultimate Specification Driven Development with 25 Specialized Skills**
|
|
4
|
+
|
|
5
|
+
This project uses **MUSUBI** (Ultimate Specification Driven Development) configured for Claude Code.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- 🎯 **25 Specialized Skills** - Orchestrator, Steering, Requirements, Architecture, Development, Quality, Security, Infrastructure
|
|
10
|
+
- 📋 **Constitutional Governance** - 9 immutable articles + Phase -1 Gates
|
|
11
|
+
- 📝 **EARS Requirements Format** - Unambiguous requirements with complete traceability
|
|
12
|
+
- 🧭 **Auto-Updating Project Memory** - Steering system maintains architecture, tech stack, and product context
|
|
13
|
+
- 🌐 **Bilingual Documentation** - All documents created in both English and Japanese
|
|
14
|
+
|
|
15
|
+
## 25 Skills Overview
|
|
16
|
+
|
|
17
|
+
### Orchestration & Management (3)
|
|
18
|
+
- **@orchestrator** - Master coordinator for multi-skill workflows
|
|
19
|
+
- **@steering** - Project memory manager (auto-updating context)
|
|
20
|
+
- **@constitution-enforcer** - Governance validation (9 Articles + Phase -1 Gates)
|
|
21
|
+
|
|
22
|
+
### Requirements & Planning (3)
|
|
23
|
+
- **@requirements-analyst** - EARS format requirements generation
|
|
24
|
+
- **@project-manager** - Project planning, scheduling, risk management
|
|
25
|
+
- **@change-impact-analyzer** - Brownfield change analysis
|
|
26
|
+
|
|
27
|
+
### Architecture & Design (4)
|
|
28
|
+
- **@system-architect** - C4 model + ADR architecture design
|
|
29
|
+
- **@api-designer** - REST/GraphQL/gRPC API design
|
|
30
|
+
- **@database-schema-designer** - Database design, ER diagrams, DDL
|
|
31
|
+
- **@ui-ux-designer** - UI/UX design, wireframes, prototypes
|
|
32
|
+
|
|
33
|
+
### Development (1)
|
|
34
|
+
- **@software-developer** - Multi-language code implementation
|
|
35
|
+
|
|
36
|
+
### Quality & Review (5)
|
|
37
|
+
- **@test-engineer** - Unit, integration, E2E testing with EARS mapping
|
|
38
|
+
- **@code-reviewer** - Code review, SOLID principles
|
|
39
|
+
- **@bug-hunter** - Bug investigation, root cause analysis
|
|
40
|
+
- **@quality-assurance** - QA strategy, test planning
|
|
41
|
+
- **@traceability-auditor** - Requirements ↔ Code ↔ Test coverage validation
|
|
42
|
+
|
|
43
|
+
### Security & Performance (2)
|
|
44
|
+
- **@security-auditor** - OWASP Top 10, vulnerability detection
|
|
45
|
+
- **@performance-optimizer** - Performance analysis, optimization
|
|
46
|
+
|
|
47
|
+
### Infrastructure & Operations (5)
|
|
48
|
+
- **@devops-engineer** - CI/CD pipelines, Docker/Kubernetes
|
|
49
|
+
- **@cloud-architect** - AWS/Azure/GCP, IaC (Terraform/Bicep)
|
|
50
|
+
- **@database-administrator** - Database operations, tuning
|
|
51
|
+
- **@site-reliability-engineer** - Production monitoring, SLO/SLI
|
|
52
|
+
- **@release-coordinator** - Multi-component release management
|
|
53
|
+
|
|
54
|
+
### Documentation & Specialized (2)
|
|
55
|
+
- **@technical-writer** - Technical documentation, API docs
|
|
56
|
+
- **@ai-ml-engineer** - ML model development, MLOps
|
|
57
|
+
|
|
58
|
+
## Slash Commands
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Generate project memory
|
|
62
|
+
/sdd-steering
|
|
63
|
+
|
|
64
|
+
# Create requirements
|
|
65
|
+
/sdd-requirements <feature>
|
|
66
|
+
|
|
67
|
+
# Design architecture
|
|
68
|
+
/sdd-design <feature>
|
|
69
|
+
|
|
70
|
+
# Break down into tasks
|
|
71
|
+
/sdd-tasks <feature>
|
|
72
|
+
|
|
73
|
+
# Implement feature
|
|
74
|
+
/sdd-implement <feature>
|
|
75
|
+
|
|
76
|
+
# Validate constitutional compliance
|
|
77
|
+
/sdd-validate <feature>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Project Memory (Steering System)
|
|
81
|
+
|
|
82
|
+
**IMPORTANT**: Before starting any task, check if steering files exist in `steering/` directory:
|
|
83
|
+
|
|
84
|
+
- `steering/structure.md` - Architecture patterns, directory organization, naming conventions
|
|
85
|
+
- `steering/tech.md` - Technology stack, frameworks, development tools
|
|
86
|
+
- `steering/product.md` - Business context, product purpose, users
|
|
87
|
+
|
|
88
|
+
If these files exist, ALWAYS read them first to understand project context.
|
|
89
|
+
|
|
90
|
+
## SDD Workflow (8 Stages)
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Research → Requirements → Design → Tasks → Implementation → Testing → Deployment → Monitoring
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
Each stage has:
|
|
97
|
+
- Dedicated skills
|
|
98
|
+
- Quality gates
|
|
99
|
+
- Traceability requirements
|
|
100
|
+
- Constitutional validation
|
|
101
|
+
|
|
102
|
+
## EARS Requirements Format
|
|
103
|
+
|
|
104
|
+
All requirements must use EARS patterns:
|
|
105
|
+
|
|
106
|
+
```markdown
|
|
107
|
+
### Requirement: User Login
|
|
108
|
+
|
|
109
|
+
WHEN user provides valid credentials,
|
|
110
|
+
THEN the system SHALL authenticate the user
|
|
111
|
+
AND the system SHALL create a session.
|
|
112
|
+
|
|
113
|
+
#### Scenario: Successful login
|
|
114
|
+
- WHEN user enters correct email and password
|
|
115
|
+
- THEN system SHALL verify credentials
|
|
116
|
+
- AND system SHALL redirect to dashboard
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Constitutional Governance
|
|
120
|
+
|
|
121
|
+
MUSUBI enforces 9 immutable constitutional articles:
|
|
122
|
+
|
|
123
|
+
1. **Library-First Principle** - Features start as libraries
|
|
124
|
+
2. **CLI Interface Mandate** - All libraries expose CLI
|
|
125
|
+
3. **Test-First Imperative** - Tests before code (Red-Green-Blue)
|
|
126
|
+
4. **EARS Requirements Format** - Unambiguous requirements
|
|
127
|
+
5. **Traceability Mandate** - 100% coverage required
|
|
128
|
+
6. **Project Memory** - All skills check steering first
|
|
129
|
+
7. **Simplicity Gate** - Maximum 3 projects initially
|
|
130
|
+
8. **Anti-Abstraction Gate** - Use framework features directly
|
|
131
|
+
9. **Integration-First Testing** - Real services over mocks
|
|
132
|
+
|
|
133
|
+
## Bilingual Documentation
|
|
134
|
+
|
|
135
|
+
**All agent-generated documents are created in both English and Japanese.**
|
|
136
|
+
|
|
137
|
+
### Language Policy
|
|
138
|
+
|
|
139
|
+
- **English**: Reference/source documents (`.md`)
|
|
140
|
+
- **Japanese**: Translations (`.ja.md`)
|
|
141
|
+
- **Skills**: Always read English versions for work
|
|
142
|
+
- **Code References**: Requirement IDs, technical terms stay in English
|
|
143
|
+
|
|
144
|
+
### Files Generated Bilingually
|
|
145
|
+
|
|
146
|
+
**Steering Context**:
|
|
147
|
+
- `steering/structure.md` + `steering/structure.ja.md`
|
|
148
|
+
- `steering/tech.md` + `steering/tech.ja.md`
|
|
149
|
+
- `steering/product.md` + `steering/product.ja.md`
|
|
150
|
+
|
|
151
|
+
**Specifications**:
|
|
152
|
+
- `storage/specs/[feature]-requirements.md` + `.ja.md`
|
|
153
|
+
- `storage/specs/[feature]-design.md` + `.ja.md`
|
|
154
|
+
- `storage/specs/[feature]-tasks.md` + `.ja.md`
|
|
155
|
+
|
|
156
|
+
## Quick Start
|
|
157
|
+
|
|
158
|
+
### First Time Setup
|
|
159
|
+
|
|
160
|
+
1. Generate project memory:
|
|
161
|
+
```
|
|
162
|
+
/sdd-steering
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
2. Review steering context in `steering/` directory
|
|
166
|
+
|
|
167
|
+
3. Start development with skills
|
|
168
|
+
|
|
169
|
+
### For Complex Projects
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
@orchestrator [describe your complete task]
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### For Specific Tasks
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
@requirements-analyst Create requirements for authentication
|
|
179
|
+
@system-architect Design architecture based on requirements.md
|
|
180
|
+
@software-developer Implement UserService following design.md
|
|
181
|
+
@test-engineer Generate tests from requirements.md
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
## Example Usage
|
|
185
|
+
|
|
186
|
+
### Greenfield Project (0→1)
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
# 1. Generate steering
|
|
190
|
+
/sdd-steering
|
|
191
|
+
|
|
192
|
+
# 2. Create requirements
|
|
193
|
+
/sdd-requirements user-authentication
|
|
194
|
+
|
|
195
|
+
# 3. Design architecture
|
|
196
|
+
/sdd-design user-authentication
|
|
197
|
+
|
|
198
|
+
# 4. Break into tasks
|
|
199
|
+
/sdd-tasks user-authentication
|
|
200
|
+
|
|
201
|
+
# 5. Implement
|
|
202
|
+
/sdd-implement user-authentication
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Brownfield Project (1→n)
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
# 1. Generate steering from existing code
|
|
209
|
+
/sdd-steering
|
|
210
|
+
|
|
211
|
+
# 2. Create change proposal
|
|
212
|
+
/sdd-change-init add-2fa
|
|
213
|
+
|
|
214
|
+
# 3. Impact analysis (automatic via change-impact-analyzer skill)
|
|
215
|
+
|
|
216
|
+
# 4. Implement change
|
|
217
|
+
/sdd-change-apply add-2fa
|
|
218
|
+
|
|
219
|
+
# 5. Archive change
|
|
220
|
+
/sdd-change-archive add-2fa
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
## Learn More
|
|
224
|
+
|
|
225
|
+
- [MUSUBI Documentation](https://github.com/your-org/musubi)
|
|
226
|
+
- [Constitutional Governance](steering/rules/constitution.md)
|
|
227
|
+
- [8-Stage SDD Workflow](steering/rules/workflow.md)
|
|
228
|
+
- [EARS Format Guide](steering/rules/ears-format.md)
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
**MUSUBI for Claude Code** - むすび - Bringing specifications, design, and code together.
|