bmad-method 6.0.0-alpha.12 → 6.0.0-alpha.14

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