bmad-method 6.0.0-alpha.19 → 6.0.0-alpha.20

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 (280) hide show
  1. package/.github/workflows/docs.yaml +72 -0
  2. package/.github/workflows/quality.yaml +0 -3
  3. package/CHANGELOG.md +125 -0
  4. package/CONTRIBUTING.md +1 -3
  5. package/README.md +8 -7
  6. package/docs/agent-customization-guide.md +3 -3
  7. package/docs/custom-content-installation.md +1 -1
  8. package/docs/document-sharding-guide.md +2 -2
  9. package/docs/getting-started/installation.md +76 -0
  10. package/docs/ide-info/index.md +24 -0
  11. package/docs/ide-info/rovo-dev.md +14 -380
  12. package/docs/index.md +36 -45
  13. package/eslint.config.mjs +7 -2
  14. package/package.json +14 -8
  15. package/{docs → samples}/sample-custom-modules/README.md +1 -1
  16. package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +2 -2
  17. package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +1 -1
  18. package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-01-init.md +1 -1
  19. package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/workflow.md +1 -1
  20. package/src/core/tasks/review-adversarial-general.xml +41 -0
  21. package/src/modules/bmb/README.md +25 -0
  22. package/src/modules/bmb/docs/agents/expert-agent-architecture.md +3 -3
  23. package/src/modules/bmb/docs/agents/index.md +9 -9
  24. package/src/modules/bmb/docs/agents/simple-agent-architecture.md +1 -1
  25. package/src/modules/bmb/docs/agents/understanding-agent-types.md +1 -1
  26. package/src/modules/bmb/docs/{README.md → index.md} +10 -12
  27. package/src/modules/bmb/docs/workflows/index.md +6 -6
  28. package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +7 -7
  29. package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +1 -1
  30. package/src/modules/bmb/docs/workflows/templates/step-template.md +7 -7
  31. package/src/modules/bmb/docs/workflows/templates/workflow-template.md +1 -1
  32. package/src/modules/bmb/docs/workflows/templates/workflow.md +1 -1
  33. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +1 -1
  34. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +1 -1
  35. package/src/modules/bmb/workflows/create-agent/templates/expert-agent.template.md +3 -3
  36. package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +1 -1
  37. package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +5 -5
  38. package/src/modules/bmb/workflows/create-module/templates/agent.template.md +1 -1
  39. package/src/modules/bmb/workflows/create-module/validation.md +2 -2
  40. package/src/modules/bmb/workflows/create-module/workflow.md +1 -1
  41. package/src/modules/bmb/workflows/create-workflow/steps/step-07-build.md +2 -2
  42. package/src/modules/bmb/workflows/create-workflow/workflow.md +1 -1
  43. package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
  44. package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
  45. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +1 -1
  46. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
  47. package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +1 -1
  48. package/src/modules/bmb/workflows-legacy/edit-module/instructions.md +3 -3
  49. package/src/modules/bmb/workflows-legacy/module-brief/instructions.md +2 -2
  50. package/src/modules/bmgd/_module-installer/installer.js +2 -2
  51. package/src/modules/bmgd/agents/game-architect.agent.yaml +4 -0
  52. package/src/modules/bmgd/docs/{README.md → index.md} +2 -2
  53. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +4 -4
  54. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-01-init.md +1 -1
  55. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/steps/step-04-complete.md +1 -1
  56. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +4 -4
  57. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +4 -4
  58. package/src/modules/bmgd/workflows/2-design/narrative/steps/step-11-complete.md +1 -1
  59. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +5 -5
  60. package/src/modules/bmgd/workflows/3-technical/game-architecture/steps/step-09-complete.md +60 -6
  61. package/src/modules/bmgd/workflows/3-technical/generate-project-context/project-context-template.md +20 -0
  62. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-01-discover.md +201 -0
  63. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-02-generate.md +373 -0
  64. package/src/modules/bmgd/workflows/3-technical/generate-project-context/steps/step-03-complete.md +279 -0
  65. package/src/modules/bmgd/workflows/3-technical/generate-project-context/workflow.md +48 -0
  66. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +3 -3
  67. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  68. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +2 -2
  69. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +2 -2
  70. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +3 -3
  71. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +4 -4
  72. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +2 -2
  73. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +5 -5
  74. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +11 -2
  75. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +4 -4
  76. package/src/modules/bmgd/workflows/4-production/sprint-status/instructions.md +2 -2
  77. package/src/modules/bmgd/workflows/4-production/sprint-status/workflow.yaml +3 -3
  78. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/instructions.md +3 -3
  79. package/src/modules/bmgd/workflows/bmgd-quick-flow/create-tech-spec/workflow.yaml +1 -1
  80. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-dev/workflow.yaml +1 -1
  81. package/src/modules/bmgd/workflows/bmgd-quick-flow/quick-prototype/workflow.yaml +1 -1
  82. package/src/modules/bmgd/workflows/workflow-status/init/instructions.md +2 -2
  83. package/src/modules/bmgd/workflows/workflow-status/init/workflow.yaml +1 -1
  84. package/src/modules/bmgd/workflows/workflow-status/instructions.md +2 -2
  85. package/src/modules/bmm/README.md +5 -6
  86. package/src/modules/bmm/_module-installer/installer.js +2 -2
  87. package/src/modules/bmm/agents/analyst.agent.yaml +1 -1
  88. package/src/modules/bmm/agents/dev.agent.yaml +8 -4
  89. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +8 -17
  90. package/src/modules/bmm/agents/sm.agent.yaml +6 -3
  91. package/src/modules/bmm/agents/tech-writer.agent.yaml +1 -1
  92. package/src/modules/bmm/agents/ux-designer.agent.yaml +6 -3
  93. package/src/modules/bmm/docs/agents-guide.md +83 -1026
  94. package/src/modules/bmm/docs/bmad-quick-flow.md +10 -32
  95. package/src/modules/bmm/docs/brownfield-guide.md +1 -1
  96. package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
  97. package/src/modules/bmm/docs/{README.md → index.md} +7 -88
  98. package/src/modules/bmm/docs/quick-spec-flow.md +1 -1
  99. package/src/modules/bmm/docs/quick-start.md +7 -7
  100. package/src/modules/bmm/docs/scale-adaptive-system.md +1 -1
  101. package/src/modules/bmm/docs/test-architecture.md +13 -12
  102. package/src/modules/bmm/docs/workflows-solutioning.md +1 -1
  103. package/src/modules/bmm/module.yaml +11 -10
  104. package/src/modules/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +7 -5
  105. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +2 -2
  106. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +2 -4
  107. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +2 -2
  108. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +2 -2
  109. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +2 -2
  110. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +2 -2
  111. package/src/modules/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +7 -10
  112. package/src/modules/bmm/workflows/1-analysis/create-product-brief/workflow.md +3 -3
  113. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +14 -0
  114. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +8 -39
  115. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +15 -15
  116. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +5 -25
  117. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +5 -5
  118. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +5 -5
  119. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +6 -6
  120. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +5 -5
  121. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +5 -5
  122. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +5 -5
  123. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +5 -5
  124. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +5 -5
  125. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +5 -5
  126. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +5 -5
  127. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +5 -5
  128. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +2 -2
  129. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +3 -5
  130. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +4 -4
  131. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +4 -4
  132. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +4 -4
  133. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +4 -4
  134. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +4 -4
  135. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +4 -4
  136. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +4 -4
  137. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +4 -4
  138. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +1 -1
  139. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +1 -1
  140. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +1 -1
  141. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +1 -1
  142. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +1 -1
  143. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +1 -1
  144. package/src/modules/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +2 -2
  145. package/src/modules/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -1
  146. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +9 -21
  147. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +4 -4
  148. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +2 -2
  149. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +4 -4
  150. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +4 -4
  151. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +4 -4
  152. package/src/modules/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +4 -4
  153. package/src/modules/bmm/workflows/3-solutioning/create-architecture/workflow.md +1 -1
  154. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +8 -8
  155. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +1 -1
  156. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +1 -1
  157. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +1 -1
  158. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +2 -2
  159. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -4
  160. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  161. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +2 -2
  162. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +16 -14
  163. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +2 -12
  164. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +4 -4
  165. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +1 -1
  166. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +3 -3
  167. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +2 -2
  168. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +5 -5
  169. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +2 -2
  170. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +7 -6
  171. package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +2 -2
  172. package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +4 -3
  173. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +4 -4
  174. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +4 -2
  175. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  176. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  177. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  178. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  179. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  180. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  181. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +51 -0
  182. package/src/modules/bmm/workflows/document-project/instructions.md +27 -28
  183. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -3
  184. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +2 -1
  185. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +5 -15
  186. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +2 -2
  187. package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +8 -7
  188. package/src/modules/bmm/workflows/testarch/atdd/checklist.md +1 -0
  189. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +1 -0
  190. package/src/modules/bmm/workflows/testarch/automate/checklist.md +2 -0
  191. package/src/modules/bmm/workflows/testarch/ci/checklist.md +2 -0
  192. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -0
  193. package/src/modules/bmm/workflows/testarch/nfr-assess/checklist.md +2 -0
  194. package/src/modules/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +2 -0
  195. package/src/modules/bmm/workflows/testarch/test-design/checklist.md +3 -2
  196. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +1 -1
  197. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +9 -0
  198. package/src/modules/bmm/workflows/testarch/test-review/checklist.md +2 -0
  199. package/src/modules/bmm/workflows/testarch/test-review/test-review-template.md +2 -0
  200. package/src/modules/bmm/workflows/testarch/trace/checklist.md +1 -0
  201. package/src/modules/bmm/workflows/testarch/trace/instructions.md +2 -0
  202. package/src/modules/bmm/workflows/testarch/trace/trace-template.md +2 -0
  203. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +2 -2
  204. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +1 -1
  205. package/src/modules/bmm/workflows/workflow-status/instructions.md +2 -2
  206. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +3 -1
  207. package/src/modules/cis/{readme.md → docs/index.md} +2 -6
  208. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  209. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  210. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  211. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-invalid-format.agent.yaml +24 -0
  212. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-mismatched-kebab.agent.yaml +24 -0
  213. package/test/fixtures/agent-schema/invalid/menu-triggers/compound-wrong-shortcut.agent.yaml +24 -0
  214. package/test/fixtures/agent-schema/valid/menu-triggers/compound-triggers.agent.yaml +30 -0
  215. package/tools/build-docs.js +630 -0
  216. package/tools/cli/commands/install.js +11 -5
  217. package/tools/cli/installers/install-messages.yaml +52 -0
  218. package/tools/cli/installers/lib/core/config-collector.js +25 -30
  219. package/tools/cli/installers/lib/message-loader.js +85 -0
  220. package/tools/cli/lib/ui.js +221 -41
  221. package/tools/schema/agent.js +68 -5
  222. package/website/css/custom.css +52 -0
  223. package/website/docusaurus.config.js +179 -0
  224. package/website/sidebars.js +157 -0
  225. package/website/src/pages/downloads.md +81 -0
  226. package/website/src/pages/index.js +50 -0
  227. package/website/static/favicon.ico +0 -0
  228. package/website/static/img/logo.svg +4 -0
  229. package/website/static/robots.txt +37 -0
  230. package/docs/installers-bundlers/ide-injections.md +0 -186
  231. package/docs/installers-bundlers/installers-modules-platforms-reference.md +0 -389
  232. package/src/modules/bmgd/README.md +0 -209
  233. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +0 -25
  234. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +0 -202
  235. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +0 -33
  236. package/tools/cli/commands/build.js +0 -283
  237. package/tools/cli/commands/list.js +0 -40
  238. package/tools/cli/commands/status.js +0 -47
  239. package/tools/cli/commands/uninstall.js +0 -44
  240. package/tools/cli/commands/update.js +0 -28
  241. package/tools/validate-bundles.js +0 -87
  242. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/README.md +0 -0
  243. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/commit-poet/commit-poet.agent.yaml +0 -0
  244. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/instructions.md +0 -0
  245. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
  246. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
  247. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +0 -0
  248. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
  249. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith-sidecar/memories.md +0 -0
  250. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/agents/toolsmith/toolsmith.agent.yaml +0 -0
  251. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/module.yaml +0 -0
  252. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-02-q1.md +0 -0
  253. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-03-q2.md +0 -0
  254. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-04-q3.md +0 -0
  255. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-05-q4.md +0 -0
  256. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-06-q5.md +0 -0
  257. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-07-q6.md +0 -0
  258. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-08-q7.md +0 -0
  259. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-09-q8.md +0 -0
  260. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-10-q9.md +0 -0
  261. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-11-q10.md +0 -0
  262. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/steps/step-12-results.md +0 -0
  263. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/quiz-master/templates/csv-headers.template +0 -0
  264. /package/{docs → samples}/sample-custom-modules/sample-unitary-module/workflows/wassup/workflow.md +0 -0
  265. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/README.md +0 -0
  266. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/meditation-guide.agent.yaml +0 -0
  267. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/foo.md +0 -0
  268. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/addition1.md +0 -0
  269. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/insights.md +0 -0
  270. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/instructions.md +0 -0
  271. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/memories.md +0 -0
  272. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion-sidecar/patterns.md +0 -0
  273. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/agents/wellness-companion/wellness-companion.agent.yaml +0 -0
  274. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/module.yaml +0 -0
  275. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/README.md +0 -0
  276. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/daily-checkin/workflow.md +0 -0
  277. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/README.md +0 -0
  278. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/guided-meditation/workflow.md +0 -0
  279. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/README.md +0 -0
  280. /package/{docs → samples}/sample-custom-modules/sample-wellness-module/workflows/wellness-journal/workflow.md +0 -0
@@ -1,186 +0,0 @@
1
- # IDE Content Injection Standard
2
-
3
- ## Overview
4
-
5
- This document defines the standard for IDE-specific content injection in BMAD modules. Each IDE can inject its own specific content into BMAD templates during installation without polluting the source files with IDE-specific code. The installation process is interactive, allowing users to choose what IDE-specific features they want to install.
6
-
7
- ## Architecture
8
-
9
- ### 1. Injection Points
10
-
11
- Files that support IDE-specific content define injection points using HTML comments:
12
-
13
- ```xml
14
- <!-- IDE-INJECT-POINT: unique-point-name -->
15
- ```
16
-
17
- ### 2. Module Structure
18
-
19
- Each module that needs IDE-specific content creates a sub-module folder:
20
-
21
- ```
22
- src/modules/{module-name}/sub-modules/{ide-name}/
23
- ├── injections.yaml # Injection configuration
24
- ├── sub-agents/ # IDE-specific subagents (if applicable)
25
- └── config.yaml # Other IDE-specific config
26
- ```
27
-
28
- ### 3. Injection Configuration Format
29
-
30
- The `injections.yaml` file defines what content to inject where:
31
-
32
- ```yaml
33
- # injections.yaml structure
34
- injections:
35
- - file: 'relative/path/to/file.md' # Path relative to installation root
36
- point: 'injection-point-name' # Must match IDE-INJECT-POINT name
37
- requires: 'subagent-name' # Which subagent must be selected (or "any")
38
- content: | # Content to inject (preserves formatting)
39
- <llm>
40
- <i>Instructions specific to this IDE</i>
41
- </llm>
42
-
43
- # Subagents available for installation
44
- subagents:
45
- source: 'sub-agents' # Source folder relative to this config
46
- target: '.claude/agents' # Claude's expected location (don't change)
47
- files:
48
- - 'agent1.md'
49
- - 'agent2.md'
50
- ```
51
-
52
- ### 4. Interactive Installation Process
53
-
54
- For Claude Code specifically, the installer will:
55
-
56
- 1. **Detect available subagents** from the module's `injections.yaml`
57
- 2. **Ask the user** about subagent installation:
58
- - Install all subagents (default)
59
- - Select specific subagents
60
- - Skip subagent installation
61
- 3. **Ask installation location** (if subagents selected):
62
- - Project level: `.claude/agents/`
63
- - User level: `~/.claude/agents/`
64
- 4. **Copy selected subagents** to the chosen location
65
- 5. **Inject only relevant content** based on selected subagents
66
-
67
- Other IDEs can implement their own installation logic appropriate to their architecture.
68
-
69
- ## Implementation
70
-
71
- ### IDE Installer Responsibilities
72
-
73
- Each IDE installer (e.g., `claude-code.js`) must:
74
-
75
- 1. **Check for sub-modules**: Look for `sub-modules/{ide-name}/` in each installed module
76
- 2. **Load injection config**: Parse `injections.yaml` if present
77
- 3. **Process injections**: Replace injection points with configured content
78
- 4. **Copy additional files**: Handle subagents or other IDE-specific files
79
-
80
- ### Example Implementation (Claude Code)
81
-
82
- ```javascript
83
- async processModuleInjections(projectDir, bmadDir, options) {
84
- for (const moduleName of options.selectedModules) {
85
- const configPath = path.join(
86
- bmadDir, 'src/modules', moduleName,
87
- 'sub-modules/claude-code/injections.yaml'
88
- );
89
-
90
- if (exists(configPath)) {
91
- const config = yaml.load(configPath);
92
-
93
- // Interactive: Ask user about subagent installation
94
- const choices = await this.promptSubagentInstallation(config.subagents);
95
-
96
- if (choices.install !== 'none') {
97
- // Ask where to install
98
- const location = await this.promptInstallLocation();
99
-
100
- // Process injections based on selections
101
- for (const injection of config.injections) {
102
- if (this.shouldInject(injection, choices)) {
103
- await this.injectContent(projectDir, injection, choices);
104
- }
105
- }
106
-
107
- // Copy selected subagents
108
- await this.copySelectedSubagents(projectDir, config.subagents, choices, location);
109
- }
110
- }
111
- }
112
- }
113
- ```
114
-
115
- ## Benefits
116
-
117
- 1. **Clean Source Files**: No IDE-specific conditionals in source
118
- 2. **Modular**: Each IDE manages its own injections
119
- 3. **Scalable**: Easy to add support for new IDEs
120
- 4. **Maintainable**: IDE-specific content lives with IDE config
121
- 5. **Flexible**: Different modules can inject different content
122
-
123
- ## Adding Support for a New IDE
124
-
125
- 1. Create sub-module folder: `src/modules/{module}/sub-modules/{new-ide}/`
126
- 2. Add `injections.yaml` with IDE-specific content
127
- 3. Update IDE installer to process injections using this standard
128
- 4. Test installation with and without the IDE selected
129
-
130
- ## Example: BMM Module with Claude Code
131
-
132
- ### File Structure
133
-
134
- ```
135
- src/modules/bmm/
136
- ├── agents/pm.md # Has injection point
137
- ├── templates/prd.md # Has multiple injection points
138
- └── sub-modules/
139
- └── claude-code/
140
- ├── injections.yaml # Defines what to inject
141
- └── sub-agents/ # Claude Code specific subagents
142
- ├── market-researcher.md
143
- ├── requirements-analyst.md
144
- └── ...
145
- ```
146
-
147
- ### Injection Point in pm.md
148
-
149
- ```xml
150
- <agent>
151
- <persona>...</persona>
152
- <!-- IDE-INJECT-POINT: pm-agent-instructions -->
153
- <cmds>...</cmds>
154
- </agent>
155
- ```
156
-
157
- ### Injection Configuration
158
-
159
- ```yaml
160
- injections:
161
- - file: '_bmad/bmm/agents/pm.md'
162
- point: 'pm-agent-instructions'
163
- requires: 'any' # Injected if ANY subagent is selected
164
- content: |
165
- <llm critical="true">
166
- <i>Use 'market-researcher' subagent for analysis</i>
167
- </llm>
168
-
169
- - file: '_bmad/bmm/templates/prd.md'
170
- point: 'prd-goals-context-delegation'
171
- requires: 'market-researcher' # Only if this specific subagent selected
172
- content: |
173
- <i>DELEGATE: Use 'market-researcher' subagent...</i>
174
- ```
175
-
176
- ### Result After Installation
177
-
178
- ```xml
179
- <agent>
180
- <persona>...</persona>
181
- <llm critical="true">
182
- <i>Use 'market-researcher' subagent for analysis</i>
183
- </llm>
184
- <cmds>...</cmds>
185
- </agent>
186
- ```
@@ -1,389 +0,0 @@
1
- # BMAD Installation & Module System Reference
2
-
3
- ## Table of Contents
4
-
5
- 1. [Overview](#overview)
6
- 2. [Quick Start](#quick-start)
7
- 3. [Architecture](#architecture)
8
- 4. [Modules](#modules)
9
- 5. [Configuration System](#configuration-system)
10
- 6. [Platform Integration](#platform-integration)
11
- 7. [Development Guide](#development-guide)
12
- 8. [Troubleshooting](#troubleshooting)
13
-
14
- ## Overview
15
-
16
- BMad Core is a modular AI agent framework with intelligent installation, platform-agnostic support, and configuration inheritance.
17
-
18
- ### Key Features
19
-
20
- - **Modular Design**: Core + optional modules (BMB, BMM, CIS)
21
- - **Smart Installation**: Interactive configuration with dependency resolution
22
- - **Clean Architecture**: Centralized `_bmad` directory add to project, no source pollution with multiple folders added
23
-
24
- ## Architecture
25
-
26
- ### Directory Structure upon installation
27
-
28
- ```
29
- project-root/
30
- ├── _bmad/ # Centralized installation
31
- │ ├── _config/ # Configuration
32
- │ │ ├── agents/ # Agent configs
33
- │ │ └── agent-manifest.csv # Agent manifest
34
- │ ├── core/ # Core module
35
- │ │ ├── agents/
36
- │ │ ├── tasks/
37
- │ │ └── config.yaml
38
- │ ├── bmm/ # BMad Method module
39
- │ │ ├── agents/
40
- │ │ ├── tasks/
41
- │ │ ├── workflows/
42
- │ │ └── config.yaml
43
- │ └── cis/ # Creative Innovation Studio
44
- │ └── ...
45
- └── .claude/ # Platform-specific (example)
46
- └── agents/
47
- ```
48
-
49
- ### Installation Flow
50
-
51
- 1. **Detection**: Check existing installation
52
- 2. **Selection**: Choose modules interactively or via CLI
53
- 3. **Configuration**: Collect module-specific settings
54
- 4. **Installation**: Compile Process and copy files
55
- 5. **Generation**: Create config files with inheritance
56
- 6. **Post-Install**: Run module installers
57
- 7. **Manifest**: Track installed components
58
-
59
- ### Key Exclusions
60
-
61
- - `_module-installer/` directories are never copied to destination
62
- - module.yaml
63
- - `localskip="true"` agents are filtered out
64
- - Source `config.yaml` templates are replaced with generated configs
65
-
66
- ## Modules
67
-
68
- ### Core Module (Required)
69
-
70
- Foundation framework with C.O.R.E. (Collaboration Optimized Reflection Engine)
71
-
72
- - **Components**: Base agents, activation system, advanced elicitation
73
- - **Config**: `user_name`, `communication_language`
74
-
75
- ### BMM Module
76
-
77
- BMad Method for software development workflows
78
-
79
- - **Components**: PM agent, dev tasks, PRD templates, story generation
80
- - **Config**: `project_name`, `tech_docs`, `output_folder`, `story_location`
81
- - **Dependencies**: Core
82
-
83
- ### CIS Module
84
-
85
- Creative Innovation Studio for design workflows
86
-
87
- - **Components**: Design agents, creative tasks
88
- - **Config**: `output_folder`, design preferences
89
- - **Dependencies**: Core
90
-
91
- ### Module Structure
92
-
93
- ```
94
- src/modules/{module}/
95
- ├── _module-installer/ # Not copied to destination
96
- │ ├── installer.js # Post-install logic
97
- ├── module.yaml
98
- ├── agents/
99
- ├── tasks/
100
- ├── templates/
101
- └── sub-modules/ # Platform-specific content
102
- └── {platform}/
103
- ├── injections.yaml
104
- └── sub-agents/
105
- ```
106
-
107
- ## Configuration System
108
-
109
- ### Collection Process
110
-
111
- Modules define prompts in `module.yaml`:
112
-
113
- ```yaml
114
- project_name:
115
- prompt: 'Project title?'
116
- default: 'My Project'
117
- result: '{value}'
118
-
119
- output_folder:
120
- prompt: 'Output location?'
121
- default: 'docs'
122
- result: '{project-root}/{value}'
123
-
124
- tools:
125
- prompt: 'Select tools:'
126
- multi-select:
127
- - 'Tool A'
128
- - 'Tool B'
129
- ```
130
-
131
- ### Configuration Inheritance
132
-
133
- Core values cascade to ALL modules automatically:
134
-
135
- ```yaml
136
- # core/config.yaml
137
- user_name: "Jane"
138
- communication_language: "English"
139
-
140
- # bmm/config.yaml (generated)
141
- project_name: "My App"
142
- tech_docs: "/path/to/docs"
143
- # Core Configuration Values (inherited)
144
- user_name: "Jane"
145
- communication_language: "English"
146
- ```
147
-
148
- **Reserved Keys**: Core configuration keys cannot be redefined by other modules.
149
-
150
- ### Path Placeholders
151
-
152
- - `{project-root}`: Project directory path
153
- - `{value}`: User input
154
- - `{module}`: Module name
155
- - `{core:field}`: Reference core config value
156
-
157
- ### Config Generation Rules
158
-
159
- 1. ALL installed modules get a `config.yaml` (even without prompts)
160
- 2. Core values are ALWAYS included in module configs
161
- 3. Module-specific values come first, core values appended
162
- 4. Source templates are never copied, only generated configs
163
-
164
- ## Platform Integration
165
-
166
- ### Supported Platforms
167
-
168
- **Preferred** (Full Integration):
169
-
170
- - Claude Code
171
- - Cursor
172
- - Windsurf
173
-
174
- **Additional**:
175
- Cline, Roo, Rovo Dev,Auggie, GitHub Copilot, Codex, Gemini, Qwen, Trae, Kilo, Crush, iFlow
176
-
177
- ### Platform Features
178
-
179
- 1. **Setup Handler** (`tools/cli/installers/lib/ide/{platform}.js`)
180
- - Directory creation
181
- - Configuration generation
182
- - Agent processing
183
-
184
- 2. **Content Injection** (`sub-modules/{platform}/injections.yaml`)
185
-
186
- ```yaml
187
- injections:
188
- - file: '_bmad/bmm/agents/pm.md'
189
- point: 'pm-agent-instructions'
190
- content: |
191
- <i>Platform-specific instruction</i>
192
-
193
- subagents:
194
- source: 'sub-agents'
195
- target: '.claude/agents'
196
- files: ['agent.md']
197
- ```
198
-
199
- 3. **Interactive Config**
200
- - Subagent selection
201
- - Installation scope (project/user)
202
- - Feature toggles
203
-
204
- ### Injection System
205
-
206
- Platform-specific content without source modification:
207
-
208
- - Inject points marked in source: `<!-- IDE-INJECT-POINT:name -->`
209
- - Content added during installation only
210
- - Source files remain clean
211
-
212
- ## Development Guide
213
-
214
- ### Creating a Module
215
-
216
- 1. **Structure**
217
-
218
- ```
219
- src/modules/mymod/
220
- ├── _module-installer/
221
- │ ├── installer.js
222
- ├── module.yaml
223
- ├── agents/
224
- └── tasks/
225
- ```
226
-
227
- 2. **Configuration** (`module.yaml`)
228
-
229
- ```yaml
230
- code: mymod
231
- name: 'My Module'
232
- prompt: 'Welcome message'
233
-
234
- setting_name:
235
- prompt: 'Configure X?'
236
- default: 'value'
237
- ```
238
-
239
- 3. **Installer** (`installer.js`)
240
- ```javascript
241
- async function install(options) {
242
- const { projectRoot, config, installedIDEs, logger } = options;
243
- // Custom logic
244
- return true;
245
- }
246
- module.exports = { install };
247
- ```
248
-
249
- ### Adding Platform Support
250
-
251
- 1. Create handler: `tools/cli/installers/lib/ide/myplatform.js`
252
- 2. Extend `BaseIdeSetup` class
253
- 3. Add sub-module: `src/modules/{mod}/sub-modules/myplatform/`
254
- 4. Define injections and platform agents
255
-
256
- ### Agent Configuration
257
-
258
- Extractable config nodes:
259
-
260
- ```xml
261
- <agent>
262
- <setting agentConfig="true">
263
- Default value
264
- </setting>
265
- </agent>
266
- ```
267
-
268
- Generated in: `bmad/_config/agents/{module}-{agent}.md`
269
-
270
- ## Troubleshooting
271
-
272
- ### Common Issues
273
-
274
- | Issue | Solution |
275
- | ----------------------- | ------------------------------------ |
276
- | Existing installation | Use `bmad update` or remove `_bmad/` |
277
- | Module not found | Check `src/modules/` exists |
278
- | Config not applied | Verify `_bmad/{module}/config.yaml` |
279
- | Missing config.yaml | Fixed: All modules now get configs |
280
- | Agent unavailable | Check for `localskip="true"` |
281
- | module-installer copied | Fixed: Now excluded from copy |
282
-
283
- ### Debug Commands
284
-
285
- ```bash
286
- bmad install -v # Verbose installation
287
- bmad status -v # Detailed status
288
- ```
289
-
290
- ### Best Practices
291
-
292
- 1. Run from project root
293
- 2. Backup `_bmad/_config/` before updates
294
- 3. Use interactive mode for guidance
295
- 4. Review generated configs post-install
296
-
297
- ## Migration from v4
298
-
299
- | v4 | v6 |
300
- | ------------------- | -------------------- |
301
- | Scattered files | Centralized `_bmad/` |
302
- | Monolithic | Modular |
303
- | Manual config | Interactive setup |
304
- | Limited IDE support | 15+ platforms |
305
- | Source modification | Clean injection |
306
-
307
- ## Technical Notes
308
-
309
- ### Dependency Resolution
310
-
311
- - Direct dependencies (module → module)
312
- - Agent references (cross-module)
313
- - Template dependencies
314
- - Partial module installation (only required files)
315
- - Workflow vendoring for standalone module operation
316
-
317
- ## Workflow Vendoring
318
-
319
- **Problem**: Modules that reference workflows from other modules create dependencies, forcing users to install multiple modules even when they only need one.
320
-
321
- **Solution**: Workflow vendoring allows modules to copy workflows from other modules during installation, making them fully standalone.
322
-
323
- ### How It Works
324
-
325
- Agents can specify both `workflow` (source location) and `workflow-install` (destination location) in their menu items:
326
-
327
- ```yaml
328
- menu:
329
- - trigger: create-story
330
- workflow: '{project-root}/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml'
331
- workflow-install: '{project-root}/_bmad/bmgd/workflows/4-production/create-story/workflow.yaml'
332
- description: 'Create a game feature story'
333
- ```
334
-
335
- **During Installation:**
336
-
337
- 1. **Vendoring Phase**: Before copying module files, the installer:
338
- - Scans source agent YAML files for `workflow-install` attributes
339
- - Copies entire workflow folders from `workflow` path to `workflow-install` path
340
- - Updates vendored `workflow.yaml` files to reference target module's config
341
-
342
- 2. **Compilation Phase**: When compiling agents:
343
- - If `workflow-install` exists, uses its value for the `workflow` attribute
344
- - `workflow-install` is build-time metadata only, never appears in final XML
345
- - Compiled agent references vendored workflow location
346
-
347
- 3. **Config Update**: Vendored workflows get their `config_source` updated:
348
-
349
- ```yaml
350
- # Source workflow (in bmm):
351
- config_source: "{project-root}/_bmad/bmm/config.yaml"
352
-
353
- # Vendored workflow (in bmgd):
354
- config_source: "{project-root}/_bmad/bmgd/config.yaml"
355
- ```
356
-
357
- **Result**: Modules become completely standalone with their own copies of needed workflows, configured for their specific use case.
358
-
359
- ### Example Use Case: BMGD Module
360
-
361
- The BMad Game Development module vendors implementation workflows from BMM:
362
-
363
- - Game Dev Scrum Master agent references BMM workflows
364
- - During installation, workflows are copied to `bmgd/workflows/4-production/`
365
- - Vendored workflows use BMGD's config (with game-specific settings)
366
- - BMGD can be installed without BMM dependency
367
-
368
- ### Benefits
369
-
370
- ✅ **Module Independence** - No forced dependencies
371
- ✅ **Clean Namespace** - Workflows live in their module
372
- ✅ **Config Isolation** - Each module uses its own configuration
373
- ✅ **Customization Ready** - Vendored workflows can be modified independently
374
- ✅ **No User Confusion** - Avoid partial module installations
375
-
376
- ### File Processing
377
-
378
- - Filters `localskip="true"` agents
379
- - Excludes `_module-installer/` directories
380
- - Replaces path placeholders at runtime
381
- - Injects activation blocks
382
- - Vendors cross-module workflows (see Workflow Vendoring below)
383
-
384
- ### Web Bundling
385
-
386
- ```bash
387
- bmad bundle --web # Filter for web deployment
388
- npm run validate:bundles # Validate bundles
389
- ```