bmad-method 6.0.0-alpha.3 → 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 (540) hide show
  1. package/.claude/commands/bmad/bmm/agents/analyst.md +67 -0
  2. package/.claude/commands/bmad/bmm/agents/architect.md +72 -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/tech-writer.md +82 -0
  9. package/.claude/commands/bmad/bmm/agents/ux-designer.md +71 -0
  10. package/.claude/commands/bmad/bmm/workflows/README.md +132 -0
  11. package/.claude/commands/bmad/bmm/workflows/architecture.md +15 -0
  12. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +15 -0
  13. package/.claude/commands/bmad/bmm/workflows/code-review.md +15 -0
  14. package/.claude/commands/bmad/bmm/workflows/correct-course.md +15 -0
  15. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +15 -0
  16. package/.claude/commands/bmad/bmm/workflows/create-story.md +15 -0
  17. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +15 -0
  18. package/.claude/commands/bmad/bmm/workflows/dev-story.md +15 -0
  19. package/.claude/commands/bmad/bmm/workflows/document-project.md +15 -0
  20. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +15 -0
  21. package/.claude/commands/bmad/bmm/workflows/narrative.md +15 -0
  22. package/.claude/commands/bmad/bmm/workflows/prd.md +15 -0
  23. package/.claude/commands/bmad/bmm/workflows/product-brief.md +15 -0
  24. package/.claude/commands/bmad/bmm/workflows/research.md +15 -0
  25. package/.claude/commands/bmad/bmm/workflows/retrospective.md +15 -0
  26. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +15 -0
  27. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +15 -0
  28. package/.claude/commands/bmad/bmm/workflows/story-context.md +15 -0
  29. package/.claude/commands/bmad/bmm/workflows/story-done.md +15 -0
  30. package/.claude/commands/bmad/bmm/workflows/story-ready.md +15 -0
  31. package/.claude/commands/bmad/bmm/workflows/tech-spec-sm.md +15 -0
  32. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +15 -0
  33. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +15 -0
  34. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +15 -0
  35. package/.claude/commands/bmad/cis/agents/README.md +104 -0
  36. package/.claude/commands/bmad/cis/agents/brainstorming-coach.md +62 -0
  37. package/.claude/commands/bmad/cis/agents/creative-problem-solver.md +62 -0
  38. package/.claude/commands/bmad/cis/agents/design-thinking-coach.md +62 -0
  39. package/.claude/commands/bmad/cis/agents/innovation-strategist.md +62 -0
  40. package/.claude/commands/bmad/cis/agents/storyteller.md +59 -0
  41. package/.claude/commands/bmad/cis/workflows/README.md +37 -0
  42. package/.claude/commands/bmad/cis/workflows/design-thinking.md +15 -0
  43. package/.claude/commands/bmad/cis/workflows/innovation-strategy.md +15 -0
  44. package/.claude/commands/bmad/cis/workflows/problem-solving.md +15 -0
  45. package/.claude/commands/bmad/cis/workflows/storytelling.md +15 -0
  46. package/.claude/commands/bmad/core/workflows/README.md +10 -0
  47. package/.claude/settings.local.json +7 -42
  48. package/CHANGELOG.md +544 -0
  49. package/README.md +266 -101
  50. package/bmad/_cfg/agent-manifest.csv +13 -3
  51. package/bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  52. package/bmad/_cfg/agents/bmm-paige.customize.yaml +42 -0
  53. package/bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  54. package/bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  55. package/bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  56. package/bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  57. package/bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  58. package/bmad/_cfg/agents/cis-brainstorming-coach.customize.yaml +42 -0
  59. package/bmad/_cfg/agents/cis-creative-problem-solver.customize.yaml +42 -0
  60. package/bmad/_cfg/agents/cis-design-thinking-coach.customize.yaml +42 -0
  61. package/bmad/_cfg/agents/cis-innovation-strategist.customize.yaml +42 -0
  62. package/bmad/_cfg/agents/cis-storyteller.customize.yaml +42 -0
  63. package/bmad/_cfg/files-manifest.csv +267 -22
  64. package/bmad/_cfg/ides/claude-code.yaml +6 -0
  65. package/bmad/_cfg/manifest.yaml +5 -5
  66. package/bmad/_cfg/task-manifest.csv +5 -0
  67. package/bmad/_cfg/tool-manifest.csv +1 -0
  68. package/bmad/_cfg/workflow-manifest.csv +37 -2
  69. package/bmad/bmb/README.md +135 -73
  70. package/bmad/bmb/agents/bmad-builder.md.bak +70 -0
  71. package/bmad/bmb/config.yaml +2 -2
  72. package/bmad/bmb/workflows/audit-workflow/instructions.md +1 -1
  73. package/bmad/bmb/workflows/audit-workflow/workflow.yaml.bak +3 -1
  74. package/bmad/bmb/workflows/create-agent/README.md +126 -243
  75. package/bmad/bmb/workflows/create-agent/instructions.md +25 -12
  76. package/bmad/bmb/workflows/create-module/README.md +163 -154
  77. package/bmad/bmb/workflows/create-module/workflow.yaml.bak +2 -0
  78. package/bmad/bmb/workflows/create-workflow/instructions.md +16 -8
  79. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  80. package/bmad/bmb/workflows/create-workflow/workflow.yaml.bak +2 -0
  81. package/bmad/bmb/workflows/edit-agent/workflow.yaml.bak +33 -0
  82. package/bmad/bmb/workflows/edit-module/workflow.yaml.bak +34 -0
  83. package/bmad/bmb/workflows/edit-workflow/workflow.yaml.bak +2 -0
  84. package/bmad/bmb/workflows/module-brief/workflow.yaml.bak +2 -0
  85. package/bmad/bmb/workflows/redoc/workflow.yaml.bak +1 -0
  86. package/bmad/bmm/README.md +128 -0
  87. package/bmad/bmm/README.md.bak +169 -0
  88. package/bmad/bmm/agents/analyst.md +67 -0
  89. package/bmad/bmm/agents/analyst.md.bak +67 -0
  90. package/bmad/bmm/agents/architect.md +72 -0
  91. package/bmad/bmm/agents/architect.md.bak +73 -0
  92. package/bmad/bmm/agents/dev.md +69 -0
  93. package/bmad/bmm/agents/dev.md.bak +69 -0
  94. package/bmad/bmm/agents/paige.md.bak +82 -0
  95. package/bmad/bmm/agents/pm.md +76 -0
  96. package/bmad/bmm/agents/pm.md.bak +76 -0
  97. package/bmad/bmm/agents/sm.md +85 -0
  98. package/bmad/bmm/agents/sm.md.bak +85 -0
  99. package/bmad/bmm/agents/tea.md +72 -0
  100. package/bmad/bmm/agents/tea.md.bak +72 -0
  101. package/bmad/bmm/agents/tech-writer.md +82 -0
  102. package/bmad/bmm/agents/ux-designer.md +71 -0
  103. package/bmad/bmm/agents/ux-designer.md.bak +71 -0
  104. package/bmad/bmm/config.yaml +17 -0
  105. package/bmad/bmm/docs/README.md +235 -0
  106. package/bmad/bmm/docs/agents-guide.md +1057 -0
  107. package/bmad/bmm/docs/brownfield-guide.md +759 -0
  108. package/bmad/bmm/docs/enterprise-agentic-development.md +680 -0
  109. package/bmad/bmm/docs/faq.md +589 -0
  110. package/bmad/bmm/docs/glossary.md +321 -0
  111. package/bmad/bmm/docs/party-mode.md +224 -0
  112. package/bmad/bmm/docs/quick-spec-flow.md +652 -0
  113. package/{docs/BMad-Method-V6-Quick-Start.md → bmad/bmm/docs/quick-start.md} +72 -47
  114. package/bmad/bmm/docs/scale-adaptive-system.md +599 -0
  115. package/bmad/bmm/docs/troubleshooting.md +680 -0
  116. package/{src/modules/bmm/workflows/3-solutioning/architecture/README.md → bmad/bmm/docs/workflow-architecture-reference.md} +130 -77
  117. package/{src/modules/bmm/workflows/document-project/README.md → bmad/bmm/docs/workflow-document-project-reference.md} +45 -2
  118. package/bmad/bmm/docs/workflows-analysis.md +670 -0
  119. package/bmad/bmm/docs/workflows-implementation.md +1758 -0
  120. package/bmad/bmm/docs/workflows-planning.md +1086 -0
  121. package/bmad/bmm/docs/workflows-solutioning.md +726 -0
  122. package/bmad/bmm/tasks/daily-standup.xml +85 -0
  123. package/bmad/bmm/teams/team-fullstack.yaml +11 -0
  124. package/bmad/bmm/teams/team-gamedev.yaml +14 -0
  125. package/bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  126. package/bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  127. package/bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  128. package/bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  129. package/bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  130. package/bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  131. package/bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  132. package/bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  133. package/bmad/bmm/testarch/knowledge/network-first.md +486 -0
  134. package/bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  135. package/bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  136. package/bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  137. package/bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  138. package/bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  139. package/bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  140. package/bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  141. package/bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  142. package/bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  143. package/bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  144. package/bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  145. package/bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  146. package/bmad/bmm/testarch/tea-index.csv +22 -0
  147. package/bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +110 -0
  148. package/bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  149. package/bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  150. package/bmad/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  151. package/bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  152. package/bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  153. package/bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  154. package/bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  155. package/bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  156. package/bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  157. package/bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  158. package/bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  159. package/bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  160. package/bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  161. package/bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +439 -0
  162. package/bmad/bmm/workflows/1-analysis/research/instructions-market.md +679 -0
  163. package/bmad/bmm/workflows/1-analysis/research/instructions-router.md +133 -0
  164. package/bmad/bmm/workflows/1-analysis/research/instructions-technical.md +538 -0
  165. package/bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  166. package/bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  167. package/bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  168. package/bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  169. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  170. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1319 -0
  171. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  172. package/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +64 -0
  173. package/bmad/bmm/workflows/2-plan-workflows/narrative/checklist.md +139 -0
  174. package/bmad/bmm/workflows/2-plan-workflows/narrative/instructions-narrative.md +608 -0
  175. package/bmad/bmm/workflows/2-plan-workflows/narrative/narrative-template.md +195 -0
  176. package/bmad/bmm/workflows/2-plan-workflows/narrative/workflow.yaml +29 -0
  177. package/bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +349 -0
  178. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +395 -0
  179. package/bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +33 -0
  180. package/bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  181. package/bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +423 -0
  182. package/bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +237 -0
  183. package/bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  184. package/bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +46 -0
  185. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +214 -0
  186. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +58 -0
  187. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +200 -0
  188. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +451 -0
  189. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +1133 -0
  190. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  191. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +87 -0
  192. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +60 -0
  193. package/bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml.bak +60 -0
  194. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +347 -0
  195. package/bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  196. package/bmad/bmm/workflows/3-solutioning/architecture/checklist.md +244 -0
  197. package/bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  198. package/bmad/bmm/workflows/3-solutioning/architecture/instructions.md +715 -0
  199. package/bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  200. package/bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +67 -0
  201. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +175 -0
  202. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +322 -0
  203. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +146 -0
  204. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +189 -0
  205. package/bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +64 -0
  206. package/bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  207. package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  208. package/bmad/bmm/workflows/4-implementation/code-review/instructions.md +420 -0
  209. package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +74 -0
  210. package/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  211. package/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +201 -0
  212. package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +43 -0
  213. package/bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  214. package/bmad/bmm/workflows/4-implementation/create-story/instructions.md +283 -0
  215. package/bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  216. package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +74 -0
  217. package/bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +367 -0
  218. package/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  219. package/bmad/bmm/workflows/4-implementation/dev-story/instructions.md +262 -0
  220. package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +26 -0
  221. package/bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  222. package/bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +189 -0
  223. package/bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  224. package/bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +58 -0
  225. package/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1460 -0
  226. package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +71 -0
  227. package/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  228. package/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +238 -0
  229. package/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  230. package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +47 -0
  231. package/bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  232. package/bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  233. package/bmad/bmm/workflows/4-implementation/story-context/instructions.md +234 -0
  234. package/bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +57 -0
  235. package/bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  236. package/bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +25 -0
  237. package/bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  238. package/bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +25 -0
  239. package/bmad/bmm/workflows/document-project/checklist.md +245 -0
  240. package/bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  241. package/bmad/bmm/workflows/document-project/instructions.md +222 -0
  242. package/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  243. package/bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  244. package/bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  245. package/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  246. package/bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  247. package/bmad/bmm/workflows/document-project/workflow.yaml +34 -0
  248. package/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  249. package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  250. package/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  251. package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  252. package/bmad/bmm/workflows/techdoc/documentation-standards.md +239 -0
  253. package/bmad/bmm/workflows/techdoc/documentation-standards.md.bak +238 -0
  254. package/bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  255. package/bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  256. package/bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  257. package/bmad/bmm/workflows/testarch/atdd/workflow.yaml +52 -0
  258. package/bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  259. package/bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  260. package/bmad/bmm/workflows/testarch/automate/workflow.yaml +61 -0
  261. package/bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  262. package/bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  263. package/bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  264. package/bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  265. package/bmad/bmm/workflows/testarch/ci/workflow.yaml +53 -0
  266. package/bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  267. package/bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  268. package/bmad/bmm/workflows/testarch/framework/workflow.yaml +53 -0
  269. package/bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  270. package/bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  271. package/bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  272. package/bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +56 -0
  273. package/bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  274. package/bmad/bmm/workflows/testarch/test-design/instructions.md +621 -0
  275. package/bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  276. package/bmad/bmm/workflows/testarch/test-design/workflow.yaml +52 -0
  277. package/bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  278. package/bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  279. package/bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  280. package/bmad/bmm/workflows/testarch/test-review/workflow.yaml +53 -0
  281. package/bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  282. package/bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  283. package/bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  284. package/bmad/bmm/workflows/testarch/trace/workflow.yaml +66 -0
  285. package/bmad/bmm/workflows/workflow-status/init/instructions.md +771 -0
  286. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml +27 -0
  287. package/bmad/bmm/workflows/workflow-status/init/workflow.yaml.bak +27 -0
  288. package/bmad/bmm/workflows/workflow-status/instructions.md +386 -0
  289. package/bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  290. package/bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  291. package/bmad/bmm/workflows/workflow-status/paths/game-design.yaml +75 -0
  292. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-3.yaml → bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml} +33 -31
  293. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-2.yaml → bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml} +31 -21
  294. package/{src/modules/bmm/workflows/workflow-status/paths/brownfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml} +18 -18
  295. package/{src/modules/bmm/workflows/workflow-status/paths/greenfield-level-1.yaml → bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml} +16 -18
  296. package/bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  297. package/bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +49 -0
  298. package/bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +31 -0
  299. package/bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  300. package/bmad/cis/README.md +153 -0
  301. package/bmad/cis/agents/README.md +104 -0
  302. package/bmad/cis/agents/brainstorming-coach.md +62 -0
  303. package/bmad/cis/agents/brainstorming-coach.md.bak +62 -0
  304. package/bmad/cis/agents/creative-problem-solver.md +62 -0
  305. package/bmad/cis/agents/creative-problem-solver.md.bak +62 -0
  306. package/bmad/cis/agents/design-thinking-coach.md +62 -0
  307. package/bmad/cis/agents/design-thinking-coach.md.bak +62 -0
  308. package/bmad/cis/agents/innovation-strategist.md +62 -0
  309. package/bmad/cis/agents/innovation-strategist.md.bak +62 -0
  310. package/bmad/cis/agents/storyteller.md +59 -0
  311. package/bmad/cis/agents/storyteller.md.bak +59 -0
  312. package/bmad/{bmd → cis}/config.yaml +3 -3
  313. package/bmad/cis/teams/creative-squad.yaml +6 -0
  314. package/bmad/cis/workflows/README.md +139 -0
  315. package/bmad/cis/workflows/design-thinking/README.md +56 -0
  316. package/bmad/cis/workflows/design-thinking/design-methods.csv +31 -0
  317. package/bmad/cis/workflows/design-thinking/instructions.md +200 -0
  318. package/bmad/cis/workflows/design-thinking/template.md +111 -0
  319. package/bmad/cis/workflows/design-thinking/workflow.yaml +32 -0
  320. package/bmad/cis/workflows/innovation-strategy/README.md +56 -0
  321. package/bmad/cis/workflows/innovation-strategy/innovation-frameworks.csv +31 -0
  322. package/bmad/cis/workflows/innovation-strategy/instructions.md +274 -0
  323. package/bmad/cis/workflows/innovation-strategy/template.md +189 -0
  324. package/bmad/cis/workflows/innovation-strategy/workflow.yaml +32 -0
  325. package/bmad/cis/workflows/problem-solving/README.md +56 -0
  326. package/bmad/cis/workflows/problem-solving/instructions.md +250 -0
  327. package/bmad/cis/workflows/problem-solving/solving-methods.csv +31 -0
  328. package/bmad/cis/workflows/problem-solving/template.md +165 -0
  329. package/bmad/cis/workflows/problem-solving/workflow.yaml +32 -0
  330. package/bmad/cis/workflows/storytelling/README.md +58 -0
  331. package/bmad/cis/workflows/storytelling/instructions.md +291 -0
  332. package/bmad/cis/workflows/storytelling/story-types.csv +26 -0
  333. package/bmad/cis/workflows/storytelling/template.md +113 -0
  334. package/bmad/cis/workflows/storytelling/workflow.yaml +32 -0
  335. package/bmad/core/agents/bmad-master.md.bak +71 -0
  336. package/bmad/core/config.yaml +2 -2
  337. package/bmad/core/tasks/workflow.xml +1 -19
  338. package/bmad/core/tools/shard-doc.xml +8 -43
  339. package/docs/document-sharding-guide.md +447 -0
  340. package/docs/index.md +37 -41
  341. package/package.json +1 -1
  342. package/src/core/tasks/workflow.xml +1 -11
  343. package/src/core/tools/shard-doc.xml +8 -43
  344. package/src/modules/bmb/workflows/audit-workflow/instructions.md +1 -1
  345. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +158 -0
  346. package/src/modules/bmm/README.md +79 -95
  347. package/src/modules/bmm/agents/architect.agent.yaml +0 -4
  348. package/src/modules/bmm/agents/game-designer.agent.yaml +2 -2
  349. package/src/modules/bmm/agents/game-dev.agent.yaml +8 -12
  350. package/src/modules/bmm/agents/pm.agent.yaml +11 -1
  351. package/src/modules/bmm/agents/sm.agent.yaml +1 -1
  352. package/src/modules/bmm/agents/tech-writer.agent.yaml +69 -0
  353. package/src/modules/bmm/docs/README.md +235 -0
  354. package/src/modules/bmm/docs/agents-guide.md +1057 -0
  355. package/src/modules/bmm/docs/brownfield-guide.md +759 -0
  356. package/src/modules/bmm/docs/enterprise-agentic-development.md +680 -0
  357. package/src/modules/bmm/docs/faq.md +589 -0
  358. package/src/modules/bmm/docs/glossary.md +321 -0
  359. package/src/modules/bmm/docs/party-mode.md +224 -0
  360. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  361. package/src/modules/bmm/docs/quick-start.md +366 -0
  362. package/src/modules/bmm/docs/scale-adaptive-system.md +599 -0
  363. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  364. package/src/modules/bmm/docs/workflow-architecture-reference.md +371 -0
  365. package/src/modules/bmm/docs/workflow-document-project-reference.md +487 -0
  366. package/src/modules/bmm/docs/workflows-analysis.md +670 -0
  367. package/src/modules/bmm/docs/workflows-implementation.md +1758 -0
  368. package/src/modules/bmm/docs/workflows-planning.md +1086 -0
  369. package/src/modules/bmm/docs/workflows-solutioning.md +726 -0
  370. package/src/modules/bmm/tasks/daily-standup.xml +1 -1
  371. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +423 -0
  372. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  373. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +36 -0
  374. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +405 -213
  375. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +93 -77
  376. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +14 -0
  377. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  378. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  379. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +154 -57
  380. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +45 -29
  381. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +181 -104
  382. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +24 -32
  383. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +94 -46
  384. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +37 -1
  385. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +36 -1
  386. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +13 -0
  387. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1 -1
  388. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +22 -0
  389. package/src/modules/bmm/workflows/2-plan-workflows/gdd/instructions-gdd.md +18 -0
  390. package/src/modules/bmm/workflows/2-plan-workflows/gdd/workflow.yaml +14 -0
  391. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +296 -63
  392. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +52 -0
  393. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +169 -0
  394. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +55 -0
  395. package/src/modules/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  396. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +268 -291
  397. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +198 -23
  398. package/src/modules/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  399. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +26 -8
  400. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +138 -31
  401. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +73 -4
  402. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +50 -17
  403. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +199 -26
  404. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +971 -109
  405. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +132 -6
  406. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +54 -20
  407. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +23 -2
  408. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +1 -1
  409. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +40 -32
  410. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +17 -4
  411. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +1 -0
  412. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +32 -6
  413. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +29 -0
  414. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +20 -0
  415. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +29 -0
  416. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +27 -0
  417. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +29 -0
  418. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +32 -6
  419. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +1222 -241
  420. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +28 -0
  421. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +17 -0
  422. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -0
  423. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +31 -1
  424. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +27 -0
  425. package/src/modules/bmm/workflows/techdoc/documentation-standards.md +239 -0
  426. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +623 -242
  427. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +120 -0
  428. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +108 -0
  429. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-4.yaml → method-brownfield.yaml} +35 -26
  430. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-3.yaml → method-greenfield.yaml} +32 -17
  431. package/src/modules/bmm/workflows/workflow-status/paths/{brownfield-level-0.yaml → quick-flow-brownfield.yaml} +23 -19
  432. package/src/modules/bmm/workflows/workflow-status/paths/{greenfield-level-0.yaml → quick-flow-greenfield.yaml} +18 -16
  433. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +4 -4
  434. package/tools/cli/commands/install.js +1 -1
  435. package/.claude/commands/bmad/bmd/agents/cli-chief.md +0 -108
  436. package/.claude/commands/bmad/bmd/agents/doc-keeper.md +0 -115
  437. package/.claude/commands/bmad/bmd/agents/release-chief.md +0 -109
  438. package/.claude/hooks/bmad-tts-injector.sh +0 -415
  439. package/.claude/hooks/bmad-voice-manager.sh +0 -511
  440. package/.claude/hooks/check-output-style.sh +0 -112
  441. package/.claude/hooks/download-extra-voices.sh +0 -244
  442. package/.claude/hooks/github-star-reminder.sh +0 -154
  443. package/.claude/hooks/language-manager.sh +0 -392
  444. package/.claude/hooks/learn-manager.sh +0 -475
  445. package/.claude/hooks/personality-manager.sh +0 -438
  446. package/.claude/hooks/piper-download-voices.sh +0 -165
  447. package/.claude/hooks/piper-installer.sh +0 -178
  448. package/.claude/hooks/piper-multispeaker-registry.sh +0 -165
  449. package/.claude/hooks/piper-voice-manager.sh +0 -293
  450. package/.claude/hooks/play-tts-elevenlabs.sh +0 -404
  451. package/.claude/hooks/play-tts-piper.sh +0 -338
  452. package/.claude/hooks/play-tts.sh +0 -100
  453. package/.claude/hooks/provider-commands.sh +0 -540
  454. package/.claude/hooks/provider-manager.sh +0 -298
  455. package/.claude/hooks/replay-target-audio.sh +0 -95
  456. package/.claude/hooks/sentiment-manager.sh +0 -201
  457. package/.claude/hooks/speed-manager.sh +0 -291
  458. package/.claude/hooks/voice-manager.sh +0 -594
  459. package/.claude/hooks/voices-config.sh +0 -70
  460. package/bmad/_cfg/agents/bmd-cli-chief.customize.yaml +0 -32
  461. package/bmad/bmb/workflows/create-agent/agent-architecture.md.bak +0 -412
  462. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md.bak +0 -759
  463. package/bmad/bmb/workflows/create-module/README.md.bak +0 -218
  464. package/bmad/bmb/workflows/create-module/checklist.md.bak +0 -245
  465. package/bmad/bmb/workflows/create-module/installer-templates/installer.js.bak +0 -231
  466. package/bmad/bmb/workflows/create-module/instructions.md.bak +0 -521
  467. package/bmad/bmb/workflows/create-module/module-structure.md.bak +0 -310
  468. package/bmad/bmd/README.md +0 -193
  469. package/bmad/bmd/README.md.bak +0 -193
  470. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  471. package/bmad/bmd/agents/cli-chief-sidecar/instructions.md.bak +0 -102
  472. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  473. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/README.md.bak +0 -68
  474. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  475. package/bmad/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md.bak +0 -123
  476. package/bmad/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  477. package/bmad/bmd/agents/cli-chief-sidecar/memories.md.bak +0 -53
  478. package/bmad/bmd/agents/cli-chief.md +0 -108
  479. package/bmad/bmd/agents/cli-chief.md.bak +0 -108
  480. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  481. package/bmad/bmd/agents/doc-keeper-sidecar/instructions.md.bak +0 -177
  482. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  483. package/bmad/bmd/agents/doc-keeper-sidecar/knowledge/README.md.bak +0 -81
  484. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  485. package/bmad/bmd/agents/doc-keeper-sidecar/memories.md.bak +0 -88
  486. package/bmad/bmd/agents/doc-keeper.md +0 -115
  487. package/bmad/bmd/agents/doc-keeper.md.bak +0 -115
  488. package/bmad/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  489. package/bmad/bmd/agents/release-chief-sidecar/instructions.md.bak +0 -164
  490. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  491. package/bmad/bmd/agents/release-chief-sidecar/knowledge/README.md.bak +0 -82
  492. package/bmad/bmd/agents/release-chief-sidecar/memories.md +0 -73
  493. package/bmad/bmd/agents/release-chief-sidecar/memories.md.bak +0 -73
  494. package/bmad/bmd/agents/release-chief.md +0 -109
  495. package/bmad/bmd/agents/release-chief.md.bak +0 -109
  496. package/bmad/docs/codex-instructions.md +0 -21
  497. package/docs/bmad-brownfield-guide.md +0 -1260
  498. package/docs/conversion-report-shard-doc-2025-10-26.md +0 -188
  499. package/src/modules/bmm/tasks/retrospective.xml +0 -104
  500. package/src/modules/bmm/testarch/README.md +0 -311
  501. package/src/modules/bmm/workflows/1-analysis/brainstorm-game/README.md +0 -38
  502. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/README.md +0 -113
  503. package/src/modules/bmm/workflows/1-analysis/game-brief/README.md +0 -221
  504. package/src/modules/bmm/workflows/1-analysis/product-brief/README.md +0 -180
  505. package/src/modules/bmm/workflows/1-analysis/research/README.md +0 -454
  506. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-competitor-analyzer.md +0 -259
  507. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-data-analyst.md +0 -190
  508. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-market-researcher.md +0 -337
  509. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-trend-spotter.md +0 -107
  510. package/src/modules/bmm/workflows/1-analysis/research/claude-code/sub-agents/bmm-user-researcher.md +0 -329
  511. package/src/modules/bmm/workflows/2-plan-workflows/README.md +0 -258
  512. package/src/modules/bmm/workflows/2-plan-workflows/gdd/README.md +0 -222
  513. package/src/modules/bmm/workflows/3-solutioning/README.md +0 -1
  514. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/README.md +0 -177
  515. package/src/modules/bmm/workflows/4-implementation/README.md +0 -221
  516. package/src/modules/bmm/workflows/4-implementation/code-review/README.md +0 -69
  517. package/src/modules/bmm/workflows/4-implementation/correct-course/README.md +0 -73
  518. package/src/modules/bmm/workflows/4-implementation/create-story/README.md +0 -146
  519. package/src/modules/bmm/workflows/4-implementation/dev-story/README.md +0 -206
  520. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/README.md +0 -195
  521. package/src/modules/bmm/workflows/4-implementation/retrospective/README.md +0 -77
  522. package/src/modules/bmm/workflows/4-implementation/sprint-planning/README.md +0 -156
  523. package/src/modules/bmm/workflows/4-implementation/story-context/README.md +0 -234
  524. package/src/modules/bmm/workflows/README.md +0 -215
  525. package/src/modules/bmm/workflows/document-project/templates/README.md +0 -38
  526. package/src/modules/bmm/workflows/testarch/README.md +0 -26
  527. package/src/modules/bmm/workflows/testarch/atdd/README.md +0 -672
  528. package/src/modules/bmm/workflows/testarch/automate/README.md +0 -869
  529. package/src/modules/bmm/workflows/testarch/ci/README.md +0 -493
  530. package/src/modules/bmm/workflows/testarch/framework/README.md +0 -340
  531. package/src/modules/bmm/workflows/testarch/nfr-assess/README.md +0 -469
  532. package/src/modules/bmm/workflows/testarch/test-design/README.md +0 -493
  533. package/src/modules/bmm/workflows/testarch/test-review/README.md +0 -775
  534. package/src/modules/bmm/workflows/testarch/trace/README.md +0 -802
  535. package/src/modules/bmm/workflows/workflow-status/README.md +0 -260
  536. package/src/modules/bmm/workflows/workflow-status/paths/brownfield-level-2.yaml +0 -76
  537. package/src/modules/bmm/workflows/workflow-status/paths/greenfield-level-4.yaml +0 -75
  538. /package/bmad/_cfg/agents/{bmd-doc-keeper.customize.yaml → bmm-analyst.customize.yaml} +0 -0
  539. /package/bmad/_cfg/agents/{bmd-release-chief.customize.yaml → bmm-architect.customize.yaml} +0 -0
  540. /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
@@ -1,47 +1,34 @@
1
- # PRD Workflow Instructions
1
+ # PRD Workflow - Intent-Driven Product Planning
2
2
 
3
3
  <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
4
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level}</critical>
5
+ <critical>This workflow uses INTENT-DRIVEN PLANNING - adapt organically to product type and context</critical>
6
+ <critical>Communicate all responses in {communication_language} and adapt deeply to {user_skill_level}</critical>
6
7
  <critical>Generate all documents in {document_output_language}</critical>
7
- <critical>This workflow is for Level 2-4 projects. Level 0-1 use tech-spec workflow.</critical>
8
- <critical>Produces TWO outputs: PRD.md (strategic) and epics.md (tactical implementation)</critical>
9
- <critical>TECHNICAL NOTES: If ANY technical details, preferences, or constraints are mentioned during PRD discussions, append them to {technical_decisions_file}. If file doesn't exist, create it from {technical_decisions_template}</critical>
10
-
11
- <critical>DOCUMENT OUTPUT: Concise, clear, actionable requirements. Use tables/lists over prose. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
8
+ <critical>LIVING DOCUMENT: Write to PRD.md continuously as you discover - never wait until the end</critical>
9
+ <critical>GUIDING PRINCIPLE: Find and weave the product's magic throughout - what makes it special should inspire every section</critical>
10
+ <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
12
11
 
13
12
  <workflow>
14
13
 
15
14
  <step n="0" goal="Validate workflow readiness" tag="workflow-status">
16
- <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
17
-
18
- <check if="status file not found">
19
- <output>No workflow status file found. PRD workflow can run standalone or as part of BMM workflow path.</output>
20
- <output>**Recommended:** Run `workflow-init` first for project context tracking and workflow sequencing.</output>
21
- <ask>Continue in standalone mode or exit to run workflow-init? (continue/exit)</ask>
22
- <check if="continue">
23
- <action>Set standalone_mode = true</action>
24
- </check>
25
- <check if="exit">
26
- <action>Exit workflow</action>
27
- </check>
28
- </check>
15
+ <action>Check if {status_file} exists</action>
16
+
17
+ <action if="status file not found">Set standalone_mode = true</action>
29
18
 
30
19
  <check if="status file found">
31
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
20
+ <action>Load the FULL file: {status_file}</action>
32
21
  <action>Parse workflow_status section</action>
33
22
  <action>Check status of "prd" workflow</action>
34
- <action>Get project_level from YAML metadata</action>
23
+ <action>Get project_track from YAML metadata</action>
35
24
  <action>Find first non-completed workflow (next expected workflow)</action>
36
25
 
37
- <check if="project_level < 2">
38
- <output>**Incorrect Workflow for Level {{project_level}}**
26
+ <check if="project_track is Quick Flow">
27
+ <output>**Quick Flow Track - Redirecting**
39
28
 
40
- PRD is for Level 2-4 projects. Level 0-1 should use tech-spec directly.
41
-
42
- **Correct workflow:** `tech-spec` (Architect agent)
43
- </output>
44
- <action>Exit and redirect to tech-spec</action>
29
+ Quick Flow projects use tech-spec workflow for implementation-focused planning.
30
+ PRD is for BMad Method and Enterprise Method tracks that need comprehensive requirements.</output>
31
+ <action>Exit and suggest tech-spec workflow</action>
45
32
  </check>
46
33
 
47
34
  <check if="prd status is file path (already completed)">
@@ -53,379 +40,369 @@ PRD is for Level 2-4 projects. Level 0-1 should use tech-spec directly.
53
40
  </check>
54
41
  </check>
55
42
 
56
- <check if="prd is not the next expected workflow">
57
- <output>⚠️ Next expected workflow: {{next_workflow}}. PRD is out of sequence.</output>
58
- <ask>Continue with PRD anyway? (y/n)</ask>
59
- <check if="n">
60
- <output>Exiting. Run {{next_workflow}} instead.</output>
61
- <action>Exit workflow</action>
62
- </check>
63
- </check>
64
-
65
43
  <action>Set standalone_mode = false</action>
66
44
  </check>
67
45
  </step>
68
46
 
69
- <step n="1" goal="Initialize PRD context">
70
-
71
- <action>Use {{project_level}} from status data</action>
72
- <action>Check for existing PRD.md in {output_folder}</action>
73
-
74
- <check if="PRD.md exists">
75
- <ask>Found existing PRD.md. Would you like to:
76
- 1. Continue where you left off
77
- 2. Modify existing sections
78
- 3. Start fresh (will archive existing file)
79
- </ask>
80
- <action if="option 1">Load existing PRD and skip to first incomplete section</action>
81
- <action if="option 2">Load PRD and ask which section to modify</action>
82
- <action if="option 3">Archive existing PRD and start fresh</action>
47
+ <step n="1" goal="Discovery - Project, Domain, and Vision">
48
+ <action>Welcome {user_name} and begin comprehensive discovery, and then start to GATHER ALL CONTEXT:
49
+ 1. Check workflow-status.yaml for project_context (if exists)
50
+ 2. Look for existing documents (Product Brief, Domain Brief, research)
51
+ 3. Detect project type AND domain complexity
52
+
53
+ Load references:
54
+ {installed_path}/project-types.csv
55
+ {installed_path}/domain-complexity.csv
56
+
57
+ Through natural conversation:
58
+ "Tell me about what you want to build - what problem does it solve and for whom?"
59
+
60
+ DUAL DETECTION:
61
+ Project type signals: API, mobile, web, CLI, SDK, SaaS
62
+ Domain complexity signals: medical, finance, government, education, aerospace
63
+
64
+ SPECIAL ROUTING:
65
+ If game detected → Suggest game-brief and GDD workflows
66
+ If complex domain detected → Offer domain research options:
67
+ A) Run domain-research workflow (thorough)
68
+ B) Quick web search (basic)
69
+ C) User provides context
70
+ D) Continue with general knowledge
71
+
72
+ CAPTURE THE MAGIC EARLY with a few questions such as for example: "What excites you most about this product?", "What would make users love this?", "What's the moment that will make people go 'wow'?"
73
+
74
+ This excitement becomes the thread woven throughout the PRD.</action>
75
+
76
+ <template-output>vision_alignment</template-output>
77
+ <template-output>project_classification</template-output>
78
+ <template-output>project_type</template-output>
79
+ <template-output>domain_type</template-output>
80
+ <template-output>complexity_level</template-output>
81
+ <check if="complex domain">
82
+ <template-output>domain_context_summary</template-output>
83
83
  </check>
84
-
85
- <action>Load PRD template: {prd_template}</action>
86
- <action>Load epics template: {epics_template}</action>
87
-
88
- <ask>Do you have a Product Brief? (Strongly recommended for Level 3-4, helpful for Level 2)</ask>
89
-
90
- <check if="yes">
91
- <action>Load and review product brief: {output_folder}/product-brief.md</action>
92
- <action>Extract key elements: problem statement, target users, success metrics, MVP scope, constraints</action>
93
- </check>
94
-
95
- <check if="no and level >= 3">
96
- <warning>Product Brief is strongly recommended for Level 3-4 projects. Consider running the product-brief workflow first.</warning>
97
- <ask>Continue without Product Brief? (y/n)</ask>
98
- <action if="no">Exit to allow Product Brief creation</action>
99
- </check>
100
-
84
+ <template-output>product_magic_essence</template-output>
85
+ <template-output>product_brief_path</template-output>
86
+ <template-output>domain_brief_path</template-output>
87
+ <template-output>research_documents</template-output>
101
88
  </step>
102
89
 
103
- <step n="2" goal="Goals and Background Context">
90
+ <step n="2" goal="Success Definition">
91
+ <action>Define what winning looks like for THIS specific product
104
92
 
105
- **Goals** - What success looks like for this project
93
+ INTENT: Meaningful success criteria, not generic metrics
106
94
 
107
- <check if="product brief exists">
108
- <action>Review goals from product brief and refine for PRD context</action>
109
- </check>
95
+ Adapt to context:
110
96
 
111
- <check if="no product brief">
112
- <action>Gather goals through discussion with user, use probing questions and converse until you are ready to propose that you have enough information to proceed</action>
113
- </check>
97
+ - Consumer: User love, engagement, retention
98
+ - B2B: ROI, efficiency, adoption
99
+ - Developer tools: Developer experience, community
100
+ - Regulated: Compliance, safety, validation
114
101
 
115
- Create a bullet list of single-line desired outcomes that capture user and project goals.
102
+ Make it specific:
116
103
 
117
- **Scale guidance:**
104
+ - NOT: "10,000 users"
105
+ - BUT: "100 power users who rely on it daily"
118
106
 
119
- - Level 2: 2-3 core goals
120
- - Level 3: 3-5 strategic goals
121
- - Level 4: 5-7 comprehensive goals
107
+ - NOT: "99.9% uptime"
108
+ - BUT: "Zero data loss during critical operations"
122
109
 
123
- <template-output>goals</template-output>
110
+ Weave in the magic:
124
111
 
125
- **Background Context** - Why this matters now
112
+ - "Success means users experience [that special moment] and [desired outcome]"</action>
126
113
 
127
- <check if="product brief exists">
128
- <action>Summarize key context from brief without redundancy</action>
114
+ <template-output>success_criteria</template-output>
115
+ <check if="business focus">
116
+ <template-output>business_metrics</template-output>
129
117
  </check>
130
-
131
- <check if="no product brief">
132
- <action>Gather context through discussion</action>
133
- </check>
134
-
135
- Write 1-2 paragraphs covering:
136
-
137
- - What problem this solves and why
138
- - Current landscape or need
139
- - Key insights from discovery/brief (if available)
140
-
141
- <template-output>background_context</template-output>
142
-
118
+ <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
143
119
  </step>
144
120
 
145
- <step n="3" goal="Requirements - Functional and Non-Functional">
146
-
147
- **Functional Requirements** - What the system must do
148
-
149
- Draft functional requirements as numbered items with FR prefix.
150
-
151
- **Scale guidance:**
121
+ <step n="3" goal="Scope Definition">
122
+ <action>Smart scope negotiation - find the sweet spot
152
123
 
153
- - Level 2: 8-15 FRs (focused MVP set)
154
- - Level 3: 12-25 FRs (comprehensive product)
155
- - Level 4: 20-35 FRs (enterprise platform)
124
+ The Scoping Game:
156
125
 
157
- **Format:**
126
+ 1. "What must work for this to be useful?" → MVP
127
+ 2. "What makes it competitive?" → Growth
128
+ 3. "What's the dream version?" → Vision
158
129
 
159
- - FR001: [Clear capability statement]
160
- - FR002: [Another capability]
130
+ Challenge scope creep conversationally:
161
131
 
162
- **Focus on:**
132
+ - "Could that wait until after launch?"
133
+ - "Is that essential for proving the concept?"
163
134
 
164
- - User-facing capabilities
165
- - Core system behaviors
166
- - Integration requirements
167
- - Data management needs
135
+ For complex domains:
168
136
 
169
- Group related requirements logically.
137
+ - Include compliance minimums in MVP
138
+ - Note regulatory gates between phases</action>
170
139
 
140
+ <template-output>mvp_scope</template-output>
141
+ <template-output>growth_features</template-output>
142
+ <template-output>vision_features</template-output>
171
143
  <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
172
-
173
- <template-output>functional_requirements</template-output>
174
-
175
- **Non-Functional Requirements** - How the system must perform
176
-
177
- Draft non-functional requirements with NFR prefix.
178
-
179
- **Scale guidance:**
180
-
181
- - Level 2: 1-3 NFRs (critical MVP only)
182
- - Level 3: 2-5 NFRs (production quality)
183
- - Level 4: 3-7+ NFRs (enterprise grade)
184
-
185
- <template-output>non_functional_requirements</template-output>
186
-
187
144
  </step>
188
145
 
189
- <step n="4" goal="User Journeys - scale-adaptive" optional="level == 2">
146
+ <step n="4" goal="Domain-Specific Exploration" optional="true">
147
+ <action>Only if complex domain detected or domain-brief exists
190
148
 
191
- **Journey Guidelines (scale-adaptive):**
149
+ Synthesize domain requirements that will shape everything:
192
150
 
193
- - **Level 2:** 1 simple journey (primary use case happy path)
194
- - **Level 3:** 2-3 detailed journeys (complete flows with decision points)
195
- - **Level 4:** 3-5 comprehensive journeys (all personas and edge cases)
151
+ - Regulatory requirements
152
+ - Compliance needs
153
+ - Industry standards
154
+ - Safety/risk factors
155
+ - Required validations
156
+ - Special expertise needed
196
157
 
197
- <check if="level == 2">
198
- <ask>Would you like to document a user journey for the primary use case? (recommended but optional)</ask>
199
- <check if="yes">
200
- Create 1 simple journey showing the happy path.
201
- </check>
202
- </check>
158
+ These inform:
203
159
 
204
- <check if="level >= 3">
205
- Map complete user flows with decision points, alternatives, and edge cases.
206
- </check>
207
-
208
- <template-output>user_journeys</template-output>
160
+ - What features are mandatory
161
+ - What NFRs are critical
162
+ - How to sequence development
163
+ - What validation is required</action>
209
164
 
210
- <check if="level >= 3">
211
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
165
+ <check if="complex domain">
166
+ <template-output>domain_considerations</template-output>
212
167
  </check>
213
-
214
168
  </step>
215
169
 
216
- <step n="5" goal="UX and UI Vision - high-level overview" optional="level == 2 and minimal UI">
217
-
218
- **Purpose:** Capture essential UX/UI information needed for epic and story planning. A dedicated UX workflow will provide deeper design detail later.
170
+ <step n="5" goal="Innovation Discovery" optional="true">
171
+ <action>Identify truly novel patterns if applicable
219
172
 
220
- <check if="level == 2 and minimal UI">
221
- <action>For backend-heavy or minimal UI projects, keep this section very brief or skip</action>
222
- </check>
223
-
224
- **Gather high-level UX/UI information:**
225
-
226
- 1. **UX Principles** (2-4 key principles that guide design decisions)
227
- - What core experience qualities matter most?
228
- - Any critical accessibility or usability requirements?
173
+ Listen for innovation signals:
229
174
 
230
- 2. **Platform & Screens**
231
- - Target platforms (web, mobile, desktop)
232
- - Core screens/views users will interact with
233
- - Key interaction patterns or navigation approach
175
+ - "Nothing like this exists"
176
+ - "We're rethinking how [X] works"
177
+ - "Combining [A] with [B] for the first time"
234
178
 
235
- 3. **Design Constraints**
236
- - Existing design systems or brand guidelines
237
- - Technical UI constraints (browser support, etc.)
179
+ Explore deeply:
238
180
 
239
- <note>Keep responses high-level. Detailed UX planning happens in the UX workflow after PRD completion.</note>
240
-
241
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
181
+ - What makes it unique?
182
+ - What assumption are you challenging?
183
+ - How do we validate it?
184
+ - What's the fallback?
242
185
 
243
- <template-output>ux_principles</template-output>
244
- <template-output>ui_design_goals</template-output>
186
+ <WebSearch if="novel">{concept} innovations {date}</WebSearch></action>
245
187
 
188
+ <check if="innovation detected">
189
+ <template-output>innovation_patterns</template-output>
190
+ <template-output>validation_approach</template-output>
191
+ </check>
246
192
  </step>
247
193
 
248
- <step n="6" goal="Epic List - High-level delivery sequence">
249
-
250
- **Epic Structure** - Major delivery milestones
194
+ <step n="6" goal="Project-Specific Deep Dive">
195
+ <action>Based on detected project type, dive deep into specific needs
251
196
 
252
- Create high-level epic list showing logical delivery sequence.
197
+ Load project type requirements from CSV and expand naturally.
253
198
 
254
- **Epic Sequencing Rules:**
199
+ FOR API/BACKEND:
255
200
 
256
- 1. **Epic 1 MUST establish foundation**
257
- - Project infrastructure (repo, CI/CD, core setup)
258
- - Initial deployable functionality
259
- - Development workflow established
260
- - Exception: If adding to existing app, Epic 1 can be first major feature
201
+ - Map out endpoints, methods, parameters
202
+ - Define authentication and authorization
203
+ - Specify error codes and rate limits
204
+ - Document data schemas
261
205
 
262
- 2. **Subsequent Epics:**
263
- - Each delivers significant, end-to-end, fully deployable increment
264
- - Build upon previous epics (no forward dependencies)
265
- - Represent major functional blocks
266
- - Prefer fewer, larger epics over fragmentation
206
+ FOR MOBILE:
267
207
 
268
- **Scale guidance:**
208
+ - Platform requirements (iOS/Android/both)
209
+ - Device features needed
210
+ - Offline capabilities
211
+ - Store compliance
269
212
 
270
- - Level 2: 1-2 epics, 5-15 stories total
271
- - Level 3: 2-5 epics, 15-40 stories total
272
- - Level 4: 5-10 epics, 40-100+ stories total
213
+ FOR SAAS B2B:
273
214
 
274
- **For each epic provide:**
215
+ - Multi-tenant architecture
216
+ - Permission models
217
+ - Subscription tiers
218
+ - Critical integrations
275
219
 
276
- - Epic number and title
277
- - Single-sentence goal statement
278
- - Estimated story count
220
+ [Continue for other types...]
279
221
 
280
- **Example:**
222
+ Always relate back to the product magic:
223
+ "How does [requirement] enhance [the special thing]?"</action>
281
224
 
282
- - **Epic 1: Project Foundation & User Authentication**
283
- - **Epic 2: Core Task Management**
225
+ <template-output>project_type_requirements</template-output>
284
226
 
285
- <ask>Review the epic list. Does the sequence make sense? Any epics to add, remove, or resequence?</ask>
286
- <action>Refine epic list based on feedback</action>
287
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
227
+ <!-- Dynamic sections based on project type -->
228
+ <check if="API/Backend project">
229
+ <template-output>endpoint_specification</template-output>
230
+ <template-output>authentication_model</template-output>
231
+ </check>
288
232
 
289
- <template-output>epic_list</template-output>
233
+ <check if="Mobile project">
234
+ <template-output>platform_requirements</template-output>
235
+ <template-output>device_features</template-output>
236
+ </check>
290
237
 
238
+ <check if="SaaS B2B project">
239
+ <template-output>tenant_model</template-output>
240
+ <template-output>permission_matrix</template-output>
241
+ </check>
291
242
  </step>
292
243
 
293
- <step n="7" goal="Out of Scope - Clear boundaries and future additions">
294
-
295
- **Out of Scope** - What we're NOT doing (now)
244
+ <step n="7" goal="UX Principles" if="project has UI or UX">
245
+ <action>Only if product has a UI
296
246
 
297
- Document what is explicitly excluded from this project:
247
+ Light touch on UX - not full design:
298
248
 
299
- - Features/capabilities deferred to future phases
300
- - Adjacent problems not being solved
301
- - Integrations or platforms not supported
302
- - Scope boundaries that need clarification
249
+ - Visual personality
250
+ - Key interaction patterns
251
+ - Critical user flows
303
252
 
304
- This helps prevent scope creep and sets clear expectations.
253
+ "How should this feel to use?"
254
+ "What's the vibe - professional, playful, minimal?"
305
255
 
306
- <template-output>out_of_scope</template-output>
256
+ Connect to the magic:
257
+ "The UI should reinforce [the special moment] through [design approach]"</action>
307
258
 
259
+ <check if="has UI">
260
+ <template-output>ux_principles</template-output>
261
+ <template-output>key_interactions</template-output>
262
+ </check>
308
263
  </step>
309
264
 
310
- <step n="8" goal="Finalize PRD.md">
265
+ <step n="8" goal="Functional Requirements Synthesis">
266
+ <action>Transform everything discovered into clear functional requirements
311
267
 
312
- <action>Review all PRD sections for completeness and consistency</action>
313
- <action>Ensure all placeholders are filled</action>
314
- <action>Save final PRD.md to {default_output_file}</action>
268
+ Pull together:
315
269
 
316
- **PRD.md is complete!** Strategic document ready.
270
+ - Core features from scope
271
+ - Domain-mandated features
272
+ - Project-type specific needs
273
+ - Innovation requirements
317
274
 
318
- Now we'll create the tactical implementation guide in epics.md.
275
+ Organize by capability, not technology:
319
276
 
320
- </step>
277
+ - User Management (not "auth system")
278
+ - Content Discovery (not "search algorithm")
279
+ - Team Collaboration (not "websockets")
321
280
 
322
- <step n="9" goal="Epic Details - Full story breakdown in epics.md">
281
+ Each requirement should:
323
282
 
324
- <critical>Now we create epics.md - the tactical implementation roadmap</critical>
325
- <critical>This is a SEPARATE FILE from PRD.md</critical>
283
+ - Be specific and measurable
284
+ - Connect to user value
285
+ - Include acceptance criteria
286
+ - Note domain constraints
326
287
 
327
- <action>Load epics template: {epics_template}</action>
328
- <action>Initialize epics.md with project metadata</action>
288
+ The magic thread:
289
+ Highlight which requirements deliver the special experience</action>
329
290
 
330
- For each epic from the epic list, expand with full story details:
291
+ <template-output>functional_requirements_complete</template-output>
292
+ <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
293
+ </step>
331
294
 
332
- **Epic Expansion Process:**
295
+ <step n="9" goal="Non-Functional Requirements Discovery">
296
+ <action>Only document NFRs that matter for THIS product
333
297
 
334
- 1. **Expanded Goal** (2-3 sentences)
335
- - Describe the epic's objective and value delivery
336
- - Explain how it builds on previous work
298
+ Performance: Only if user-facing impact
299
+ Security: Only if handling sensitive data
300
+ Scale: Only if growth expected
301
+ Accessibility: Only if broad audience
302
+ Integration: Only if connecting systems
337
303
 
338
- 2. **Story Breakdown**
304
+ For each NFR:
339
305
 
340
- **Critical Story Requirements:**
341
- - **Vertical slices** - Each story delivers complete, testable functionality
342
- - **Sequential** - Stories must be logically ordered within epic
343
- - **No forward dependencies** - No story depends on work from a later story/epic
344
- - **AI-agent sized** - Completable in single focused session (2-4 hours)
345
- - **Value-focused** - Minimize pure enabler stories; integrate technical work into value delivery
306
+ - Why it matters for THIS product
307
+ - Specific measurable criteria
308
+ - Domain-driven requirements
346
309
 
347
- **Story Format:**
310
+ Skip categories that don't apply!</action>
348
311
 
349
- ```
350
- **Story [EPIC.N]: [Story Title]**
312
+ <!-- Only output sections that were discussed -->
313
+ <check if="performance matters">
314
+ <template-output>performance_requirements</template-output>
315
+ </check>
316
+ <check if="security matters">
317
+ <template-output>security_requirements</template-output>
318
+ </check>
319
+ <check if="scale matters">
320
+ <template-output>scalability_requirements</template-output>
321
+ </check>
322
+ <check if="accessibility matters">
323
+ <template-output>accessibility_requirements</template-output>
324
+ </check>
325
+ <check if="integration matters">
326
+ <template-output>integration_requirements</template-output>
327
+ </check>
328
+ </step>
351
329
 
352
- As a [user type],
353
- I want [goal/desire],
354
- So that [benefit/value].
330
+ <step n="10" goal="Review PRD and transition to epics">
331
+ <action>Review the PRD we've built together
355
332
 
356
- **Acceptance Criteria:**
357
- 1. [Specific testable criterion]
358
- 2. [Another specific criterion]
359
- 3. [etc.]
333
+ "Let's review what we've captured:
360
334
 
361
- **Prerequisites:** [Any dependencies on previous stories]
362
- ```
335
+ - Vision: [summary]
336
+ - Success: [key metrics]
337
+ - Scope: [MVP highlights]
338
+ - Requirements: [count] functional, [count] non-functional
339
+ - Special considerations: [domain/innovation]
363
340
 
364
- 3. **Story Sequencing Within Epic:**
365
- - Start with foundational/setup work if needed
366
- - Build progressively toward epic goal
367
- - Each story should leave system in working state
368
- - Final stories complete the epic's value delivery
341
+ Does this capture your product vision?"</action>
369
342
 
370
- **Process each epic:**
343
+ <template-output>prd_summary</template-output>
344
+ <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
371
345
 
372
- <repeat for-each="epic in epic_list">
346
+ <action>After PRD review and refinement complete:
373
347
 
374
- <ask>Ready to break down {{epic_title}}? (y/n)</ask>
348
+ "Excellent! Now we need to break these requirements into implementable epics and stories.
375
349
 
376
- <action>Discuss epic scope and story ideas with user</action>
377
- <action>Draft story list ensuring vertical slices and proper sequencing</action>
378
- <action>For each story, write user story format and acceptance criteria</action>
379
- <action>Verify no forward dependencies exist</action>
350
+ For the epic breakdown, you have two options:
380
351
 
381
- <template-output file="epics.md">{{epic_title}}\_details</template-output>
352
+ 1. Start a new session focused on epics (recommended for complex projects)
353
+ 2. Continue here (I'll transform requirements into epics now)
382
354
 
383
- <ask>Review {{epic_title}} stories. Any adjustments needed?</ask>
355
+ Which would you prefer?"
384
356
 
385
- <action if="yes">Refine stories based on feedback</action>
357
+ If new session:
358
+ "To start epic planning in a new session:
386
359
 
387
- </repeat>
360
+ 1. Save your work here
361
+ 2. Start fresh and run: workflow epics-stories
362
+ 3. It will load your PRD and create the epic breakdown
388
363
 
389
- <action>Save complete epics.md to {epics_output_file}</action>
364
+ This keeps each session focused and manageable."
390
365
 
391
- **Epic Details complete!** Implementation roadmap ready.
366
+ If continue:
367
+ "Let's continue with epic breakdown here..."
368
+ [Proceed with epics-stories subworkflow]
369
+ Set project_track based on workflow status (BMad Method or Enterprise Method)
370
+ Generate epic_details for the epics breakdown document</action>
392
371
 
372
+ <template-output>project_track</template-output>
373
+ <template-output>epic_details</template-output>
393
374
  </step>
394
375
 
395
- <step n="10" goal="Update status and complete" tag="workflow-status">
376
+ <step n="11" goal="Complete PRD and suggest next steps">
377
+ <template-output>product_magic_summary</template-output>
396
378
 
397
379
  <check if="standalone_mode != true">
398
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
399
- <action>Find workflow_status key "prd"</action>
400
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
380
+ <action>Load the FULL file: {status_file}</action>
401
381
  <action>Update workflow_status["prd"] = "{default_output_file}"</action>
402
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
403
-
404
- <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
405
- <action>Determine next agent from path file based on next workflow</action>
382
+ <action>Save file, preserving ALL comments and structure</action>
406
383
  </check>
407
384
 
408
- <output>**✅ PRD Workflow Complete, {user_name}!**
385
+ <output>**✅ PRD Complete, {user_name}!**
409
386
 
410
- **Deliverables Created:**
387
+ Your product requirements are documented and ready for implementation.
411
388
 
412
- 1. ✅ bmm-PRD.md - Strategic product requirements document
413
- 2. ✅ bmm-epics.md - Tactical implementation roadmap with story breakdown
389
+ **Created:**
414
390
 
415
- **Next Steps:**
391
+ - **PRD.md** - Complete requirements adapted to {project_type} and {domain}
416
392
 
417
- - **Next required:** {{next_workflow}} ({{next_agent}} agent)
418
- - **Optional:** Review PRD and epics with stakeholders, or run `create-design` if you have UI requirements
393
+ **Next Steps:**
419
394
 
420
- Check status anytime with: `workflow-status`
395
+ 1. **Epic Breakdown** (Required)
396
+ Run: `workflow create-epics-and-stories` to decompose requirements into implementable stories
421
397
 
422
- Would you like to:
398
+ 2. **UX Design** (If UI exists)
399
+ Run: `workflow ux-design` for detailed user experience design
423
400
 
424
- 1. Review/refine any section
425
- 2. Proceed to next phase
426
- 3. Exit and review documents
427
- </output>
401
+ 3. **Architecture** (Recommended)
402
+ Run: `workflow create-architecture` for technical architecture decisions
428
403
 
404
+ The magic of your product - {product_magic_summary} - is woven throughout the PRD and will guide all subsequent work.
405
+ </output>
429
406
  </step>
430
407
 
431
408
  </workflow>