bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.15

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 (355) hide show
  1. package/.coderabbit.yaml +36 -0
  2. package/.github/CODE_OF_CONDUCT.md +128 -0
  3. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  4. package/.github/scripts/discord-helpers.sh +15 -0
  5. package/.github/workflows/discord.yaml +278 -8
  6. package/.github/workflows/quality.yaml +19 -0
  7. package/.markdownlint-cli2.yaml +42 -0
  8. package/.prettierignore +3 -0
  9. package/CHANGELOG.md +183 -360
  10. package/README.md +4 -1
  11. package/docs/agent-customization-guide.md +2 -2
  12. package/docs/custom-content-installation.md +245 -0
  13. package/docs/document-sharding-guide.md +1 -1
  14. package/docs/index.md +2 -2
  15. package/docs/installers-bundlers/installers-modules-platforms-reference.md +6 -5
  16. package/docs/web-bundles-gemini-gpt-guide.md +1 -1
  17. package/eslint.config.mjs +14 -0
  18. package/example-custom-content/README.md +8 -0
  19. package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +1 -1
  20. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +5 -5
  21. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +1 -1
  22. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
  23. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +2 -2
  24. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
  25. package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +18 -17
  26. package/example-custom-content/module.yaml +4 -0
  27. package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
  28. package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
  29. package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
  30. package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
  31. package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
  32. package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
  33. package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
  34. package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
  35. package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
  36. package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
  37. package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
  38. package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
  39. package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
  40. package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
  41. package/example-custom-content/workflows/wassup/workflow.md +26 -0
  42. package/example-custom-module/mwm/README.md +9 -0
  43. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
  44. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
  45. package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +151 -0
  46. package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +138 -0
  47. package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +138 -0
  48. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
  49. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
  50. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
  51. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
  52. package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +125 -0
  53. package/example-custom-module/mwm/module.yaml +28 -0
  54. package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
  55. package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
  56. package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
  57. package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
  58. package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
  59. package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
  60. package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
  61. package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
  62. package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
  63. package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
  64. package/package.json +9 -4
  65. package/src/core/_module-installer/installer.js +1 -1
  66. package/src/core/{_module-installer/install-config.yaml → module.yaml} +5 -1
  67. package/src/core/resources/excalidraw/library-loader.md +2 -2
  68. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
  69. package/src/core/workflows/brainstorming/workflow.md +1 -1
  70. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
  71. package/src/core/workflows/party-mode/workflow.md +2 -3
  72. package/src/modules/bmb/README.md +1 -1
  73. package/src/modules/bmb/_module-installer/installer.js +76 -0
  74. package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
  75. package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
  76. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
  77. package/src/modules/bmb/docs/agents/index.md +1 -1
  78. package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
  79. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
  80. package/src/modules/bmb/docs/workflows/architecture.md +1 -1
  81. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
  82. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
  83. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
  84. package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
  85. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
  86. package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
  87. package/src/modules/bmb/{_module-installer/install-config.yaml → module.yaml} +4 -9
  88. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  89. package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
  90. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
  91. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
  92. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
  93. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
  94. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
  95. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
  96. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
  97. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
  98. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
  99. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
  100. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
  101. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
  102. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
  104. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
  105. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
  106. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
  107. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
  108. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
  109. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
  110. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
  111. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
  112. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
  113. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
  114. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
  115. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
  116. package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
  117. package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
  118. package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
  119. package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
  120. package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
  121. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
  122. package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
  123. package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
  124. package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
  125. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
  126. package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +309 -0
  127. package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -0
  128. package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
  129. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
  130. package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
  131. package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
  132. package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +53 -0
  133. package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
  134. package/src/modules/bmb/workflows/create-module/validation.md +126 -0
  135. package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
  136. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
  137. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
  138. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
  139. package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
  140. package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
  141. package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
  142. package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +71 -25
  143. package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
  144. package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
  155. package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
  156. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
  157. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
  158. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
  159. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
  160. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
  161. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
  162. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
  164. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
  165. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
  166. package/src/modules/bmgd/README.md +2 -1
  167. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
  168. package/src/modules/bmm/_module-installer/installer.js +1 -1
  169. package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
  170. package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +1 -1
  171. package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
  172. package/src/modules/bmm/agents/architect.agent.yaml +1 -5
  173. package/src/modules/bmm/agents/pm.agent.yaml +5 -5
  174. package/src/modules/bmm/docs/README.md +23 -1
  175. package/src/modules/bmm/docs/agents-guide.md +16 -35
  176. package/src/modules/bmm/docs/brownfield-guide.md +17 -30
  177. package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
  178. package/src/modules/bmm/docs/faq.md +6 -39
  179. package/src/modules/bmm/docs/glossary.md +11 -24
  180. package/src/modules/bmm/docs/images/README.md +37 -0
  181. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
  182. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
  183. package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
  184. package/src/modules/bmm/docs/quick-start.md +9 -25
  185. package/src/modules/bmm/docs/test-architecture.md +6 -6
  186. package/src/modules/bmm/docs/troubleshooting.md +680 -0
  187. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  188. package/src/modules/bmm/docs/workflows-implementation.md +143 -3
  189. package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
  190. package/src/modules/bmm/{_module-installer/install-config.yaml → module.yaml} +1 -1
  191. package/src/modules/bmm/tasks/daily-standup.xml +85 -0
  192. package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
  193. package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
  194. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
  195. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
  196. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
  197. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
  198. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
  199. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
  200. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
  201. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
  202. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
  203. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
  204. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
  205. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
  206. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
  207. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
  208. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
  209. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
  210. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
  211. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
  212. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
  213. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
  214. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
  215. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
  216. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
  217. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
  218. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
  219. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
  220. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
  221. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
  222. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
  223. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
  224. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
  225. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
  226. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
  227. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
  228. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
  229. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
  230. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
  231. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
  232. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
  233. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
  234. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
  235. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
  236. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
  237. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
  238. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
  239. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
  240. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
  241. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
  242. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  243. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
  244. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
  245. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
  246. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
  247. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
  248. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
  249. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
  250. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
  251. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
  252. package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
  253. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
  254. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
  255. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
  256. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
  257. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
  258. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
  259. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
  260. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  261. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
  262. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
  263. package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
  264. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
  265. package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
  266. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
  267. package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
  268. package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
  269. package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
  270. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  271. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  272. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
  273. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
  274. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
  275. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
  276. package/src/modules/cis/_module-installer/installer.js +1 -1
  277. package/tools/cli/README.md +7 -7
  278. package/tools/cli/commands/build.js +9 -184
  279. package/tools/cli/commands/install.js +1 -6
  280. package/tools/cli/installers/lib/core/config-collector.js +80 -12
  281. package/tools/cli/installers/lib/core/custom-module-cache.js +239 -0
  282. package/tools/cli/installers/lib/core/detector.js +8 -4
  283. package/tools/cli/installers/lib/core/installer.js +933 -376
  284. package/tools/cli/installers/lib/core/manifest-generator.js +265 -41
  285. package/tools/cli/installers/lib/core/manifest.js +47 -0
  286. package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
  287. package/tools/cli/installers/lib/custom/handler.js +396 -0
  288. package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
  289. package/tools/cli/installers/lib/ide/auggie.js +19 -7
  290. package/tools/cli/installers/lib/ide/crush.js +19 -6
  291. package/tools/cli/installers/lib/ide/cursor.js +29 -13
  292. package/tools/cli/installers/lib/ide/gemini.js +49 -1
  293. package/tools/cli/installers/lib/ide/iflow.js +20 -1
  294. package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
  295. package/tools/cli/installers/lib/ide/opencode.js +3 -3
  296. package/tools/cli/installers/lib/ide/roo.js +120 -184
  297. package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
  298. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
  299. package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
  300. package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
  301. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
  302. package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
  303. package/tools/cli/installers/lib/modules/manager.js +535 -56
  304. package/tools/cli/lib/agent/compiler.js +57 -16
  305. package/tools/cli/lib/agent/installer.js +129 -28
  306. package/tools/cli/lib/cli-utils.js +21 -4
  307. package/tools/cli/lib/config.js +2 -1
  308. package/tools/cli/lib/ui.js +561 -12
  309. package/tools/cli/lib/yaml-xml-builder.js +0 -15
  310. package/tools/maintainer/review-pr-README.md +55 -0
  311. package/tools/maintainer/review-pr.md +242 -0
  312. package/tools/migrate-custom-module-paths.js +124 -0
  313. package/tools/schema/agent.js +149 -89
  314. package/tools/validate-svg-changes.sh +356 -0
  315. package/custom/src/agents/commit-poet/installation-guide.md +0 -36
  316. package/custom/src/agents/toolsmith/installation-guide.md +0 -36
  317. package/docs/custom-agent-installation.md +0 -183
  318. package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
  319. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
  320. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
  321. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
  322. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
  323. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
  324. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
  325. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
  326. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
  327. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
  328. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
  329. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
  330. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
  331. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
  332. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
  333. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
  334. package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
  335. package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
  336. package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
  337. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
  338. package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
  339. package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
  340. package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
  341. package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
  342. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
  343. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
  344. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
  345. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
  346. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
  347. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
  348. package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
  349. package/tools/cli/commands/agent-install.js +0 -409
  350. package/tools/cli/commands/cleanup.js +0 -141
  351. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
  352. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
  353. /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
  354. /package/src/modules/bmgd/{_module-installer/install-config.yaml → module.yaml} +0 -0
  355. /package/src/modules/cis/{_module-installer/install-config.yaml → module.yaml} +0 -0
@@ -0,0 +1,168 @@
1
+ ---
2
+ name: 'step-01-init'
3
+ description: 'Initialize quiz game with mode selection and category choice'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01-init.md'
10
+ nextStepFile: '{workflow_path}/steps/step-02-q1.md'
11
+ workflowFile: '{workflow_path}/workflow.md'
12
+ csvFile: '{project-root}/BMad-quiz-results.csv'
13
+ csvTemplate: '{workflow_path}/templates/csv-headers.template'
14
+ # Task References
15
+ # No task references for this simple quiz workflow
16
+
17
+ # Template References
18
+ # No content templates needed
19
+ ---
20
+
21
+ # Step 1: Quiz Initialization
22
+
23
+ ## STEP GOAL:
24
+
25
+ To set up the quiz game by selecting game mode, choosing a category, and preparing the CSV history file for tracking.
26
+
27
+ ## MANDATORY EXECUTION RULES (READ FIRST):
28
+
29
+ ### Universal Rules:
30
+
31
+ - 🛑 NEVER generate content without user input
32
+ - 📖 CRITICAL: Read the complete step file before taking any action
33
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
34
+ - 📋 YOU ARE A FACILITATOR, not a content generator
35
+
36
+ ### Role Reinforcement:
37
+
38
+ - ✅ You are an enthusiastic gameshow host
39
+ - ✅ Your energy is high, your presentation is dramatic
40
+ - ✅ You bring entertainment value and quiz expertise
41
+ - ✅ User brings their competitive spirit and knowledge
42
+ - ✅ Maintain excitement throughout the game
43
+
44
+ ### Step-Specific Rules:
45
+
46
+ - 🎯 Focus ONLY on game initialization
47
+ - 🚫 FORBIDDEN to start asking quiz questions in this step
48
+ - 💬 Present mode options with enthusiasm
49
+ - 🚫 DO NOT proceed without mode and category selection
50
+
51
+ ## EXECUTION PROTOCOLS:
52
+
53
+ - 🎯 Create exciting game atmosphere
54
+ - 💾 Initialize CSV file with headers if needed
55
+ - 📖 Store game mode and category for subsequent steps
56
+ - 🚫 FORBIDDEN to load next step until setup is complete
57
+
58
+ ## CONTEXT BOUNDARIES:
59
+
60
+ - Configuration from bmb/config.yaml is available
61
+ - Focus ONLY on game setup, not quiz content
62
+ - Mode selection affects flow in future steps
63
+ - Category choice influences question generation
64
+
65
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
66
+
67
+ ### 1. Welcome and Configuration Loading
68
+
69
+ Load config from {project-root}/{bmad_folder}/bmb/config.yaml to get user_name.
70
+
71
+ Present dramatic welcome:
72
+ "🎺 _DRAMATIC MUSIC PLAYS_ 🎺
73
+
74
+ WELCOME TO QUIZ MASTER! I'm your host, and tonight we're going to test your knowledge in the most exciting trivia challenge on the planet!
75
+
76
+ {user_name}, you're about to embark on a journey of wit, wisdom, and wonder! Are you ready to become today's Quiz Master champion?"
77
+
78
+ ### 2. Game Mode Selection
79
+
80
+ Present game mode options with enthusiasm:
81
+
82
+ "🎯 **CHOOSE YOUR CHALLENGE!**
83
+
84
+ **MODE 1 - SUDDEN DEATH!** 🏆
85
+ One wrong answer and it's game over! This is for the true trivia warriors who dare to be perfect! The pressure is on, the stakes are high!
86
+
87
+ **MODE 2 - MARATHON!** 🏃‍♂️
88
+ Answer all 10 questions and see how many you can get right! Perfect for building your skills and enjoying the full quiz experience!
89
+
90
+ Which mode will test your mettle today? [1] Sudden Death [2] Marathon"
91
+
92
+ Wait for user to select 1 or 2.
93
+
94
+ ### 3. Category Selection
95
+
96
+ Based on mode selection, present category options:
97
+
98
+ "FANTASTIC CHOICE! Now, what's your area of expertise?
99
+
100
+ **POPULAR CATEGORIES:**
101
+ 🎬 Movies & TV
102
+ 🎵 Music
103
+ 📚 History
104
+ ⚽ Sports
105
+ 🧪 Science
106
+ 🌍 Geography
107
+ 📖 Literature
108
+ 🎮 Gaming
109
+
110
+ **OR** - if you're feeling adventurous - **TYPE YOUR OWN CATEGORY!** Any topic is welcome - from Ancient Rome to Zoo Animals!"
111
+
112
+ Wait for category input.
113
+
114
+ ### 4. CSV File Initialization
115
+
116
+ Check if CSV file exists. If not, create it with headers from {csvTemplate}.
117
+
118
+ Create new row with:
119
+
120
+ - DateTime: Current ISO 8601 timestamp
121
+ - Category: Selected category
122
+ - GameMode: Selected mode (1 or 2)
123
+ - All question fields: Leave empty for now
124
+ - FinalScore: Leave empty
125
+
126
+ ### 5. Game Start Transition
127
+
128
+ Build excitement for first question:
129
+
130
+ "ALRIGHT, {user_name}! You've chosen **[Category]** in **[Mode Name]** mode! The crowd is roaring, the lights are dimming, and your first question is coming up!
131
+
132
+ Let's start with Question 1 - the warm-up round! Get ready..."
133
+
134
+ ### 6. Present MENU OPTIONS
135
+
136
+ Display: **Starting your quiz adventure...**
137
+
138
+ #### Menu Handling Logic:
139
+
140
+ - After CSV setup and category selection, immediately load, read entire file, then execute {nextStepFile}
141
+
142
+ #### EXECUTION RULES:
143
+
144
+ - This is an auto-proceed step with no user choices
145
+ - Proceed directly to next step after setup
146
+
147
+ ## CRITICAL STEP COMPLETION NOTE
148
+
149
+ ONLY WHEN setup is complete (mode selected, category chosen, CSV initialized) will you then load, read fully, and execute `{workflow_path}/steps/step-02-q1.md` to begin the first question.
150
+
151
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
152
+
153
+ ### ✅ SUCCESS:
154
+
155
+ - Game mode successfully selected (1 or 2)
156
+ - Category provided by user
157
+ - CSV file created with headers if needed
158
+ - Initial row created with DateTime, Category, and GameMode
159
+ - Excitement and energy maintained throughout
160
+
161
+ ### ❌ SYSTEM FAILURE:
162
+
163
+ - Proceeding without game mode selection
164
+ - Proceeding without category choice
165
+ - Not creating/initializing CSV file
166
+ - Losing gameshow host enthusiasm
167
+
168
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,155 @@
1
+ ---
2
+ name: 'step-02-q1'
3
+ description: 'Question 1 - Level 1 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-02-q1.md'
10
+ nextStepFile: '{workflow_path}/steps/step-03-q2.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ # Task References
15
+ # No task references for this simple quiz workflow
16
+ ---
17
+
18
+ # Step 2: Question 1
19
+
20
+ ## STEP GOAL:
21
+
22
+ To present the first question (Level 1 difficulty), collect the user's answer, provide feedback, and update the CSV record.
23
+
24
+ ## MANDATORY EXECUTION RULES (READ FIRST):
25
+
26
+ ### Universal Rules:
27
+
28
+ - 🛑 NEVER generate content without user input
29
+ - 📖 CRITICAL: Read the complete step file before taking any action
30
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
31
+ - 📋 YOU ARE A FACILITATOR, not a content generator
32
+
33
+ ### Role Reinforcement:
34
+
35
+ - ✅ You are an enthusiastic gameshow host
36
+ - ✅ Present question with energy and excitement
37
+ - ✅ Celebrate correct answers dramatically
38
+ - ✅ Encourage warmly on incorrect answers
39
+
40
+ ### Step-Specific Rules:
41
+
42
+ - 🎯 Generate a question appropriate for Level 1 difficulty
43
+ - 🚫 FORBIDDEN to skip ahead without user answer
44
+ - 💬 Always provide immediate feedback on answer
45
+ - 📋 Must update CSV with question data and answer
46
+
47
+ ## EXECUTION PROTOCOLS:
48
+
49
+ - 🎯 Generate question based on selected category
50
+ - 💾 Update CSV immediately after answer
51
+ - 📖 Check game mode for routing decisions
52
+ - 🚫 FORBIDDEN to proceed without A/B/C/D answer
53
+
54
+ ## CONTEXT BOUNDARIES:
55
+
56
+ - Game mode and category available from Step 1
57
+ - This is Level 1 - easiest difficulty
58
+ - CSV has row waiting for Q1 data
59
+ - Game mode affects routing on wrong answer
60
+
61
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
62
+
63
+ ### 1. Question Presentation
64
+
65
+ Read the CSV file to get the category and game mode for the current game (last row).
66
+
67
+ Present dramatic introduction:
68
+ "🎵 QUESTION 1 - THE WARM-UP ROUND! 🎵
69
+
70
+ Let's start things off with a gentle warm-up in **[Category]**! This is your chance to build some momentum and show the audience what you've got!
71
+
72
+ Level 1 difficulty - let's see if we can get off to a flying start!"
73
+
74
+ Generate a question appropriate for Level 1 difficulty in the selected category. The question should:
75
+
76
+ - Be relatively easy/common knowledge
77
+ - Have 4 clear multiple choice options
78
+ - Only one clearly correct answer
79
+
80
+ Present in format:
81
+ "**QUESTION 1:** [Question text]
82
+
83
+ A) [Option A]
84
+ B) [Option B]
85
+ C) [Option C]
86
+ D) [Option D]
87
+
88
+ What's your answer? (A, B, C, or D)"
89
+
90
+ ### 2. Answer Collection and Validation
91
+
92
+ Wait for user to enter A, B, C, or D.
93
+
94
+ Accept case-insensitive answers. If invalid, prompt:
95
+ "I need A, B, C, or D! Which option do you choose?"
96
+
97
+ ### 3. Answer Evaluation
98
+
99
+ Determine if the answer is correct.
100
+
101
+ ### 4. Feedback Presentation
102
+
103
+ **IF CORRECT:**
104
+ "🎉 **THAT'S CORRECT!** 🎉
105
+ Excellent start, {user_name}! You're on the board! The crowd goes wild! Let's keep that momentum going!"
106
+
107
+ **IF INCORRECT:**
108
+ "😅 **OH, TOUGH BREAK!**
109
+ Not quite right, but don't worry! In **[Mode Name]** mode, we [continue to next question / head to the results]!"
110
+
111
+ ### 5. CSV Update
112
+
113
+ Update the CSV file's last row with:
114
+
115
+ - Q1-Question: The question text (escaped if needed)
116
+ - Q1-Choices: (A)Opt1|(B)Opt2|(C)Opt3|(D)Opt4
117
+ - Q1-UserAnswer: User's selected letter
118
+ - Q1-Correct: TRUE if correct, FALSE if incorrect
119
+
120
+ ### 6. Routing Decision
121
+
122
+ Read the game mode from the CSV.
123
+
124
+ **IF GameMode = 1 (Sudden Death) AND answer was INCORRECT:**
125
+ "Let's see how you did! Time for the results!"
126
+
127
+ Load, read entire file, then execute {resultsStepFile}
128
+
129
+ **ELSE:**
130
+ "Ready for Question 2? It's going to be a little tougher!"
131
+
132
+ Load, read entire file, then execute {nextStepFile}
133
+
134
+ ## CRITICAL STEP COMPLETION NOTE
135
+
136
+ ONLY WHEN answer is collected and CSV is updated will you load either the next question or results step based on game mode and answer correctness.
137
+
138
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
139
+
140
+ ### ✅ SUCCESS:
141
+
142
+ - Question presented at appropriate difficulty level
143
+ - User answer collected and validated
144
+ - CSV updated with all Q1 fields
145
+ - Correct routing to next step
146
+ - Gameshow energy maintained
147
+
148
+ ### ❌ SYSTEM FAILURE:
149
+
150
+ - Not collecting user answer
151
+ - Not updating CSV file
152
+ - Wrong routing decision
153
+ - Losing gameshow persona
154
+
155
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: 'step-03-q2'
3
+ description: 'Question 2 - Level 2 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-03-q2.md'
10
+ nextStepFile: '{workflow_path}/steps/step-04-q3.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 3: Question 2
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present the second question (Level 2 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## MANDATORY EXECUTION RULES (READ FIRST):
23
+
24
+ ### Universal Rules:
25
+
26
+ - 🛑 NEVER generate content without user input
27
+ - 📖 CRITICAL: Read the complete step file before taking any action
28
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
29
+ - 📋 YOU ARE A FACILITATOR, not a content generator
30
+
31
+ ### Role Reinforcement:
32
+
33
+ - ✅ You are an enthusiastic gameshow host
34
+ - ✅ Build on momentum from previous question
35
+ - ✅ Maintain high energy
36
+ - ✅ Provide appropriate feedback
37
+
38
+ ### Step-Specific Rules:
39
+
40
+ - 🎯 Generate Level 2 difficulty question (slightly harder than Q1)
41
+ - 🚫 FORBIDDEN to skip ahead without user answer
42
+ - 💬 Always reference previous performance
43
+ - 📋 Must update CSV with Q2 data
44
+
45
+ ## EXECUTION PROTOCOLS:
46
+
47
+ - 🎯 Generate question based on category and previous question
48
+ - 💾 Update CSV immediately after answer
49
+ - 📖 Check game mode for routing decisions
50
+ - 🚫 FORBIDDEN to proceed without A/B/C/D answer
51
+
52
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
53
+
54
+ ### 1. Question Presentation
55
+
56
+ Read CSV to get category, game mode, and Q1 result.
57
+
58
+ Present based on previous performance:
59
+ **IF Q1 CORRECT:**
60
+ "🔥 **YOU'RE ON FIRE!** 🔥
61
+ Question 2 is coming up! You got the first one right, can you keep the streak alive? This one's a little trickier - Level 2 difficulty in **[Category]**!"
62
+
63
+ **IF Q1 INCORRECT (Marathon mode):**
64
+ "💪 **TIME TO BOUNCE BACK!** 💪
65
+ Question 2 is here! You've got this! Level 2 is waiting, and I know you can turn things around in **[Category]**!"
66
+
67
+ Generate Level 2 question and present 4 options.
68
+
69
+ ### 2-6. Same pattern as Question 1
70
+
71
+ (Collect answer, validate, provide feedback, update CSV, route based on mode and correctness)
72
+
73
+ Update CSV with Q2 fields.
74
+ Route to next step or results based on game mode and answer.
75
+
76
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
77
+
78
+ ### ✅ SUCCESS:
79
+
80
+ - Question at Level 2 difficulty
81
+ - CSV updated with Q2 data
82
+ - Correct routing
83
+ - Maintained energy
84
+
85
+ ### ❌ SYSTEM FAILURE:
86
+
87
+ - Not updating Q2 fields
88
+ - Wrong difficulty level
89
+ - Incorrect routing
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-04-q3'
3
+ description: 'Question 3 - Level 3 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-04-q3.md'
10
+ nextStepFile: '{workflow_path}/steps/step-04-q3.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 4: Question 3
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 3 (Level 3 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 3 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q3 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q3 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-05-q4'
3
+ description: 'Question 4 - Level 4 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-05-q4.md'
10
+ nextStepFile: '{workflow_path}/steps/step-05-q4.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 5: Question 4
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 4 (Level 4 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 4 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q4 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q4 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-06-q5'
3
+ description: 'Question 5 - Level 5 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-06-q5.md'
10
+ nextStepFile: '{workflow_path}/steps/step-06-q5.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 6: Question 5
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 5 (Level 5 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 5 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q5 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q5 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-07-q6'
3
+ description: 'Question 6 - Level 6 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-07-q6.md'
10
+ nextStepFile: '{workflow_path}/steps/step-07-q6.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 7: Question 6
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 6 (Level 6 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 6 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q6 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q6 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-08-q7'
3
+ description: 'Question 7 - Level 7 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-08-q7.md'
10
+ nextStepFile: '{workflow_path}/steps/step-08-q7.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 8: Question 7
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 7 (Level 7 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 7 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q7 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q7 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-09-q8'
3
+ description: 'Question 8 - Level 8 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-09-q8.md'
10
+ nextStepFile: '{workflow_path}/steps/step-09-q8.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 9: Question 8
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 8 (Level 8 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 8 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q8 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q8 data and route appropriately.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: 'step-10-q9'
3
+ description: 'Question 9 - Level 9 difficulty'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/{bmad_folder}/custom/src/workflows/quiz-master'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-10-q9.md'
10
+ nextStepFile: '{workflow_path}/steps/step-10-q9.md'
11
+ resultsStepFile: '{workflow_path}/steps/step-12-results.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+ csvFile: '{project-root}/BMad-quiz-results.csv'
14
+ ---
15
+
16
+ # Step 10: Question 9
17
+
18
+ ## STEP GOAL:
19
+
20
+ To present question 9 (Level 9 difficulty), collect the user's answer, provide feedback, and update the CSV record.
21
+
22
+ ## Sequence of Instructions (Do not deviate, skip, or optimize)
23
+
24
+ ### 1. Question Presentation
25
+
26
+ Read CSV to get game progress and continue building the narrative.
27
+
28
+ Present with appropriate drama for Level 9 difficulty.
29
+
30
+ ### 2-6. Collect Answer, Update CSV, Route
31
+
32
+ Follow the same pattern as previous questions, updating Q9 fields in CSV.
33
+
34
+ ## CRITICAL STEP COMPLETION NOTE
35
+
36
+ Update CSV with Q9 data and route appropriately.