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/README.md
ADDED
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
# MUSUBI
|
|
2
|
+
|
|
3
|
+
**Ultimate Specification Driven Development Tool for 7 AI Coding Agents**
|
|
4
|
+
|
|
5
|
+
MUSUBI is a comprehensive SDD (Specification Driven Development) framework that synthesizes the best features from 6 leading frameworks into a production-ready tool for multiple AI coding agents.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- 🤖 **Multi-Agent Support** - Works with 7 AI coding agents (Claude Code, GitHub Copilot, Cursor, Gemini CLI, Codex CLI, Qwen Code, Windsurf)
|
|
10
|
+
- 📄 **Flexible Command Formats** - Supports both Markdown and TOML formats (Gemini CLI uses TOML)
|
|
11
|
+
- 🎯 **25 Specialized Claude Code Skills** - Orchestrator, Steering, Requirements, Architecture, Development, Quality, Security, Infrastructure (Claude Code exclusive)
|
|
12
|
+
- 📋 **Constitutional Governance** - 9 immutable articles + Phase -1 Gates for quality enforcement
|
|
13
|
+
- 📝 **EARS Requirements Format** - Unambiguous requirements with complete traceability
|
|
14
|
+
- 🔄 **Delta Specifications** - Brownfield and greenfield project support
|
|
15
|
+
- 🧭 **Auto-Updating Project Memory** - Steering system maintains architecture, tech stack, and product context
|
|
16
|
+
- ✅ **Complete Traceability** - Requirements → Design → Code → Tests mapping
|
|
17
|
+
- 🌐 **Bilingual Documentation** - All agent-generated documents created in both English and Japanese
|
|
18
|
+
|
|
19
|
+
## Supported AI Coding Agents
|
|
20
|
+
|
|
21
|
+
MUSUBI supports 7 AI coding agents, each with tailored configurations:
|
|
22
|
+
|
|
23
|
+
| Agent | Skills API | Command Format | Command File Format | Installation Directory |
|
|
24
|
+
|-------|-----------|----------------|---------------------|----------------------|
|
|
25
|
+
| **Claude Code** | ✅ (25 skills) | `/sdd-*` | Markdown | `.claude/skills/`, `.claude/commands/` |
|
|
26
|
+
| **GitHub Copilot** | ❌ | `#sdd-*` | Markdown | `.github/prompts/` |
|
|
27
|
+
| **Cursor IDE** | ❌ | `/sdd-*` | Markdown | `.cursor/commands/` |
|
|
28
|
+
| **Gemini CLI** | ❌ | `/sdd-*` | **TOML** | `.gemini/commands/` |
|
|
29
|
+
| **Codex CLI** | ❌ | `/prompts:sdd-*` | Markdown | `.codex/prompts/` |
|
|
30
|
+
| **Qwen Code** | ❌ | `/sdd-*` | Markdown | `.qwen/commands/` |
|
|
31
|
+
| **Windsurf IDE** | ❌ | `/sdd-*` | Markdown | `.windsurf/workflows/` |
|
|
32
|
+
|
|
33
|
+
**Notes**:
|
|
34
|
+
- Skills API is exclusive to Claude Code
|
|
35
|
+
- Gemini CLI uses TOML format instead of Markdown
|
|
36
|
+
- All other agents use Markdown format for commands/prompts
|
|
37
|
+
|
|
38
|
+
## Quick Start
|
|
39
|
+
|
|
40
|
+
### Installation via npx
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Initialize MUSUBI for your preferred agent
|
|
44
|
+
|
|
45
|
+
# Claude Code (default) - with 25 skills
|
|
46
|
+
npx musubi-sdd init
|
|
47
|
+
npx musubi-sdd init --claude
|
|
48
|
+
|
|
49
|
+
# GitHub Copilot
|
|
50
|
+
npx musubi-sdd init --copilot
|
|
51
|
+
|
|
52
|
+
# Cursor IDE
|
|
53
|
+
npx musubi-sdd init --cursor
|
|
54
|
+
|
|
55
|
+
# Gemini CLI
|
|
56
|
+
npx musubi-sdd init --gemini
|
|
57
|
+
|
|
58
|
+
# Codex CLI
|
|
59
|
+
npx musubi-sdd init --codex
|
|
60
|
+
|
|
61
|
+
# Qwen Code
|
|
62
|
+
npx musubi-sdd init --qwen
|
|
63
|
+
|
|
64
|
+
# Windsurf IDE
|
|
65
|
+
npx musubi-sdd init --windsurf
|
|
66
|
+
|
|
67
|
+
# Or install globally
|
|
68
|
+
npm install -g musubi-sdd
|
|
69
|
+
musubi init --claude # or --copilot, --cursor, etc.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### What Gets Installed
|
|
73
|
+
|
|
74
|
+
#### Claude Code (default)
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
your-project/
|
|
78
|
+
├── .claude/
|
|
79
|
+
│ ├── skills/ # 25 specialized skills (Claude Code exclusive)
|
|
80
|
+
│ │ ├── orchestrator/
|
|
81
|
+
│ │ ├── steering/
|
|
82
|
+
│ │ ├── requirements-analyst/
|
|
83
|
+
│ │ └── ... (22 more)
|
|
84
|
+
│ ├── commands/ # Slash commands (/sdd-*)
|
|
85
|
+
│ └── CLAUDE.md # Claude Code guide
|
|
86
|
+
├── steering/ # Project memory (all agents)
|
|
87
|
+
│ ├── structure.md # Architecture patterns
|
|
88
|
+
│ ├── tech.md # Technology stack
|
|
89
|
+
│ ├── product.md # Product context
|
|
90
|
+
│ └── rules/
|
|
91
|
+
│ ├── constitution.md # 9 Constitutional Articles
|
|
92
|
+
│ ├── workflow.md # 8-Stage SDD workflow
|
|
93
|
+
│ └── ears-format.md # EARS syntax guide
|
|
94
|
+
├── templates/ # Document templates (all agents)
|
|
95
|
+
└── storage/ # Specs, changes, features (all agents)
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
#### Other Agents (GitHub Copilot, Cursor, Gemini, etc.)
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
your-project/
|
|
102
|
+
├── .github/prompts/ # For GitHub Copilot (#sdd-*, Markdown)
|
|
103
|
+
│ OR
|
|
104
|
+
├── .cursor/commands/ # For Cursor (/sdd-*, Markdown)
|
|
105
|
+
│ OR
|
|
106
|
+
├── .gemini/commands/ # For Gemini CLI (/sdd-*, TOML)
|
|
107
|
+
│ │ ├── sdd-steering.toml
|
|
108
|
+
│ │ ├── sdd-requirements.toml
|
|
109
|
+
│ │ └── ... (6 TOML files)
|
|
110
|
+
│ OR
|
|
111
|
+
├── .codex/prompts/ # For Codex CLI (/prompts:sdd-*, Markdown)
|
|
112
|
+
│ OR
|
|
113
|
+
├── .qwen/commands/ # For Qwen Code (/sdd-*, Markdown)
|
|
114
|
+
│ OR
|
|
115
|
+
├── .windsurf/workflows/ # For Windsurf (/sdd-*, Markdown)
|
|
116
|
+
│
|
|
117
|
+
├── AGENTS.md (or GEMINI.md/QWEN.md) # Agent-specific guide
|
|
118
|
+
├── steering/ # Project memory (same for all)
|
|
119
|
+
├── templates/ # Document templates (same for all)
|
|
120
|
+
└── storage/ # Specs, changes, features (same for all)
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**Key Differences**:
|
|
124
|
+
- Claude Code gets 25 skills + commands (Markdown)
|
|
125
|
+
- Gemini CLI uses TOML format for commands (unique)
|
|
126
|
+
- Other agents use Markdown for commands/prompts
|
|
127
|
+
|
|
128
|
+
## Usage
|
|
129
|
+
|
|
130
|
+
### CLI Commands
|
|
131
|
+
|
|
132
|
+
MUSUBI provides several CLI commands for project management:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Show version
|
|
136
|
+
musubi --version
|
|
137
|
+
musubi -v
|
|
138
|
+
|
|
139
|
+
# Show help
|
|
140
|
+
musubi --help
|
|
141
|
+
|
|
142
|
+
# Show comprehensive info
|
|
143
|
+
musubi info
|
|
144
|
+
|
|
145
|
+
# Check project status
|
|
146
|
+
musubi status
|
|
147
|
+
|
|
148
|
+
# Validate constitutional compliance
|
|
149
|
+
musubi validate
|
|
150
|
+
musubi validate --verbose # Detailed output
|
|
151
|
+
musubi validate --all # Validate all features
|
|
152
|
+
|
|
153
|
+
# Initialize MUSUBI (interactive)
|
|
154
|
+
musubi init
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
#### musubi status
|
|
158
|
+
|
|
159
|
+
Shows the current state of your MUSUBI project:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
📊 MUSUBI Project Status
|
|
163
|
+
|
|
164
|
+
✅ MUSUBI is initialized
|
|
165
|
+
|
|
166
|
+
📁 Claude Code Skills: 25 installed
|
|
167
|
+
Location: .claude/skills/
|
|
168
|
+
|
|
169
|
+
🧭 Steering Context:
|
|
170
|
+
✅ structure.md (updated: 2025-11-16)
|
|
171
|
+
✅ tech.md (updated: 2025-11-16)
|
|
172
|
+
✅ product.md (updated: 2025-11-16)
|
|
173
|
+
|
|
174
|
+
✅ Constitutional Governance: Enabled
|
|
175
|
+
|
|
176
|
+
📄 Specifications: 3 documents
|
|
177
|
+
Latest specs:
|
|
178
|
+
- auth-requirements.md
|
|
179
|
+
- auth-design.md
|
|
180
|
+
- auth-tasks.md
|
|
181
|
+
|
|
182
|
+
💡 Next steps:
|
|
183
|
+
- Review steering files in steering/
|
|
184
|
+
- Create requirements: /sdd-requirements [feature]
|
|
185
|
+
- Validate compliance: musubi validate
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
#### musubi validate
|
|
189
|
+
|
|
190
|
+
Performs quick constitutional compliance checks:
|
|
191
|
+
|
|
192
|
+
- **Article I**: Library-First Principle (checks `lib/` directory)
|
|
193
|
+
- **Article II**: CLI Interface Mandate (checks for `cli.ts` files)
|
|
194
|
+
- **Article IV**: EARS Requirements Format (validates EARS patterns)
|
|
195
|
+
- **Article VI**: Project Memory (checks steering files)
|
|
196
|
+
|
|
197
|
+
For comprehensive validation, use your agent's `/sdd-validate` (or equivalent) command.
|
|
198
|
+
|
|
199
|
+
### Agent-Specific Commands
|
|
200
|
+
|
|
201
|
+
#### Claude Code
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
# Generate project memory
|
|
205
|
+
/sdd-steering
|
|
206
|
+
|
|
207
|
+
# Create requirements
|
|
208
|
+
/sdd-requirements authentication
|
|
209
|
+
|
|
210
|
+
# Design architecture
|
|
211
|
+
/sdd-design authentication
|
|
212
|
+
|
|
213
|
+
# Break down into tasks
|
|
214
|
+
/sdd-tasks authentication
|
|
215
|
+
|
|
216
|
+
# Implement feature
|
|
217
|
+
/sdd-implement authentication
|
|
218
|
+
|
|
219
|
+
# Validate constitutional compliance
|
|
220
|
+
/sdd-validate authentication
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**Skills (Auto-Invoked)**: Claude Code automatically selects the appropriate skill:
|
|
224
|
+
- "Review my code" → `code-reviewer` skill
|
|
225
|
+
- "Create requirements for user login" → `requirements-analyst` skill
|
|
226
|
+
- "Design API for payment" → `api-designer` skill
|
|
227
|
+
|
|
228
|
+
#### GitHub Copilot
|
|
229
|
+
|
|
230
|
+
```bash
|
|
231
|
+
# Use # prefix for custom prompts
|
|
232
|
+
#sdd-steering
|
|
233
|
+
#sdd-requirements authentication
|
|
234
|
+
#sdd-design authentication
|
|
235
|
+
#sdd-tasks authentication
|
|
236
|
+
#sdd-implement authentication
|
|
237
|
+
#sdd-validate authentication
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
#### Gemini CLI
|
|
241
|
+
|
|
242
|
+
```bash
|
|
243
|
+
# Use / prefix for commands (TOML format)
|
|
244
|
+
/sdd-steering
|
|
245
|
+
/sdd-requirements authentication
|
|
246
|
+
/sdd-design authentication
|
|
247
|
+
/sdd-tasks authentication
|
|
248
|
+
/sdd-implement authentication
|
|
249
|
+
/sdd-validate authentication
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Note**: Gemini CLI commands are defined in TOML format (`.toml` files) instead of Markdown.
|
|
253
|
+
|
|
254
|
+
#### Cursor IDE, Qwen Code, Windsurf
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
# Use / prefix for commands (Markdown format)
|
|
258
|
+
/sdd-steering
|
|
259
|
+
/sdd-requirements authentication
|
|
260
|
+
/sdd-design authentication
|
|
261
|
+
/sdd-tasks authentication
|
|
262
|
+
/sdd-implement authentication
|
|
263
|
+
/sdd-validate authentication
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
#### Codex CLI
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
# Use /prompts: prefix
|
|
270
|
+
/prompts:sdd-steering
|
|
271
|
+
/prompts:sdd-requirements authentication
|
|
272
|
+
/prompts:sdd-design authentication
|
|
273
|
+
/prompts:sdd-tasks authentication
|
|
274
|
+
/prompts:sdd-implement authentication
|
|
275
|
+
/prompts:sdd-validate authentication
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
## 25 Skills Overview
|
|
279
|
+
|
|
280
|
+
### Orchestration & Management (3)
|
|
281
|
+
- **orchestrator** - Master coordinator for multi-skill workflows
|
|
282
|
+
- **steering** - Project memory manager (auto-updating context)
|
|
283
|
+
- **constitution-enforcer** - Governance validation (9 Articles + Phase -1 Gates)
|
|
284
|
+
|
|
285
|
+
### Requirements & Planning (3)
|
|
286
|
+
- **requirements-analyst** - EARS format requirements generation
|
|
287
|
+
- **project-manager** - Project planning, scheduling, risk management
|
|
288
|
+
- **change-impact-analyzer** - Brownfield change analysis
|
|
289
|
+
|
|
290
|
+
### Architecture & Design (4)
|
|
291
|
+
- **system-architect** - C4 model + ADR architecture design
|
|
292
|
+
- **api-designer** - REST/GraphQL/gRPC API design
|
|
293
|
+
- **database-schema-designer** - Database design, ER diagrams, DDL
|
|
294
|
+
- **ui-ux-designer** - UI/UX design, wireframes, prototypes
|
|
295
|
+
|
|
296
|
+
### Development (1)
|
|
297
|
+
- **software-developer** - Multi-language code implementation
|
|
298
|
+
|
|
299
|
+
### Quality & Review (5)
|
|
300
|
+
- **test-engineer** - Unit, integration, E2E testing with EARS mapping
|
|
301
|
+
- **code-reviewer** - Code review, SOLID principles
|
|
302
|
+
- **bug-hunter** - Bug investigation, root cause analysis
|
|
303
|
+
- **quality-assurance** - QA strategy, test planning
|
|
304
|
+
- **traceability-auditor** - Requirements ↔ Code ↔ Test coverage validation
|
|
305
|
+
|
|
306
|
+
### Security & Performance (2)
|
|
307
|
+
- **security-auditor** - OWASP Top 10, vulnerability detection
|
|
308
|
+
- **performance-optimizer** - Performance analysis, optimization
|
|
309
|
+
|
|
310
|
+
### Infrastructure & Operations (5)
|
|
311
|
+
- **devops-engineer** - CI/CD pipelines, Docker/Kubernetes
|
|
312
|
+
- **cloud-architect** - AWS/Azure/GCP, IaC (Terraform/Bicep)
|
|
313
|
+
- **database-administrator** - Database operations, tuning
|
|
314
|
+
- **site-reliability-engineer** - Production monitoring, SLO/SLI, incident response
|
|
315
|
+
- **release-coordinator** - Multi-component release management
|
|
316
|
+
|
|
317
|
+
### Documentation & Specialized (2)
|
|
318
|
+
- **technical-writer** - Technical documentation, API docs
|
|
319
|
+
- **ai-ml-engineer** - ML model development, MLOps
|
|
320
|
+
|
|
321
|
+
## Constitutional Governance
|
|
322
|
+
|
|
323
|
+
MUSUBI enforces 9 immutable constitutional articles:
|
|
324
|
+
|
|
325
|
+
1. **Library-First Principle** - Features start as libraries
|
|
326
|
+
2. **CLI Interface Mandate** - All libraries expose CLI
|
|
327
|
+
3. **Test-First Imperative** - Tests before code (Red-Green-Blue)
|
|
328
|
+
4. **EARS Requirements Format** - Unambiguous requirements
|
|
329
|
+
5. **Traceability Mandate** - 100% coverage required
|
|
330
|
+
6. **Project Memory** - All skills check steering first
|
|
331
|
+
7. **Simplicity Gate** - Maximum 3 projects initially
|
|
332
|
+
8. **Anti-Abstraction Gate** - Use framework features directly
|
|
333
|
+
9. **Integration-First Testing** - Real services over mocks
|
|
334
|
+
|
|
335
|
+
## SDD Workflow (8 Stages)
|
|
336
|
+
|
|
337
|
+
```
|
|
338
|
+
1. Research → 2. Requirements → 3. Design → 4. Tasks →
|
|
339
|
+
5. Implementation → 6. Testing → 7. Deployment → 8. Monitoring
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Each stage has:
|
|
343
|
+
- Dedicated skills
|
|
344
|
+
- Quality gates
|
|
345
|
+
- Traceability requirements
|
|
346
|
+
- Constitutional validation
|
|
347
|
+
|
|
348
|
+
## EARS Requirements Format
|
|
349
|
+
|
|
350
|
+
```markdown
|
|
351
|
+
### Requirement: User Login
|
|
352
|
+
|
|
353
|
+
WHEN user provides valid credentials,
|
|
354
|
+
THEN the system SHALL authenticate the user
|
|
355
|
+
AND the system SHALL create a session.
|
|
356
|
+
|
|
357
|
+
#### Scenario: Successful login
|
|
358
|
+
- WHEN user enters correct email and password
|
|
359
|
+
- THEN system SHALL verify credentials
|
|
360
|
+
- AND system SHALL redirect to dashboard
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
## Bilingual Documentation
|
|
364
|
+
|
|
365
|
+
**All agent-generated documents are created in both English and Japanese.**
|
|
366
|
+
|
|
367
|
+
### Language Policy
|
|
368
|
+
|
|
369
|
+
- **English**: Reference/source documents (`.md`)
|
|
370
|
+
- **Japanese**: Translations (`.ja.md`)
|
|
371
|
+
- **Skills**: Always read English versions for work
|
|
372
|
+
- **Code References**: Requirement IDs, technical terms stay in English
|
|
373
|
+
|
|
374
|
+
### Files Generated Bilingually
|
|
375
|
+
|
|
376
|
+
**Steering Context**:
|
|
377
|
+
- `steering/structure.md` + `steering/structure.ja.md`
|
|
378
|
+
- `steering/tech.md` + `steering/tech.ja.md`
|
|
379
|
+
- `steering/product.md` + `steering/product.ja.md`
|
|
380
|
+
|
|
381
|
+
**Specifications**:
|
|
382
|
+
- `storage/specs/auth-requirements.md` + `storage/specs/auth-requirements.ja.md`
|
|
383
|
+
- `storage/specs/auth-design.md` + `storage/specs/auth-design.ja.md`
|
|
384
|
+
- `storage/specs/auth-tasks.md` + `storage/specs/auth-tasks.ja.md`
|
|
385
|
+
|
|
386
|
+
### Generation Order
|
|
387
|
+
|
|
388
|
+
1. **English version generated FIRST** (reference/source)
|
|
389
|
+
2. **Japanese version generated SECOND** (translation)
|
|
390
|
+
3. Technical terms (REQ-XXX-NNN, EARS keywords, API endpoints) remain in English
|
|
391
|
+
4. Both versions maintained in sync
|
|
392
|
+
|
|
393
|
+
## Delta Specifications (Brownfield)
|
|
394
|
+
|
|
395
|
+
```markdown
|
|
396
|
+
## ADDED Requirements
|
|
397
|
+
### REQ-NEW-001: Two-Factor Authentication
|
|
398
|
+
...
|
|
399
|
+
|
|
400
|
+
## MODIFIED Requirements
|
|
401
|
+
### REQ-001: User Authentication
|
|
402
|
+
**Previous**: Email + password
|
|
403
|
+
**Updated**: Email + password + OTP
|
|
404
|
+
...
|
|
405
|
+
|
|
406
|
+
## REMOVED Requirements
|
|
407
|
+
### REQ-OLD-005: Remember Me
|
|
408
|
+
**Reason**: Security policy change
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
## Example Usage
|
|
412
|
+
|
|
413
|
+
### Greenfield Project (0→1)
|
|
414
|
+
|
|
415
|
+
```bash
|
|
416
|
+
# 1. Initialize
|
|
417
|
+
npx musubi-sdd init
|
|
418
|
+
|
|
419
|
+
# 2. Generate steering
|
|
420
|
+
/sdd-steering
|
|
421
|
+
|
|
422
|
+
# 3. Create requirements
|
|
423
|
+
/sdd-requirements user-authentication
|
|
424
|
+
|
|
425
|
+
# 4. Design architecture
|
|
426
|
+
/sdd-design user-authentication
|
|
427
|
+
|
|
428
|
+
# 5. Break into tasks
|
|
429
|
+
/sdd-tasks user-authentication
|
|
430
|
+
|
|
431
|
+
# 6. Implement
|
|
432
|
+
/sdd-implement user-authentication
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
### Brownfield Project (1→n)
|
|
436
|
+
|
|
437
|
+
```bash
|
|
438
|
+
# 1. Initialize with existing codebase
|
|
439
|
+
npx musubi-sdd init
|
|
440
|
+
|
|
441
|
+
# 2. Generate steering from existing code
|
|
442
|
+
/sdd-steering
|
|
443
|
+
|
|
444
|
+
# 3. Create change proposal
|
|
445
|
+
/sdd-change-init add-2fa
|
|
446
|
+
|
|
447
|
+
# 4. Impact analysis (automatic via change-impact-analyzer skill)
|
|
448
|
+
|
|
449
|
+
# 5. Implement change
|
|
450
|
+
/sdd-change-apply add-2fa
|
|
451
|
+
|
|
452
|
+
# 6. Archive change
|
|
453
|
+
/sdd-change-archive add-2fa
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
## Configuration
|
|
457
|
+
|
|
458
|
+
### MCP Server Integration
|
|
459
|
+
|
|
460
|
+
MUSUBI integrates with MCP servers for enhanced capabilities:
|
|
461
|
+
|
|
462
|
+
- **Context7 MCP** - Up-to-date library documentation (Next.js, React, etc.)
|
|
463
|
+
- **Azure MCP** - Azure resource management
|
|
464
|
+
- **Microsoft Learn MCP** - Microsoft documentation
|
|
465
|
+
|
|
466
|
+
Skills automatically use available MCP servers when needed.
|
|
467
|
+
|
|
468
|
+
### Customization
|
|
469
|
+
|
|
470
|
+
Edit steering files to customize for your project:
|
|
471
|
+
|
|
472
|
+
```bash
|
|
473
|
+
# Architecture patterns
|
|
474
|
+
steering/structure.md
|
|
475
|
+
|
|
476
|
+
# Technology stack
|
|
477
|
+
steering/tech.md
|
|
478
|
+
|
|
479
|
+
# Product context
|
|
480
|
+
steering/product.md
|
|
481
|
+
|
|
482
|
+
# Constitutional rules (if needed)
|
|
483
|
+
steering/rules/constitution.md
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
## Development
|
|
487
|
+
|
|
488
|
+
```bash
|
|
489
|
+
# Clone repository
|
|
490
|
+
git clone https://github.com/your-org/musubi.git
|
|
491
|
+
cd musubi
|
|
492
|
+
|
|
493
|
+
# Install dependencies
|
|
494
|
+
npm install
|
|
495
|
+
|
|
496
|
+
# Run tests
|
|
497
|
+
npm test
|
|
498
|
+
|
|
499
|
+
# Link for local development
|
|
500
|
+
npm link
|
|
501
|
+
musubi init
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
## Contributing
|
|
505
|
+
|
|
506
|
+
Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
507
|
+
|
|
508
|
+
## License
|
|
509
|
+
|
|
510
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
511
|
+
|
|
512
|
+
## Credits
|
|
513
|
+
|
|
514
|
+
MUSUBI synthesizes features from:
|
|
515
|
+
- **musuhi** - 20-agent system, steering, EARS format
|
|
516
|
+
- **OpenSpec** - Delta specs, brownfield support
|
|
517
|
+
- **ag2** (AutoGen) - Multi-agent orchestration
|
|
518
|
+
- **ai-dev-tasks** - Simplicity, progressive complexity
|
|
519
|
+
- **cc-sdd** - P-label parallelization, validation gates
|
|
520
|
+
- **spec-kit** - Constitutional governance, test-first
|
|
521
|
+
|
|
522
|
+
## Learn More
|
|
523
|
+
|
|
524
|
+
- [Documentation](https://musubi-sdd.dev)
|
|
525
|
+
- [Blueprint](Ultimate-SDD-Tool-Blueprint-v3-25-Skills.md)
|
|
526
|
+
- [Project Plan](PROJECT-PLAN-MUSUBI.md)
|
|
527
|
+
- [Framework Comparison](SDD-Framework-Comparison-Report.md)
|
|
528
|
+
|
|
529
|
+
---
|
|
530
|
+
|
|
531
|
+
**MUSUBI** - むすび - Bringing specifications, design, and code together.
|