bmad-method 6.0.0-alpha.7 → 6.0.0-alpha.9

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 (457) hide show
  1. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  2. package/.github/workflows/bundle-latest.yaml +277 -0
  3. package/.github/workflows/manual-release.yaml +55 -16
  4. package/.vscode/settings.json +2 -1
  5. package/CHANGELOG.md +439 -1
  6. package/README.md +12 -4
  7. package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
  8. package/docs/agent-customization-guide.md +208 -0
  9. package/docs/ide-info/crush.md +1 -1
  10. package/docs/ide-info/cursor.md +7 -7
  11. package/docs/ide-info/iflow.md +3 -3
  12. package/docs/ide-info/opencode.md +1 -1
  13. package/docs/index.md +3 -1
  14. package/docs/installers-bundlers/ide-injections.md +2 -2
  15. package/docs/installers-bundlers/installers-modules-platforms-reference.md +23 -23
  16. package/docs/v4-to-v6-upgrade.md +12 -12
  17. package/docs/web-bundles-gemini-gpt-guide.md +473 -0
  18. package/package.json +1 -1
  19. package/src/core/_module-installer/install-config.yaml +17 -10
  20. package/src/core/_module-installer/installer.js +0 -8
  21. package/src/core/agents/bmad-master.agent.yaml +5 -5
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  23. package/src/core/tasks/{adv-elicit.xml → advanced-elicitation.xml} +6 -4
  24. package/src/core/tasks/index-docs.xml +1 -1
  25. package/src/core/tasks/validate-workflow.xml +1 -1
  26. package/src/core/tasks/workflow.xml +125 -11
  27. package/src/core/tools/shard-doc.xml +45 -1
  28. package/src/core/workflows/brainstorming/README.md +6 -16
  29. package/src/core/workflows/brainstorming/instructions.md +6 -5
  30. package/src/core/workflows/brainstorming/template.md +4 -0
  31. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  32. package/src/core/workflows/party-mode/instructions.md +2 -7
  33. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  34. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  35. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  36. package/src/modules/bmb/workflows/audit-workflow/checklist.md +5 -6
  37. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  38. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  39. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  40. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  41. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  42. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  43. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  44. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -19
  45. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  46. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  47. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  48. package/src/modules/bmb/workflows/create-agent/instructions.md +24 -27
  49. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  50. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  51. package/src/modules/bmb/workflows/create-module/checklist.md +1 -10
  52. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  53. package/src/modules/bmb/workflows/create-module/instructions.md +12 -17
  54. package/src/modules/bmb/workflows/create-module/module-structure.md +7 -7
  55. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  56. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  57. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  58. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  59. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +40 -42
  60. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  61. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  62. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  63. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  64. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  65. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  66. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  67. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  68. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  69. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  70. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  71. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  72. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  73. package/src/modules/bmb/workflows/module-brief/checklist.md +2 -2
  74. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  75. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  76. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  77. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  78. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  79. package/src/modules/bmgd/README.md +1 -1
  80. package/src/modules/bmgd/_module-installer/install-config.yaml +12 -24
  81. package/src/modules/bmgd/agents/game-architect.agent.yaml +15 -10
  82. package/src/modules/bmgd/agents/game-designer.agent.yaml +16 -11
  83. package/src/modules/bmgd/agents/game-dev.agent.yaml +18 -12
  84. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +30 -25
  85. package/src/modules/bmgd/teams/default-party.csv +10 -0
  86. package/src/modules/bmgd/teams/team-gamedev.yaml +2 -0
  87. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
  88. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
  89. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
  90. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
  91. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +5 -10
  92. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
  93. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -6
  94. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
  95. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +0 -26
  96. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +2 -6
  97. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +2 -7
  98. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
  99. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +25 -47
  100. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +13 -32
  101. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  102. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +7 -2
  103. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +32 -25
  104. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +20 -47
  105. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +16 -24
  106. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +8 -3
  107. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +30 -5
  108. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
  109. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +10 -35
  110. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +16 -24
  111. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +18 -36
  112. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +16 -37
  113. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +11 -15
  114. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +1 -1
  115. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +8 -7
  116. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
  117. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +1 -1
  118. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +20 -45
  119. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +15 -17
  120. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
  121. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +5 -4
  122. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +6 -6
  123. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +5 -7
  124. package/src/modules/bmm/_module-installer/install-config.yaml +9 -28
  125. package/src/modules/bmm/_module-installer/installer.js +2 -2
  126. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  127. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  128. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  129. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  130. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  131. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  132. package/src/modules/bmm/agents/tech-writer.agent.yaml +15 -11
  133. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  134. package/src/modules/bmm/docs/agents-guide.md +4 -4
  135. package/src/modules/bmm/docs/brownfield-guide.md +4 -4
  136. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  137. package/src/modules/bmm/docs/faq.md +1 -1
  138. package/src/modules/bmm/docs/party-mode.md +3 -3
  139. package/src/modules/bmm/docs/quick-start.md +1 -1
  140. package/src/modules/bmm/docs/test-architecture.md +1 -1
  141. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  142. package/src/modules/bmm/teams/default-party.csv +19 -0
  143. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  144. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  145. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  146. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  147. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +8 -21
  148. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +10 -12
  149. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +13 -9
  150. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +2 -2
  151. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +2 -2
  152. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +2 -2
  153. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +1 -3
  154. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +2 -7
  155. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  156. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +1 -6
  157. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  158. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +7 -2
  159. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +16 -10
  160. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +8 -12
  161. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +28 -0
  162. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +146 -23
  163. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +7 -9
  164. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +152 -35
  165. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +2 -2
  166. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +20 -16
  167. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +12 -9
  168. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -6
  169. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +434 -0
  170. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +129 -266
  171. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +15 -37
  172. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -26
  173. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +3 -7
  174. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +30 -38
  175. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +25 -43
  176. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +7 -13
  177. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +57 -60
  178. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +12 -12
  179. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +25 -47
  180. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +13 -32
  181. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  182. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +7 -2
  183. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +32 -25
  184. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +20 -47
  185. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +16 -24
  186. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +8 -3
  187. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +30 -5
  188. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  189. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +10 -35
  190. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +16 -24
  191. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +18 -36
  192. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +16 -37
  193. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +11 -15
  194. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +1 -1
  195. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -7
  196. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  197. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  198. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +20 -45
  199. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +15 -17
  200. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  201. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +5 -4
  202. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +6 -6
  203. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +5 -7
  204. package/src/modules/bmm/workflows/document-project/checklist.md +1 -1
  205. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  206. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  207. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +4 -4
  208. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  209. package/src/modules/bmm/workflows/document-project/workflows/full-scan-instructions.md +13 -13
  210. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  211. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  212. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  213. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  214. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  215. package/src/modules/bmm/workflows/testarch/ci/checklist.md +4 -4
  216. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  217. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  218. package/src/modules/bmm/workflows/testarch/framework/checklist.md +4 -4
  219. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  220. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  221. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  222. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  223. package/src/modules/bmm/workflows/testarch/test-design/checklist.md +4 -4
  224. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +175 -14
  225. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +4 -4
  226. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +7 -3
  227. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  228. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  229. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  230. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  231. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +33 -31
  232. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  233. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  234. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +9 -16
  235. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +11 -18
  236. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +8 -1
  237. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +9 -2
  238. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  239. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +2 -9
  240. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  241. package/src/modules/cis/README.md +1 -1
  242. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  243. package/src/modules/cis/agents/README.md +1 -1
  244. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  245. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  246. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  247. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  248. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  249. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  250. package/src/modules/cis/teams/default-party.csv +11 -0
  251. package/src/modules/cis/workflows/README.md +1 -1
  252. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  253. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  254. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  255. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  256. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  257. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  258. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  259. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  260. package/src/utility/models/action-command-header.md +0 -0
  261. package/src/utility/models/agent-activation-ide.xml +3 -3
  262. package/src/utility/models/agent-activation-web.xml +4 -4
  263. package/src/utility/models/agent-command-header.md +1 -0
  264. package/src/utility/models/fragments/activation-steps.xml +3 -2
  265. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  266. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  267. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  268. package/tools/cli/README.md +50 -32
  269. package/tools/cli/bundlers/web-bundler.js +86 -17
  270. package/tools/cli/commands/install.js +1 -4
  271. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  272. package/tools/cli/installers/lib/core/detector.js +62 -7
  273. package/tools/cli/installers/lib/core/installer.js +175 -33
  274. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  275. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  276. package/tools/cli/installers/lib/ide/auggie.js +78 -224
  277. package/tools/cli/installers/lib/ide/claude-code.js +14 -22
  278. package/tools/cli/installers/lib/ide/cline.js +15 -18
  279. package/tools/cli/installers/lib/ide/codex.js +17 -48
  280. package/tools/cli/installers/lib/ide/crush.js +14 -50
  281. package/tools/cli/installers/lib/ide/cursor.js +51 -8
  282. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  283. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  284. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  285. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  286. package/tools/cli/installers/lib/ide/manager.js +15 -0
  287. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  288. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  289. package/tools/cli/installers/lib/ide/roo.js +27 -62
  290. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  291. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  292. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  293. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  294. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  295. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  296. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  297. package/tools/cli/installers/lib/ide/trae.js +20 -32
  298. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  299. package/tools/cli/installers/lib/modules/manager.js +89 -17
  300. package/tools/cli/lib/cli-utils.js +52 -50
  301. package/tools/cli/lib/ui.js +29 -12
  302. package/tools/cli/lib/yaml-xml-builder.js +20 -2
  303. package/tools/schema/agent.js +7 -3
  304. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +0 -70
  305. package/.claude/commands/bmad/bmb/workflows/audit-workflow.md +0 -15
  306. package/.claude/commands/bmad/bmb/workflows/convert-legacy.md +0 -15
  307. package/.claude/commands/bmad/bmb/workflows/create-agent.md +0 -15
  308. package/.claude/commands/bmad/bmb/workflows/create-module.md +0 -15
  309. package/.claude/commands/bmad/bmb/workflows/create-workflow.md +0 -15
  310. package/.claude/commands/bmad/bmb/workflows/edit-agent.md +0 -15
  311. package/.claude/commands/bmad/bmb/workflows/edit-module.md +0 -15
  312. package/.claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -15
  313. package/.claude/commands/bmad/bmb/workflows/module-brief.md +0 -15
  314. package/.claude/commands/bmad/bmb/workflows/redoc.md +0 -15
  315. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -71
  316. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  317. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  318. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -15
  319. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -15
  320. package/.claude/settings.local.json +0 -22
  321. package/bmad/_cfg/agent-manifest.csv +0 -5
  322. package/bmad/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -42
  323. package/bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  324. package/bmad/_cfg/files-manifest.csv +0 -82
  325. package/bmad/_cfg/ides/claude-code.yaml +0 -6
  326. package/bmad/_cfg/manifest.yaml +0 -11
  327. package/bmad/_cfg/task-manifest.csv +0 -13
  328. package/bmad/_cfg/tool-manifest.csv +0 -4
  329. package/bmad/_cfg/workflow-manifest.csv +0 -17
  330. package/bmad/bmb/README.md +0 -194
  331. package/bmad/bmb/agents/bmad-builder.md +0 -70
  332. package/bmad/bmb/config.yaml +0 -14
  333. package/bmad/bmb/workflows/audit-workflow/checklist.md +0 -143
  334. package/bmad/bmb/workflows/audit-workflow/instructions.md +0 -341
  335. package/bmad/bmb/workflows/audit-workflow/template.md +0 -118
  336. package/bmad/bmb/workflows/audit-workflow/workflow.yaml +0 -23
  337. package/bmad/bmb/workflows/convert-legacy/README.md +0 -262
  338. package/bmad/bmb/workflows/convert-legacy/checklist.md +0 -205
  339. package/bmad/bmb/workflows/convert-legacy/instructions.md +0 -377
  340. package/bmad/bmb/workflows/convert-legacy/workflow.yaml +0 -32
  341. package/bmad/bmb/workflows/create-agent/README.md +0 -203
  342. package/bmad/bmb/workflows/create-agent/agent-architecture.md +0 -419
  343. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
  344. package/bmad/bmb/workflows/create-agent/agent-types.md +0 -292
  345. package/bmad/bmb/workflows/create-agent/brainstorm-context.md +0 -174
  346. package/bmad/bmb/workflows/create-agent/checklist.md +0 -62
  347. package/bmad/bmb/workflows/create-agent/communication-styles.md +0 -202
  348. package/bmad/bmb/workflows/create-agent/instructions.md +0 -459
  349. package/bmad/bmb/workflows/create-agent/workflow.yaml +0 -37
  350. package/bmad/bmb/workflows/create-module/README.md +0 -229
  351. package/bmad/bmb/workflows/create-module/brainstorm-context.md +0 -137
  352. package/bmad/bmb/workflows/create-module/checklist.md +0 -244
  353. package/bmad/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
  354. package/bmad/bmb/workflows/create-module/installer-templates/installer.js +0 -231
  355. package/bmad/bmb/workflows/create-module/instructions.md +0 -581
  356. package/bmad/bmb/workflows/create-module/module-structure.md +0 -400
  357. package/bmad/bmb/workflows/create-module/workflow.yaml +0 -42
  358. package/bmad/bmb/workflows/create-workflow/README.md +0 -277
  359. package/bmad/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  360. package/bmad/bmb/workflows/create-workflow/checklist.md +0 -94
  361. package/bmad/bmb/workflows/create-workflow/instructions.md +0 -724
  362. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1308
  363. package/bmad/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  364. package/bmad/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
  365. package/bmad/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  366. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -39
  367. package/bmad/bmb/workflows/create-workflow/workflow.yaml +0 -40
  368. package/bmad/bmb/workflows/edit-agent/README.md +0 -112
  369. package/bmad/bmb/workflows/edit-agent/checklist.md +0 -112
  370. package/bmad/bmb/workflows/edit-agent/instructions.md +0 -290
  371. package/bmad/bmb/workflows/edit-agent/workflow.yaml +0 -33
  372. package/bmad/bmb/workflows/edit-module/README.md +0 -187
  373. package/bmad/bmb/workflows/edit-module/checklist.md +0 -165
  374. package/bmad/bmb/workflows/edit-module/instructions.md +0 -339
  375. package/bmad/bmb/workflows/edit-module/workflow.yaml +0 -34
  376. package/bmad/bmb/workflows/edit-workflow/README.md +0 -119
  377. package/bmad/bmb/workflows/edit-workflow/checklist.md +0 -70
  378. package/bmad/bmb/workflows/edit-workflow/instructions.md +0 -342
  379. package/bmad/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  380. package/bmad/bmb/workflows/module-brief/README.md +0 -264
  381. package/bmad/bmb/workflows/module-brief/checklist.md +0 -116
  382. package/bmad/bmb/workflows/module-brief/instructions.md +0 -267
  383. package/bmad/bmb/workflows/module-brief/template.md +0 -275
  384. package/bmad/bmb/workflows/module-brief/workflow.yaml +0 -29
  385. package/bmad/bmb/workflows/redoc/README.md +0 -87
  386. package/bmad/bmb/workflows/redoc/checklist.md +0 -99
  387. package/bmad/bmb/workflows/redoc/instructions.md +0 -265
  388. package/bmad/bmb/workflows/redoc/workflow.yaml +0 -32
  389. package/bmad/core/agents/bmad-master.md +0 -71
  390. package/bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -122
  391. package/bmad/core/config.yaml +0 -9
  392. package/bmad/core/tasks/adv-elicit-methods.csv +0 -39
  393. package/bmad/core/tasks/adv-elicit.xml +0 -104
  394. package/bmad/core/tasks/index-docs.xml +0 -65
  395. package/bmad/core/tasks/validate-workflow.xml +0 -89
  396. package/bmad/core/tasks/workflow.xml +0 -156
  397. package/bmad/core/tools/shard-doc.xml +0 -65
  398. package/bmad/core/workflows/brainstorming/README.md +0 -271
  399. package/bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  400. package/bmad/core/workflows/brainstorming/instructions.md +0 -314
  401. package/bmad/core/workflows/brainstorming/template.md +0 -102
  402. package/bmad/core/workflows/brainstorming/workflow.yaml +0 -43
  403. package/bmad/core/workflows/party-mode/instructions.md +0 -188
  404. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  405. package/bmad/docs/claude-code-instructions.md +0 -25
  406. package/bmd/README.md +0 -193
  407. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  408. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  409. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  410. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  411. package/bmd/agents/cli-chief.agent.yaml +0 -126
  412. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  413. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  414. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  415. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  416. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  417. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  418. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  419. package/bmd/agents/release-chief.agent.yaml +0 -127
  420. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  421. package/bmd/config.yaml +0 -12
  422. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +0 -367
  423. package/src/modules/bmm/sub-modules/claude-code/README.md +0 -87
  424. package/src/modules/bmm/sub-modules/claude-code/config.yaml +0 -5
  425. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +0 -242
  426. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +0 -102
  427. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +0 -82
  428. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +0 -101
  429. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +0 -84
  430. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +0 -83
  431. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +0 -81
  432. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +0 -61
  433. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +0 -168
  434. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +0 -115
  435. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +0 -123
  436. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +0 -72
  437. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +0 -51
  438. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +0 -106
  439. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +0 -102
  440. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +0 -68
  441. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +0 -108
  442. package/src/modules/bmm/tasks/daily-standup.xml +0 -85
  443. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  444. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  445. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  446. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
  447. package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  448. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  449. package/web-bundles/bmm/agents/analyst.xml +0 -5028
  450. package/web-bundles/bmm/agents/architect.xml +0 -2047
  451. package/web-bundles/bmm/agents/dev.xml +0 -68
  452. package/web-bundles/bmm/agents/pm.xml +0 -3808
  453. package/web-bundles/bmm/agents/sm.xml +0 -77
  454. package/web-bundles/bmm/agents/tea.xml +0 -66
  455. package/web-bundles/bmm/agents/tech-writer.xml +0 -84
  456. package/web-bundles/bmm/agents/ux-designer.xml +0 -2018
  457. package/web-bundles/bmm/teams/team-fullstack.xml +0 -12039
@@ -1,12 +1,12 @@
1
1
  # PRD Workflow - Intent-Driven Product Planning
2
2
 
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
3
+ <critical>The workflow execution engine is governed by: {project-root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
4
  <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
5
  <critical>This workflow uses INTENT-DRIVEN PLANNING - adapt organically to product type and context</critical>
6
6
  <critical>Communicate all responses in {communication_language} and adapt deeply to {user_skill_level}</critical>
7
7
  <critical>Generate all documents in {document_output_language}</critical>
8
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>
9
+ <critical>GUIDING PRINCIPLE: Identify what makes this product special and ensure it's reflected throughout the PRD</critical>
10
10
  <critical>Input documents specified in workflow.yaml input_file_patterns - workflow engine handles fuzzy matching, whole vs sharded document discovery automatically</critical>
11
11
 
12
12
  <workflow>
@@ -44,10 +44,15 @@ PRD is for BMad Method and Enterprise Method tracks that need comprehensive requ
44
44
  </check>
45
45
  </step>
46
46
 
47
+ <step n="0.5" goal="Discover and load input documents">
48
+ <invoke-protocol name="discover_inputs" />
49
+ <note>After discovery, these content variables are available: {product_brief_content}, {research_content}, {document_project_content}</note>
50
+ </step>
51
+
47
52
  <step n="1" goal="Discovery - Project, Domain, and Vision">
48
53
  <action>Welcome {user_name} and begin comprehensive discovery, and then start to GATHER ALL CONTEXT:
49
54
  1. Check workflow-status.yaml for project_context (if exists)
50
- 2. Look for existing documents (Product Brief, Domain Brief, research)
55
+ 2. Review loaded content: {product_brief_content}, {research_content}, {document_project_content} (auto-loaded in Step 0.5)
51
56
  3. Detect project type AND domain complexity
52
57
 
53
58
  Load references:
@@ -69,9 +74,9 @@ B) Quick web search (basic)
69
74
  C) User provides context
70
75
  D) Continue with general knowledge
71
76
 
72
- CAPTURE THE MAGIC EARLY with a few questions such as for example: "What excites you most about this product?", "What would make users love this?", "What's the moment that will make people go 'wow'?"
77
+ IDENTIFY WHAT MAKES IT SPECIAL early with questions such as: "What excites you most about this product?", "What would make users love this?", "What's the unique value or compelling moment?"
73
78
 
74
- This excitement becomes the thread woven throughout the PRD.</action>
79
+ This becomes a thread that connects throughout the PRD.</action>
75
80
 
76
81
  <template-output>vision_alignment</template-output>
77
82
  <template-output>project_classification</template-output>
@@ -81,7 +86,7 @@ This excitement becomes the thread woven throughout the PRD.</action>
81
86
  <check if="complex domain">
82
87
  <template-output>domain_context_summary</template-output>
83
88
  </check>
84
- <template-output>product_magic_essence</template-output>
89
+ <template-output>product_differentiator</template-output>
85
90
  <template-output>product_brief_path</template-output>
86
91
  <template-output>domain_brief_path</template-output>
87
92
  <template-output>research_documents</template-output>
@@ -107,15 +112,14 @@ Make it specific:
107
112
  - NOT: "99.9% uptime"
108
113
  - BUT: "Zero data loss during critical operations"
109
114
 
110
- Weave in the magic:
115
+ Connect to what makes the product special:
111
116
 
112
- - "Success means users experience [that special moment] and [desired outcome]"</action>
117
+ - "Success means users experience [key value moment] and achieve [desired outcome]"</action>
113
118
 
114
119
  <template-output>success_criteria</template-output>
115
120
  <check if="business focus">
116
121
  <template-output>business_metrics</template-output>
117
122
  </check>
118
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
119
123
  </step>
120
124
 
121
125
  <step n="3" goal="Scope Definition">
@@ -140,7 +144,6 @@ For complex domains:
140
144
  <template-output>mvp_scope</template-output>
141
145
  <template-output>growth_features</template-output>
142
146
  <template-output>vision_features</template-output>
143
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
144
147
  </step>
145
148
 
146
149
  <step n="4" goal="Domain-Specific Exploration" optional="true">
@@ -219,8 +222,8 @@ FOR SAAS B2B:
219
222
 
220
223
  [Continue for other types...]
221
224
 
222
- Always relate back to the product magic:
223
- "How does [requirement] enhance [the special thing]?"</action>
225
+ Always connect requirements to product value:
226
+ "How does [requirement] support the product's core value proposition?"</action>
224
227
 
225
228
  <template-output>project_type_requirements</template-output>
226
229
 
@@ -253,8 +256,8 @@ Light touch on UX - not full design:
253
256
  "How should this feel to use?"
254
257
  "What's the vibe - professional, playful, minimal?"
255
258
 
256
- Connect to the magic:
257
- "The UI should reinforce [the special moment] through [design approach]"</action>
259
+ Connect UX to product vision:
260
+ "The UI should reinforce [core value proposition] through [design approach]"</action>
258
261
 
259
262
  <check if="has UI">
260
263
  <template-output>ux_principles</template-output>
@@ -263,33 +266,148 @@ Connect to the magic:
263
266
  </step>
264
267
 
265
268
  <step n="8" goal="Functional Requirements Synthesis">
266
- <action>Transform everything discovered into clear functional requirements
269
+ <critical>This section is THE CAPABILITY CONTRACT for all downstream work</critical>
270
+ <critical>UX designers will ONLY design what's listed here</critical>
271
+ <critical>Architects will ONLY support what's listed here</critical>
272
+ <critical>Epic breakdown will ONLY implement what's listed here</critical>
273
+ <critical>If a capability is missing from FRs, it will NOT exist in the final product</critical>
274
+
275
+ <action>Before writing FRs, understand their PURPOSE and USAGE:
276
+
277
+ **Purpose:**
278
+ FRs define WHAT capabilities the product must have. They are the complete inventory
279
+ of user-facing and system capabilities that deliver the product vision.
280
+
281
+ **How They Will Be Used:**
282
+
283
+ 1. UX Designer reads FRs → designs interactions for each capability
284
+ 2. Architect reads FRs → designs systems to support each capability
285
+ 3. PM reads FRs → creates epics and stories to implement each capability
286
+ 4. Dev Agent reads assembled context → implements stories based on FRs
287
+
288
+ **Critical Property - COMPLETENESS:**
289
+ Every capability discussed in vision, scope, domain requirements, and project-specific
290
+ sections MUST be represented as an FR. Missing FRs = missing capabilities.
291
+
292
+ **Critical Property - ALTITUDE:**
293
+ FRs state WHAT capability exists and WHO it serves, NOT HOW it's implemented or
294
+ specific UI/UX details. Those come later from UX and Architecture.
295
+ </action>
296
+
297
+ <action>Transform everything discovered into comprehensive functional requirements:
298
+
299
+ **Coverage - Pull from EVERYWHERE:**
300
+
301
+ - Core features from MVP scope → FRs
302
+ - Growth features → FRs (marked as post-MVP if needed)
303
+ - Domain-mandated features → FRs
304
+ - Project-type specific needs → FRs
305
+ - Innovation requirements → FRs
306
+ - Anti-patterns (explicitly NOT doing) → Note in FR section if needed
307
+
308
+ **Organization - Group by CAPABILITY AREA:**
309
+ Don't organize by technology or layer. Group by what users/system can DO:
310
+
311
+ - ✅ "User Management" (not "Authentication System")
312
+ - ✅ "Content Discovery" (not "Search Algorithm")
313
+ - ✅ "Team Collaboration" (not "WebSocket Infrastructure")
314
+
315
+ **Format - Flat, Numbered List:**
316
+ Each FR is one clear capability statement:
317
+
318
+ - FR#: [Actor] can [capability] [context/constraint if needed]
319
+ - Number sequentially (FR1, FR2, FR3...)
320
+ - Aim for 20-50 FRs for typical projects (fewer for simple, more for complex)
321
+
322
+ **Altitude Check:**
323
+ Each FR should answer "WHAT capability exists?" NOT "HOW is it implemented?"
324
+
325
+ - ✅ "Users can customize appearance settings"
326
+ - ❌ "Users can toggle light/dark theme with 3 font size options stored in LocalStorage"
327
+
328
+ The second example belongs in Epic Breakdown, not PRD.
329
+ </action>
330
+
331
+ <example>
332
+ **Well-written FRs at the correct altitude:**
333
+
334
+ **User Account & Access:**
335
+
336
+ - FR1: Users can create accounts with email or social authentication
337
+ - FR2: Users can log in securely and maintain sessions across devices
338
+ - FR3: Users can reset passwords via email verification
339
+ - FR4: Users can update profile information and preferences
340
+ - FR5: Administrators can manage user roles and permissions
341
+
342
+ **Content Management:**
343
+
344
+ - FR6: Users can create, edit, and delete content items
345
+ - FR7: Users can organize content with tags and categories
346
+ - FR8: Users can search content by keyword, tag, or date range
347
+ - FR9: Users can export content in multiple formats
348
+
349
+ **Data Ownership (local-first products):**
350
+
351
+ - FR10: All user data stored locally on user's device
352
+ - FR11: Users can export complete data at any time
353
+ - FR12: Users can import previously exported data
354
+ - FR13: System monitors storage usage and warns before limits
355
+
356
+ **Collaboration:**
357
+
358
+ - FR14: Users can share content with specific users or teams
359
+ - FR15: Users can comment on shared content
360
+ - FR16: Users can track content change history
361
+ - FR17: Users receive notifications for relevant updates
362
+
363
+ **Notice:**
364
+ ✅ Each FR is a testable capability
365
+ ✅ Each FR is implementation-agnostic (could be built many ways)
366
+ ✅ Each FR specifies WHO and WHAT, not HOW
367
+ ✅ No UI details, no performance numbers, no technology choices
368
+ ✅ Comprehensive coverage of capability areas
369
+ </example>
370
+
371
+ <action>Generate the complete FR list by systematically extracting capabilities:
372
+
373
+ 1. MVP scope → extract all capabilities → write as FRs
374
+ 2. Growth features → extract capabilities → write as FRs (note if post-MVP)
375
+ 3. Domain requirements → extract mandatory capabilities → write as FRs
376
+ 4. Project-type specifics → extract type-specific capabilities → write as FRs
377
+ 5. Innovation patterns → extract novel capabilities → write as FRs
378
+
379
+ Organize FRs by logical capability groups (5-8 groups typically).
380
+ Number sequentially across all groups (FR1, FR2... FR47).
381
+ </action>
382
+
383
+ <action>SELF-VALIDATION - Before finalizing, ask yourself:
267
384
 
268
- Pull together:
385
+ **Completeness Check:**
269
386
 
270
- - Core features from scope
271
- - Domain-mandated features
272
- - Project-type specific needs
273
- - Innovation requirements
387
+ 1. "Did I cover EVERY capability mentioned in the MVP scope section?"
388
+ 2. "Did I include domain-specific requirements as FRs?"
389
+ 3. "Did I cover the project-type specific needs (API/Mobile/SaaS/etc)?"
390
+ 4. "Could a UX designer read ONLY the FRs and know what to design?"
391
+ 5. "Could an Architect read ONLY the FRs and know what to support?"
392
+ 6. "Are there any user actions or system behaviors we discussed that have no FR?"
274
393
 
275
- Organize by capability, not technology:
394
+ **Altitude Check:**
276
395
 
277
- - User Management (not "auth system")
278
- - Content Discovery (not "search algorithm")
279
- - Team Collaboration (not "websockets")
396
+ 1. "Am I stating capabilities (WHAT) or implementation (HOW)?"
397
+ 2. "Am I listing acceptance criteria or UI specifics?" (Remove if yes)
398
+ 3. "Could this FR be implemented 5 different ways?" (Good - means it's not prescriptive)
280
399
 
281
- Each requirement should:
400
+ **Quality Check:**
282
401
 
283
- - Be specific and measurable
284
- - Connect to user value
285
- - Include acceptance criteria
286
- - Note domain constraints
402
+ 1. "Is each FR clear enough that someone could test whether it exists?"
403
+ 2. "Is each FR independent (not dependent on reading other FRs to understand)?"
404
+ 3. "Did I avoid vague terms like 'good', 'fast', 'easy'?" (Use NFRs for quality attributes)
287
405
 
288
- The magic thread:
289
- Highlight which requirements deliver the special experience</action>
406
+ COMPLETENESS GATE: Review your FR list against the entire PRD written so far.
407
+ Did you miss anything? Add it now before proceeding.
408
+ </action>
290
409
 
291
410
  <template-output>functional_requirements_complete</template-output>
292
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
293
411
  </step>
294
412
 
295
413
  <step n="9" goal="Non-Functional Requirements Discovery">
@@ -341,7 +459,6 @@ Skip categories that don't apply!</action>
341
459
  Does this capture your product vision?"</action>
342
460
 
343
461
  <template-output>prd_summary</template-output>
344
- <invoke-task halt="true">{project-root}/bmad/core/tasks/adv-elicit.xml</invoke-task>
345
462
 
346
463
  <action>After PRD review and refinement complete:
347
464
 
@@ -374,7 +491,7 @@ Generate epic_details for the epics breakdown document</action>
374
491
  </step>
375
492
 
376
493
  <step n="11" goal="Complete PRD and suggest next steps">
377
- <template-output>product_magic_summary</template-output>
494
+ <template-output>product_value_summary</template-output>
378
495
 
379
496
  <check if="standalone_mode != true">
380
497
  <action>Load the FULL file: {status_file}</action>
@@ -401,7 +518,7 @@ Your product requirements are documented and ready for implementation.
401
518
  3. **Architecture** (Recommended)
402
519
  Run: `workflow create-architecture` for technical architecture decisions
403
520
 
404
- The magic of your product - {product_magic_summary} - is woven throughout the PRD and will guide all subsequent work.
521
+ What makes your product special - {product_value_summary} - is captured throughout the PRD and will guide all subsequent work.
405
522
  </output>
406
523
  </step>
407
524
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  ### What Makes This Special
14
14
 
15
- {{product_magic_essence}}
15
+ {{product_differentiator}}
16
16
 
17
17
  ---
18
18
 
@@ -232,6 +232,6 @@ Requirements must be decomposed into epics and bite-sized stories (200k context
232
232
 
233
233
  ---
234
234
 
235
- _This PRD captures the essence of {{project_name}} - {{product_magic_summary}}_
235
+ _This PRD captures the essence of {{project_name}} - {{product_value_summary}}_
236
236
 
237
237
  _Created through collaborative discovery between {{user_name}} and AI facilitator._
@@ -4,7 +4,7 @@ description: "Unified PRD workflow for BMad Method and Enterprise Method tracks.
4
4
  author: "BMad"
5
5
 
6
6
  # Critical variables from config
7
- config_source: "{project-root}/bmad/bmm/config.yaml"
7
+ config_source: "{project-root}/{bmad_folder}/bmm/config.yaml"
8
8
  project_name: "{config_source}:project_name"
9
9
  output_folder: "{config_source}:output_folder"
10
10
  user_name: "{config_source}:user_name"
@@ -14,7 +14,7 @@ user_skill_level: "{config_source}:user_skill_level"
14
14
  date: system-generated
15
15
 
16
16
  # Workflow components
17
- installed_path: "{project-root}/bmad/bmm/workflows/2-plan-workflows/prd"
17
+ installed_path: "{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd"
18
18
  instructions: "{installed_path}/instructions.md"
19
19
 
20
20
  # Templates
@@ -31,17 +31,21 @@ recommended_inputs:
31
31
 
32
32
  # Smart input file references - handles both whole docs and sharded docs
33
33
  # Priority: Whole document first, then sharded version
34
+ # Strategy: How to load sharded documents (FULL_LOAD, SELECTIVE_LOAD, INDEX_GUIDED)
34
35
  input_file_patterns:
35
36
  product_brief:
36
37
  whole: "{output_folder}/*brief*.md"
37
38
  sharded: "{output_folder}/*brief*/index.md"
39
+ load_strategy: "FULL_LOAD"
38
40
 
39
41
  research:
40
42
  whole: "{output_folder}/*research*.md"
41
43
  sharded: "{output_folder}/*research*/index.md"
44
+ load_strategy: "FULL_LOAD"
42
45
 
43
46
  document_project:
44
47
  sharded: "{output_folder}/docs/index.md"
48
+ load_strategy: "INDEX_GUIDED"
45
49
 
46
50
  standalone: true
47
51
 
@@ -49,24 +53,24 @@ web_bundle:
49
53
  name: "prd"
50
54
  description: "Unified PRD workflow for BMad Method and Enterprise Method tracks. Produces strategic PRD and tactical epic breakdown. Hands off to architecture workflow for technical design. Note: Quick Flow track uses tech-spec workflow."
51
55
  author: "BMad"
52
- instructions: "bmad/bmm/workflows/2-plan-workflows/prd/instructions.md"
53
- validation: "bmad/bmm/workflows/2-plan-workflows/prd/checklist.md"
56
+ instructions: "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/instructions.md"
57
+ validation: "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/checklist.md"
54
58
  web_bundle_files:
55
59
  # Core workflow files
56
- - "bmad/bmm/workflows/2-plan-workflows/prd/instructions.md"
57
- - "bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md"
58
- - "bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv"
59
- - "bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv"
60
- - "bmad/bmm/workflows/2-plan-workflows/prd/checklist.md"
60
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/instructions.md"
61
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/prd-template.md"
62
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/project-types.csv"
63
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv"
64
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/checklist.md"
61
65
 
62
66
  # Child workflow and its files
63
- - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
64
- - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md"
65
- - "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md"
67
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
68
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md"
69
+ - "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md"
66
70
 
67
71
  # Task dependencies (referenced in instructions.md)
68
- - "bmad/core/tasks/workflow.xml"
69
- - "bmad/core/tasks/adv-elicit.xml"
70
- - "bmad/core/tasks/adv-elicit-methods.csv"
72
+ - "{bmad_folder}/core/tasks/workflow.xml"
73
+ - "{bmad_folder}/core/tasks/advanced-elicitation.xml"
74
+ - "{bmad_folder}/core/tasks/advanced-elicitation-methods.csv"
71
75
  child_workflows:
72
- - create-epics-and-stories: "bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
76
+ - create-epics-and-stories: "{bmad_folder}/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml"
@@ -2,20 +2,22 @@
2
2
 
3
3
  **Purpose**: Validate tech-spec workflow outputs are context-rich, definitive, complete, and implementation-ready.
4
4
 
5
- **Scope**: Levels 0-1 software projects
5
+ **Scope**: Quick-flow software projects (1-5 stories)
6
6
 
7
- **Expected Outputs**: tech-spec.md + story files (1 for Level 0, 2-3 for Level 1)
7
+ **Expected Outputs**: tech-spec.md + epics.md + story files (1-5 stories)
8
8
 
9
- **New Standard**: Tech-spec should be comprehensive enough to replace story-context for Level 0-1 projects
9
+ **New Standard**: Tech-spec should be comprehensive enough to replace story-context for most quick-flow projects
10
10
 
11
11
  ---
12
12
 
13
13
  ## 1. Output Files Exist
14
14
 
15
15
  - [ ] tech-spec.md created in output folder
16
- - [ ] Story file(s) created in dev_story_location
17
- - Level 0: 1 story file (story-{slug}.md)
18
- - Level 1: epics.md + 2-3 story files (story-{epic-slug}-N.md)
16
+ - [ ] epics.md created (minimal for 1 story, detailed for multiple)
17
+ - [ ] Story file(s) created in sprint_artifacts
18
+ - Naming convention: story-{epic-slug}-N.md (where N = 1 to story_count)
19
+ - 1 story: story-{epic-slug}-1.md
20
+ - Multiple stories: story-{epic-slug}-1.md through story-{epic-slug}-N.md
19
21
  - [ ] bmm-workflow-status.yaml updated (if not standalone mode)
20
22
  - [ ] No unfilled {{template_variables}} in any files
21
23
 
@@ -134,16 +136,17 @@
134
136
 
135
137
  ---
136
138
 
137
- ## 6. Epic Quality (Level 1 Only)
139
+ ## 6. Epic Quality (All Projects)
138
140
 
139
141
  - [ ] **Epic title**: User-focused outcome (not implementation detail)
140
142
  - [ ] **Epic slug**: Clean kebab-case slug (2-3 words)
141
143
  - [ ] **Epic goal**: Clear purpose and value statement
142
144
  - [ ] **Epic scope**: Boundaries clearly defined
143
145
  - [ ] **Success criteria**: Measurable outcomes
144
- - [ ] **Story map**: Visual representation of epic → stories
145
- - [ ] **Implementation sequence**: Logical story ordering with dependencies
146
+ - [ ] **Story map** (if multiple stories): Visual representation of epic → stories
147
+ - [ ] **Implementation sequence** (if multiple stories): Logical story ordering with dependencies
146
148
  - [ ] **Tech-spec reference**: Links back to tech-spec.md
149
+ - [ ] **Detail level appropriate**: Minimal for 1 story, detailed for multiple
147
150
 
148
151
  ---
149
152
 
@@ -72,9 +72,3 @@ So that {{value_benefit}}.
72
72
  ---
73
73
 
74
74
  <!-- End epic repeat -->
75
-
76
- ---
77
-
78
- ## Tech-Spec Reference
79
-
80
- See [tech-spec.md](../tech-spec.md) for complete technical implementation details.