bmad-method 6.0.0-alpha.8 → 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 (539) 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/CHANGELOG.md +439 -1
  5. package/README.md +12 -4
  6. package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
  7. package/docs/agent-customization-guide.md +208 -0
  8. package/docs/ide-info/crush.md +1 -1
  9. package/docs/ide-info/cursor.md +7 -7
  10. package/docs/ide-info/iflow.md +3 -3
  11. package/docs/ide-info/opencode.md +1 -1
  12. package/docs/index.md +3 -1
  13. package/docs/installers-bundlers/ide-injections.md +2 -2
  14. package/docs/installers-bundlers/installers-modules-platforms-reference.md +23 -23
  15. package/docs/v4-to-v6-upgrade.md +12 -12
  16. package/docs/web-bundles-gemini-gpt-guide.md +473 -0
  17. package/package.json +1 -1
  18. package/src/core/_module-installer/install-config.yaml +2 -1
  19. package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  20. package/src/core/tasks/{adv-elicit.xml → advanced-elicitation.xml} +3 -3
  21. package/src/core/tasks/workflow.xml +124 -10
  22. package/src/core/tools/shard-doc.xml +44 -0
  23. package/src/core/workflows/brainstorming/README.md +5 -15
  24. package/src/core/workflows/brainstorming/instructions.md +4 -3
  25. package/src/core/workflows/brainstorming/template.md +4 -0
  26. package/src/modules/bmb/workflows/audit-workflow/checklist.md +3 -4
  27. package/src/modules/bmb/workflows/convert-legacy/README.md +1 -1
  28. package/src/modules/bmb/workflows/convert-legacy/checklist.md +1 -1
  29. package/src/modules/bmb/workflows/convert-legacy/instructions.md +2 -2
  30. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +0 -4
  31. package/src/modules/bmb/workflows/create-agent/instructions.md +13 -16
  32. package/src/modules/bmb/workflows/create-module/checklist.md +0 -9
  33. package/src/modules/bmb/workflows/create-module/instructions.md +5 -10
  34. package/src/modules/bmb/workflows/create-module/module-structure.md +3 -3
  35. package/src/modules/bmb/workflows/create-workflow/instructions.md +1 -1
  36. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -2
  37. package/src/modules/bmb/workflows/module-brief/checklist.md +2 -2
  38. package/src/modules/bmgd/_module-installer/install-config.yaml +4 -17
  39. package/src/modules/bmgd/agents/game-architect.agent.yaml +2 -2
  40. package/src/modules/bmgd/agents/game-designer.agent.yaml +2 -2
  41. package/src/modules/bmgd/agents/game-dev.agent.yaml +2 -2
  42. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +2 -2
  43. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +1 -6
  44. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +0 -5
  45. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +0 -26
  46. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +2 -6
  47. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +1 -6
  48. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +21 -43
  49. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +11 -21
  50. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +5 -0
  51. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +29 -22
  52. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +18 -45
  53. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +14 -22
  54. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +6 -1
  55. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +28 -3
  56. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +8 -33
  57. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +14 -22
  58. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +16 -34
  59. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +13 -34
  60. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +9 -13
  61. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +1 -1
  62. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +6 -5
  63. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +18 -43
  64. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +13 -15
  65. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +3 -2
  66. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +5 -5
  67. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +3 -5
  68. package/src/modules/bmm/_module-installer/install-config.yaml +3 -8
  69. package/src/modules/bmm/_module-installer/installer.js +2 -2
  70. package/src/modules/bmm/agents/analyst.agent.yaml +2 -2
  71. package/src/modules/bmm/agents/architect.agent.yaml +2 -2
  72. package/src/modules/bmm/agents/pm.agent.yaml +2 -2
  73. package/src/modules/bmm/agents/sm.agent.yaml +2 -2
  74. package/src/modules/bmm/agents/tea.agent.yaml +2 -2
  75. package/src/modules/bmm/agents/tech-writer.agent.yaml +3 -3
  76. package/src/modules/bmm/agents/ux-designer.agent.yaml +2 -2
  77. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -13
  78. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +9 -11
  79. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +4 -0
  80. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +2 -2
  81. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +2 -2
  82. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +2 -2
  83. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -2
  84. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +1 -6
  85. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -5
  86. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +6 -1
  87. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +6 -0
  88. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +8 -12
  89. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +28 -0
  90. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +145 -22
  91. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +1 -3
  92. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +151 -34
  93. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +2 -2
  94. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +6 -2
  95. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +12 -9
  96. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -6
  97. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +434 -0
  98. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +128 -265
  99. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +13 -35
  100. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -26
  101. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +3 -7
  102. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +29 -37
  103. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +9 -27
  104. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +7 -13
  105. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +55 -58
  106. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +8 -8
  107. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +10 -32
  108. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +11 -13
  109. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +5 -0
  110. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +29 -22
  111. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +12 -37
  112. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +12 -7
  113. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +6 -1
  114. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +28 -3
  115. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +7 -30
  116. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +13 -9
  117. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +8 -26
  118. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +13 -31
  119. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +5 -0
  120. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +1 -1
  121. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +6 -6
  122. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +12 -36
  123. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +12 -6
  124. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +3 -2
  125. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +5 -5
  126. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +3 -5
  127. package/src/modules/bmm/workflows/document-project/checklist.md +1 -1
  128. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +4 -4
  129. package/src/modules/bmm/workflows/document-project/workflows/full-scan-instructions.md +13 -13
  130. package/src/modules/bmm/workflows/testarch/ci/checklist.md +4 -4
  131. package/src/modules/bmm/workflows/testarch/framework/checklist.md +4 -4
  132. package/src/modules/bmm/workflows/testarch/test-design/checklist.md +4 -4
  133. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +173 -12
  134. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +3 -3
  135. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +5 -1
  136. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +9 -9
  137. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +1 -1
  138. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +9 -16
  139. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +11 -18
  140. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +8 -1
  141. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +9 -2
  142. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +2 -9
  143. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +2 -2
  144. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -2
  145. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -2
  146. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -2
  147. package/src/modules/cis/agents/storyteller.agent.yaml +2 -2
  148. package/tools/cli/README.md +50 -32
  149. package/tools/cli/bundlers/web-bundler.js +1 -1
  150. package/tools/cli/installers/lib/core/installer.js +17 -10
  151. package/tools/cli/lib/ui.js +14 -4
  152. package/tools/cli/lib/yaml-xml-builder.js +20 -2
  153. package/.bmad/_cfg/agent-manifest.csv +0 -11
  154. package/.bmad/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -42
  155. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +0 -42
  156. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +0 -42
  157. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +0 -42
  158. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +0 -42
  159. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +0 -42
  160. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +0 -42
  161. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +0 -42
  162. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +0 -42
  163. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  164. package/.bmad/_cfg/files-manifest.csv +0 -289
  165. package/.bmad/_cfg/ides/claude-code.yaml +0 -7
  166. package/.bmad/_cfg/manifest.yaml +0 -10
  167. package/.bmad/_cfg/task-manifest.csv +0 -6
  168. package/.bmad/_cfg/tool-manifest.csv +0 -2
  169. package/.bmad/_cfg/workflow-manifest.csv +0 -44
  170. package/.bmad/bmb/README.md +0 -194
  171. package/.bmad/bmb/agents/bmad-builder.md +0 -70
  172. package/.bmad/bmb/config.yaml +0 -16
  173. package/.bmad/bmb/workflows/audit-workflow/checklist.md +0 -143
  174. package/.bmad/bmb/workflows/audit-workflow/instructions.md +0 -341
  175. package/.bmad/bmb/workflows/audit-workflow/template.md +0 -118
  176. package/.bmad/bmb/workflows/audit-workflow/workflow.yaml +0 -23
  177. package/.bmad/bmb/workflows/convert-legacy/README.md +0 -262
  178. package/.bmad/bmb/workflows/convert-legacy/checklist.md +0 -205
  179. package/.bmad/bmb/workflows/convert-legacy/instructions.md +0 -377
  180. package/.bmad/bmb/workflows/convert-legacy/workflow.yaml +0 -32
  181. package/.bmad/bmb/workflows/create-agent/README.md +0 -203
  182. package/.bmad/bmb/workflows/create-agent/agent-architecture.md +0 -419
  183. package/.bmad/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
  184. package/.bmad/bmb/workflows/create-agent/agent-types.md +0 -292
  185. package/.bmad/bmb/workflows/create-agent/brainstorm-context.md +0 -174
  186. package/.bmad/bmb/workflows/create-agent/checklist.md +0 -62
  187. package/.bmad/bmb/workflows/create-agent/communication-styles.md +0 -202
  188. package/.bmad/bmb/workflows/create-agent/instructions.md +0 -459
  189. package/.bmad/bmb/workflows/create-agent/workflow.yaml +0 -37
  190. package/.bmad/bmb/workflows/create-module/README.md +0 -229
  191. package/.bmad/bmb/workflows/create-module/brainstorm-context.md +0 -137
  192. package/.bmad/bmb/workflows/create-module/checklist.md +0 -244
  193. package/.bmad/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
  194. package/.bmad/bmb/workflows/create-module/installer-templates/installer.js +0 -231
  195. package/.bmad/bmb/workflows/create-module/instructions.md +0 -581
  196. package/.bmad/bmb/workflows/create-module/module-structure.md +0 -400
  197. package/.bmad/bmb/workflows/create-module/workflow.yaml +0 -42
  198. package/.bmad/bmb/workflows/create-workflow/README.md +0 -277
  199. package/.bmad/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  200. package/.bmad/bmb/workflows/create-workflow/checklist.md +0 -94
  201. package/.bmad/bmb/workflows/create-workflow/instructions.md +0 -724
  202. package/.bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1308
  203. package/.bmad/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  204. package/.bmad/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
  205. package/.bmad/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  206. package/.bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -39
  207. package/.bmad/bmb/workflows/create-workflow/workflow.yaml +0 -40
  208. package/.bmad/bmb/workflows/edit-agent/README.md +0 -112
  209. package/.bmad/bmb/workflows/edit-agent/checklist.md +0 -112
  210. package/.bmad/bmb/workflows/edit-agent/instructions.md +0 -290
  211. package/.bmad/bmb/workflows/edit-agent/workflow.yaml +0 -33
  212. package/.bmad/bmb/workflows/edit-module/README.md +0 -187
  213. package/.bmad/bmb/workflows/edit-module/checklist.md +0 -165
  214. package/.bmad/bmb/workflows/edit-module/instructions.md +0 -339
  215. package/.bmad/bmb/workflows/edit-module/workflow.yaml +0 -34
  216. package/.bmad/bmb/workflows/edit-workflow/README.md +0 -119
  217. package/.bmad/bmb/workflows/edit-workflow/checklist.md +0 -70
  218. package/.bmad/bmb/workflows/edit-workflow/instructions.md +0 -342
  219. package/.bmad/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  220. package/.bmad/bmb/workflows/module-brief/README.md +0 -264
  221. package/.bmad/bmb/workflows/module-brief/checklist.md +0 -116
  222. package/.bmad/bmb/workflows/module-brief/instructions.md +0 -267
  223. package/.bmad/bmb/workflows/module-brief/template.md +0 -275
  224. package/.bmad/bmb/workflows/module-brief/workflow.yaml +0 -29
  225. package/.bmad/bmb/workflows/redoc/README.md +0 -87
  226. package/.bmad/bmb/workflows/redoc/checklist.md +0 -99
  227. package/.bmad/bmb/workflows/redoc/instructions.md +0 -265
  228. package/.bmad/bmb/workflows/redoc/workflow.yaml +0 -32
  229. package/.bmad/bmm/README.md +0 -128
  230. package/.bmad/bmm/agents/analyst.md +0 -75
  231. package/.bmad/bmm/agents/architect.md +0 -80
  232. package/.bmad/bmm/agents/dev.md +0 -69
  233. package/.bmad/bmm/agents/pm.md +0 -84
  234. package/.bmad/bmm/agents/sm.md +0 -93
  235. package/.bmad/bmm/agents/tea.md +0 -80
  236. package/.bmad/bmm/agents/tech-writer.md +0 -90
  237. package/.bmad/bmm/agents/ux-designer.md +0 -79
  238. package/.bmad/bmm/config.yaml +0 -18
  239. package/.bmad/bmm/docs/README.md +0 -235
  240. package/.bmad/bmm/docs/agents-guide.md +0 -1056
  241. package/.bmad/bmm/docs/brownfield-guide.md +0 -754
  242. package/.bmad/bmm/docs/enterprise-agentic-development.md +0 -680
  243. package/.bmad/bmm/docs/faq.md +0 -587
  244. package/.bmad/bmm/docs/glossary.md +0 -320
  245. package/.bmad/bmm/docs/party-mode.md +0 -224
  246. package/.bmad/bmm/docs/quick-spec-flow.md +0 -652
  247. package/.bmad/bmm/docs/quick-start.md +0 -366
  248. package/.bmad/bmm/docs/scale-adaptive-system.md +0 -599
  249. package/.bmad/bmm/docs/test-architecture.md +0 -394
  250. package/.bmad/bmm/docs/workflow-architecture-reference.md +0 -371
  251. package/.bmad/bmm/docs/workflow-document-project-reference.md +0 -487
  252. package/.bmad/bmm/docs/workflows-analysis.md +0 -370
  253. package/.bmad/bmm/docs/workflows-implementation.md +0 -284
  254. package/.bmad/bmm/docs/workflows-planning.md +0 -601
  255. package/.bmad/bmm/docs/workflows-solutioning.md +0 -501
  256. package/.bmad/bmm/tasks/daily-standup.xml +0 -85
  257. package/.bmad/bmm/teams/default-party.csv +0 -19
  258. package/.bmad/bmm/teams/team-fullstack.yaml +0 -12
  259. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +0 -675
  260. package/.bmad/bmm/testarch/knowledge/component-tdd.md +0 -486
  261. package/.bmad/bmm/testarch/knowledge/contract-testing.md +0 -957
  262. package/.bmad/bmm/testarch/knowledge/data-factories.md +0 -500
  263. package/.bmad/bmm/testarch/knowledge/email-auth.md +0 -721
  264. package/.bmad/bmm/testarch/knowledge/error-handling.md +0 -725
  265. package/.bmad/bmm/testarch/knowledge/feature-flags.md +0 -750
  266. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +0 -401
  267. package/.bmad/bmm/testarch/knowledge/network-first.md +0 -486
  268. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +0 -670
  269. package/.bmad/bmm/testarch/knowledge/playwright-config.md +0 -730
  270. package/.bmad/bmm/testarch/knowledge/probability-impact.md +0 -601
  271. package/.bmad/bmm/testarch/knowledge/risk-governance.md +0 -615
  272. package/.bmad/bmm/testarch/knowledge/selective-testing.md +0 -732
  273. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +0 -527
  274. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +0 -644
  275. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +0 -473
  276. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +0 -373
  277. package/.bmad/bmm/testarch/knowledge/test-quality.md +0 -664
  278. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +0 -372
  279. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +0 -524
  280. package/.bmad/bmm/testarch/tea-index.csv +0 -22
  281. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -110
  282. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  283. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -26
  284. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +0 -423
  285. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  286. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -40
  287. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  288. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  289. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  290. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -45
  291. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  292. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  293. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +0 -299
  294. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  295. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -439
  296. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +0 -679
  297. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +0 -133
  298. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +0 -538
  299. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  300. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +0 -347
  301. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  302. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +0 -44
  303. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  304. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1301
  305. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -145
  306. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -60
  307. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -350
  308. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +0 -52
  309. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +0 -169
  310. package/.bmad/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +0 -45
  311. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +0 -13
  312. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -408
  313. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +0 -237
  314. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +0 -11
  315. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -46
  316. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -214
  317. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -80
  318. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  319. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  320. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -1115
  321. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  322. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  323. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  324. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -347
  325. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  326. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +0 -244
  327. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  328. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +0 -704
  329. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  330. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -68
  331. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +0 -175
  332. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +0 -305
  333. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/template.md +0 -146
  334. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  335. package/.bmad/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +0 -64
  336. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  337. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  338. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +0 -420
  339. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -65
  340. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -279
  341. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -201
  342. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -43
  343. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -240
  344. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +0 -283
  345. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +0 -51
  346. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -74
  347. package/.bmad/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
  348. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -38
  349. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +0 -262
  350. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -26
  351. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  352. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -189
  353. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  354. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
  355. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1460
  356. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -71
  357. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  358. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -238
  359. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  360. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  361. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  362. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  363. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +0 -234
  364. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -57
  365. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  366. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -25
  367. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  368. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
  369. package/.bmad/bmm/workflows/document-project/checklist.md +0 -245
  370. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  371. package/.bmad/bmm/workflows/document-project/instructions.md +0 -222
  372. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  373. package/.bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  374. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  375. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  376. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  377. package/.bmad/bmm/workflows/document-project/workflow.yaml +0 -34
  378. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  379. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  380. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  381. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  382. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +0 -262
  383. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +0 -363
  384. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +0 -373
  385. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +0 -785
  386. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +0 -52
  387. package/.bmad/bmm/workflows/testarch/automate/checklist.md +0 -580
  388. package/.bmad/bmm/workflows/testarch/automate/instructions.md +0 -1303
  389. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +0 -61
  390. package/.bmad/bmm/workflows/testarch/ci/checklist.md +0 -246
  391. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +0 -165
  392. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +0 -128
  393. package/.bmad/bmm/workflows/testarch/ci/instructions.md +0 -517
  394. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +0 -53
  395. package/.bmad/bmm/workflows/testarch/framework/checklist.md +0 -321
  396. package/.bmad/bmm/workflows/testarch/framework/instructions.md +0 -455
  397. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +0 -53
  398. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +0 -405
  399. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +0 -722
  400. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +0 -443
  401. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +0 -56
  402. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +0 -234
  403. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +0 -621
  404. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +0 -285
  405. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +0 -52
  406. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +0 -470
  407. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +0 -608
  408. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +0 -388
  409. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +0 -53
  410. package/.bmad/bmm/workflows/testarch/trace/checklist.md +0 -654
  411. package/.bmad/bmm/workflows/testarch/trace/instructions.md +0 -1045
  412. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +0 -673
  413. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +0 -66
  414. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +0 -822
  415. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +0 -27
  416. package/.bmad/bmm/workflows/workflow-status/instructions.md +0 -387
  417. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +0 -127
  418. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +0 -115
  419. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +0 -52
  420. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +0 -97
  421. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +0 -88
  422. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  423. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  424. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +0 -59
  425. package/.bmad/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  426. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +0 -31
  427. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +0 -28
  428. package/.bmad/core/agents/bmad-master.md +0 -71
  429. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -113
  430. package/.bmad/core/config.yaml +0 -11
  431. package/.bmad/core/tasks/adv-elicit-methods.csv +0 -39
  432. package/.bmad/core/tasks/adv-elicit.xml +0 -106
  433. package/.bmad/core/tasks/index-docs.xml +0 -65
  434. package/.bmad/core/tasks/validate-workflow.xml +0 -89
  435. package/.bmad/core/tasks/workflow.xml +0 -156
  436. package/.bmad/core/tools/shard-doc.xml +0 -65
  437. package/.bmad/core/workflows/brainstorming/README.md +0 -271
  438. package/.bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  439. package/.bmad/core/workflows/brainstorming/instructions.md +0 -314
  440. package/.bmad/core/workflows/brainstorming/template.md +0 -102
  441. package/.bmad/core/workflows/brainstorming/workflow.yaml +0 -43
  442. package/.bmad/core/workflows/party-mode/instructions.md +0 -183
  443. package/.bmad/core/workflows/party-mode/workflow.yaml +0 -27
  444. package/.bmad/docs/claude-code-instructions.md +0 -25
  445. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +0 -70
  446. package/.claude/commands/bmad/bmb/workflows/audit-workflow.md +0 -15
  447. package/.claude/commands/bmad/bmb/workflows/convert-legacy.md +0 -15
  448. package/.claude/commands/bmad/bmb/workflows/create-agent.md +0 -15
  449. package/.claude/commands/bmad/bmb/workflows/create-module.md +0 -15
  450. package/.claude/commands/bmad/bmb/workflows/create-workflow.md +0 -15
  451. package/.claude/commands/bmad/bmb/workflows/edit-agent.md +0 -15
  452. package/.claude/commands/bmad/bmb/workflows/edit-module.md +0 -15
  453. package/.claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -15
  454. package/.claude/commands/bmad/bmb/workflows/module-brief.md +0 -15
  455. package/.claude/commands/bmad/bmb/workflows/redoc.md +0 -15
  456. package/.claude/commands/bmad/bmm/agents/analyst.md +0 -75
  457. package/.claude/commands/bmad/bmm/agents/architect.md +0 -80
  458. package/.claude/commands/bmad/bmm/agents/dev.md +0 -69
  459. package/.claude/commands/bmad/bmm/agents/pm.md +0 -84
  460. package/.claude/commands/bmad/bmm/agents/sm.md +0 -93
  461. package/.claude/commands/bmad/bmm/agents/tea.md +0 -80
  462. package/.claude/commands/bmad/bmm/agents/tech-writer.md +0 -90
  463. package/.claude/commands/bmad/bmm/agents/ux-designer.md +0 -79
  464. package/.claude/commands/bmad/bmm/workflows/architecture.md +0 -15
  465. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +0 -15
  466. package/.claude/commands/bmad/bmm/workflows/code-review.md +0 -15
  467. package/.claude/commands/bmad/bmm/workflows/correct-course.md +0 -15
  468. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +0 -15
  469. package/.claude/commands/bmad/bmm/workflows/create-story.md +0 -15
  470. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +0 -15
  471. package/.claude/commands/bmad/bmm/workflows/dev-story.md +0 -15
  472. package/.claude/commands/bmad/bmm/workflows/document-project.md +0 -15
  473. package/.claude/commands/bmad/bmm/workflows/domain-research.md +0 -15
  474. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +0 -15
  475. package/.claude/commands/bmad/bmm/workflows/prd.md +0 -15
  476. package/.claude/commands/bmad/bmm/workflows/product-brief.md +0 -15
  477. package/.claude/commands/bmad/bmm/workflows/research.md +0 -15
  478. package/.claude/commands/bmad/bmm/workflows/retrospective.md +0 -15
  479. package/.claude/commands/bmad/bmm/workflows/solutioning-gate-check.md +0 -15
  480. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +0 -15
  481. package/.claude/commands/bmad/bmm/workflows/story-context.md +0 -15
  482. package/.claude/commands/bmad/bmm/workflows/story-done.md +0 -15
  483. package/.claude/commands/bmad/bmm/workflows/story-ready.md +0 -15
  484. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +0 -15
  485. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +0 -15
  486. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +0 -15
  487. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -71
  488. package/.claude/commands/bmad/core/tasks/adv-elicit.md +0 -9
  489. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  490. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  491. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -15
  492. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -15
  493. package/.claude/settings.local.json +0 -16
  494. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +0 -367
  495. package/src/modules/bmm/sub-modules/claude-code/README.md +0 -87
  496. package/src/modules/bmm/sub-modules/claude-code/config.yaml +0 -5
  497. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +0 -242
  498. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +0 -102
  499. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +0 -82
  500. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +0 -101
  501. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +0 -84
  502. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +0 -83
  503. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +0 -81
  504. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +0 -61
  505. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +0 -168
  506. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +0 -115
  507. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +0 -123
  508. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +0 -72
  509. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +0 -51
  510. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +0 -106
  511. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +0 -102
  512. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +0 -68
  513. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +0 -108
  514. package/src/modules/bmm/tasks/daily-standup.xml +0 -85
  515. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  516. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  517. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  518. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
  519. package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  520. package/web-bundles/bmgd/agents/game-architect.xml +0 -664
  521. package/web-bundles/bmgd/agents/game-designer.xml +0 -5489
  522. package/web-bundles/bmgd/agents/game-dev.xml +0 -595
  523. package/web-bundles/bmgd/agents/game-scrum-master.xml +0 -699
  524. package/web-bundles/bmgd/teams/team-gamedev.xml +0 -6588
  525. package/web-bundles/bmm/agents/analyst.xml +0 -5263
  526. package/web-bundles/bmm/agents/architect.xml +0 -2378
  527. package/web-bundles/bmm/agents/dev.xml +0 -248
  528. package/web-bundles/bmm/agents/pm.xml +0 -4137
  529. package/web-bundles/bmm/agents/sm.xml +0 -708
  530. package/web-bundles/bmm/agents/tea.xml +0 -759
  531. package/web-bundles/bmm/agents/tech-writer.xml +0 -624
  532. package/web-bundles/bmm/agents/ux-designer.xml +0 -2492
  533. package/web-bundles/bmm/teams/team-fullstack.xml +0 -12369
  534. package/web-bundles/cis/agents/brainstorming-coach.xml +0 -1069
  535. package/web-bundles/cis/agents/creative-problem-solver.xml +0 -1060
  536. package/web-bundles/cis/agents/design-thinking-coach.xml +0 -955
  537. package/web-bundles/cis/agents/innovation-strategist.xml +0 -1108
  538. package/web-bundles/cis/agents/storyteller.xml +0 -598
  539. package/web-bundles/cis/teams/creative-squad.xml +0 -3449
@@ -1,724 +0,0 @@
1
- # Build Workflow - Workflow Builder Instructions
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {project-root}/.bmad/bmb/workflows/create-workflow/workflow.yaml</critical>
5
- <critical>You MUST fully understand the workflow creation guide at: {workflow_creation_guide}</critical>
6
- <critical>Study the guide thoroughly to follow ALL conventions for optimal human-AI collaboration</critical>
7
- <critical>Communicate in {communication_language} throughout the workflow creation process</critical>
8
-
9
- <workflow>
10
-
11
- <step n="-1" goal="Optional brainstorming phase" optional="true">
12
- <ask>Do you want to brainstorm workflow ideas first? [y/n]</ask>
13
-
14
- <action if="user_response == 'y' or user_response == 'yes'">
15
- Invoke brainstorming workflow to explore ideas and design concepts:
16
- - Workflow: {project-root}/.bmad/core/workflows/brainstorming/workflow.yaml
17
- - Context data: {installed_path}/brainstorm-context.md
18
- - Purpose: Generate creative workflow ideas, explore different approaches, and clarify requirements
19
-
20
- The brainstorming output will inform:
21
-
22
- - Workflow purpose and goals
23
- - Workflow type selection
24
- - Step design and structure
25
- - User experience considerations
26
- - Technical requirements
27
- </action>
28
-
29
- <action if="user_response == 'n' or user_response == 'no'">
30
- Skip brainstorming and proceed directly to workflow building process.
31
- </action>
32
- </step>
33
-
34
- <step n="0" goal="Load and understand workflow conventions">
35
- <action>Load the complete workflow creation guide from: {workflow_creation_guide}</action>
36
- <action>Study all sections thoroughly including:
37
- - Core concepts (tasks vs workflows, workflow types)
38
- - Workflow structure (required/optional files, patterns)
39
- - Writing instructions (step attributes, XML tags, flow control)
40
- - Templates and variables (syntax, naming, sources)
41
- - Validation best practices
42
- - Common pitfalls to avoid
43
- </action>
44
- <action>Load template files from: {workflow_template_path}/</action>
45
- <critical>You must follow ALL conventions from the guide to ensure optimal human-AI collaboration</critical>
46
- </step>
47
-
48
- <step n="1" goal="Define workflow purpose and type">
49
- Ask the user:
50
- - What is the workflow name? (kebab-case, e.g., "product-brief")
51
- - What module will it belong to? (e.g., "bmm", "bmb", "cis")
52
- - Store as {{target_module}} for output path determination
53
- - What is the workflow's main purpose?
54
- - What type of workflow is this?
55
- - Document workflow (generates documents like PRDs, specs)
56
- - Action workflow (performs actions like refactoring)
57
- - Interactive workflow (guided sessions)
58
- - Autonomous workflow (runs without user input)
59
- - Meta-workflow (coordinates other workflows)
60
-
61
- Based on type, determine which files are needed:
62
-
63
- - Document: workflow.yaml + template.md + instructions.md + checklist.md
64
- - Action: workflow.yaml + instructions.md
65
- - Others: Varies based on requirements
66
-
67
- <critical>Determine output location based on module assignment:</critical>
68
-
69
- - If workflow belongs to module: Save to {module_output_folder}
70
- - If standalone workflow: Save to {standalone_output_folder}
71
-
72
- Store decisions for later use.
73
- </step>
74
-
75
- <step n="2" goal="Gather workflow metadata and invocation settings">
76
- Collect essential configuration details:
77
- - Description (clear purpose statement)
78
- - Author name (default to user_name or "BMad")
79
- - Output file naming pattern
80
- - Any required input documents
81
- - Any required tools or dependencies
82
-
83
- <action>Determine standalone property - this controls how the workflow can be invoked:
84
-
85
- Explain to the user:
86
-
87
- **Standalone Property** controls whether the workflow can be invoked directly or only called by other workflows/agents.
88
-
89
- **standalone: true (DEFAULT - Recommended for most workflows)**:
90
-
91
- - Users can invoke directly via IDE commands or `/workflow-name`
92
- - Shows up in IDE command palette
93
- - Can also be called from agent menus or other workflows
94
- - Use for: User-facing workflows, entry-point workflows, any workflow users run directly
95
-
96
- **standalone: false (Use for helper/internal workflows)**:
97
-
98
- - Cannot be invoked directly by users
99
- - Only called via `<invoke-workflow>` from other workflows or agent menus
100
- - Doesn't appear in IDE command palette
101
- - Use for: Internal utilities, sub-workflows, helpers that don't make sense standalone
102
-
103
- Most workflows should be `standalone: true` to give users direct access.
104
- </action>
105
-
106
- <ask>Should this workflow be directly invokable by users?
107
-
108
- 1. **Yes (Recommended)** - Users can run it directly (standalone: true)
109
- 2. **No** - Only called by other workflows/agents (standalone: false)
110
-
111
- Most workflows choose option 1:
112
- </ask>
113
-
114
- <action>Store {{standalone_setting}} as true or false based on response</action>
115
-
116
- Create the workflow name in kebab-case and verify it doesn't conflict with existing workflows.
117
- </step>
118
-
119
- <step n="3" goal="Understand workflow interaction style and design steps">
120
- <critical>Instruction style and interactivity level fundamentally shape the user experience - choose thoughtfully</critical>
121
-
122
- <action>Reference the comprehensive "Instruction Styles: Intent-Based vs Prescriptive" section from the loaded creation guide</action>
123
-
124
- <action>Discuss instruction style collaboratively with the user:
125
-
126
- Explain that there are two primary approaches:
127
-
128
- **Intent-Based (RECOMMENDED as default)**:
129
-
130
- - Gives AI goals and principles, lets it adapt conversation naturally
131
- - More flexible, conversational, responsive to user context
132
- - Better for: discovery, complex decisions, teaching, varied user skill levels
133
- - Uses <action> tags with guiding instructions
134
- - Example from architecture workflow: Facilitates decisions adapting to user_skill_level
135
-
136
- **Prescriptive**:
137
-
138
- - Provides exact questions and specific options
139
- - More controlled, predictable, consistent across runs
140
- - Better for: simple data collection, finite options, compliance, quick setup
141
- - Uses <ask> tags with specific question text
142
- - Example: Platform selection with 5 defined choices
143
-
144
- Explain that **most workflows should default to intent-based** but use prescriptive for simple data points.
145
- The architecture workflow is an excellent example of intent-based with prescriptive moments.
146
- </action>
147
-
148
- <ask>For this workflow's PRIMARY style:
149
-
150
- 1. **Intent-based (Recommended)** - Adaptive, conversational, responds to user context
151
- 2. **Prescriptive** - Structured, consistent, controlled interactions
152
- 3. **Mixed/Balanced** - I'll help you decide step-by-step
153
-
154
- What feels right for your workflow's purpose?
155
- </ask>
156
-
157
- <action>Store {{instruction_style}} preference</action>
158
-
159
- <action>Now discuss interactivity level:
160
-
161
- Beyond style, consider **how interactive** this workflow should be:
162
-
163
- **High Interactivity (Collaborative)**:
164
-
165
- - Constant back-and-forth with user
166
- - User guides direction, AI facilitates
167
- - Iterative refinement and review
168
- - Best for: creative work, complex decisions, learning experiences
169
- - Example: Architecture workflow's collaborative decision-making
170
-
171
- **Medium Interactivity (Guided)**:
172
-
173
- - Key decision points have interaction
174
- - AI proposes, user confirms or refines
175
- - Validation checkpoints
176
- - Best for: most document workflows, structured processes
177
- - Example: PRD workflow with sections to review
178
-
179
- **Low Interactivity (Autonomous)**:
180
-
181
- - Minimal user input required
182
- - AI works independently with guidelines
183
- - User reviews final output
184
- - Best for: automated generation, batch processing
185
- - Example: Generating user stories from epics
186
- </action>
187
-
188
- <ask>What interactivity level suits this workflow?
189
-
190
- 1. **High** - Highly collaborative, user actively involved throughout (Recommended)
191
- 2. **Medium** - Guided with key decision points
192
- 3. **Low** - Mostly autonomous with final review
193
-
194
- Select the level that matches your workflow's purpose:
195
- </ask>
196
-
197
- <action>Store {{interactivity_level}} preference</action>
198
-
199
- <action>Explain how these choices will inform the workflow design:
200
-
201
- - Intent-based + High interactivity: Conversational discovery with open questions
202
- - Intent-based + Medium: Facilitated guidance with confirmation points
203
- - Intent-based + Low: Principle-based autonomous generation
204
- - Prescriptive + any level: Structured questions, but frequency varies
205
- - Mixed: Strategic use of both styles where each works best
206
- </action>
207
-
208
- <action>Now work with user to outline workflow steps:
209
-
210
- - How many major steps? (Recommend 3-7 for most workflows)
211
- - What is the goal of each step?
212
- - Which steps are optional?
213
- - Which steps need heavy user collaboration vs autonomous execution?
214
- - Which steps should repeat?
215
- - What variables/outputs does each step produce?
216
-
217
- Consider their instruction_style and interactivity_level choices when designing step flow:
218
-
219
- - High interactivity: More granular steps with collaboration
220
- - Low interactivity: Larger autonomous steps with review
221
- - Intent-based: Focus on goals and principles in step descriptions
222
- - Prescriptive: Define specific questions and options
223
- </action>
224
-
225
- <action>Create a step outline that matches the chosen style and interactivity level</action>
226
- <action>Note which steps should be intent-based vs prescriptive (if mixed approach)</action>
227
-
228
- <template-output>step_outline</template-output>
229
- </step>
230
-
231
- <step n="4" goal="Create workflow.yaml">
232
- Load and use the template at: {template_workflow_yaml}
233
-
234
- Replace all placeholders following the workflow creation guide conventions:
235
-
236
- - {TITLE} → Proper case workflow name
237
- - {WORKFLOW_CODE} → kebab-case name
238
- - {WORKFLOW_DESCRIPTION} → Clear description
239
- - {module-code} → Target module
240
- - {file.md} → Output filename pattern
241
-
242
- Include:
243
-
244
- - All metadata from steps 1-2
245
- - **Standalone property**: Use {{standalone_setting}} from step 2 (true or false)
246
- - Proper paths for installed_path using variable substitution
247
- - Template/instructions/validation paths based on workflow type:
248
- - Document workflow: all files (template, instructions, validation)
249
- - Action workflow: instructions only (template: false)
250
- - Autonomous: set autonomous: true flag
251
- - Required tools if any
252
- - Recommended inputs if any
253
-
254
- <critical>ALWAYS include the standard config block:</critical>
255
-
256
- ```yaml
257
- # Critical variables from config
258
- config_source: '{project-root}/.bmad/{{target_module}}/config.yaml'
259
- output_folder: '{config_source}:output_folder'
260
- user_name: '{config_source}:user_name'
261
- communication_language: '{config_source}:communication_language'
262
- date: system-generated
263
- ```
264
-
265
- <critical>This standard config ensures workflows can run autonomously and communicate properly with users</critical>
266
-
267
- <critical>ALWAYS include the standalone property:</critical>
268
-
269
- ```yaml
270
- standalone: { { standalone_setting } } # true or false from step 2
271
- ```
272
-
273
- **Example complete workflow.yaml structure**:
274
-
275
- ```yaml
276
- name: 'workflow-name'
277
- description: 'Clear purpose statement'
278
-
279
- # Paths
280
- installed_path: '{project-root}/.bmad/module/workflows/name'
281
- template: '{installed_path}/template.md'
282
- instructions: '{installed_path}/instructions.md'
283
- validation: '{installed_path}/checklist.md'
284
-
285
- # Critical variables from config
286
- config_source: '{project-root}/.bmad/module/config.yaml'
287
- output_folder: '{config_source}:output_folder'
288
- user_name: '{config_source}:user_name'
289
- communication_language: '{config_source}:communication_language'
290
- date: system-generated
291
-
292
- # Output
293
- default_output_file: '{output_folder}/document.md'
294
-
295
- # Invocation control
296
- standalone: true # or false based on step 2 decision
297
- ```
298
-
299
- Follow path conventions from guide:
300
-
301
- - Use {project-root} for absolute paths
302
- - Use {installed_path} for workflow components
303
- - Use {config_source} for config references
304
-
305
- <critical>Determine save location:</critical>
306
-
307
- - Use the output folder determined in Step 1 (module or standalone)
308
- - Write to {{output_folder}}/workflow.yaml
309
- </step>
310
-
311
- <step n="5" goal="Create instructions.md" if="workflow_type != 'template-only'">
312
- Load and use the template at: {template_instructions}
313
-
314
- Generate the instructions.md file following the workflow creation guide:
315
-
316
- 1. ALWAYS include critical headers:
317
- - Workflow engine reference: {project-root}/.bmad/core/tasks/workflow.xml
318
- - workflow.yaml reference: must be loaded and processed
319
-
320
- 2. Structure with <workflow> tags containing all steps
321
-
322
- 3. For each step from design phase, follow guide conventions:
323
- - Step attributes: n="X" goal="clear goal statement"
324
- - Optional steps: optional="true"
325
- - Repeating: repeat="3" or repeat="for-each-X" or repeat="until-approved"
326
- - Conditional: if="condition"
327
- - Sub-steps: Use 3a, 3b notation
328
-
329
- 4. Use proper XML tags from guide:
330
- - Execution: <action>, <check>, <ask>, <goto>, <invoke-workflow>
331
- - Output: <template-output>, <invoke-task halt="true">{project-root}/.bmad/core/tasks/adv-elicit.xml</invoke-task>, <critical>, <example>
332
- - Flow: <loop>, <break>, <continue>
333
-
334
- 5. Best practices from guide:
335
- - Keep steps focused (single goal)
336
- - Be specific ("Write 1-2 paragraphs" not "Write about")
337
- - Provide examples where helpful
338
- - Set limits ("3-5 items maximum")
339
- - Save checkpoints with <template-output>
340
-
341
- <critical>Standard config variable usage:</critical>
342
-
343
- Instructions MUST use the standard config variables where appropriate:
344
-
345
- - Communicate in {communication_language} throughout the workflow
346
- - Address user as {user_name} in greetings and summaries
347
- - Write all output files to {output_folder} or subdirectories
348
- - Include {date} in generated document headers
349
-
350
- Example usage in instructions:
351
-
352
- ```xml
353
- <action>Write document to {output_folder}/output-file.md</action>
354
- <critical>Communicate all responses in {communication_language}</critical>
355
- <output>Hello {user_name}, the workflow is complete!</output>
356
- ```
357
-
358
- <critical>Applying instruction style preference:</critical>
359
-
360
- Based on the {{instruction_style}} preference from Step 3, generate instructions using these patterns:
361
-
362
- **Intent-Based Instructions (Recommended for most workflows):**
363
-
364
- Focus on goals, principles, and desired outcomes. Let the LLM adapt the conversation naturally.
365
-
366
- ✅ **Good Examples:**
367
-
368
- ```xml
369
- <!-- Discovery and exploration -->
370
- <action>Guide user to define their target audience with specific demographics, psychographics, and behavioral characteristics</action>
371
- <action>Explore the user's vision for the product, asking probing questions to uncover core motivations and success criteria</action>
372
- <action>Help user identify and prioritize key features based on user value and technical feasibility</action>
373
-
374
- <!-- Validation and refinement -->
375
- <action>Validate that the technical approach aligns with project constraints and team capabilities</action>
376
- <action>Challenge assumptions about user needs and market fit with thought-provoking questions</action>
377
-
378
- <!-- Complex iterative work -->
379
- <action>Collaborate with user to refine the architecture, iterating until they're satisfied with the design</action>
380
- ```
381
-
382
- ❌ **Avoid (too prescriptive):**
383
-
384
- ```xml
385
- <ask>What is your target audience age range? Choose: 18-24, 25-34, 35-44, 45+</ask>
386
- <ask>List exactly 3 key features in priority order</ask>
387
- ```
388
-
389
- **When to use Intent-Based:**
390
-
391
- - Complex discovery processes (user research, requirements gathering)
392
- - Creative brainstorming and ideation
393
- - Iterative refinement workflows
394
- - When user input quality matters more than consistency
395
- - Workflows requiring adaptation to context
396
-
397
- **Prescriptive Instructions (Use selectively):**
398
-
399
- Provide exact wording, specific options, and controlled interactions.
400
-
401
- ✅ **Good Examples:**
402
-
403
- ```xml
404
- <!-- Simple data collection -->
405
- <ask>What is your target platform? Choose: PC, Console, Mobile, Web</ask>
406
- <ask>Select monetization model: Premium, Free-to-Play, Subscription, Ad-Supported</ask>
407
-
408
- <!-- Compliance and standards -->
409
- <ask>Does this comply with GDPR requirements? [yes/no]</ask>
410
- <ask>Choose documentation standard: JSDoc, TypeDoc, TSDoc</ask>
411
-
412
- <!-- Binary decisions -->
413
- <ask>Do you want to generate test cases? [yes/no]</ask>
414
- <ask>Include performance benchmarks? [yes/no]</ask>
415
- ```
416
-
417
- ❌ **Avoid (too rigid for complex tasks):**
418
-
419
- ```xml
420
- <ask>What are your product goals? List exactly 5 goals, each 10-15 words</ask>
421
- <ask>Describe your user persona in exactly 3 sentences</ask>
422
- ```
423
-
424
- **When to use Prescriptive:**
425
-
426
- - Simple data collection (platform, format, yes/no choices)
427
- - Compliance verification and standards adherence
428
- - Configuration with finite options
429
- - When consistency is critical across all executions
430
- - Quick setup wizards
431
-
432
- **Mixing Both Styles (Best Practice):**
433
-
434
- Even if user chose a primary style, use the other when appropriate:
435
-
436
- ```xml
437
- <!-- Intent-based workflow with prescriptive moments -->
438
- <step n="1" goal="Understand user vision">
439
- <action>Explore the user's vision for their game, uncovering their creative intent and target experience</action>
440
- <action>Ask probing questions about genre, themes, and emotional tone they want to convey</action>
441
- </step>
442
-
443
- <step n="2" goal="Capture basic metadata">
444
- <ask>What is your target platform? Choose: PC, Console, Mobile, Web</ask> <!-- Prescriptive for simple choice -->
445
- <ask>Select primary genre: Action, RPG, Strategy, Puzzle, Simulation, Other</ask>
446
- </step>
447
-
448
- <step n="3" goal="Deep dive into gameplay">
449
- <action>Guide user to articulate their core gameplay loop, exploring mechanics and player agency</action> <!-- Back to intent-based -->
450
- <action>Help them identify what makes their game unique and compelling</action>
451
- </step>
452
- ```
453
-
454
- **Guidelines for the chosen style:**
455
-
456
- If user chose **Intent-Based**:
457
-
458
- - Default to goal-oriented <action> tags
459
- - Use open-ended guidance language
460
- - Save prescriptive <ask> tags for simple data/choices
461
- - Focus on "guide", "explore", "help user", "validate"
462
- - Allow LLM to adapt questions to user responses
463
-
464
- If user chose **Prescriptive**:
465
-
466
- - Default to explicit <ask> tags with clear options
467
- - Use precise wording for consistency
468
- - Save intent-based <action> tags for complex discovery
469
- - Focus on "choose", "select", "specify", "confirm"
470
- - Provide structured choices when possible
471
-
472
- **Remember:** The goal is optimal human-AI collaboration. Use whichever style best serves the user at each step.
473
-
474
- <critical>Save location:</critical>
475
-
476
- - Write to {{output_folder}}/instructions.md
477
- </step>
478
-
479
- <step n="6" goal="Create template.md" if="workflow_type == 'document'">
480
- Load and use the template at: {template_template}
481
-
482
- Generate the template.md file following guide conventions:
483
-
484
- 1. Document structure with clear sections
485
- 2. Variable syntax: {{variable_name}} using snake_case
486
- 3. Variable names MUST match <template-output> tags exactly from instructions
487
- 4. Include standard metadata header (optional - config variables available):
488
-
489
- ```markdown
490
- # Document Title
491
-
492
- **Date:** {{date}}
493
-
494
- **Author:** {{user_name}}
495
- ```
496
-
497
- Note: {{date}} and {{user_name}} are optional in headers. Primary purpose of these variables:
498
- - {{date}} - Gives agent current date awareness (not confused with training cutoff)
499
- - {{user_name}} - Optional author attribution
500
- - {{communication_language}} - NOT for document output! Tells agent how to communicate during execution
501
-
502
- 5. Follow naming conventions from guide:
503
- - Use descriptive names: {{primary_user_journey}} not {{puj}}
504
- - Snake_case for all variables
505
- - Match instruction outputs precisely
506
-
507
- Variable sources as per guide:
508
-
509
- - workflow.yaml config values (user_name, communication_language, date, output_folder)
510
- - User input runtime values
511
- - Step outputs via <template-output>
512
- - System variables (date, paths)
513
-
514
- <critical>Standard config variables in templates:</critical>
515
-
516
- Templates CAN optionally use these config variables:
517
-
518
- - {{user_name}} - Document author (optional)
519
- - {{date}} - Generation date (optional)
520
-
521
- IMPORTANT: {{communication_language}} is NOT for document headers!
522
-
523
- - Purpose: Tells agent how to communicate with user during workflow execution
524
- - NOT for: Document output language or template headers
525
- - Future: {{document_output_language}} will handle multilingual document generation
526
-
527
- These variables are automatically available from workflow.yaml config block.
528
-
529
- <critical>Save location:</critical>
530
-
531
- - Write to {{output_folder}}/template.md
532
- </step>
533
-
534
- <step n="7" goal="Create validation checklist" optional="true">
535
- Ask if user wants a validation checklist. If yes:
536
-
537
- Load and use the template at: {template_checklist}
538
-
539
- Create checklist.md following guide best practices:
540
-
541
- 1. Make criteria MEASURABLE and SPECIFIC
542
- ❌ "- [ ] Good documentation"
543
- ✅ "- [ ] Each function has JSDoc comments with parameters and return types"
544
-
545
- 2. Group checks logically:
546
- - Structure: All sections present, no placeholders, proper formatting
547
- - Content Quality: Clear and specific, technically accurate, consistent terminology
548
- - Completeness: Ready for next phase, dependencies documented, action items defined
549
-
550
- 3. Include workflow-specific validations based on type:
551
- - Document workflows: Template variables mapped, sections complete
552
- - Action workflows: Actions clearly defined, error handling specified
553
- - Interactive: User prompts clear, decision points documented
554
-
555
- 4. Add final validation section with issue lists
556
-
557
- <critical>Save location:</critical>
558
-
559
- - Write to {{output_folder}}/checklist.md
560
- </step>
561
-
562
- <step n="8" goal="Create supporting files" optional="true">
563
- Ask if any supporting data files are needed:
564
- - CSV files with data
565
- - Example documents
566
- - Reference materials
567
-
568
- If yes, create placeholder files or copy from templates.
569
- </step>
570
-
571
- <step n="9" goal="Test and validate workflow">
572
- Review the created workflow:
573
-
574
- **Basic Validation:**
575
-
576
- 1. Verify all file paths are correct
577
- 2. Check variable names match between files
578
- 3. Ensure step numbering is sequential
579
- 4. Validate YAML syntax
580
- 5. Confirm all placeholders are replaced
581
-
582
- **Standard Config Validation:**
583
-
584
- 6. Verify workflow.yaml contains standard config block:
585
-
586
- - config_source defined
587
- - output_folder, user_name, communication_language pulled from config
588
- - date set to system-generated
589
-
590
- 7. Check instructions use config variables where appropriate
591
- 8. Verify template includes config variables in metadata (if document workflow)
592
-
593
- **YAML/Instruction/Template Alignment:**
594
-
595
- 9. Cross-check all workflow.yaml variables against instruction usage:
596
-
597
- - Are all yaml variables referenced in instructions.md OR template.md?
598
- - Are there hardcoded values that should be variables?
599
- - Do template variables match <template-output> tags in instructions?
600
-
601
- 10. Identify any unused yaml fields (bloat detection)
602
-
603
- Show user a summary of created files and their locations.
604
- Ask if they want to:
605
-
606
- - Test run the workflow
607
- - Make any adjustments
608
- - Add additional steps or features
609
- </step>
610
-
611
- <step n="9b" goal="Configure web bundle (optional)">
612
- <ask>Will this workflow need to be deployable as a web bundle? [yes/no]</ask>
613
-
614
- If yes:
615
- <action>Explain web bundle requirements:</action>
616
-
617
- - Web bundles are self-contained and cannot use config_source variables
618
- - All files must be explicitly listed in web_bundle_files
619
- - File paths use .bmad/ root (not {project-root})
620
-
621
- <action>Configure web_bundle section in workflow.yaml:</action>
622
-
623
- 1. Copy core workflow metadata (name, description, author)
624
- 2. Convert all file paths to .bmad/-relative paths:
625
- - Remove {project-root}/ prefix
626
- - Remove {config_source} references (use hardcoded values)
627
- - Example: "{project-root}/.bmad/bmm/workflows/x" → ".bmad/bmm/workflows/x"
628
-
629
- 3. List ALL referenced files by scanning:
630
-
631
- **Scan instructions.md for:**
632
- - File paths in <action> tags
633
- - Data files (CSV, JSON, YAML, etc.)
634
- - Validation/checklist files
635
- - Any <invoke-workflow> calls → must include that workflow's yaml file
636
- - Any <goto> tags that reference other workflows
637
- - Shared templates or includes
638
-
639
- **Scan template.md for:**
640
- - Any includes or references to other files
641
- - Shared template fragments
642
-
643
- **Critical: Workflow Dependencies**
644
- - If instructions call another workflow, that workflow's yaml MUST be in web_bundle_files
645
- - Example: `<invoke-workflow>{project-root}/.bmad/core/workflows/x/workflow.yaml</invoke-workflow>`
646
- → Add ".bmad/core/workflows/x/workflow.yaml" to web_bundle_files
647
-
648
- 4. Create web_bundle_files array with complete list
649
-
650
- Example:
651
-
652
- ```yaml
653
- web_bundle:
654
- name: '{workflow_name}'
655
- description: '{workflow_description}'
656
- author: '{author}'
657
- instructions: '.bmad/{module}/workflows/{workflow}/instructions.md'
658
- validation: '.bmad/{module}/workflows/{workflow}/checklist.md'
659
- template: '.bmad/{module}/workflows/{workflow}/template.md'
660
-
661
- # Any data files (no config_source)
662
- data_file: '.bmad/{module}/workflows/{workflow}/data.csv'
663
-
664
- web_bundle_files:
665
- - '.bmad/{module}/workflows/{workflow}/instructions.md'
666
- - '.bmad/{module}/workflows/{workflow}/checklist.md'
667
- - '.bmad/{module}/workflows/{workflow}/template.md'
668
- - '.bmad/{module}/workflows/{workflow}/data.csv'
669
- # Add every single file referenced anywhere
670
-
671
- # CRITICAL: If this workflow invokes other workflows, use existing_workflows
672
- # This signals the bundler to recursively include those workflows' web_bundles
673
- existing_workflows:
674
- - workflow_variable_name: '.bmad/path/to/workflow.yaml'
675
- ```
676
-
677
- **Example with existing_workflows:**
678
-
679
- ```yaml
680
- web_bundle:
681
- name: 'brainstorm-game'
682
- description: 'Game brainstorming with CIS workflow'
683
- author: 'BMad'
684
- instructions: '.bmad/bmm/workflows/brainstorm-game/instructions.md'
685
- template: false
686
- web_bundle_files:
687
- - '.bmad/bmm/workflows/brainstorm-game/instructions.md'
688
- - '.bmad/mmm/workflows/brainstorm-game/game-context.md'
689
- - '.bmad/core/workflows/brainstorming/workflow.yaml'
690
- existing_workflows:
691
- - core_brainstorming: '.bmad/core/workflows/brainstorming/workflow.yaml'
692
- ```
693
-
694
- **What existing_workflows does:**
695
-
696
- - Tells the bundler this workflow invokes another workflow
697
- - Bundler recursively includes the invoked workflow's entire web_bundle
698
- - Essential for meta-workflows that orchestrate other workflows
699
- - Maps workflow variable names to their .bmad/-relative paths
700
-
701
- <action>Validate web bundle completeness:</action>
702
-
703
- - Ensure no {config_source} variables remain
704
- - Verify all file paths are listed
705
- - Check that paths are .bmad/-relative
706
- - If workflow uses <invoke-workflow>, add to existing_workflows
707
-
708
- <template-output>web_bundle_config</template-output>
709
- </step>
710
-
711
- <step n="10" goal="Document and finalize">
712
- <action>Create a brief README for the workflow folder explaining purpose, how to invoke, expected inputs, generated outputs, and any special requirements</action>
713
-
714
- <action>Provide {user_name} with workflow completion summary in {communication_language}:</action>
715
-
716
- - Location of created workflow: {{output_folder}}
717
- - Command to run it: `workflow {workflow_name}`
718
- - Next steps:
719
- - Run the BMAD Method installer to this project location
720
- - Select 'Compile Agents (Quick rebuild of all agent .md files)' after confirming the folder
721
- - This will compile the new workflow and make it available for use
722
- </step>
723
-
724
- </workflow>