bmad-method 6.0.0-alpha.4 → 6.0.0-alpha.5

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 (162) hide show
  1. package/.claude/commands/bmad/bmm/agents/architect.md +0 -1
  2. package/.claude/commands/bmad/bmm/agents/sm.md +1 -1
  3. package/.claude/commands/bmad/bmm/agents/tech-writer.md +82 -0
  4. package/.claude/commands/bmad/bmm/workflows/README.md +1 -1
  5. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  6. package/.claude/commands/bmad/core/workflows/README.md +10 -0
  7. package/.claude/settings.local.json +4 -8
  8. package/CHANGELOG.md +305 -0
  9. package/README.md +88 -39
  10. package/bmad/_cfg/agent-manifest.csv +2 -1
  11. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  12. package/bmad/_cfg/files-manifest.csv +40 -62
  13. package/bmad/_cfg/ides/claude-code.yaml +1 -1
  14. package/bmad/_cfg/manifest.yaml +4 -3
  15. package/bmad/_cfg/task-manifest.csv +4 -1
  16. package/bmad/_cfg/tool-manifest.csv +1 -0
  17. package/bmad/_cfg/workflow-manifest.csv +3 -1
  18. package/bmad/bmb/config.yaml +2 -2
  19. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  20. package/bmad/bmm/README.md +79 -120
  21. package/bmad/bmm/README.md.bak +169 -0
  22. package/bmad/bmm/agents/analyst.md.bak +67 -0
  23. package/bmad/bmm/agents/architect.md +0 -1
  24. package/bmad/bmm/agents/architect.md.bak +73 -0
  25. package/bmad/bmm/agents/dev.md.bak +69 -0
  26. package/bmad/bmm/agents/pm.md.bak +76 -0
  27. package/bmad/bmm/agents/sm.md +1 -1
  28. package/bmad/bmm/agents/sm.md.bak +85 -0
  29. package/bmad/bmm/agents/tea.md.bak +72 -0
  30. package/bmad/bmm/agents/tech-writer.md +82 -0
  31. package/bmad/bmm/agents/ux-designer.md.bak +71 -0
  32. package/bmad/bmm/config.yaml +2 -2
  33. package/bmad/bmm/docs/README.md +235 -0
  34. package/bmad/bmm/docs/agents-guide.md +1057 -0
  35. package/bmad/bmm/docs/brownfield-guide.md +471 -972
  36. package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  37. package/bmad/bmm/docs/faq.md +589 -0
  38. package/bmad/bmm/docs/glossary.md +321 -0
  39. package/bmad/bmm/docs/party-mode.md +224 -0
  40. package/bmad/bmm/docs/quick-spec-flow.md +64 -57
  41. package/bmad/bmm/docs/quick-start.md +72 -47
  42. package/bmad/bmm/docs/scale-adaptive-system.md +332 -778
  43. package/bmad/bmm/docs/troubleshooting.md +680 -0
  44. package/bmad/bmm/{workflows/3-solutioning/architecture/README.md → docs/workflow-architecture-reference.md} +130 -77
  45. package/bmad/bmm/{workflows/document-project/README.md → docs/workflow-document-project-reference.md} +45 -2
  46. package/bmad/bmm/docs/workflows-analysis.md +670 -0
  47. package/bmad/bmm/docs/workflows-implementation.md +1758 -0
  48. package/bmad/bmm/docs/workflows-planning.md +1086 -0
  49. package/bmad/bmm/docs/workflows-solutioning.md +726 -0
  50. package/bmad/bmm/tasks/daily-standup.xml +1 -1
  51. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
  52. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  53. package/bmad/bmm/workflows/techdoc/documentation-standards.md +2 -1
  54. package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
  55. package/bmad/bmm/workflows/workflow-status/init/instructions.md +623 -242
  56. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
  57. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  58. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  59. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  60. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  61. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  62. package/bmad/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  63. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  64. package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
  65. package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
  66. package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
  67. package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
  68. package/bmad/cis/agents/storyteller.md.bak +59 -0
  69. package/bmad/cis/config.yaml +2 -2
  70. package/bmad/core/agents/bmad-master.md.bak +15 -13
  71. package/bmad/core/config.yaml +2 -2
  72. package/bmad/core/tasks/workflow.xml +1 -11
  73. package/package.json +1 -1
  74. package/src/core/tasks/workflow.xml +1 -11
  75. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  76. package/src/modules/bmm/README.md +1 -1
  77. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  78. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  79. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  80. package/src/modules/bmm/agents/{paige.agent.yaml → tech-writer.agent.yaml} +4 -4
  81. package/src/modules/bmm/docs/README.md +9 -9
  82. package/src/modules/bmm/docs/agents-guide.md +46 -98
  83. package/src/modules/bmm/docs/brownfield-guide.md +211 -90
  84. package/src/modules/bmm/docs/enterprise-agentic-development.md +380 -740
  85. package/src/modules/bmm/docs/faq.md +10 -10
  86. package/src/modules/bmm/docs/glossary.md +36 -42
  87. package/src/modules/bmm/docs/party-mode.md +110 -1122
  88. package/src/modules/bmm/docs/quick-spec-flow.md +33 -33
  89. package/src/modules/bmm/docs/quick-start.md +29 -29
  90. package/src/modules/bmm/docs/scale-adaptive-system.md +303 -453
  91. package/src/modules/bmm/docs/troubleshooting.md +1 -1
  92. package/src/modules/bmm/docs/workflows-implementation.md +20 -21
  93. package/src/modules/bmm/docs/workflows-solutioning.md +1 -1
  94. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  95. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -19
  96. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +10 -9
  97. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +23 -34
  98. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +105 -331
  99. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +23 -11
  100. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +23 -38
  101. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +2 -2
  102. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +38 -16
  103. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1 -19
  104. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +35 -32
  105. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +2 -2
  106. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +7 -18
  107. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -18
  108. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +6 -6
  109. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +1 -1
  110. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +1 -1
  111. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  112. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  113. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  114. package/{bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  115. package/{bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  116. package/{bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  117. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-1.yaml → quick-flow-greenfield.yaml} +16 -18
  118. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  119. package/bmad/bmm/tasks/retrospective.xml +0 -104
  120. package/bmad/bmm/testarch/README.md +0 -311
  121. package/bmad/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  122. package/bmad/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  123. package/bmad/bmm/workflows/1-analysis/research/README.md +0 -454
  124. package/bmad/bmm/workflows/2-plan-workflows/README.md +0 -258
  125. package/bmad/bmm/workflows/3-solutioning/README.md +0 -1
  126. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  127. package/bmad/bmm/workflows/4-implementation/README.md +0 -221
  128. package/bmad/bmm/workflows/4-implementation/code-review/README.md +0 -69
  129. package/bmad/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  130. package/bmad/bmm/workflows/4-implementation/create-story/README.md +0 -146
  131. package/bmad/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  132. package/bmad/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  133. package/bmad/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  134. package/bmad/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  135. package/bmad/bmm/workflows/4-implementation/story-context/README.md +0 -234
  136. package/bmad/bmm/workflows/README.md +0 -256
  137. package/bmad/bmm/workflows/document-project/templates/README.md +0 -38
  138. package/bmad/bmm/workflows/testarch/README.md +0 -26
  139. package/bmad/bmm/workflows/testarch/atdd/README.md +0 -672
  140. package/bmad/bmm/workflows/testarch/automate/README.md +0 -869
  141. package/bmad/bmm/workflows/testarch/ci/README.md +0 -493
  142. package/bmad/bmm/workflows/testarch/framework/README.md +0 -340
  143. package/bmad/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  144. package/bmad/bmm/workflows/testarch/test-design/README.md +0 -493
  145. package/bmad/bmm/workflows/testarch/test-review/README.md +0 -775
  146. package/bmad/bmm/workflows/testarch/trace/README.md +0 -802
  147. package/bmad/bmm/workflows/workflow-status/README.md +0 -260
  148. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  149. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  150. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  151. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  152. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  153. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  154. package/src/modules/bmm/docs/brownfield-guide.md.backup +0 -1324
  155. package/src/modules/bmm/docs/workflows-testing.md +0 -1572
  156. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +0 -54
  157. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  158. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +0 -88
  159. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +0 -45
  160. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +0 -73
  161. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  162. /package/bmad/bmm/agents/{paige.md → paige.md.bak} +0 -0
@@ -64,7 +64,7 @@
64
64
  <i>Primary: Sarah (PO), Bob (SM), James (Dev)</i>
65
65
  <i>Secondary: Murat (TEA)</i>
66
66
  </context>
67
- <context type="architecture-review">
67
+ <context type="validate-architecture">
68
68
  <i>Primary: Winston (Architect), James (Dev), Murat (TEA)</i>
69
69
  <i>Secondary: Sarah (PO)</i>
70
70
  </context>
@@ -0,0 +1,60 @@
1
+ # Technical Specification Workflow (Level 0)
2
+ name: tech-spec
3
+ description: "Technical specification workflow for Level 0 projects (single atomic changes). Creates focused tech spec for bug fixes, single endpoint additions, or small isolated changes. Tech-spec only - no PRD needed."
4
+ author: "BMad"
5
+
6
+ # Critical variables from config
7
+ config_source: "{project-root}/bmad/bmm/config.yaml"
8
+ project_name: "{config_source}:project_name"
9
+ output_folder: "{config_source}:output_folder"
10
+ user_name: "{config_source}:user_name"
11
+ communication_language: "{config_source}:communication_language"
12
+ document_output_language: "{config_source}:document_output_language"
13
+ user_skill_level: "{config_source}:user_skill_level"
14
+ date: system-generated
15
+
16
+ # Runtime variables (captured during workflow execution)
17
+ project_level: runtime-captured
18
+ project_type: runtime-captured
19
+ development_context: runtime-captured
20
+ change_type: runtime-captured
21
+ field_type: runtime-captured
22
+
23
+ # Workflow components
24
+ installed_path: "{project-root}/bmad/bmm/workflows/2-plan-workflows/tech-spec"
25
+ instructions: "{installed_path}/instructions.md"
26
+ template: "{installed_path}/tech-spec-template.md"
27
+
28
+ # Story generation instructions (invoked based on level)
29
+ instructions_level0_story: "{installed_path}/instructions-level0-story.md"
30
+ instructions_level1_stories: "{installed_path}/instructions-level1-stories.md"
31
+
32
+ # Templates
33
+ user_story_template: "{installed_path}/user-story-template.md"
34
+ epics_template: "{installed_path}/epics-template.md"
35
+
36
+ # Output configuration
37
+ default_output_file: "{output_folder}/tech-spec.md"
38
+ user_story_file: "{output_folder}/user-story.md"
39
+ epics_file: "{output_folder}/epics.md"
40
+
41
+ # Recommended input documents (optional for Level 0)
42
+ recommended_inputs:
43
+ - bug_report: "Bug description or issue ticket"
44
+ - feature_request: "Brief feature description"
45
+
46
+ # Smart input file references - handles both whole docs and sharded docs
47
+ # Priority: Whole document first, then sharded version
48
+ input_file_patterns:
49
+ product_brief:
50
+ whole: "{output_folder}/*brief*.md"
51
+ sharded: "{output_folder}/*brief*/index.md"
52
+
53
+ research:
54
+ whole: "{output_folder}/*research*.md"
55
+ sharded: "{output_folder}/*research*/index.md"
56
+
57
+ document_project:
58
+ sharded: "{output_folder}/docs/index.md"
59
+
60
+ standalone: true
@@ -1,4 +1,4 @@
1
- name: tech-spec
1
+ name: epic-tech-context
2
2
  description: "Generate a comprehensive Technical Specification from PRD and Architecture with acceptance criteria and traceability mapping"
3
3
  author: "BMAD BMM"
4
4
 
@@ -1,6 +1,6 @@
1
1
  # Technical Documentation Standards for BMAD
2
2
 
3
- **For Agent: Paige (Documentation Guide)**
3
+ **For Agent: Technical Writer**
4
4
  **Purpose: Concise reference for documentation creation and review**
5
5
 
6
6
  ---
@@ -122,6 +122,7 @@ Apply in this hierarchy:
122
122
  - Alt text for diagrams: Describe what it shows
123
123
  - Semantic heading hierarchy (don't skip levels)
124
124
  - Tables have headers
125
+ - Emojis are acceptable if user preferences allow (modern accessibility tools support emojis well)
125
126
 
126
127
  ---
127
128
 
@@ -0,0 +1,238 @@
1
+ # Technical Documentation Standards for BMAD
2
+
3
+ **For Agent: Paige (Documentation Guide)**
4
+ **Purpose: Concise reference for documentation creation and review**
5
+
6
+ ---
7
+
8
+ ## CRITICAL RULE: CommonMark Strict Compliance
9
+
10
+ ALL documentation MUST follow CommonMark specification exactly. No exceptions.
11
+
12
+ ### CommonMark Essentials
13
+
14
+ **Headers:**
15
+
16
+ - Use ATX-style ONLY: `#` `##` `###` (NOT Setext underlines)
17
+ - Single space after `#`: `# Title` (NOT `#Title`)
18
+ - No trailing `#`: `# Title` (NOT `# Title #`)
19
+ - Hierarchical order: Don't skip levels (h1→h2→h3, not h1→h3)
20
+
21
+ **Code Blocks:**
22
+
23
+ - Use fenced blocks with language identifier:
24
+ ````markdown
25
+ ```javascript
26
+ const example = 'code';
27
+ ```
28
+ ````
29
+ - NOT indented code blocks (ambiguous)
30
+
31
+ **Lists:**
32
+
33
+ - Consistent markers within list: all `-` or all `*` or all `+` (don't mix)
34
+ - Proper indentation for nested items (2 or 4 spaces, stay consistent)
35
+ - Blank line before/after list for clarity
36
+
37
+ **Links:**
38
+
39
+ - Inline: `[text](url)`
40
+ - Reference: `[text][ref]` then `[ref]: url` at bottom
41
+ - NO bare URLs without `<>` brackets
42
+
43
+ **Emphasis:**
44
+
45
+ - Italic: `*text*` or `_text_`
46
+ - Bold: `**text**` or `__text__`
47
+ - Consistent style within document
48
+
49
+ **Line Breaks:**
50
+
51
+ - Two spaces at end of line + newline, OR
52
+ - Blank line between paragraphs
53
+ - NO single line breaks (they're ignored)
54
+
55
+ ---
56
+
57
+ ## Mermaid Diagrams: Valid Syntax Required
58
+
59
+ **Critical Rules:**
60
+
61
+ 1. Always specify diagram type first line
62
+ 2. Use valid Mermaid v10+ syntax
63
+ 3. Test syntax before outputting (mental validation)
64
+ 4. Keep focused: 5-10 nodes ideal, max 15
65
+
66
+ **Diagram Type Selection:**
67
+
68
+ - **flowchart** - Process flows, decision trees, workflows
69
+ - **sequenceDiagram** - API interactions, message flows, time-based processes
70
+ - **classDiagram** - Object models, class relationships, system structure
71
+ - **erDiagram** - Database schemas, entity relationships
72
+ - **stateDiagram-v2** - State machines, lifecycle stages
73
+ - **gitGraph** - Branch strategies, version control flows
74
+
75
+ **Formatting:**
76
+
77
+ ````markdown
78
+ ```mermaid
79
+ flowchart TD
80
+ Start[Clear Label] --> Decision{Question?}
81
+ Decision -->|Yes| Action1[Do This]
82
+ Decision -->|No| Action2[Do That]
83
+ ```
84
+ ````
85
+
86
+ ---
87
+
88
+ ## Style Guide Principles (Distilled)
89
+
90
+ Apply in this hierarchy:
91
+
92
+ 1. **Project-specific guide** (if exists) - always ask first
93
+ 2. **BMAD conventions** (this document)
94
+ 3. **Google Developer Docs style** (defaults below)
95
+ 4. **CommonMark spec** (when in doubt)
96
+
97
+ ### Core Writing Rules
98
+
99
+ **Task-Oriented Focus:**
100
+
101
+ - Write for user GOALS, not feature lists
102
+ - Start with WHY, then HOW
103
+ - Every doc answers: "What can I accomplish?"
104
+
105
+ **Clarity Principles:**
106
+
107
+ - Active voice: "Click the button" NOT "The button should be clicked"
108
+ - Present tense: "The function returns" NOT "The function will return"
109
+ - Direct language: "Use X for Y" NOT "X can be used for Y"
110
+ - Second person: "You configure" NOT "Users configure" or "One configures"
111
+
112
+ **Structure:**
113
+
114
+ - One idea per sentence
115
+ - One topic per paragraph
116
+ - Headings describe content accurately
117
+ - Examples follow explanations
118
+
119
+ **Accessibility:**
120
+
121
+ - Descriptive link text: "See the API reference" NOT "Click here"
122
+ - Alt text for diagrams: Describe what it shows
123
+ - Semantic heading hierarchy (don't skip levels)
124
+ - Tables have headers
125
+
126
+ ---
127
+
128
+ ## OpenAPI/API Documentation
129
+
130
+ **Required Elements:**
131
+
132
+ - Endpoint path and method
133
+ - Authentication requirements
134
+ - Request parameters (path, query, body) with types
135
+ - Request example (realistic, working)
136
+ - Response schema with types
137
+ - Response examples (success + common errors)
138
+ - Error codes and meanings
139
+
140
+ **Quality Standards:**
141
+
142
+ - OpenAPI 3.0+ specification compliance
143
+ - Complete schemas (no missing fields)
144
+ - Examples that actually work
145
+ - Clear error messages
146
+ - Security schemes documented
147
+
148
+ ---
149
+
150
+ ## Documentation Types: Quick Reference
151
+
152
+ **README:**
153
+
154
+ - What (overview), Why (purpose), How (quick start)
155
+ - Installation, Usage, Contributing, License
156
+ - Under 500 lines (link to detailed docs)
157
+
158
+ **API Reference:**
159
+
160
+ - Complete endpoint coverage
161
+ - Request/response examples
162
+ - Authentication details
163
+ - Error handling
164
+ - Rate limits if applicable
165
+
166
+ **User Guide:**
167
+
168
+ - Task-based sections (How to...)
169
+ - Step-by-step instructions
170
+ - Screenshots/diagrams where helpful
171
+ - Troubleshooting section
172
+
173
+ **Architecture Docs:**
174
+
175
+ - System overview diagram (Mermaid)
176
+ - Component descriptions
177
+ - Data flow
178
+ - Technology decisions (ADRs)
179
+ - Deployment architecture
180
+
181
+ **Developer Guide:**
182
+
183
+ - Setup/environment requirements
184
+ - Code organization
185
+ - Development workflow
186
+ - Testing approach
187
+ - Contribution guidelines
188
+
189
+ ---
190
+
191
+ ## Quality Checklist
192
+
193
+ Before finalizing ANY documentation:
194
+
195
+ - [ ] CommonMark compliant (no violations)
196
+ - [ ] Headers in proper hierarchy
197
+ - [ ] All code blocks have language tags
198
+ - [ ] Links work and have descriptive text
199
+ - [ ] Mermaid diagrams render correctly
200
+ - [ ] Active voice, present tense
201
+ - [ ] Task-oriented (answers "how do I...")
202
+ - [ ] Examples are concrete and working
203
+ - [ ] Accessibility standards met
204
+ - [ ] Spelling/grammar checked
205
+ - [ ] Reads clearly at target skill level
206
+
207
+ ---
208
+
209
+ ## BMAD-Specific Conventions
210
+
211
+ **File Organization:**
212
+
213
+ - `README.md` at root of each major component
214
+ - `docs/` folder for extensive documentation
215
+ - Workflow-specific docs in workflow folder
216
+ - Cross-references use relative paths
217
+
218
+ **Frontmatter:**
219
+ Use YAML frontmatter when appropriate:
220
+
221
+ ```yaml
222
+ ---
223
+ title: Document Title
224
+ description: Brief description
225
+ author: Author name
226
+ date: YYYY-MM-DD
227
+ ---
228
+ ```
229
+
230
+ **Metadata:**
231
+
232
+ - Always include last-updated date
233
+ - Version info for versioned docs
234
+ - Author attribution for accountability
235
+
236
+ ---
237
+
238
+ **Remember: This is your foundation. Follow these rules consistently, and all documentation will be clear, accessible, and maintainable.**