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,321 +1,524 @@
1
- # Product Brief - Interactive Workflow Instructions
1
+ # Product Brief - Context-Adaptive Discovery Instructions
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 FACILITATION - adapt organically to what emerges</critical>
6
+ <critical>The goal is DISCOVERING WHAT MATTERS through natural conversation, not filling a template</critical>
7
+ <critical>Communicate all responses in {communication_language} and adapt deeply to {user_skill_level}</critical>
6
8
  <critical>Generate all documents in {document_output_language}</critical>
9
+ <critical>LIVING DOCUMENT: Write to the document continuously as you discover - never wait until the end</critical>
7
10
 
8
- <critical>DOCUMENT OUTPUT: Concise, professional, strategically focused. Use tables/lists over prose. User skill level ({user_skill_level}) affects conversation style ONLY, not document content.</critical>
11
+ ## Input Document Discovery
12
+
13
+ This workflow may reference: market research, brainstorming documents, user specified other inputs, or brownfield project documentation.
14
+
15
+ **Discovery Process** (execute for each referenced document):
16
+
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`
24
+
25
+ **Priority**: If both whole and sharded versions exist, use the whole document.
26
+
27
+ **Fuzzy matching**: Be flexible with document names - users may use variations in naming conventions.
9
28
 
10
29
  <workflow>
11
30
 
12
- <step n="0" goal="Validate workflow readiness">
13
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
14
- <param>mode: validate</param>
15
- <param>calling_workflow: product-brief</param>
16
- </invoke-workflow>
31
+ <step n="0" goal="Validate workflow readiness" tag="workflow-status">
32
+ <action>Check if {output_folder}/bmm-workflow-status.yaml exists</action>
17
33
 
18
- <check if="status_exists == false">
19
- <output>{{suggestion}}</output>
20
- <output>Note: Product Brief is optional. You can continue without status tracking.</output>
21
- <action>Set standalone_mode = true</action>
22
- </check>
34
+ <action if="status file not found">Set standalone_mode = true</action>
23
35
 
24
- <check if="status_exists == true">
25
- <action>Store {{status_file_path}} for later updates</action>
36
+ <check if="status file found">
37
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
38
+ <action>Parse workflow_status section</action>
39
+ <action>Check status of "product-brief" workflow</action>
40
+ <action>Get project_level from YAML metadata</action>
41
+ <action>Find first non-completed workflow (next expected workflow)</action>
26
42
 
27
43
  <check if="project_level < 2">
28
- <output>Note: Product Brief is most valuable for Level 2+ projects. Your project is Level {{project_level}}.</output>
29
- <output>You may want to skip directly to technical planning instead.</output>
44
+ <output>**Note: Level {{project_level}} Project**
45
+
46
+ Product Brief is most valuable for Level 2+ projects, but can help clarify vision for any project.</output>
47
+ </check>
48
+
49
+ <check if="product-brief status is file path (already completed)">
50
+ <output>⚠️ Product Brief already completed: {{product-brief status}}</output>
51
+ <ask>Re-running will overwrite the existing brief. Continue? (y/n)</ask>
52
+ <check if="n">
53
+ <output>Exiting. Use workflow-status to see your next step.</output>
54
+ <action>Exit workflow</action>
55
+ </check>
30
56
  </check>
31
57
 
32
- <check if="warning != ''">
33
- <output>{{warning}}</output>
58
+ <check if="product-brief is not the next expected workflow">
59
+ <output>⚠️ Next expected workflow: {{next_workflow}}. Product Brief is out of sequence.</output>
34
60
  <ask>Continue with Product Brief anyway? (y/n)</ask>
35
61
  <check if="n">
36
- <output>Exiting. {{suggestion}}</output>
62
+ <output>Exiting. Run {{next_workflow}} instead.</output>
37
63
  <action>Exit workflow</action>
38
64
  </check>
39
65
  </check>
66
+
67
+ <action>Set standalone_mode = false</action>
40
68
  </check>
41
69
  </step>
42
70
 
43
- <step n="1" goal="Initialize product brief session">
44
- <action>Welcome the user in {communication_language} to the Product Brief creation process</action>
45
- <action>Explain this is a collaborative process to define their product vision and strategic foundation</action>
46
- <action>Ask the user to provide the project name for this product brief</action>
71
+ <step n="1" goal="Begin the journey and understand context">
72
+ <action>Welcome {user_name} warmly in {communication_language}
73
+
74
+ Adapt your tone to {user_skill_level}:
75
+
76
+ - Expert: "Let's define your product vision. What are you building?"
77
+ - Intermediate: "I'm here to help shape your product vision. Tell me about your idea."
78
+ - Beginner: "Hi! I'm going to help you figure out exactly what you want to build. Let's start with your idea - what got you excited about this?"
79
+
80
+ Start with open exploration:
81
+
82
+ - What sparked this idea?
83
+ - What are you hoping to build?
84
+ - Who is this for - yourself, a business, users you know?
85
+
86
+ CRITICAL: Listen for context clues that reveal their situation:
87
+
88
+ - Personal/hobby project (fun, learning, small audience)
89
+ - Startup/solopreneur (market opportunity, competition matters)
90
+ - Enterprise/corporate (stakeholders, compliance, strategic alignment)
91
+ - Technical enthusiasm (implementation focused)
92
+ - Business opportunity (market/revenue focused)
93
+ - Problem frustration (solution focused)
94
+
95
+ Based on their initial response, sense:
96
+
97
+ - How formal/casual they want to be
98
+ - Whether they think in business or technical terms
99
+ - If they have existing materials to share
100
+ - Their confidence level with the domain</action>
101
+
102
+ <ask>What's the project name, and what got you excited about building this?</ask>
103
+
104
+ <action>From even this first exchange, create initial document sections</action>
47
105
  <template-output>project_name</template-output>
48
- </step>
106
+ <template-output>executive_summary</template-output>
49
107
 
50
- <step n="1" goal="Gather available inputs and context">
51
- <action>Explore what existing materials the user has available to inform the brief</action>
52
- <action>Offer options for input sources: market research, brainstorming results, competitive analysis, initial ideas, or starting fresh</action>
53
- <action>If documents are provided, load and analyze them to extract key insights, themes, and patterns</action>
54
- <action>Engage the user about their core vision: what problem they're solving, who experiences it most acutely, and what sparked this product idea</action>
55
- <action>Build initial understanding through conversational exploration rather than rigid questioning</action>
108
+ <action>If they mentioned existing documents (research, brainstorming, etc.):
56
109
 
57
- <template-output>initial_context</template-output>
110
+ - Load and analyze these materials
111
+ - Extract key themes and insights
112
+ - Reference these naturally in conversation: "I see from your research that..."
113
+ - Use these to accelerate discovery, not repeat questions</action>
114
+
115
+ <template-output>initial_vision</template-output>
58
116
  </step>
59
117
 
60
- <step n="2" goal="Choose collaboration mode">
61
- <ask>How would you like to work through the brief?
118
+ <step n="2" goal="Discover the problem worth solving">
119
+ <action>Guide problem discovery through natural conversation
62
120
 
63
- **1. Interactive Mode** - We'll work through each section together, discussing and refining as we go
64
- **2. YOLO Mode** - I'll generate a complete draft based on our conversation so far, then we'll refine it together
121
+ DON'T ask: "What problem does this solve?"
65
122
 
66
- Which approach works best for you?</ask>
123
+ DO explore conversationally based on their context:
67
124
 
68
- <action>Store the user's preference for mode</action>
69
- <template-output>collaboration_mode</template-output>
70
- </step>
125
+ For hobby projects:
126
+
127
+ - "What's annoying you that this would fix?"
128
+ - "What would this make easier or more fun?"
129
+ - "Show me what the experience is like today without this"
130
+
131
+ For business ventures:
132
+
133
+ - "Walk me through the frustration your users face today"
134
+ - "What's the cost of this problem - time, money, opportunities?"
135
+ - "Who's suffering most from this? Tell me about them"
136
+ - "What solutions have people tried? Why aren't they working?"
137
+
138
+ For enterprise:
139
+
140
+ - "What's driving the need for this internally?"
141
+ - "Which teams/processes are most affected?"
142
+ - "What's the business impact of not solving this?"
143
+ - "Are there compliance or strategic drivers?"
144
+
145
+ Listen for depth cues:
146
+
147
+ - Brief answers → dig deeper with follow-ups
148
+ - Detailed passion → let them flow, capture everything
149
+ - Uncertainty → help them explore with examples
150
+ - Multiple problems → help prioritize the core issue
151
+
152
+ Adapt your response:
71
153
 
72
- <step n="3" goal="Define the problem statement" if="collaboration_mode == 'interactive'">
73
- <action>Guide deep exploration of the problem: current state frustrations, quantifiable impact (time/money/opportunities), why existing solutions fall short, urgency of solving now</action>
74
- <action>Challenge vague statements and push for specificity with probing questions</action>
75
- <action>Help the user articulate measurable pain points with evidence</action>
76
- <action>Craft a compelling, evidence-based problem statement</action>
154
+ - If they struggle: offer analogies, examples, frameworks
155
+ - If they're clear: validate and push for specifics
156
+ - If they're technical: explore implementation challenges
157
+ - If they're business-focused: quantify impact</action>
77
158
 
159
+ <action>Immediately capture what emerges - even if preliminary</action>
78
160
  <template-output>problem_statement</template-output>
161
+
162
+ <check if="user mentioned metrics, costs, or business impact">
163
+ <action>Explore the measurable impact of the problem</action>
164
+ <template-output>problem_impact</template-output>
165
+ </check>
166
+
167
+ <check if="user mentioned current solutions or competitors">
168
+ <action>Understand why existing solutions fall short</action>
169
+ <template-output>existing_solutions_gaps</template-output>
170
+ </check>
171
+
172
+ <action>Reflect understanding: "So the core issue is {{problem_summary}}, and {{impact_if_mentioned}}. Let me capture that..."</action>
79
173
  </step>
80
174
 
81
- <step n="4" goal="Develop the proposed solution" if="collaboration_mode == 'interactive'">
82
- <action>Shape the solution vision by exploring: core approach to solving the problem, key differentiators from existing solutions, why this will succeed, ideal user experience</action>
83
- <action>Focus on the "what" and "why", not implementation details - keep it strategic</action>
84
- <action>Help articulate compelling differentiators that make this solution unique</action>
85
- <action>Craft a clear, inspiring solution vision</action>
175
+ <step n="3" goal="Shape the solution vision">
176
+ <action>Transition naturally from problem to solution
177
+
178
+ Based on their energy and context, explore:
179
+
180
+ For builders/makers:
181
+
182
+ - "How do you envision this working?"
183
+ - "Walk me through the experience you want to create"
184
+ - "What's the 'magic moment' when someone uses this?"
185
+
186
+ For business minds:
187
+
188
+ - "What's your unique approach to solving this?"
189
+ - "How is this different from what exists today?"
190
+ - "What makes this the RIGHT solution now?"
191
+
192
+ For enterprise:
193
+
194
+ - "What would success look like for the organization?"
195
+ - "How does this fit with existing systems/processes?"
196
+ - "What's the transformation you're enabling?"
197
+
198
+ Go deeper based on responses:
199
+
200
+ - If innovative → explore the unique angle
201
+ - If standard → focus on execution excellence
202
+ - If technical → discuss key capabilities
203
+ - If user-focused → paint the journey
204
+
205
+ Web research when relevant:
206
+
207
+ - If they mention competitors → research current solutions
208
+ - If they claim innovation → verify uniqueness
209
+ - If they reference trends → get current data</action>
210
+
211
+ <action if="competitor or market mentioned">
212
+ <WebSearch>{{competitor/market}} latest features 2024</WebSearch>
213
+ <action>Use findings to sharpen differentiation discussion</action>
214
+ </action>
86
215
 
87
216
  <template-output>proposed_solution</template-output>
217
+
218
+ <check if="unique differentiation discussed">
219
+ <template-output>key_differentiators</template-output>
220
+ </check>
221
+
222
+ <action>Continue building the living document</action>
88
223
  </step>
89
224
 
90
- <step n="5" goal="Identify target users" if="collaboration_mode == 'interactive'">
91
- <action>Guide detailed definition of primary users: demographic/professional profile, current problem-solving methods, specific pain points, goals they're trying to achieve</action>
92
- <action>Explore secondary user segments if applicable and define how their needs differ</action>
93
- <action>Push beyond generic personas like "busy professionals" - demand specificity and actionable details</action>
94
- <action>Create specific, actionable user profiles that inform product decisions</action>
225
+ <step n="4" goal="Understand the people who need this">
226
+ <action>Discover target users through storytelling, not demographics
227
+
228
+ Facilitate based on project type:
229
+
230
+ Personal/hobby:
231
+
232
+ - "Who else would love this besides you?"
233
+ - "Tell me about someone who would use this"
234
+ - Keep it light and informal
235
+
236
+ Startup/business:
237
+
238
+ - "Describe your ideal first customer - not demographics, but their situation"
239
+ - "What are they doing today without your solution?"
240
+ - "What would make them say 'finally, someone gets it!'?"
241
+ - "Are there different types of users with different needs?"
242
+
243
+ Enterprise:
244
+
245
+ - "Which roles/departments will use this?"
246
+ - "Walk me through their current workflow"
247
+ - "Who are the champions vs skeptics?"
248
+ - "What about indirect stakeholders?"
249
+
250
+ Push beyond generic personas:
251
+
252
+ - Not: "busy professionals" → "Sales reps who waste 2 hours/day on data entry"
253
+ - Not: "tech-savvy users" → "Developers who know Docker but hate configuring it"
254
+ - Not: "small businesses" → "Shopify stores doing $10-50k/month wanting to scale"
255
+
256
+ For each user type that emerges:
257
+
258
+ - Current behavior/workflow
259
+ - Specific frustrations
260
+ - What they'd value most
261
+ - Their technical comfort level</action>
95
262
 
96
263
  <template-output>primary_user_segment</template-output>
97
- <template-output>secondary_user_segment</template-output>
98
- </step>
99
264
 
100
- <step n="6" goal="Establish goals and success metrics" if="collaboration_mode == 'interactive'">
101
- <action>Guide establishment of SMART goals across business objectives and user success metrics</action>
102
- <action>Explore measurable business outcomes (user acquisition targets, cost reductions, revenue goals)</action>
103
- <action>Define user success metrics focused on behaviors and outcomes, not features (task completion time, return frequency)</action>
104
- <action>Help formulate specific, measurable goals that distinguish between business and user success</action>
105
- <action>Identify top 3-5 Key Performance Indicators that will track product success</action>
265
+ <check if="multiple user types mentioned">
266
+ <action>Explore secondary users only if truly different needs</action>
267
+ <template-output>secondary_user_segment</template-output>
268
+ </check>
106
269
 
107
- <template-output>business_objectives</template-output>
108
- <template-output>user_success_metrics</template-output>
109
- <template-output>key_performance_indicators</template-output>
270
+ <check if="user journey or workflow discussed">
271
+ <template-output>user_journey</template-output>
272
+ </check>
110
273
  </step>
111
274
 
112
- <step n="7" goal="Define MVP scope" if="collaboration_mode == 'interactive'">
113
- <action>Be ruthless about MVP scope - identify absolute MUST-HAVE features for launch that validate the core hypothesis</action>
114
- <action>For each proposed feature, probe why it's essential vs nice-to-have</action>
115
- <action>Identify tempting features that need to wait for v2 - what adds complexity without core value</action>
116
- <action>Define what constitutes a successful MVP launch with clear criteria</action>
117
- <action>Challenge scope creep aggressively and push for true minimum viability</action>
118
- <action>Clearly separate must-haves from nice-to-haves</action>
275
+ <step n="5" goal="Define what success looks like" repeat="adapt-to-context">
276
+ <action>Explore success measures that match their context
119
277
 
120
- <template-output>core_features</template-output>
121
- <template-output>out_of_scope</template-output>
122
- <template-output>mvp_success_criteria</template-output>
123
- </step>
278
+ For personal projects:
124
279
 
125
- <step n="8" goal="Assess financial impact and ROI" if="collaboration_mode == 'interactive'">
126
- <action>Explore financial considerations: development investment, revenue potential, cost savings opportunities, break-even timing, budget alignment</action>
127
- <action>Investigate strategic alignment: company OKRs, strategic objectives, key initiatives supported, opportunity cost of NOT doing this</action>
128
- <action>Help quantify financial impact where possible - both tangible and intangible value</action>
129
- <action>Connect this product to broader company strategy and demonstrate strategic value</action>
280
+ - "How will you know this is working well?"
281
+ - "What would make you proud of this?"
282
+ - Keep metrics simple and meaningful
130
283
 
131
- <template-output>financial_impact</template-output>
132
- <template-output>company_objectives_alignment</template-output>
133
- <template-output>strategic_initiatives</template-output>
134
- </step>
284
+ For startups:
135
285
 
136
- <step n="9" goal="Explore post-MVP vision" optional="true" if="collaboration_mode == 'interactive'">
137
- <action>Guide exploration of post-MVP future: Phase 2 features, expansion opportunities, long-term vision (1-2 years)</action>
138
- <action>Ensure MVP decisions align with future direction while staying focused on immediate goals</action>
286
+ - "What metrics would convince you this is taking off?"
287
+ - "What user behaviors show they love it?"
288
+ - "What business metrics matter most - users, revenue, retention?"
289
+ - Push for specific targets: "100 users" not "lots of users"
139
290
 
140
- <template-output>phase_2_features</template-output>
141
- <template-output>long_term_vision</template-output>
142
- <template-output>expansion_opportunities</template-output>
143
- </step>
291
+ For enterprise:
144
292
 
145
- <step n="10" goal="Document technical considerations" if="collaboration_mode == 'interactive'">
146
- <action>Capture technical context as preferences, not final decisions</action>
147
- <action>Explore platform requirements: web/mobile/desktop, browser/OS support, performance needs, accessibility standards</action>
148
- <action>Investigate technology preferences or constraints: frontend/backend frameworks, database needs, infrastructure requirements</action>
149
- <action>Identify existing systems requiring integration</action>
150
- <action>Check for technical-preferences.yaml file if available</action>
151
- <action>Note these are initial thoughts for PM and architect to consider during planning</action>
152
-
153
- <template-output>platform_requirements</template-output>
154
- <template-output>technology_preferences</template-output>
155
- <template-output>architecture_considerations</template-output>
156
- </step>
293
+ - "How will the organization measure success?"
294
+ - "What KPIs will stakeholders care about?"
295
+ - "What are the must-hit metrics vs nice-to-haves?"
157
296
 
158
- <step n="11" goal="Identify constraints and assumptions" if="collaboration_mode == 'interactive'">
159
- <action>Guide realistic expectations setting around constraints: budget/resource limits, timeline pressures, team size/expertise, technical limitations</action>
160
- <action>Explore assumptions being made about: user behavior, market conditions, technical feasibility</action>
161
- <action>Document constraints clearly and list assumptions that need validation during development</action>
297
+ Only dive deep into metrics if they show interest
298
+ Skip entirely for pure hobby projects
299
+ Focus on what THEY care about measuring</action>
162
300
 
163
- <template-output>constraints</template-output>
164
- <template-output>key_assumptions</template-output>
165
- </step>
301
+ <check if="metrics or goals discussed">
302
+ <template-output>success_metrics</template-output>
303
+
304
+ <check if="business objectives mentioned">
305
+ <template-output>business_objectives</template-output>
306
+ </check>
166
307
 
167
- <step n="12" goal="Assess risks and open questions" optional="true" if="collaboration_mode == 'interactive'">
168
- <action>Facilitate honest risk assessment: what could derail the project, impact if risks materialize</action>
169
- <action>Document open questions: what still needs figuring out, what needs more research</action>
170
- <action>Help prioritize risks by impact and likelihood</action>
171
- <action>Frame unknowns as opportunities to prepare, not just worries</action>
308
+ <check if="KPIs matter to them">
309
+ <template-output>key_performance_indicators</template-output>
310
+ </check>
311
+ </check>
172
312
 
173
- <template-output>key_risks</template-output>
174
- <template-output>open_questions</template-output>
175
- <template-output>research_areas</template-output>
313
+ <action>Keep the document growing with each discovery</action>
176
314
  </step>
177
315
 
178
- <!-- YOLO Mode - Generate everything then refine -->
179
- <step n="3" goal="Generate complete brief draft" if="collaboration_mode == 'yolo'">
180
- <action>Based on initial context and any provided documents, generate a complete product brief covering all sections</action>
181
- <action>Make reasonable assumptions where information is missing</action>
182
- <action>Flag areas that need user validation with [NEEDS CONFIRMATION] tags</action>
316
+ <step n="6" goal="Discover the MVP scope">
317
+ <critical>Focus on FEATURES not epics - that comes in Phase 2</critical>
318
+
319
+ <action>Guide MVP scoping based on their maturity
320
+
321
+ For experimental/hobby:
322
+
323
+ - "What's the ONE thing this must do to be useful?"
324
+ - "What would make a fun first version?"
325
+ - Embrace simplicity
326
+
327
+ For business ventures:
328
+
329
+ - "What's the smallest version that proves your hypothesis?"
330
+ - "What features would make early adopters say 'good enough'?"
331
+ - "What's tempting to add but would slow you down?"
332
+ - Be ruthless about scope creep
333
+
334
+ For enterprise:
335
+
336
+ - "What's the pilot scope that demonstrates value?"
337
+ - "Which capabilities are must-have for initial rollout?"
338
+ - "What can we defer to Phase 2?"
339
+
340
+ Use this framing:
341
+
342
+ - Core features: "Without this, the product doesn't work"
343
+ - Nice-to-have: "This would be great, but we can launch without it"
344
+ - Future vision: "This is where we're headed eventually"
345
+
346
+ Challenge feature creep:
347
+
348
+ - "Do we need that for launch, or could it come later?"
349
+ - "What if we started without that - what breaks?"
350
+ - "Is this core to proving the concept?"</action>
183
351
 
184
- <template-output>problem_statement</template-output>
185
- <template-output>proposed_solution</template-output>
186
- <template-output>primary_user_segment</template-output>
187
- <template-output>secondary_user_segment</template-output>
188
- <template-output>business_objectives</template-output>
189
- <template-output>user_success_metrics</template-output>
190
- <template-output>key_performance_indicators</template-output>
191
352
  <template-output>core_features</template-output>
192
- <template-output>out_of_scope</template-output>
193
- <template-output>mvp_success_criteria</template-output>
194
- <template-output>phase_2_features</template-output>
195
- <template-output>long_term_vision</template-output>
196
- <template-output>expansion_opportunities</template-output>
197
- <template-output>financial_impact</template-output>
198
- <template-output>company_objectives_alignment</template-output>
199
- <template-output>strategic_initiatives</template-output>
200
- <template-output>platform_requirements</template-output>
201
- <template-output>technology_preferences</template-output>
202
- <template-output>architecture_considerations</template-output>
203
- <template-output>constraints</template-output>
204
- <template-output>key_assumptions</template-output>
205
- <template-output>key_risks</template-output>
206
- <template-output>open_questions</template-output>
207
- <template-output>research_areas</template-output>
208
-
209
- <action>Present the complete draft to the user</action>
210
- <ask>Here's the complete brief draft. What would you like to adjust or refine?</ask>
353
+
354
+ <check if="scope creep discussed">
355
+ <template-output>out_of_scope</template-output>
356
+ </check>
357
+
358
+ <check if="future features mentioned">
359
+ <template-output>future_vision_features</template-output>
360
+ </check>
361
+
362
+ <check if="success criteria for MVP mentioned">
363
+ <template-output>mvp_success_criteria</template-output>
364
+ </check>
211
365
  </step>
212
366
 
213
- <step n="4" goal="Refine brief sections" repeat="until-approved" if="collaboration_mode == 'yolo'">
214
- <ask>Which section would you like to refine?
215
- 1. Problem Statement
216
- 2. Proposed Solution
217
- 3. Target Users
218
- 4. Goals and Metrics
219
- 5. MVP Scope
220
- 6. Post-MVP Vision
221
- 7. Financial Impact and Strategic Alignment
222
- 8. Technical Considerations
223
- 9. Constraints and Assumptions
224
- 10. Risks and Questions
225
- 11. Save and continue</ask>
226
-
227
- <action>Work with user to refine selected section</action>
228
- <action>Update relevant template outputs</action>
367
+ <step n="7" goal="Explore relevant context dimensions" repeat="until-natural-end">
368
+ <critical>Only explore what emerges naturally - skip what doesn't matter</critical>
369
+
370
+ <action>Based on the conversation so far, selectively explore:
371
+
372
+ IF financial aspects emerged:
373
+
374
+ - Development investment needed
375
+ - Revenue potential or cost savings
376
+ - ROI timeline
377
+ - Budget constraints
378
+ <check if="discussed">
379
+ <template-output>financial_considerations</template-output>
380
+ </check>
381
+
382
+ IF market competition mentioned:
383
+
384
+ - Competitive landscape
385
+ - Market opportunity size
386
+ - Differentiation strategy
387
+ - Market timing
388
+ <check if="discussed">
389
+ <WebSearch>{{market}} size trends 2024</WebSearch>
390
+ <template-output>market_analysis</template-output>
391
+ </check>
392
+
393
+ IF technical preferences surfaced:
394
+
395
+ - Platform choices (web/mobile/desktop)
396
+ - Technology stack preferences
397
+ - Integration needs
398
+ - Performance requirements
399
+ <check if="discussed">
400
+ <template-output>technical_preferences</template-output>
401
+ </check>
402
+
403
+ IF organizational context emerged:
404
+
405
+ - Strategic alignment
406
+ - Stakeholder buy-in needs
407
+ - Change management considerations
408
+ - Compliance requirements
409
+ <check if="discussed">
410
+ <template-output>organizational_context</template-output>
411
+ </check>
412
+
413
+ IF risks or concerns raised:
414
+
415
+ - Key risks and mitigation
416
+ - Critical assumptions
417
+ - Open questions needing research
418
+ <check if="discussed">
419
+ <template-output>risks_and_assumptions</template-output>
420
+ </check>
421
+
422
+ IF timeline pressures mentioned:
423
+
424
+ - Launch timeline
425
+ - Critical milestones
426
+ - Dependencies
427
+ <check if="discussed">
428
+ <template-output>timeline_constraints</template-output>
429
+ </check>
430
+
431
+ Skip anything that hasn't naturally emerged
432
+ Don't force sections that don't fit their context</action>
229
433
  </step>
230
434
 
231
- <!-- Final steps for both modes -->
232
- <step n="13" goal="Create executive summary">
233
- <action>Synthesize all sections into a compelling executive summary</action>
234
- <action>Include:
235
- - Product concept in 1-2 sentences
236
- - Primary problem being solved
237
- - Target market identification
238
- - Key value proposition</action>
435
+ <step n="8" goal="Refine and complete the living document">
436
+ <action>Review what's been captured with the user
437
+
438
+ "Let me show you what we've built together..."
439
+
440
+ Present the actual document sections created so far
239
441
 
442
+ - Not a summary, but the real content
443
+ - Shows the document has been growing throughout
444
+
445
+ Ask:
446
+ "Looking at this, what stands out as most important to you?"
447
+ "Is there anything critical we haven't explored?"
448
+ "Does this capture your vision?"
449
+
450
+ Based on their response:
451
+
452
+ - Refine sections that need more depth
453
+ - Add any missing critical elements
454
+ - Remove or simplify sections that don't matter
455
+ - Ensure the document fits THEIR needs, not a template</action>
456
+
457
+ <action>Make final refinements based on feedback</action>
458
+ <template-output>final_refinements</template-output>
459
+
460
+ <action>Create executive summary that captures the essence</action>
240
461
  <template-output>executive_summary</template-output>
241
462
  </step>
463
+ <step n="9" goal="Complete and save the product brief">
464
+ <action>The document has been building throughout our conversation
465
+ Now ensure it's complete and well-organized</action>
242
466
 
243
- <step n="14" goal="Compile supporting materials">
244
- <action>If research documents were provided, create a summary of key findings</action>
245
- <action>Document any stakeholder input received during the process</action>
246
- <action>Compile list of reference documents and resources</action>
467
+ <check if="research documents were provided">
468
+ <action>Append summary of incorporated research</action>
469
+ <template-output>supporting_materials</template-output>
470
+ </check>
247
471
 
248
- <template-output>research_summary</template-output>
249
- <template-output>stakeholder_input</template-output>
250
- <template-output>references</template-output>
251
- </step>
472
+ <action>Ensure the document structure makes sense for what was discovered:
252
473
 
253
- <step n="15" goal="Final review and handoff">
254
- <action>Generate the complete product brief document</action>
255
- <action>Review all sections for completeness and consistency</action>
256
- <action>Flag any areas that need PM attention with [PM-TODO] tags</action>
474
+ - Hobbyist projects might be 2-3 pages focused on problem/solution/features
475
+ - Startup ventures might be 5-7 pages with market analysis and metrics
476
+ - Enterprise briefs might be 10+ pages with full strategic context
257
477
 
258
- <ask>The product brief is complete! Would you like to:
478
+ The document should reflect their world, not force their world into a template</action>
259
479
 
260
- 1. Review the entire document
261
- 2. Make final adjustments
262
- 3. Generate an executive summary version (3-page limit)
263
- 4. Save and prepare for handoff to PM
480
+ <ask>Your product brief is ready! Would you like to:
264
481
 
265
- This brief will serve as the primary input for creating the Product Requirements Document (PRD).</ask>
482
+ 1. Review specific sections together
483
+ 2. Make any final adjustments
484
+ 3. Save and move forward
266
485
 
267
- <check if="user chooses option 3 (executive summary)">
268
- <action>Create condensed 3-page executive brief focusing on: problem statement, proposed solution, target users, MVP scope, financial impact, and strategic alignment</action>
269
- <action>Save as: {output_folder}/product-brief-executive-{{project_name}}-{{date}}.md</action>
270
- </check>
486
+ What feels right?</ask>
271
487
 
272
- <template-output>final_brief</template-output>
273
- <template-output>executive_brief</template-output>
488
+ <action>Make any requested refinements</action>
489
+ <template-output>final_document</template-output>
274
490
  </step>
275
491
 
276
- <step n="16" goal="Update status file on completion">
277
492
  <check if="standalone_mode != true">
278
- <invoke-workflow path="{project-root}/bmad/bmm/workflows/workflow-status">
279
- <param>mode: update</param>
280
- <param>action: complete_workflow</param>
281
- <param>workflow_name: product-brief</param>
282
- </invoke-workflow>
283
-
284
- <check if="success == true">
285
- <output>Status updated! Next: {{next_workflow}}</output>
286
- </check>
493
+ <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
494
+ <action>Find workflow_status key "product-brief"</action>
495
+ <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
496
+ <action>Update workflow_status["product-brief"] = "{output_folder}/bmm-product-brief-{{project_name}}-{{date}}.md"</action>
497
+ <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
498
+
499
+ <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
500
+ <action>Determine next agent from path file based on next workflow</action>
287
501
  </check>
288
502
 
289
503
  <output>**✅ Product Brief Complete, {user_name}!**
290
504
 
291
- **Brief Document:**
505
+ Your product vision has been captured in a document that reflects what matters most for your {{context_type}} project.
292
506
 
293
- - Product brief saved to {output_folder}/bmm-product-brief-{{project_name}}-{{date}}.md
507
+ **Document saved:** {output_folder}/bmm-product-brief-{{project_name}}-{{date}}.md
294
508
 
295
509
  {{#if standalone_mode != true}}
296
- **Status Updated:**
510
+ **What's next:** {{next_workflow}} ({{next_agent}} agent)
297
511
 
298
- - Progress tracking updated
299
- - Current workflow marked complete
300
- {{else}}
301
- **Note:** Running in standalone mode (no progress tracking)
302
- {{/if}}
303
-
304
- **Next Steps:**
305
-
306
- {{#if standalone_mode != true}}
307
-
308
- - **Next required:** {{next_workflow}} ({{next_agent}} agent)
309
- - **Optional:** Gather additional stakeholder input or run research workflows before proceeding
310
-
311
- Check status anytime with: `workflow-status`
512
+ The next phase will take your brief and create the detailed planning artifacts needed for implementation.
312
513
  {{else}}
313
- Since no workflow is in progress:
514
+ **Next steps:**
314
515
 
315
- - Refer to the BMM workflow guide if unsure what to do next
316
- - Or run `workflow-init` to create a workflow path and get guided next steps
516
+ - Run `workflow-init` to set up guided workflow tracking
517
+ - Or proceed directly to the PRD workflow if you know your path
317
518
  {{/if}}
318
- </output>
319
- </step>
519
+
520
+ Remember: This brief captures YOUR vision. It grew from our conversation, not from a rigid template. It's ready to guide the next phase of bringing your idea to life.
521
+ </output>
522
+ </step>
320
523
 
321
524
  </workflow>