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