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.
Files changed (91) hide show
  1. package/LICENSE +21 -0
  2. package/README.ja.md +531 -0
  3. package/README.md +531 -0
  4. package/bin/musubi-init.js +321 -0
  5. package/bin/musubi.js +359 -0
  6. package/package.json +55 -0
  7. package/src/agents/registry.js +242 -0
  8. package/src/templates/agents/claude-code/CLAUDE.md +232 -0
  9. package/src/templates/agents/claude-code/commands/sdd-design.md +673 -0
  10. package/src/templates/agents/claude-code/commands/sdd-implement.md +777 -0
  11. package/src/templates/agents/claude-code/commands/sdd-requirements.md +438 -0
  12. package/src/templates/agents/claude-code/commands/sdd-steering.md +334 -0
  13. package/src/templates/agents/claude-code/commands/sdd-tasks.md +582 -0
  14. package/src/templates/agents/claude-code/commands/sdd-validate.md +710 -0
  15. package/src/templates/agents/claude-code/skills/ai-ml-engineer/SKILL.md +3055 -0
  16. package/src/templates/agents/claude-code/skills/api-designer/SKILL.md +1364 -0
  17. package/src/templates/agents/claude-code/skills/bug-hunter/SKILL.md +482 -0
  18. package/src/templates/agents/claude-code/skills/change-impact-analyzer/SKILL.md +397 -0
  19. package/src/templates/agents/claude-code/skills/cloud-architect/SKILL.md +1468 -0
  20. package/src/templates/agents/claude-code/skills/code-reviewer/SKILL.md +906 -0
  21. package/src/templates/agents/claude-code/skills/constitution-enforcer/SKILL.md +466 -0
  22. package/src/templates/agents/claude-code/skills/database-administrator/SKILL.md +3522 -0
  23. package/src/templates/agents/claude-code/skills/database-schema-designer/SKILL.md +1158 -0
  24. package/src/templates/agents/claude-code/skills/devops-engineer/SKILL.md +647 -0
  25. package/src/templates/agents/claude-code/skills/orchestrator/SKILL.md +574 -0
  26. package/src/templates/agents/claude-code/skills/performance-optimizer/SKILL.md +464 -0
  27. package/src/templates/agents/claude-code/skills/project-manager/SKILL.md +769 -0
  28. package/src/templates/agents/claude-code/skills/quality-assurance/SKILL.md +1059 -0
  29. package/src/templates/agents/claude-code/skills/release-coordinator/SKILL.md +653 -0
  30. package/src/templates/agents/claude-code/skills/requirements-analyst/SKILL.md +1287 -0
  31. package/src/templates/agents/claude-code/skills/security-auditor/SKILL.md +1107 -0
  32. package/src/templates/agents/claude-code/skills/site-reliability-engineer/SKILL.md +404 -0
  33. package/src/templates/agents/claude-code/skills/software-developer/SKILL.md +1254 -0
  34. package/src/templates/agents/claude-code/skills/steering/SKILL.md +383 -0
  35. package/src/templates/agents/claude-code/skills/system-architect/SKILL.md +1288 -0
  36. package/src/templates/agents/claude-code/skills/technical-writer/SKILL.md +712 -0
  37. package/src/templates/agents/claude-code/skills/test-engineer/SKILL.md +1262 -0
  38. package/src/templates/agents/claude-code/skills/traceability-auditor/SKILL.md +298 -0
  39. package/src/templates/agents/claude-code/skills/ui-ux-designer/SKILL.md +1009 -0
  40. package/src/templates/agents/codex/AGENTS.md +138 -0
  41. package/src/templates/agents/codex/commands/sdd-design.md +673 -0
  42. package/src/templates/agents/codex/commands/sdd-implement.md +777 -0
  43. package/src/templates/agents/codex/commands/sdd-requirements.md +438 -0
  44. package/src/templates/agents/codex/commands/sdd-steering.md +334 -0
  45. package/src/templates/agents/codex/commands/sdd-tasks.md +582 -0
  46. package/src/templates/agents/codex/commands/sdd-validate.md +710 -0
  47. package/src/templates/agents/cursor/AGENTS.md +138 -0
  48. package/src/templates/agents/cursor/commands/sdd-design.md +673 -0
  49. package/src/templates/agents/cursor/commands/sdd-implement.md +777 -0
  50. package/src/templates/agents/cursor/commands/sdd-requirements.md +438 -0
  51. package/src/templates/agents/cursor/commands/sdd-steering.md +334 -0
  52. package/src/templates/agents/cursor/commands/sdd-tasks.md +582 -0
  53. package/src/templates/agents/cursor/commands/sdd-validate.md +710 -0
  54. package/src/templates/agents/gemini-cli/GEMINI.md +128 -0
  55. package/src/templates/agents/gemini-cli/commands/sdd-design.toml +359 -0
  56. package/src/templates/agents/gemini-cli/commands/sdd-implement.toml +484 -0
  57. package/src/templates/agents/gemini-cli/commands/sdd-requirements.toml +291 -0
  58. package/src/templates/agents/gemini-cli/commands/sdd-steering.toml +209 -0
  59. package/src/templates/agents/gemini-cli/commands/sdd-tasks.toml +441 -0
  60. package/src/templates/agents/gemini-cli/commands/sdd-validate.toml +553 -0
  61. package/src/templates/agents/github-copilot/AGENTS.md +138 -0
  62. package/src/templates/agents/github-copilot/commands/sdd-design.md +673 -0
  63. package/src/templates/agents/github-copilot/commands/sdd-implement.md +777 -0
  64. package/src/templates/agents/github-copilot/commands/sdd-requirements.md +438 -0
  65. package/src/templates/agents/github-copilot/commands/sdd-steering.md +334 -0
  66. package/src/templates/agents/github-copilot/commands/sdd-tasks.md +582 -0
  67. package/src/templates/agents/github-copilot/commands/sdd-validate.md +710 -0
  68. package/src/templates/agents/qwen-code/QWEN.md +128 -0
  69. package/src/templates/agents/qwen-code/commands/sdd-design.md +673 -0
  70. package/src/templates/agents/qwen-code/commands/sdd-implement.md +777 -0
  71. package/src/templates/agents/qwen-code/commands/sdd-requirements.md +438 -0
  72. package/src/templates/agents/qwen-code/commands/sdd-steering.md +334 -0
  73. package/src/templates/agents/qwen-code/commands/sdd-tasks.md +582 -0
  74. package/src/templates/agents/qwen-code/commands/sdd-validate.md +710 -0
  75. package/src/templates/agents/windsurf/AGENTS.md +138 -0
  76. package/src/templates/agents/windsurf/commands/sdd-design.md +673 -0
  77. package/src/templates/agents/windsurf/commands/sdd-implement.md +777 -0
  78. package/src/templates/agents/windsurf/commands/sdd-requirements.md +438 -0
  79. package/src/templates/agents/windsurf/commands/sdd-steering.md +334 -0
  80. package/src/templates/agents/windsurf/commands/sdd-tasks.md +582 -0
  81. package/src/templates/agents/windsurf/commands/sdd-validate.md +710 -0
  82. package/src/templates/shared/constitution/constitution.md +408 -0
  83. package/src/templates/shared/constitution/ears-format.md +613 -0
  84. package/src/templates/shared/constitution/workflow.md +653 -0
  85. package/src/templates/shared/documents/design.md +737 -0
  86. package/src/templates/shared/documents/requirements.md +329 -0
  87. package/src/templates/shared/documents/research.md +494 -0
  88. package/src/templates/shared/documents/tasks.md +781 -0
  89. package/src/templates/shared/steering/product.md +544 -0
  90. package/src/templates/shared/steering/structure.md +405 -0
  91. package/src/templates/shared/steering/tech.md +537 -0
@@ -0,0 +1,138 @@
1
+ # MUSUBI for GitHub Copilot
2
+
3
+ **Ultimate Specification Driven Development**
4
+
5
+ This project uses **MUSUBI** (Ultimate Specification Driven Development) configured for GitHub Copilot.
6
+
7
+ ## Features
8
+
9
+ - 📋 **Constitutional Governance** - 9 immutable articles + Phase -1 Gates
10
+ - 📝 **EARS Requirements Format** - Unambiguous requirements with complete traceability
11
+ - 🧭 **Auto-Updating Project Memory** - Steering system maintains architecture, tech stack, and product context
12
+ - 🌐 **Bilingual Documentation** - All documents created in both English and Japanese
13
+
14
+ ## Custom Prompts
15
+
16
+ GitHub Copilot uses custom prompts in `.github/prompts/`:
17
+
18
+ ```bash
19
+ # Generate project memory
20
+ #sdd-steering
21
+
22
+ # Create requirements
23
+ #sdd-requirements <feature>
24
+
25
+ # Design architecture
26
+ #sdd-design <feature>
27
+
28
+ # Break down into tasks
29
+ #sdd-tasks <feature>
30
+
31
+ # Implement feature
32
+ #sdd-implement <feature>
33
+
34
+ # Validate constitutional compliance
35
+ #sdd-validate <feature>
36
+ ```
37
+
38
+ ## Project Memory (Steering System)
39
+
40
+ **IMPORTANT**: Before starting any task, check if steering files exist in `steering/` directory:
41
+
42
+ - `steering/structure.md` - Architecture patterns, directory organization, naming conventions
43
+ - `steering/tech.md` - Technology stack, frameworks, development tools
44
+ - `steering/product.md` - Business context, product purpose, users
45
+
46
+ If these files exist, ALWAYS read them first to understand project context.
47
+
48
+ ## SDD Workflow (8 Stages)
49
+
50
+ ```
51
+ Research → Requirements → Design → Tasks → Implementation → Testing → Deployment → Monitoring
52
+ ```
53
+
54
+ Each stage has:
55
+ - Quality gates
56
+ - Traceability requirements
57
+ - Constitutional validation
58
+
59
+ ## EARS Requirements Format
60
+
61
+ All requirements must use EARS patterns:
62
+
63
+ ```markdown
64
+ ### Requirement: User Login
65
+
66
+ WHEN user provides valid credentials,
67
+ THEN the system SHALL authenticate the user
68
+ AND the system SHALL create a session.
69
+
70
+ #### Scenario: Successful login
71
+ - WHEN user enters correct email and password
72
+ - THEN system SHALL verify credentials
73
+ - AND system SHALL redirect to dashboard
74
+ ```
75
+
76
+ ## Constitutional Governance
77
+
78
+ MUSUBI enforces 9 immutable constitutional articles:
79
+
80
+ 1. **Library-First Principle** - Features start as libraries
81
+ 2. **CLI Interface Mandate** - All libraries expose CLI
82
+ 3. **Test-First Imperative** - Tests before code (Red-Green-Blue)
83
+ 4. **EARS Requirements Format** - Unambiguous requirements
84
+ 5. **Traceability Mandate** - 100% coverage required
85
+ 6. **Project Memory** - All prompts check steering first
86
+ 7. **Simplicity Gate** - Maximum 3 projects initially
87
+ 8. **Anti-Abstraction Gate** - Use framework features directly
88
+ 9. **Integration-First Testing** - Real services over mocks
89
+
90
+ ## Bilingual Documentation
91
+
92
+ **All agent-generated documents are created in both English and Japanese.**
93
+
94
+ ### Language Policy
95
+
96
+ - **English**: Reference/source documents (`.md`)
97
+ - **Japanese**: Translations (`.ja.md`)
98
+ - **Prompts**: Always read English versions for work
99
+ - **Code References**: Requirement IDs, technical terms stay in English
100
+
101
+ ## Quick Start
102
+
103
+ ### First Time Setup
104
+
105
+ 1. Generate project memory:
106
+ ```
107
+ #sdd-steering
108
+ ```
109
+
110
+ 2. Review steering context in `steering/` directory
111
+
112
+ 3. Start development
113
+
114
+ ### Example Usage
115
+
116
+ ```bash
117
+ # Greenfield Project (0→1)
118
+ #sdd-steering
119
+ #sdd-requirements user-authentication
120
+ #sdd-design user-authentication
121
+ #sdd-tasks user-authentication
122
+ #sdd-implement user-authentication
123
+
124
+ # Brownfield Project (1→n)
125
+ #sdd-steering
126
+ #sdd-change-init add-2fa
127
+ #sdd-change-apply add-2fa
128
+ ```
129
+
130
+ ## Learn More
131
+
132
+ - [MUSUBI Documentation](https://github.com/your-org/musubi)
133
+ - [Constitutional Governance](steering/rules/constitution.md)
134
+ - [8-Stage SDD Workflow](steering/rules/workflow.md)
135
+
136
+ ---
137
+
138
+ **MUSUBI for GitHub Copilot** - むすび - Bringing specifications, design, and code together.