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,31 @@
1
+ # Wellness Journal Workflow
2
+
3
+ ## Purpose
4
+
5
+ Guided reflective writing practice to process thoughts and emotions.
6
+
7
+ ## Trigger
8
+
9
+ WJ (from Wellness Companion agent)
10
+
11
+ ## Key Steps
12
+
13
+ 1. Set intention for journal entry
14
+ 2. Choose journal prompt or free write
15
+ 3. Guided reflection questions
16
+ 4. Emotional processing check
17
+ 5. Identify insights or patterns
18
+ 6. Save entry with mood tags
19
+ 7. Provide supportive closure
20
+
21
+ ## Expected Output
22
+
23
+ - Journal entry with metadata
24
+ - Mood analysis
25
+ - Pattern insights
26
+ - Progress indicators
27
+
28
+ ## Notes
29
+
30
+ This workflow will be implemented using the create-workflow workflow.
31
+ Features: Daily prompts, mood tracking, pattern recognition, searchable entries.
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: wellness-journal
3
+ description: create or add to the wellness journal
4
+ web_bundle: false
5
+ ---
6
+
7
+ # Wellness Journal
8
+
9
+ **Goal:** TODO
10
+
11
+ **Your Role:** TODO
12
+
13
+ ## WORKFLOW ARCHITECTURE
14
+
15
+ ### Core Principles
16
+
17
+ TODO
18
+
19
+ ### Step Processing Rules
20
+
21
+ 1. **READ COMPLETELY**: Always read the entire step file before taking any action
22
+ 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
23
+ 3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
24
+ 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
25
+ 5. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
26
+
27
+ ### Critical Rules (NO EXCEPTIONS)
28
+
29
+ - 🛑 **NEVER** load multiple step files simultaneously
30
+ - 📖 **ALWAYS** read entire step file before execution
31
+ - 🎯 **ALWAYS** follow the exact instructions in the step file
32
+ - ⏸️ **ALWAYS** halt at menus and wait for user input
33
+ - 📋 **NEVER** create mental todo lists from future steps
34
+
35
+ ## INITIALIZATION SEQUENCE
36
+
37
+ ### 1. Module Configuration Loading
38
+
39
+ Load and read full config from {project-root}/.bmad/mwm/config.yaml and resolve:
40
+
41
+ - `user_name`, `output_folder`, `communication_language`, `document_output_language`
42
+
43
+ ### 2. First Step EXECUTION
44
+
45
+ TODO - NO INSTRUCTIONS IMPLEMENTED YET - INFORM USER THIS IS COMING SOON FUNCTIONALITY.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.0.0-alpha.13",
4
+ "version": "6.0.0-alpha.15",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -24,7 +24,6 @@
24
24
  "bmad-method": "tools/bmad-npx-wrapper.js"
25
25
  },
26
26
  "scripts": {
27
- "bmad:agent-install": "node tools/cli/bmad-cli.js agent-install",
28
27
  "bmad:install": "node tools/cli/bmad-cli.js install",
29
28
  "bmad:status": "node tools/cli/bmad-cli.js status",
30
29
  "bundle": "node tools/cli/bundlers/bundle-web.js all",
@@ -34,13 +33,14 @@
34
33
  "install:bmad": "node tools/cli/bmad-cli.js install",
35
34
  "lint": "eslint . --ext .js,.cjs,.mjs,.yaml --max-warnings=0",
36
35
  "lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
36
+ "lint:md": "markdownlint-cli2 \"**/*.md\"",
37
37
  "prepare": "husky",
38
38
  "rebundle": "node tools/cli/bundlers/bundle-web.js rebundle",
39
39
  "release:major": "gh workflow run \"Manual Release\" -f version_bump=major",
40
40
  "release:minor": "gh workflow run \"Manual Release\" -f version_bump=minor",
41
41
  "release:patch": "gh workflow run \"Manual Release\" -f version_bump=patch",
42
42
  "release:watch": "gh run watch",
43
- "test": "npm run test:schemas && npm run test:install && npm run validate:bundles && npm run validate:schemas && npm run lint && npm run format:check",
43
+ "test": "npm run test:schemas && npm run test:install && npm run validate:bundles && npm run validate:schemas && npm run lint && npm run lint:md && npm run format:check",
44
44
  "test:coverage": "c8 --reporter=text --reporter=html npm run test:schemas",
45
45
  "test:install": "node test/test-installation-components.js",
46
46
  "test:schemas": "node test/test-agent-schema.js",
@@ -56,7 +56,11 @@
56
56
  "eslint --fix",
57
57
  "npm run format:fix"
58
58
  ],
59
- "*.{json,md}": [
59
+ "*.json": [
60
+ "npm run format:fix"
61
+ ],
62
+ "*.md": [
63
+ "markdownlint-cli2",
60
64
  "npm run format:fix"
61
65
  ]
62
66
  },
@@ -90,6 +94,7 @@
90
94
  "husky": "^9.1.7",
91
95
  "jest": "^30.0.4",
92
96
  "lint-staged": "^16.1.1",
97
+ "markdownlint-cli2": "^0.19.1",
93
98
  "prettier": "^3.5.3",
94
99
  "prettier-plugin-packagejson": "^2.5.19",
95
100
  "yaml-eslint-parser": "^1.2.3",
@@ -6,7 +6,7 @@ const chalk = require('chalk');
6
6
  *
7
7
  * @param {Object} options - Installation options
8
8
  * @param {string} options.projectRoot - The root directory of the target project
9
- * @param {Object} options.config - Module configuration from install-config.yaml
9
+ * @param {Object} options.config - Module configuration from module.yaml
10
10
  * @param {Array<string>} options.installedIDEs - Array of IDE codes that were installed
11
11
  * @param {Object} options.logger - Logger instance for output
12
12
  * @returns {Promise<boolean>} - Success status
@@ -23,7 +23,11 @@ document_output_language:
23
23
  default: "{communication_language}"
24
24
  result: "{value}"
25
25
 
26
- # This is the folder where all generated AI Output documents from workflows will default be sa
26
+ agent_sidecar_folder:
27
+ prompt: "Where should users agent sidecar memory folders be stored?"
28
+ default: ".bmad-user-memory"
29
+ result: "{project-root}/{value}"
30
+
27
31
  output_folder:
28
32
  prompt: "Where should AI Generated Artifacts be saved across all modules?"
29
33
  default: "docs"
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Purpose
6
6
 
7
- Load external .excalidrawlib files from https://libraries.excalidraw.com or custom sources.
7
+ Load external .excalidrawlib files from <https://libraries.excalidraw.com> or custom sources.
8
8
 
9
9
  ## Planned Capabilities
10
10
 
@@ -34,7 +34,7 @@ libraries:
34
34
 
35
35
  ## Implementation Notes
36
36
 
37
- This will be developed when agents need to leverage the extensive library ecosystem available at https://libraries.excalidraw.com.
37
+ This will be developed when agents need to leverage the extensive library ecosystem available at <https://libraries.excalidraw.com>.
38
38
 
39
39
  Hundreds of pre-built component libraries exist for:
40
40
 
@@ -135,7 +135,7 @@ _[Content based on conversation about session parameters and facilitator approac
135
135
 
136
136
  When user selects approach, append the session overview content directly to `{output_folder}/analysis/brainstorming-session-{{date}}.md` using the structure from above.
137
137
 
138
- #### E. Continue to Technique Selection
138
+ ### E. Continue to Technique Selection
139
139
 
140
140
  "**Session setup complete!** I have a clear understanding of your goals and can select the perfect techniques for your brainstorming needs.
141
141
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: Brainstorming Session
2
+ name: brainstorming-session
3
3
  description: Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods
4
4
  context_file: '' # Optional context file path for project-specific guidance
5
5
  ---
@@ -95,7 +95,6 @@ stepsCompleted: [1, 2, 3]
95
95
  workflowType: 'party-mode'
96
96
  user_name: '{{user_name}}'
97
97
  date: '{{date}}'
98
- current_year: '{{current_year}}'
99
98
  agents_loaded: true
100
99
  party_active: false
101
100
  workflow_completed: true
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: Party Mode
2
+ name: party-mode
3
3
  description: Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations
4
4
  ---
5
5
 
@@ -31,7 +31,7 @@ Load config from `{project-root}/{bmad_folder}/bmm/config.yaml` and resolve:
31
31
 
32
32
  - `project_name`, `output_folder`, `user_name`
33
33
  - `communication_language`, `document_output_language`, `user_skill_level`
34
- - `date`, `current_year`, `current_month` as system-generated values
34
+ - `date` as a system-generated value
35
35
  - Agent manifest path: `{project-root}/{bmad_folder}/_cfg/agent-manifest.csv`
36
36
 
37
37
  ### Paths
@@ -118,7 +118,6 @@ stepsCompleted: [1]
118
118
  workflowType: 'party-mode'
119
119
  user_name: '{{user_name}}'
120
120
  date: '{{date}}'
121
- current_year: '{{current_year}}'
122
121
  agents_loaded: true
123
122
  party_active: true
124
123
  exit_triggers: ['*exit', 'goodbye', 'end party', 'quit']
@@ -58,7 +58,7 @@ Specialized tools and workflows for creating, customizing, and extending BMad co
58
58
 
59
59
  - **[Workflow Index](./docs/workflows/index.md)** - Core workflow system overview
60
60
  - **[Architecture Guide](./docs/workflows/architecture.md)** - Step-file design and JIT loading
61
- - **[Template System](./docs/workflows/step-template.md)** - Standard step file template
61
+ - **[Template System](./docs/workflows/templates/step-template.md)** - Standard step file template
62
62
  - **[Intent vs Prescriptive](./docs/workflows/intent-vs-prescriptive-spectrum.md)** - Design philosophy
63
63
 
64
64
  ## Reference Materials
@@ -0,0 +1,76 @@
1
+ const fs = require('fs-extra');
2
+ const path = require('node:path');
3
+ const chalk = require('chalk');
4
+
5
+ /**
6
+ * BMB Module Installer
7
+ * Sets up custom agent and workflow locations for the BMad Builder module
8
+ *
9
+ * @param {Object} options - Installation options
10
+ * @param {string} options.projectRoot - The root directory of the target project
11
+ * @param {Object} options.config - Module configuration from module.yaml
12
+ * @param {Object} options.coreConfig - Core configuration containing user_name
13
+ * @param {Array<string>} options.installedIDEs - Array of IDE codes that were installed
14
+ * @param {Object} options.logger - Logger instance for output
15
+ * @returns {Promise<boolean>} - Success status
16
+ */
17
+ async function install(options) {
18
+ const { projectRoot, config, coreConfig, installedIDEs, logger } = options;
19
+
20
+ try {
21
+ logger.log(chalk.blue('🔧 Setting up BMB Module...'));
22
+
23
+ // Generate custom.yaml in custom_stand_alone_location
24
+ if (config['custom_stand_alone_location']) {
25
+ // The config value contains {project-root} which needs to be resolved
26
+ const rawLocation = config['custom_stand_alone_location'];
27
+ const customLocation = rawLocation.replace('{project-root}', projectRoot);
28
+ const customDestPath = path.join(customLocation, 'custom.yaml');
29
+
30
+ logger.log(chalk.cyan(` Setting up custom agents at: ${customLocation}`));
31
+
32
+ // Ensure the directory exists
33
+ await fs.ensureDir(customLocation);
34
+
35
+ // Generate the custom.yaml content
36
+ const userName = (coreConfig && coreConfig.user_name) || 'my';
37
+ const customContent = `code: my-custom-bmad
38
+ name: "${userName}-Custom-BMad: Sample Stand Alone Custom Agents and Workflows"
39
+ default_selected: true
40
+ `;
41
+
42
+ // Write the custom.yaml file (only if it doesn't exist to preserve user changes)
43
+ if (await fs.pathExists(customDestPath)) {
44
+ logger.log(chalk.yellow(` ✓ custom.yaml already exists at ${customDestPath}`));
45
+ } else {
46
+ await fs.writeFile(customDestPath, customContent, 'utf8');
47
+ logger.log(chalk.green(` ✓ Created custom.yaml at ${customDestPath}`));
48
+ }
49
+ }
50
+
51
+ // Set up custom module location if configured
52
+ if (config['custom_module_location']) {
53
+ const rawModuleLocation = config['custom_module_location'];
54
+ const moduleLocation = rawModuleLocation.replace('{project-root}', projectRoot);
55
+
56
+ logger.log(chalk.cyan(` Setting up custom modules at: ${moduleLocation}`));
57
+
58
+ // Ensure the directory exists
59
+ await fs.ensureDir(moduleLocation);
60
+ logger.log(chalk.green(` ✓ Created modules directory at ${moduleLocation}`));
61
+ }
62
+
63
+ // Handle IDE-specific configurations if needed
64
+ if (installedIDEs && installedIDEs.length > 0) {
65
+ logger.log(chalk.cyan(` Configuring BMB for IDEs: ${installedIDEs.join(', ')}`));
66
+ }
67
+
68
+ logger.log(chalk.green('✓ BMB Module setup complete'));
69
+ return true;
70
+ } catch (error) {
71
+ logger.error(chalk.red(`Error setting up BMB module: ${error.message}`));
72
+ return false;
73
+ }
74
+ }
75
+
76
+ module.exports = { install };
@@ -29,22 +29,25 @@ agent:
29
29
  - modules: "{project-root}/{bmad_folder}/bmb/docs/modules/kb.csv"
30
30
 
31
31
  menu:
32
- - multi: "[CA] Create, [EA] Edit, or [VA] Validate BMAD agents with best practices"
32
+ - multi: "[CA] Create, [EA] Edit, or [VA] Validate with Compliance CheckBMAD agents with best practices"
33
33
  triggers:
34
34
  - create-agent:
35
35
  - input: CA or fuzzy match create agent
36
36
  - route: "{project-root}/{bmad_folder}/bmb/workflows/create-agent/workflow.md"
37
37
  - data: null
38
+ - type: exec
38
39
  - edit-agent:
39
40
  - input: EA or fuzzy match edit agent
40
41
  - route: "{project-root}/{bmad_folder}/bmb/workflows/edit-agent/workflow.md"
41
42
  - data: null
43
+ - type: exec
42
44
  - run-agent-compliance-check:
43
45
  - input: VA or fuzzy match validate agent
44
46
  - route: "{project-root}/{bmad_folder}/bmb/workflows/agent-compliance-check/workflow.md"
45
47
  - data: null
48
+ - type: exec
46
49
 
47
- - multi: "[CW] Create, [EW] Edit, or [VW] Validate BMAD workflows with best practices"
50
+ - multi: "[CW] Create, [EW] Edit, or [VW] Validate with Compliance CheckBMAD workflows with best practices"
48
51
  triggers:
49
52
  - create-workflow:
50
53
  - input: CW or fuzzy match create workflow
@@ -62,10 +65,30 @@ agent:
62
65
  - data: null
63
66
  - type: exec
64
67
 
65
- - trigger: create-module
66
- workflow: "{project-root}/{bmad_folder}/bmb/workflows/create-module/workflow.yaml"
67
- description: Create a complete BMAD compatible module (custom agents and workflows)
68
-
69
- - trigger: edit-module
70
- workflow: "{project-root}/{bmad_folder}/bmb/workflows/edit-module/workflow.yaml"
71
- description: Edit existing modules (structure, agents, workflows, documentation)
68
+ - multi: "[BM] Brainstorm, [PBM] Product Brief, [CM] Create, [EM] Edit or [VM] Validate with Compliance Check BMAD modules with best practices"
69
+ triggers:
70
+ - brainstorm-module:
71
+ - input: BM or fuzzy match brainstorm module
72
+ - route: "{project-root}/{bmad_folder}/bmb/workflows/brainstorm-module/workflow.md"
73
+ - data: null
74
+ - type: exec
75
+ - product-brief-module:
76
+ - input: PBM or fuzzy match product brief module
77
+ - route: "{project-root}/{bmad_folder}/bmb/workflows/product-brief-module/workflow.md"
78
+ - data: null
79
+ - type: exec
80
+ - create-module:
81
+ - input: CM or fuzzy match create module
82
+ - route: "{project-root}/{bmad_folder}/bmb/workflows/create-module/workflow.md"
83
+ - data: null
84
+ - type: exec
85
+ - edit-module:
86
+ - input: EM or fuzzy match edit module
87
+ - route: "{project-root}/{bmad_folder}/bmb/workflows/edit-module/workflow.md"
88
+ - data: null
89
+ - type: exec
90
+ - run-module-compliance-check:
91
+ - input: VM or fuzzy match validate module
92
+ - route: "{project-root}/{bmad_folder}/bmb/workflows/module-compliance-check/workflow.md"
93
+ - data: null
94
+ - type: exec
@@ -375,7 +375,7 @@ exec: "../../../core/tasks/validate.xml"
375
375
 
376
376
  - `{project-root}` - Project root directory
377
377
  - `{bmad_folder}` - BMAD installation folder
378
- - `{agent-folder}` - Agent installation directory (Expert agents)
378
+ - `{agent_sidecar_folder}` - Agent installation directory (Expert agents)
379
379
  - `{output_folder}` - Document output location
380
380
  - `{user_name}` - User's name from config
381
381
  - `{communication_language}` - Language preference
@@ -415,9 +415,9 @@ menu:
415
415
 
416
416
  ```yaml
417
417
  critical_actions:
418
- - 'Load {agent-folder}/memories.md'
419
- - 'Follow {agent-folder}/instructions.md'
420
- - 'ONLY access {agent-folder}/'
418
+ - 'Load ./memories.md'
419
+ - 'Follow ./instructions.md'
420
+ - 'ONLY access ./'
421
421
 
422
422
  prompts:
423
423
  - id: reflect
@@ -431,7 +431,7 @@ menu:
431
431
  description: 'Write journal entry'
432
432
 
433
433
  - trigger: save
434
- action: 'Update {agent-folder}/memories.md with session insights'
434
+ action: 'Update ./memories.md with session insights'
435
435
  description: "Save today's session"
436
436
 
437
437
  - trigger: patterns
@@ -57,9 +57,9 @@ agent:
57
57
  - My approach to memory and learning
58
58
 
59
59
  critical_actions:
60
- - 'Load COMPLETE file {agent-folder}/{agent-name}-sidecar/memories.md and remember all past insights'
61
- - 'Load COMPLETE file {agent-folder}/{agent-name}-sidecar/instructions.md and follow ALL protocols'
62
- - 'ONLY read/write files in {agent-folder}/{agent-name}-sidecar/ - this is our private space'
60
+ - 'Load COMPLETE file ./{agent-name}-sidecar/memories.md and remember all past insights'
61
+ - 'Load COMPLETE file ./{agent-name}-sidecar/instructions.md and follow ALL protocols'
62
+ - 'ONLY read/write files in ./{agent-name}-sidecar/ - this is our private space'
63
63
  - 'Address user as {{greeting_name}}'
64
64
  - 'Track patterns, themes, and important moments'
65
65
  - 'Reference past interactions naturally to show continuity'
@@ -94,7 +94,7 @@ agent:
94
94
  description: 'Primary agent function'
95
95
 
96
96
  - trigger: remember
97
- action: 'Update {agent-folder}/{agent-name}-sidecar/memories.md with session insights'
97
+ action: 'Update ./{agent-name}-sidecar/memories.md with session insights'
98
98
  description: 'Save what we discussed today'
99
99
 
100
100
  - trigger: patterns
@@ -102,7 +102,7 @@ agent:
102
102
  description: 'Recall patterns from past interactions'
103
103
 
104
104
  - trigger: insight
105
- action: 'Document breakthrough in {agent-folder}/{agent-name}-sidecar/breakthroughs.md'
105
+ action: 'Document breakthrough in ./{agent-name}-sidecar/breakthroughs.md'
106
106
  description: 'Record a significant insight'
107
107
 
108
108
  install_config:
@@ -184,9 +184,9 @@ Add domain-specific documentation here.
184
184
 
185
185
  ```yaml
186
186
  critical_actions:
187
- - 'Load COMPLETE file {agent-folder}/{sidecar}/memories.md and remember all past insights'
188
- - 'Load COMPLETE file {agent-folder}/{sidecar}/instructions.md and follow ALL protocols'
189
- - 'ONLY read/write files in {agent-folder}/{sidecar}/ - this is our private space'
187
+ - 'Load COMPLETE file ./{sidecar}/memories.md and remember all past insights'
188
+ - 'Load COMPLETE file ./{sidecar}/instructions.md and follow ALL protocols'
189
+ - 'ONLY read/write files in ./{sidecar}/ - this is our private space'
190
190
  ```
191
191
 
192
192
  **Key patterns:**
@@ -196,7 +196,7 @@ critical_actions:
196
196
  - **Memory integration** - Past context becomes part of current session
197
197
  - **Protocol adherence** - Ensures consistent behavior
198
198
 
199
- ### {agent-folder} Variable
199
+ ### {agent_sidecar_folder} Variable
200
200
 
201
201
  Special variable resolved during installation:
202
202
 
@@ -211,9 +211,9 @@ Same as simple agents, PLUS:
211
211
  1. **Critical actions become numbered activation steps**
212
212
 
213
213
  ```xml
214
- <step n="4">Load COMPLETE file {agent-folder}/memories.md...</step>
215
- <step n="5">Load COMPLETE file {agent-folder}/instructions.md...</step>
216
- <step n="6">ONLY read/write files in {agent-folder}/...</step>
214
+ <step n="4">Load COMPLETE file ./memories.md...</step>
215
+ <step n="5">Load COMPLETE file ./instructions.md...</step>
216
+ <step n="6">ONLY read/write files in ./...</step>
217
217
  ```
218
218
 
219
219
  2. **Sidecar files copied during installation**
@@ -260,7 +260,7 @@ The installer:
260
260
  ```yaml
261
261
  menu:
262
262
  - trigger: save
263
- action: "Update {agent-folder}/sidecar/memories.md with today's session insights"
263
+ action: "Update ./sidecar/memories.md with today's session insights"
264
264
  description: 'Save session to memory'
265
265
  ```
266
266
 
@@ -281,7 +281,7 @@ prompts:
281
281
  ```yaml
282
282
  menu:
283
283
  - trigger: insight
284
- action: 'Document in {agent-folder}/sidecar/breakthroughs.md with date, context, significance'
284
+ action: 'Document in ./sidecar/breakthroughs.md with date, context, significance'
285
285
  description: 'Record meaningful insight'
286
286
  ```
287
287
 
@@ -291,7 +291,7 @@ menu:
291
291
 
292
292
  ```yaml
293
293
  critical_actions:
294
- - 'ONLY read/write files in {agent-folder}/sidecar/ - NO OTHER FOLDERS'
294
+ - 'ONLY read/write files in ./sidecar/ - NO OTHER FOLDERS'
295
295
  ```
296
296
 
297
297
  ### User Space Access
@@ -305,15 +305,15 @@ critical_actions:
305
305
 
306
306
  ```yaml
307
307
  critical_actions:
308
- - 'Load knowledge from {agent-folder}/knowledge/ but NEVER modify'
309
- - 'Write ONLY to {agent-folder}/sessions/'
308
+ - 'Load knowledge from ./knowledge/ but NEVER modify'
309
+ - 'Write ONLY to ./sessions/'
310
310
  ```
311
311
 
312
312
  ## Best Practices
313
313
 
314
314
  1. **Load sidecar files in critical_actions** - Must be explicit and MANDATORY
315
315
  2. **Enforce domain restrictions** - Clear boundaries prevent scope creep
316
- 3. **Use {agent-folder} paths** - Portable across installations
316
+ 3. **Use {agent_sidecar_folder} paths** - Portable across installations
317
317
  4. **Design for memory growth** - Structure sidecar files for accumulation
318
318
  5. **Reference past naturally** - Don't dump memory, weave it into conversation
319
319
  6. **Separate concerns** - Memories, instructions, knowledge in distinct files
@@ -356,8 +356,8 @@ identity: |
356
356
  - [ ] Sidecar folder structure created and populated
357
357
  - [ ] memories.md has clear section structure
358
358
  - [ ] instructions.md contains core directives
359
- - [ ] Menu actions reference {agent-folder} correctly
360
- - [ ] File paths use {agent-folder} variable
359
+ - [ ] Menu actions reference {agent_sidecar_folder} correctly
360
+ - [ ] File paths use {agent_sidecar_folder} variable
361
361
  - [ ] Install config personalizes sidecar references
362
362
  - [ ] Agent folder named consistently: `{agent-name}/`
363
363
  - [ ] YAML file named: `{agent-name}.agent.yaml`
@@ -37,7 +37,7 @@ Production-ready examples in `/src/modules/bmb/reference/agents/`:
37
37
 
38
38
  For installing standalone simple and expert agents, see:
39
39
 
40
- - [Custom Agent Installation](/docs/custom-agent-installation.md)
40
+ - [Custom Agent Installation](/docs/custom-content-installation.md)
41
41
 
42
42
  ## Key Concepts
43
43