bmad-method 6.0.0-alpha.3 → 6.0.0-alpha.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.
Files changed (495) hide show
  1. package/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
  2. package/.claude/commands/bmad/bmm/agents/architect.md +73 -0
  3. package/.claude/commands/bmad/bmm/agents/dev.md +69 -0
  4. package/.claude/commands/bmad/bmm/agents/paige.md +82 -0
  5. package/.claude/commands/bmad/bmm/agents/pm.md +76 -0
  6. package/.claude/commands/bmad/bmm/agents/sm.md +85 -0
  7. package/.claude/commands/bmad/bmm/agents/tea.md +72 -0
  8. package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
  9. package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
  10. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  11. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  12. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  13. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  14. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  15. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  16. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  17. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  18. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  19. package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
  20. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  21. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  23. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  24. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  25. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  26. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  27. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  28. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  29. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
  30. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  31. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  32. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  33. package/.claude/commands/bmad/cis/agents/README.md +104 -0
  34. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
  35. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
  36. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
  37. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
  38. package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
  39. package/.claude/commands/bmad/cis/workflows/README.md +37 -0
  40. package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
  41. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
  42. package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
  43. package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
  44. package/.claude/settings.local.json +10 -41
  45. package/CHANGELOG.md +239 -0
  46. package/README.md +219 -103
  47. package/bmad/_cfg/agent-manifest.csv +13 -4
  48. package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  49. package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
  50. package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  51. package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  52. package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  53. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  54. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
  55. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
  56. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
  57. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
  58. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
  59. package/bmad/_cfg/files-manifest.csv +289 -22
  60. package/bmad/_cfg/ides/claude-code.yaml +6 -0
  61. package/bmad/_cfg/manifest.yaml +5 -6
  62. package/bmad/_cfg/task-manifest.csv +2 -0
  63. package/bmad/_cfg/workflow-manifest.csv +35 -2
  64. package/bmad/bmb/README.md +135 -73
  65. package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
  66. package/bmad/bmb/config.yaml +2 -2
  67. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
  68. package/bmad/bmb/workflows/create-agent/README.md +126 -243
  69. package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
  70. package/bmad/bmb/workflows/create-module/README.md +163 -154
  71. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
  72. package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
  73. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  74. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
  75. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
  76. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
  77. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
  78. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
  79. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
  80. package/bmad/bmm/README.md +169 -0
  81. package/bmad/bmm/agents/analyst.md +67 -0
  82. package/bmad/bmm/agents/architect.md +73 -0
  83. package/bmad/bmm/agents/dev.md +69 -0
  84. package/bmad/bmm/agents/paige.md +82 -0
  85. package/bmad/bmm/agents/pm.md +76 -0
  86. package/bmad/bmm/agents/sm.md +85 -0
  87. package/bmad/bmm/agents/tea.md +72 -0
  88. package/bmad/bmm/agents/ux-designer.md +71 -0
  89. package/bmad/bmm/config.yaml +17 -0
  90. package/bmad/bmm/docs/quick-spec-flow.md +645 -0
  91. package/bmad/bmm/docs/scale-adaptive-system.md +1045 -0
  92. package/bmad/bmm/tasks/daily-standup.xml +85 -0
  93. package/bmad/bmm/teams/team-fullstack.yaml +11 -0
  94. package/bmad/bmm/teams/team-gamedev.yaml +14 -0
  95. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  96. package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  97. package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  98. package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  99. package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  100. package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  101. package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  102. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  103. package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
  104. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  105. package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  106. package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  107. package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  108. package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  109. package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  110. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  111. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  112. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  113. package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  114. package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  115. package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  116. package/bmad/bmm/testarch/tea-index.csv +22 -0
  117. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  118. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  119. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  120. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  121. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  122. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  123. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  124. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  125. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  126. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  127. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  128. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  129. package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  130. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  131. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  132. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  133. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  134. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  135. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  136. package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  137. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  138. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  139. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  140. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
  141. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  142. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
  143. package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
  144. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
  145. package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
  146. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
  147. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
  148. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  149. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
  150. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  151. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
  152. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  153. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  154. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  155. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  156. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
  157. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  158. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  159. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
  160. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  161. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
  162. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  163. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  164. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  165. package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  166. package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  167. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
  168. package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  169. package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
  170. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  171. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
  172. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  173. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  174. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  175. package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  176. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  177. package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  178. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
  179. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  180. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  181. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  182. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  183. package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  184. package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  185. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  186. package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  187. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  188. package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  189. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  190. package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  191. package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  192. package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  193. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  194. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  195. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  196. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  197. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  198. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  199. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  200. package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  201. package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  202. package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  203. package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  204. package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  205. package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  206. package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  207. package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  208. package/{src/modules → bmad}/bmm/workflows/README.md +41 -0
  209. package/bmad/bmm/workflows/document-project/checklist.md +245 -0
  210. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  211. package/bmad/bmm/workflows/document-project/instructions.md +222 -0
  212. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  213. package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  214. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  215. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  216. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  217. package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  218. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  219. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  220. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  221. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  222. package/bmad/bmm/workflows/techdoc/documentation-standards.md +238 -0
  223. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  224. package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  225. package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  226. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  227. package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  228. package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  229. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  230. package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  231. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  232. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  233. package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  234. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  235. package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  236. package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  237. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  238. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  239. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  240. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  241. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  242. package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  243. package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  244. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  245. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  246. package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  247. package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  248. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  249. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  250. package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  251. package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  252. package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  253. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  254. package/bmad/bmm/workflows/workflow-status/init/instructions.md +390 -0
  255. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  256. package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
  257. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-0.yaml +54 -0
  258. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml +58 -0
  259. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +76 -0
  260. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml +95 -0
  261. package/bmad/bmm/workflows/workflow-status/paths/brownfield-level-4.yaml +88 -0
  262. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
  263. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-0.yaml +45 -0
  264. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml +49 -0
  265. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml +78 -0
  266. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-3.yaml +73 -0
  267. package/bmad/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +75 -0
  268. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  269. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  270. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  271. package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  272. package/bmad/cis/README.md +153 -0
  273. package/bmad/cis/agents/README.md +104 -0
  274. package/bmad/cis/agents/brainstorming-coach.md +62 -0
  275. package/bmad/cis/agents/creative-problem-solver.md +62 -0
  276. package/bmad/cis/agents/design-thinking-coach.md +62 -0
  277. package/bmad/cis/agents/innovation-strategist.md +62 -0
  278. package/bmad/cis/agents/storyteller.md +59 -0
  279. package/bmad/{bmd → cis}/config.yaml +3 -3
  280. package/bmad/cis/teams/creative-squad.yaml +6 -0
  281. package/bmad/cis/workflows/README.md +139 -0
  282. package/bmad/cis/workflows/design-thinking/README.md +56 -0
  283. package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  284. package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
  285. package/bmad/cis/workflows/design-thinking/template.md +111 -0
  286. package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
  287. package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
  288. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  289. package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
  290. package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
  291. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
  292. package/bmad/cis/workflows/problem-solving/README.md +56 -0
  293. package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
  294. package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  295. package/bmad/cis/workflows/problem-solving/template.md +165 -0
  296. package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
  297. package/bmad/cis/workflows/storytelling/README.md +58 -0
  298. package/bmad/cis/workflows/storytelling/instructions.md +291 -0
  299. package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
  300. package/bmad/cis/workflows/storytelling/template.md +113 -0
  301. package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
  302. package/bmad/core/agents/bmad-master.md.bak +69 -0
  303. package/bmad/core/config.yaml +2 -2
  304. package/bmad/core/tasks/workflow.xml +0 -8
  305. package/bmad/core/tools/shard-doc.xml +8 -43
  306. package/docs/document-sharding-guide.md +447 -0
  307. package/docs/index.md +37 -41
  308. package/package.json +1 -1
  309. package/src/core/tools/shard-doc.xml +8 -43
  310. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  311. package/src/modules/bmm/README.md +79 -95
  312. package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
  313. package/src/modules/bmm/agents/paige.agent.yaml +69 -0
  314. package/src/modules/bmm/agents/pm.agent.yaml +11 -1
  315. package/src/modules/bmm/docs/README.md +235 -0
  316. package/src/modules/bmm/docs/agents-guide.md +1109 -0
  317. package/src/modules/bmm/docs/brownfield-guide.md +638 -0
  318. package/src/modules/bmm/docs/brownfield-guide.md.backup +1324 -0
  319. package/src/modules/bmm/docs/enterprise-agentic-development.md +1040 -0
  320. package/src/modules/bmm/docs/faq.md +589 -0
  321. package/src/modules/bmm/docs/glossary.md +327 -0
  322. package/src/modules/bmm/docs/party-mode.md +1236 -0
  323. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  324. package/src/modules/bmm/docs/quick-start.md +366 -0
  325. package/src/modules/bmm/docs/scale-adaptive-system.md +749 -0
  326. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  327. package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
  328. package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
  329. package/src/modules/bmm/docs/workflows-analysis.md +670 -0
  330. package/src/modules/bmm/docs/workflows-implementation.md +1759 -0
  331. package/src/modules/bmm/docs/workflows-planning.md +1086 -0
  332. package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
  333. package/src/modules/bmm/docs/workflows-testing.md +1572 -0
  334. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  335. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  336. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  337. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
  338. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
  339. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
  340. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  341. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  342. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
  343. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
  344. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
  345. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
  346. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
  347. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
  348. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
  349. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
  350. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +18 -0
  351. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
  352. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
  353. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
  354. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +295 -63
  355. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +63 -0
  356. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  357. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +43 -0
  358. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  359. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +283 -291
  360. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
  361. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  362. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +24 -6
  363. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
  364. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +51 -4
  365. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
  366. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
  367. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +988 -108
  368. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
  369. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +36 -5
  370. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +21 -0
  371. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
  372. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +51 -32
  373. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
  374. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +18 -0
  375. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +26 -0
  376. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
  377. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
  378. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
  379. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
  380. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
  381. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +31 -5
  382. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
  383. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
  384. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
  385. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
  386. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
  387. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
  388. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
  389. package/tools/cli/commands/install.js +1 -1
  390. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  391. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  392. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  393. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  394. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  395. package/.claude/hooks/check-output-style.sh +0 -112
  396. package/.claude/hooks/download-extra-voices.sh +0 -244
  397. package/.claude/hooks/github-star-reminder.sh +0 -154
  398. package/.claude/hooks/language-manager.sh +0 -392
  399. package/.claude/hooks/learn-manager.sh +0 -475
  400. package/.claude/hooks/personality-manager.sh +0 -438
  401. package/.claude/hooks/piper-download-voices.sh +0 -165
  402. package/.claude/hooks/piper-installer.sh +0 -178
  403. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  404. package/.claude/hooks/piper-voice-manager.sh +0 -293
  405. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  406. package/.claude/hooks/play-tts-piper.sh +0 -338
  407. package/.claude/hooks/play-tts.sh +0 -100
  408. package/.claude/hooks/provider-commands.sh +0 -540
  409. package/.claude/hooks/provider-manager.sh +0 -298
  410. package/.claude/hooks/replay-target-audio.sh +0 -95
  411. package/.claude/hooks/sentiment-manager.sh +0 -201
  412. package/.claude/hooks/speed-manager.sh +0 -291
  413. package/.claude/hooks/voice-manager.sh +0 -594
  414. package/.claude/hooks/voices-config.sh +0 -70
  415. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  416. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  417. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  418. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  419. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  420. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  421. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  422. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  423. package/bmad/bmd/README.md +0 -193
  424. package/bmad/bmd/README.md.bak +0 -193
  425. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  426. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  427. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  428. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  429. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  430. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  431. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  432. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  433. package/bmad/bmd/agents/cli-chief.md +0 -108
  434. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  435. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  436. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  437. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  438. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  439. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  440. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  441. package/bmad/bmd/agents/doc-keeper.md +0 -115
  442. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  443. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  444. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  445. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  446. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  447. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  448. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  449. package/bmad/bmd/agents/release-chief.md +0 -109
  450. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  451. package/bmad/docs/codex-instructions.md +0 -21
  452. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  453. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  454. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  455. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  456. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  457. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  458. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  459. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  460. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  461. /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
  462. /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
  463. /package/{docs/bmad-brownfield-guide.md → bmad/bmm/docs/brownfield-guide.md} +0 -0
  464. /package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +0 -0
  465. /package/{src/modules → bmad}/bmm/tasks/retrospective.xml +0 -0
  466. /package/{src/modules → bmad}/bmm/testarch/README.md +0 -0
  467. /package/{src/modules → bmad}/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -0
  468. /package/{src/modules → bmad}/bmm/workflows/1-analysis/product-brief/README.md +0 -0
  469. /package/{src/modules → bmad}/bmm/workflows/1-analysis/research/README.md +0 -0
  470. /package/{src/modules → bmad}/bmm/workflows/2-plan-workflows/README.md +0 -0
  471. /package/{src/modules/bmm/workflows/2-plan-workflows/prd → bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories}/epics-template.md +0 -0
  472. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/README.md +0 -0
  473. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/architecture/README.md +0 -0
  474. /package/{src/modules → bmad}/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -0
  475. /package/{src/modules → bmad}/bmm/workflows/4-implementation/README.md +0 -0
  476. /package/{src/modules → bmad}/bmm/workflows/4-implementation/code-review/README.md +0 -0
  477. /package/{src/modules → bmad}/bmm/workflows/4-implementation/correct-course/README.md +0 -0
  478. /package/{src/modules → bmad}/bmm/workflows/4-implementation/create-story/README.md +0 -0
  479. /package/{src/modules → bmad}/bmm/workflows/4-implementation/dev-story/README.md +0 -0
  480. /package/{src/modules → bmad}/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -0
  481. /package/{src/modules → bmad}/bmm/workflows/4-implementation/retrospective/README.md +0 -0
  482. /package/{src/modules → bmad}/bmm/workflows/4-implementation/sprint-planning/README.md +0 -0
  483. /package/{src/modules → bmad}/bmm/workflows/4-implementation/story-context/README.md +0 -0
  484. /package/{src/modules → bmad}/bmm/workflows/document-project/README.md +0 -0
  485. /package/{src/modules → bmad}/bmm/workflows/document-project/templates/README.md +0 -0
  486. /package/{src/modules → bmad}/bmm/workflows/testarch/README.md +0 -0
  487. /package/{src/modules → bmad}/bmm/workflows/testarch/atdd/README.md +0 -0
  488. /package/{src/modules → bmad}/bmm/workflows/testarch/automate/README.md +0 -0
  489. /package/{src/modules → bmad}/bmm/workflows/testarch/ci/README.md +0 -0
  490. /package/{src/modules → bmad}/bmm/workflows/testarch/framework/README.md +0 -0
  491. /package/{src/modules → bmad}/bmm/workflows/testarch/nfr-assess/README.md +0 -0
  492. /package/{src/modules → bmad}/bmm/workflows/testarch/test-design/README.md +0 -0
  493. /package/{src/modules → bmad}/bmm/workflows/testarch/test-review/README.md +0 -0
  494. /package/{src/modules → bmad}/bmm/workflows/testarch/trace/README.md +0 -0
  495. /package/{src/modules → bmad}/bmm/workflows/workflow-status/README.md +0 -0
@@ -1020,6 +1020,164 @@ _Generated on {{date}}_
1020
1020
  - **Unclosed check tags** - Always close `<check if="">...</check>` blocks
1021
1021
  - **Wrong conditional pattern** - Use `<action if="">` for single items, `<check if="">` for blocks
1022
1022
 
1023
+ ## Document Sharding Support
1024
+
1025
+ If your workflow loads large planning documents (PRDs, epics, architecture, etc.), implement sharding support for efficiency.
1026
+
1027
+ ### What is Document Sharding?
1028
+
1029
+ Document sharding splits large markdown files into smaller section-based files:
1030
+
1031
+ - `PRD.md` (50k tokens) → `prd/epic-1.md`, `prd/epic-2.md`, etc.
1032
+ - Enables selective loading (90%+ token savings)
1033
+ - All BMM workflows support both whole and sharded documents
1034
+
1035
+ ### When to Add Sharding Support
1036
+
1037
+ **Add sharding support if your workflow:**
1038
+
1039
+ - Loads planning documents (PRD, epics, architecture, UX specs)
1040
+ - May be used in large multi-epic projects
1041
+ - Processes documents that could exceed 20k tokens
1042
+ - Would benefit from selective section loading
1043
+
1044
+ **Skip sharding support if your workflow:**
1045
+
1046
+ - Only generates small documents
1047
+ - Doesn't load external documents
1048
+ - Works with code files (not planning docs)
1049
+
1050
+ ### Implementation Pattern
1051
+
1052
+ #### 1. Add input_file_patterns to workflow.yaml
1053
+
1054
+ ```yaml
1055
+ # Smart input file references - handles both whole docs and sharded docs
1056
+ # Priority: Whole document first, then sharded version
1057
+ input_file_patterns:
1058
+ prd:
1059
+ whole: '{output_folder}/*prd*.md'
1060
+ sharded: '{output_folder}/*prd*/index.md'
1061
+
1062
+ epics:
1063
+ whole: '{output_folder}/*epic*.md'
1064
+ sharded_index: '{output_folder}/*epic*/index.md'
1065
+ sharded_single: '{output_folder}/*epic*/epic-{{epic_num}}.md' # For selective load
1066
+
1067
+ architecture:
1068
+ whole: '{output_folder}/*architecture*.md'
1069
+ sharded: '{output_folder}/*architecture*/index.md'
1070
+
1071
+ document_project:
1072
+ sharded: '{output_folder}/docs/index.md' # Brownfield always uses index
1073
+ ```
1074
+
1075
+ #### 2. Add Discovery Instructions to instructions.md
1076
+
1077
+ Place early in instructions (after critical declarations, before workflow steps):
1078
+
1079
+ ```markdown
1080
+ ## 📚 Document Discovery
1081
+
1082
+ This workflow requires: [list required documents]
1083
+
1084
+ **Discovery Process** (execute for each document):
1085
+
1086
+ 1. **Search for whole document first** - Use fuzzy file matching
1087
+ 2. **Check for sharded version** - If whole document not found, look for `{doc-name}/index.md`
1088
+ 3. **If sharded version found**:
1089
+ - Read `index.md` to understand the document structure
1090
+ - Read ALL section files listed in the index (or specific sections for selective load)
1091
+ - Treat the combined content as if it were a single document
1092
+ 4. **Brownfield projects**: The `document-project` workflow creates `{output_folder}/docs/index.md`
1093
+
1094
+ **Priority**: If both whole and sharded versions exist, use the whole document.
1095
+
1096
+ **Fuzzy matching**: Be flexible with document names - users may use variations.
1097
+ ```
1098
+
1099
+ #### 3. Choose Loading Strategy
1100
+
1101
+ **Full Load Strategy** (most workflows):
1102
+
1103
+ ```xml
1104
+ <action>Search for document using fuzzy pattern: {output_folder}/*prd*.md</action>
1105
+ <action>If not found, check for sharded version: {output_folder}/*prd*/index.md</action>
1106
+ <action if="sharded found">Read index.md to understand structure</action>
1107
+ <action if="sharded found">Read ALL section files listed in index</action>
1108
+ <action if="sharded found">Combine content as single document</action>
1109
+ ```
1110
+
1111
+ **Selective Load Strategy** (advanced - for phase 4 type workflows):
1112
+
1113
+ ```xml
1114
+ <action>Determine section needed (e.g., epic_num from story key)</action>
1115
+ <action>Check for sharded version: {output_folder}/*epics*/index.md</action>
1116
+ <action if="sharded found">Read ONLY the specific section file: epics/epic-{{epic_num}}.md</action>
1117
+ <action if="sharded found">Skip all other section files (efficiency optimization)</action>
1118
+ <action if="whole document found">Load complete document and extract relevant section</action>
1119
+ ```
1120
+
1121
+ ### Pattern Examples
1122
+
1123
+ **Example 1: Simple Full Load**
1124
+
1125
+ ```yaml
1126
+ # workflow.yaml
1127
+ input_file_patterns:
1128
+ requirements:
1129
+ whole: '{output_folder}/*requirements*.md'
1130
+ sharded: '{output_folder}/*requirements*/index.md'
1131
+ ```
1132
+
1133
+ ```markdown
1134
+ <!-- instructions.md -->
1135
+
1136
+ ## Document Discovery
1137
+
1138
+ Load requirements document (whole or sharded).
1139
+
1140
+ 1. Try whole: _requirements_.md
1141
+ 2. If not found, try sharded: _requirements_/index.md
1142
+ 3. If sharded: Read index + ALL section files
1143
+ ```
1144
+
1145
+ **Example 2: Selective Load with Epic Number**
1146
+
1147
+ ```yaml
1148
+ # workflow.yaml
1149
+ input_file_patterns:
1150
+ epics:
1151
+ whole: '{output_folder}/*epic*.md'
1152
+ sharded_single: '{output_folder}/*epic*/epic-{{epic_num}}.md'
1153
+ ```
1154
+
1155
+ ```xml
1156
+ <!-- instructions.md step -->
1157
+ <step n="2" goal="Load Epic Content">
1158
+ <action>Extract epic number from story key (e.g., "3-2-feature" → epic_num = 3)</action>
1159
+ <action>Check for sharded epics: {output_folder}/*epic*/index.md</action>
1160
+ <action if="sharded found">Load ONLY epics/epic-{{epic_num}}.md (selective optimization)</action>
1161
+ <action if="whole document found">Load full epics.md and extract Epic {{epic_num}}</action>
1162
+ </step>
1163
+ ```
1164
+
1165
+ ### Testing Your Sharding Support
1166
+
1167
+ 1. **Test with whole document**: Verify workflow works with single `document.md`
1168
+ 2. **Test with sharded document**: Create sharded version and verify discovery
1169
+ 3. **Test with both present**: Ensure whole document takes priority
1170
+ 4. **Test selective loading**: Verify only needed sections are loaded (if applicable)
1171
+
1172
+ ### Complete Reference
1173
+
1174
+ **[→ Document Sharding Guide](../../../../docs/document-sharding-guide.md)** - Comprehensive guide with examples
1175
+
1176
+ **BMM Examples**:
1177
+
1178
+ - Full Load: `src/modules/bmm/workflows/2-plan-workflows/prd/`
1179
+ - Selective Load: `src/modules/bmm/workflows/4-implementation/epic-tech-context/`
1180
+
1023
1181
  ## Web Bundles
1024
1182
 
1025
1183
  Web bundles allow workflows to be deployed as self-contained packages for web environments.
@@ -2,143 +2,127 @@
2
2
 
3
3
  Core orchestration system for AI-driven agile development, providing comprehensive lifecycle management through specialized agents and workflows.
4
4
 
5
- ## Table of Contents
6
-
7
- - [Essential Reading](#essential-reading)
8
- - [Module Structure](#module-structure)
9
- - [Quick Start](#quick-start)
10
- - [Key Concepts](#key-concepts)
11
- - [Scale Levels](#scale-levels)
12
- - [Story Lifecycle](#story-lifecycle)
13
- - [Best Practices](#best-practices)
14
-
15
- ## Essential Reading
16
-
17
- **[📖 BMM v6 Workflows Guide](./workflows/README.md)** - Required reading before using BMM. Explains the revolutionary workflow system and component integration.
5
+ ---
18
6
 
19
- ## Module Structure
7
+ ## 📚 Complete Documentation
20
8
 
21
- ### 🤖 Agents
9
+ 👉 **[BMM Documentation Hub](./docs/README.md)** - Start here for complete guides, tutorials, and references
22
10
 
23
- **Core Development Roles:**
11
+ **Quick Links:**
24
12
 
25
- - **PM** - Product Manager for planning and requirements
26
- - **Analyst** - Business analysis and research
27
- - **Architect** - Technical architecture and design
28
- - **SM** - Scrum Master for sprint and story management
29
- - **DEV** - Developer for implementation
30
- - **TEA** - Test Architect for quality assurance
31
- - **UX** - User experience design
13
+ - **[Quick Start Guide](./docs/quick-start.md)** - New to BMM? Start here (15 min)
14
+ - **[Agents Guide](./docs/agents-guide.md)** - Meet your 12 specialized AI agents (45 min)
15
+ - **[Scale Adaptive System](./docs/scale-adaptive-system.md)** - How BMM adapts to project size (42 min)
16
+ - **[FAQ](./docs/faq.md)** - Quick answers to common questions
17
+ - **[Glossary](./docs/glossary.md)** - Key terminology reference
32
18
 
33
- **Game Development** (Optional):
19
+ ---
34
20
 
35
- - **Game Designer** - Creative vision and GDD creation
36
- - **Game Developer** - Game-specific implementation
37
- - **Game Architect** - Game systems and infrastructure
21
+ ## 🏗️ Module Structure
38
22
 
39
- ### 📋 Workflows
23
+ This module contains:
40
24
 
41
- Four-phase methodology adapting to project complexity:
25
+ ```
26
+ bmm/
27
+ ├── agents/ # 12 specialized AI agents (PM, Architect, SM, DEV, TEA, etc.)
28
+ ├── workflows/ # 34 workflows across 4 phases + testing
29
+ ├── teams/ # Pre-configured agent groups
30
+ ├── tasks/ # Atomic work units
31
+ ├── testarch/ # Comprehensive testing infrastructure
32
+ └── docs/ # Complete user documentation
33
+ ```
42
34
 
43
- **1. Analysis** (Optional)
35
+ ### Agent Roster
44
36
 
45
- - `brainstorm-project` - Project ideation
46
- - `research` - Market/technical research
47
- - `product-brief` - Product strategy
37
+ **Core Development:** PM, Analyst, Architect, SM, DEV, TEA, UX Designer, Paige
38
+ **Game Development:** Game Designer, Game Developer, Game Architect
39
+ **Orchestration:** BMad Master (from Core)
48
40
 
49
- **2. Planning** (Required)
41
+ 👉 **[Full Agents Guide](./docs/agents-guide.md)** - Roles, workflows, and when to use each agent
50
42
 
51
- - `prd` - Scale-adaptive planning
52
- - Routes to appropriate documentation level
43
+ ### Workflow Phases
53
44
 
54
- **3. Solutioning** (Level 3-4)
45
+ **Phase 0:** Documentation (brownfield only)
46
+ **Phase 1:** Analysis (optional) - 5 workflows
47
+ **Phase 2:** Planning (required) - 6 workflows
48
+ **Phase 3:** Solutioning (Level 3-4) - 2 workflows
49
+ **Phase 4:** Implementation (iterative) - 10 workflows
50
+ **Testing:** Quality assurance (parallel) - 9 workflows
55
51
 
56
- - `architecture` - System design
57
- - `tech-spec` - Epic technical specifications
52
+ 👉 **[Workflow Guides](./docs/README.md#-workflow-guides)** - Detailed documentation for each phase
58
53
 
59
- **4. Implementation** (Iterative)
54
+ ---
60
55
 
61
- - `create-story` - Draft stories
62
- - `story-context` - Inject expertise
63
- - `dev-story` - Implement
64
- - `code-review` - Validate quality
56
+ ## 🚀 Getting Started
65
57
 
66
- ### 👥 Teams
58
+ **New Project:**
67
59
 
68
- Pre-configured agent groups for coordinated complex tasks.
60
+ ```bash
61
+ # Install BMM
62
+ npx bmad-method@alpha install
69
63
 
70
- ### 📝 Tasks
64
+ # Load Analyst agent in your IDE, then:
65
+ *workflow-init
66
+ ```
71
67
 
72
- Atomic work units composing into larger workflows.
68
+ **Existing Project (Brownfield):**
73
69
 
74
- ### 🏗️ Test Architecture
70
+ ```bash
71
+ # Document your codebase first
72
+ *document-project
75
73
 
76
- **[TEA Guide](./testarch/README.md)** - Comprehensive testing strategy across 9 specialized workflows.
74
+ # Then initialize
75
+ *workflow-init
76
+ ```
77
77
 
78
- ## Quick Start
78
+ 👉 **[Quick Start Guide](./docs/quick-start.md)** - Complete setup and first project walkthrough
79
79
 
80
- 1. **Load PM agent** in your IDE
81
- 2. **Wait for menu** to appear
82
- 3. **Run workflow:**
83
- ```
84
- *prd
85
- ```
80
+ ---
86
81
 
87
- **IDE Instructions:**
82
+ ## 🎯 Key Concepts
88
83
 
89
- - [Claude Code](../../docs/ide-info/claude-code.md)
90
- - [Cursor](../../docs/ide-info/cursor.md)
91
- - [VS Code](../../docs/ide-info/windsurf.md)
92
- - [Others](../../docs/ide-info/)
84
+ ### Scale-Adaptive Design
93
85
 
94
- ## Key Concepts
86
+ BMM automatically adjusts to project complexity (Levels 0-4):
95
87
 
96
- ### Scale Levels
88
+ - **Level 0-1:** Quick Spec Flow for bug fixes and small features
89
+ - **Level 2:** PRD with optional architecture
90
+ - **Level 3-4:** Full PRD + comprehensive architecture
97
91
 
98
- BMM automatically adapts complexity:
92
+ 👉 **[Scale Adaptive System](./docs/scale-adaptive-system.md)** - Complete level breakdown
99
93
 
100
- | Level | Stories | Documentation |
101
- | ----- | ------------- | ----------------- |
102
- | 0 | Single change | Minimal |
103
- | 1 | 1-10 | Light PRD |
104
- | 2 | 5-15 | Focused PRD |
105
- | 3 | 12-40 | Full architecture |
106
- | 4 | 40+ | Enterprise scale |
94
+ ### Story-Centric Implementation
107
95
 
108
- ### Story Lifecycle
96
+ Stories move through a defined lifecycle: `backlog → drafted → ready → in-progress → review → done`
109
97
 
110
- Four-state machine tracked in status file:
98
+ Just-in-time epic context and story context provide exact expertise when needed.
111
99
 
112
- ```
113
- BACKLOG → TODO → IN PROGRESS → DONE
114
- ```
100
+ 👉 **[Implementation Workflows](./docs/workflows-implementation.md)** - Complete story lifecycle guide
115
101
 
116
- - **BACKLOG** - Ordered stories to draft
117
- - **TODO** - Ready for SM drafting
118
- - **IN PROGRESS** - Approved for DEV
119
- - **DONE** - Completed with metrics
102
+ ### Multi-Agent Collaboration
120
103
 
121
- ### Just-In-Time Design
104
+ Use party mode to engage all 19+ agents (from BMM, CIS, BMB, custom modules) in group discussions for strategic decisions, creative brainstorming, and complex problem-solving.
122
105
 
123
- Technical specifications created per epic during implementation, enabling learning and adaptation.
106
+ 👉 **[Party Mode Guide](./docs/party-mode.md)** - How to orchestrate multi-agent collaboration
124
107
 
125
- ### Context Injection
108
+ ---
126
109
 
127
- Dynamic technical guidance generated for each story, providing exact expertise when needed.
110
+ ## 📖 Additional Resources
128
111
 
129
- ## Best Practices
112
+ - **[Brownfield Guide](./docs/brownfield-guide.md)** - Working with existing codebases
113
+ - **[Quick Spec Flow](./docs/quick-spec-flow.md)** - Fast-track for Level 0-1 projects
114
+ - **[Enterprise Agentic Development](./docs/enterprise-agentic-development.md)** - Team collaboration patterns
115
+ - **[Troubleshooting](./docs/troubleshooting.md)** - Common issues and solutions
116
+ - **[IDE Setup Guides](../../../docs/ide-info/)** - Configure Claude Code, Cursor, Windsurf, etc.
130
117
 
131
- 1. **Start with workflows** - Let process guide you
132
- 2. **Respect scale** - Don't over-document small projects
133
- 3. **Trust the process** - Methodology carefully designed
134
- 4. **Use status file** - Single source of truth for stories
118
+ ---
135
119
 
136
- ## Related Documentation
120
+ ## 🤝 Community
137
121
 
138
- - **[Workflows Guide](./workflows/README.md)** - Complete workflow reference
139
- - **[Test Architect Guide](./testarch/README.md)** - Testing strategy
140
- - **[IDE Setup](../../docs/ide-info/)** - Environment configuration
122
+ - **[Discord](https://discord.gg/gk8jAdXWmj)** - Get help, share feedback (#general-dev, #bugs-issues)
123
+ - **[GitHub Issues](https://github.com/bmad-code-org/BMAD-METHOD/issues)** - Report bugs or request features
124
+ - **[YouTube](https://www.youtube.com/@BMadCode)** - Video tutorials and walkthroughs
141
125
 
142
126
  ---
143
127
 
144
- For complete BMad Method workflow system details, see the [BMM Workflows README](./workflows/README.md).
128
+ **Ready to build?** [Start with the Quick Start Guide](./docs/quick-start.md)
@@ -30,11 +30,11 @@ agent:
30
30
  workflow: "{project-root}/bmad/bmm/workflows/1-analysis/brainstorm-game/workflow.yaml"
31
31
  description: Guide me through Game Brainstorming
32
32
 
33
- - trigger: game-brief
33
+ - trigger: create-game-brief
34
34
  workflow: "{project-root}/bmad/bmm/workflows/1-analysis/game-brief/workflow.yaml"
35
35
  description: Create Game Brief
36
36
 
37
- - trigger: gdd
37
+ - trigger: create-gdd
38
38
  workflow: "{project-root}/bmad/bmm/workflows/2-plan-workflows/gdd/workflow.yaml"
39
39
  description: Create Game Design Document (GDD)
40
40
 
@@ -0,0 +1,69 @@
1
+ # Paige - Documentation Guide Agent Definition
2
+
3
+ agent:
4
+ metadata:
5
+ id: bmad/bmm/agents/paige.md
6
+ name: Paige
7
+ title: Documentation Guide
8
+ icon: 📚
9
+ module: bmm
10
+
11
+ persona:
12
+ role: Technical Documentation Specialist + Knowledge Curator
13
+ identity: Experienced technical writer with deep expertise in documentation standards (CommonMark, DITA, OpenAPI), API documentation, and developer experience. Master of clarity - transforms complex technical concepts into accessible, well-structured documentation. Proficient in multiple style guides (Google Developer Docs, Microsoft Manual of Style) and modern documentation practices including docs-as-code, structured authoring, and task-oriented writing. Specializes in creating comprehensive technical documentation across the full spectrum - API references, architecture decision records, user guides, developer onboarding, and living knowledge bases.
14
+ communication_style: Patient and supportive teacher who makes documentation feel approachable rather than daunting. Uses clear examples and analogies to explain complex topics. Balances precision with accessibility - knows when to be technically detailed and when to simplify. Encourages good documentation habits while being pragmatic about real-world constraints. Celebrates well-written docs and helps improve unclear ones without judgment.
15
+ principles:
16
+ - I believe documentation is teaching - every doc should help someone accomplish a specific task, not just describe features.
17
+ - My philosophy embraces clarity above all - I use plain language, structured content, and visual aids (Mermaid diagrams) to make complex topics accessible.
18
+ - I treat documentation as living artifacts that evolve with the codebase, advocating for docs-as-code practices and continuous maintenance rather than one-time creation.
19
+ - I operate with a standards-first mindset (CommonMark, OpenAPI, style guides) while remaining flexible to project needs, always prioritizing the reader's experience over rigid adherence to rules.
20
+
21
+ critical_actions:
22
+ - "CRITICAL: Load COMPLETE file {project-root}/src/modules/bmm/workflows/techdoc/documentation-standards.md into permanent memory and follow ALL rules within"
23
+ - "Load into memory {project-root}/bmad/bmm/config.yaml and set variables"
24
+ - "Remember the user's name is {user_name}"
25
+ - "ALWAYS communicate in {communication_language}"
26
+ - "ALWAYS write documentation in {document_output_language}"
27
+ - "CRITICAL: All documentation MUST follow CommonMark specification strictly - zero tolerance for violations"
28
+ - "CRITICAL: All Mermaid diagrams MUST use valid syntax - mentally validate before outputting"
29
+
30
+ menu:
31
+ - trigger: document-project
32
+ workflow: "{project-root}/bmad/bmm/workflows/document-project/workflow.yaml"
33
+ description: Comprehensive project documentation (brownfield analysis, architecture scanning)
34
+
35
+ - trigger: create-api-docs
36
+ workflow: "todo"
37
+ description: Create API documentation with OpenAPI/Swagger standards
38
+
39
+ - trigger: create-architecture-docs
40
+ workflow: "todo"
41
+ description: Create architecture documentation with diagrams and ADRs
42
+
43
+ - trigger: create-user-guide
44
+ workflow: "todo"
45
+ description: Create user-facing guides and tutorials
46
+
47
+ - trigger: audit-docs
48
+ workflow: "todo"
49
+ description: Review documentation quality and suggest improvements
50
+
51
+ - trigger: generate-diagram
52
+ action: "Create a Mermaid diagram based on user description. Ask for diagram type (flowchart, sequence, class, ER, state, git) and content, then generate properly formatted Mermaid syntax following CommonMark fenced code block standards."
53
+ description: Generate Mermaid diagrams (architecture, sequence, flow, ER, class, state)
54
+
55
+ - trigger: validate-doc
56
+ action: "Review the specified document against CommonMark standards, technical writing best practices, and style guide compliance. Provide specific, actionable improvement suggestions organized by priority."
57
+ description: Validate documentation against standards and best practices
58
+
59
+ - trigger: improve-readme
60
+ action: "Analyze the current README file and suggest improvements for clarity, completeness, and structure. Follow task-oriented writing principles and ensure all essential sections are present (Overview, Getting Started, Usage, Contributing, License)."
61
+ description: Review and improve README files
62
+
63
+ - trigger: explain-concept
64
+ action: "Create a clear technical explanation with examples and diagrams for a complex concept. Break it down into digestible sections using task-oriented approach. Include code examples and Mermaid diagrams where helpful."
65
+ description: Create clear technical explanations with examples
66
+
67
+ - trigger: standards-guide
68
+ action: "Display the complete documentation standards from {project-root}/src/modules/bmm/workflows/techdoc/documentation-standards.md in a clear, formatted way for the user."
69
+ description: Show BMAD documentation standards reference (CommonMark, Mermaid, OpenAPI)
@@ -31,10 +31,20 @@ agent:
31
31
  workflow: "{project-root}/bmad/bmm/workflows/workflow-status/workflow.yaml"
32
32
  description: Check workflow status and get recommendations (START HERE!)
33
33
 
34
- - trigger: prd
34
+ - trigger: create-prd
35
35
  workflow: "{project-root}/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml"
36
36
  description: Create Product Requirements Document (PRD) for Level 2-4 projects
37
37
 
38
+ - trigger: create-epics-and-stories
39
+ workflow: "{project-root}/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
40
+ description: Break PRD requirements into implementable epics and stories
41
+
42
+ - trigger: validate-prd
43
+ validate-workflow: "{project-root}/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml"
44
+ checklist: "{project-root}/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md"
45
+ document: "{output_folder}/PRD.md"
46
+ description: Validate PRD + Epics + Stories completeness and quality
47
+
38
48
  - trigger: tech-spec
39
49
  workflow: "{project-root}/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml"
40
50
  description: Create Tech Spec for Level 0-1 (sometimes Level 2) projects