bmad-method 6.0.0-alpha.7 → 6.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
  2. package/.github/workflows/bundle-latest.yaml +277 -0
  3. package/.github/workflows/manual-release.yaml +55 -16
  4. package/.vscode/settings.json +2 -1
  5. package/CHANGELOG.md +439 -1
  6. package/README.md +12 -4
  7. package/docs/BUNDLE_DISTRIBUTION_SETUP.md +95 -0
  8. package/docs/agent-customization-guide.md +208 -0
  9. package/docs/ide-info/crush.md +1 -1
  10. package/docs/ide-info/cursor.md +7 -7
  11. package/docs/ide-info/iflow.md +3 -3
  12. package/docs/ide-info/opencode.md +1 -1
  13. package/docs/index.md +3 -1
  14. package/docs/installers-bundlers/ide-injections.md +2 -2
  15. package/docs/installers-bundlers/installers-modules-platforms-reference.md +23 -23
  16. package/docs/v4-to-v6-upgrade.md +12 -12
  17. package/docs/web-bundles-gemini-gpt-guide.md +473 -0
  18. package/package.json +1 -1
  19. package/src/core/_module-installer/install-config.yaml +17 -10
  20. package/src/core/_module-installer/installer.js +0 -8
  21. package/src/core/agents/bmad-master.agent.yaml +5 -5
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +8 -17
  23. package/src/core/tasks/{adv-elicit.xml → advanced-elicitation.xml} +6 -4
  24. package/src/core/tasks/index-docs.xml +1 -1
  25. package/src/core/tasks/validate-workflow.xml +1 -1
  26. package/src/core/tasks/workflow.xml +125 -11
  27. package/src/core/tools/shard-doc.xml +45 -1
  28. package/src/core/workflows/brainstorming/README.md +6 -16
  29. package/src/core/workflows/brainstorming/instructions.md +6 -5
  30. package/src/core/workflows/brainstorming/template.md +4 -0
  31. package/src/core/workflows/brainstorming/workflow.yaml +8 -8
  32. package/src/core/workflows/party-mode/instructions.md +2 -7
  33. package/src/core/workflows/party-mode/workflow.yaml +10 -6
  34. package/src/modules/bmb/_module-installer/install-config.yaml +9 -4
  35. package/src/modules/bmb/agents/bmad-builder.agent.yaml +11 -10
  36. package/src/modules/bmb/workflows/audit-workflow/checklist.md +5 -6
  37. package/src/modules/bmb/workflows/audit-workflow/instructions.md +5 -5
  38. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +2 -2
  39. package/src/modules/bmb/workflows/convert-legacy/README.md +5 -5
  40. package/src/modules/bmb/workflows/convert-legacy/checklist.md +2 -2
  41. package/src/modules/bmb/workflows/convert-legacy/instructions.md +17 -17
  42. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +6 -6
  43. package/src/modules/bmb/workflows/create-agent/README.md +5 -5
  44. package/src/modules/bmb/workflows/create-agent/agent-architecture.md +15 -19
  45. package/src/modules/bmb/workflows/create-agent/agent-command-patterns.md +28 -28
  46. package/src/modules/bmb/workflows/create-agent/agent-types.md +15 -15
  47. package/src/modules/bmb/workflows/create-agent/checklist.md +3 -3
  48. package/src/modules/bmb/workflows/create-agent/instructions.md +24 -27
  49. package/src/modules/bmb/workflows/create-agent/workflow.yaml +12 -12
  50. package/src/modules/bmb/workflows/create-module/README.md +1 -1
  51. package/src/modules/bmb/workflows/create-module/checklist.md +1 -10
  52. package/src/modules/bmb/workflows/create-module/installer-templates/install-config.yaml +1 -1
  53. package/src/modules/bmb/workflows/create-module/instructions.md +12 -17
  54. package/src/modules/bmb/workflows/create-module/module-structure.md +7 -7
  55. package/src/modules/bmb/workflows/create-module/workflow.yaml +9 -9
  56. package/src/modules/bmb/workflows/create-workflow/README.md +4 -4
  57. package/src/modules/bmb/workflows/create-workflow/checklist.md +1 -1
  58. package/src/modules/bmb/workflows/create-workflow/instructions.md +29 -29
  59. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +40 -42
  60. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +2 -2
  61. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +12 -12
  62. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +5 -5
  63. package/src/modules/bmb/workflows/edit-agent/checklist.md +1 -1
  64. package/src/modules/bmb/workflows/edit-agent/instructions.md +2 -2
  65. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +8 -8
  66. package/src/modules/bmb/workflows/edit-module/README.md +2 -2
  67. package/src/modules/bmb/workflows/edit-module/checklist.md +2 -2
  68. package/src/modules/bmb/workflows/edit-module/instructions.md +4 -4
  69. package/src/modules/bmb/workflows/edit-module/workflow.yaml +10 -10
  70. package/src/modules/bmb/workflows/edit-workflow/instructions.md +4 -4
  71. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +5 -5
  72. package/src/modules/bmb/workflows/module-brief/README.md +2 -2
  73. package/src/modules/bmb/workflows/module-brief/checklist.md +2 -2
  74. package/src/modules/bmb/workflows/module-brief/instructions.md +2 -2
  75. package/src/modules/bmb/workflows/module-brief/workflow.yaml +4 -4
  76. package/src/modules/bmb/workflows/redoc/README.md +5 -5
  77. package/src/modules/bmb/workflows/redoc/instructions.md +1 -1
  78. package/src/modules/bmb/workflows/redoc/workflow.yaml +1 -1
  79. package/src/modules/bmgd/README.md +1 -1
  80. package/src/modules/bmgd/_module-installer/install-config.yaml +12 -24
  81. package/src/modules/bmgd/agents/game-architect.agent.yaml +15 -10
  82. package/src/modules/bmgd/agents/game-designer.agent.yaml +16 -11
  83. package/src/modules/bmgd/agents/game-dev.agent.yaml +18 -12
  84. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +30 -25
  85. package/src/modules/bmgd/teams/default-party.csv +10 -0
  86. package/src/modules/bmgd/teams/team-gamedev.yaml +2 -0
  87. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/instructions.md +1 -1
  88. package/src/modules/bmgd/workflows/1-preproduction/brainstorm-game/workflow.yaml +9 -9
  89. package/src/modules/bmgd/workflows/1-preproduction/game-brief/instructions.md +1 -1
  90. package/src/modules/bmgd/workflows/1-preproduction/game-brief/workflow.yaml +8 -8
  91. package/src/modules/bmgd/workflows/2-design/gdd/instructions-gdd.md +5 -10
  92. package/src/modules/bmgd/workflows/2-design/gdd/workflow.yaml +30 -30
  93. package/src/modules/bmgd/workflows/2-design/narrative/instructions-narrative.md +1 -6
  94. package/src/modules/bmgd/workflows/2-design/narrative/workflow.yaml +5 -5
  95. package/src/modules/bmgd/workflows/3-technical/game-architecture/architecture-patterns.yaml +0 -26
  96. package/src/modules/bmgd/workflows/3-technical/game-architecture/checklist.md +2 -6
  97. package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +2 -7
  98. package/src/modules/bmgd/workflows/3-technical/game-architecture/workflow.yaml +2 -2
  99. package/src/modules/bmgd/workflows/4-production/code-review/instructions.md +25 -47
  100. package/src/modules/bmgd/workflows/4-production/code-review/workflow.yaml +13 -32
  101. package/src/modules/bmgd/workflows/4-production/correct-course/checklist.md +1 -1
  102. package/src/modules/bmgd/workflows/4-production/correct-course/instructions.md +7 -2
  103. package/src/modules/bmgd/workflows/4-production/correct-course/workflow.yaml +32 -25
  104. package/src/modules/bmgd/workflows/4-production/create-story/instructions.md +20 -47
  105. package/src/modules/bmgd/workflows/4-production/create-story/workflow.yaml +16 -24
  106. package/src/modules/bmgd/workflows/4-production/dev-story/instructions.md +8 -3
  107. package/src/modules/bmgd/workflows/4-production/dev-story/workflow.yaml +30 -5
  108. package/src/modules/bmgd/workflows/4-production/epic-tech-context/checklist.md +1 -1
  109. package/src/modules/bmgd/workflows/4-production/epic-tech-context/instructions.md +10 -35
  110. package/src/modules/bmgd/workflows/4-production/epic-tech-context/workflow.yaml +16 -24
  111. package/src/modules/bmgd/workflows/4-production/retrospective/instructions.md +18 -36
  112. package/src/modules/bmgd/workflows/4-production/retrospective/workflow.yaml +16 -37
  113. package/src/modules/bmgd/workflows/4-production/sprint-planning/instructions.md +11 -15
  114. package/src/modules/bmgd/workflows/4-production/sprint-planning/sprint-status-template.yaml +1 -1
  115. package/src/modules/bmgd/workflows/4-production/sprint-planning/workflow.yaml +8 -7
  116. package/src/modules/bmgd/workflows/4-production/story-context/checklist.md +1 -1
  117. package/src/modules/bmgd/workflows/4-production/story-context/context-template.xml +1 -1
  118. package/src/modules/bmgd/workflows/4-production/story-context/instructions.md +20 -45
  119. package/src/modules/bmgd/workflows/4-production/story-context/workflow.yaml +15 -17
  120. package/src/modules/bmgd/workflows/4-production/story-done/instructions.md +1 -1
  121. package/src/modules/bmgd/workflows/4-production/story-done/workflow.yaml +5 -4
  122. package/src/modules/bmgd/workflows/4-production/story-ready/instructions.md +6 -6
  123. package/src/modules/bmgd/workflows/4-production/story-ready/workflow.yaml +5 -7
  124. package/src/modules/bmm/_module-installer/install-config.yaml +9 -28
  125. package/src/modules/bmm/_module-installer/installer.js +2 -2
  126. package/src/modules/bmm/agents/analyst.agent.yaml +20 -15
  127. package/src/modules/bmm/agents/architect.agent.yaml +17 -12
  128. package/src/modules/bmm/agents/dev.agent.yaml +9 -12
  129. package/src/modules/bmm/agents/pm.agent.yaml +24 -23
  130. package/src/modules/bmm/agents/sm.agent.yaml +24 -19
  131. package/src/modules/bmm/agents/tea.agent.yaml +23 -17
  132. package/src/modules/bmm/agents/tech-writer.agent.yaml +15 -11
  133. package/src/modules/bmm/agents/ux-designer.agent.yaml +16 -11
  134. package/src/modules/bmm/docs/agents-guide.md +4 -4
  135. package/src/modules/bmm/docs/brownfield-guide.md +4 -4
  136. package/src/modules/bmm/docs/enterprise-agentic-development.md +3 -3
  137. package/src/modules/bmm/docs/faq.md +1 -1
  138. package/src/modules/bmm/docs/party-mode.md +3 -3
  139. package/src/modules/bmm/docs/quick-start.md +1 -1
  140. package/src/modules/bmm/docs/test-architecture.md +1 -1
  141. package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
  142. package/src/modules/bmm/teams/default-party.csv +19 -0
  143. package/src/modules/bmm/teams/team-fullstack.yaml +1 -0
  144. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +1 -1
  145. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +8 -8
  146. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +1 -1
  147. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +8 -21
  148. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +10 -12
  149. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +13 -9
  150. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +2 -2
  151. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +2 -2
  152. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +2 -2
  153. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +1 -3
  154. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +2 -7
  155. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +1 -1
  156. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +1 -6
  157. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +14 -14
  158. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +7 -2
  159. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +16 -10
  160. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +8 -12
  161. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/epics-template.md +28 -0
  162. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/instructions.md +146 -23
  163. package/src/modules/bmm/workflows/2-plan-workflows/prd/create-epics-and-stories/workflow.yaml +7 -9
  164. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +152 -35
  165. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +2 -2
  166. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +20 -16
  167. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +12 -9
  168. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -6
  169. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +434 -0
  170. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +129 -266
  171. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +15 -37
  172. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -26
  173. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +3 -7
  174. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +30 -38
  175. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +25 -43
  176. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/checklist.md +7 -13
  177. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/instructions.md +57 -60
  178. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/workflow.yaml +12 -12
  179. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +25 -47
  180. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +13 -32
  181. package/src/modules/bmm/workflows/4-implementation/correct-course/checklist.md +1 -1
  182. package/src/modules/bmm/workflows/4-implementation/correct-course/instructions.md +7 -2
  183. package/src/modules/bmm/workflows/4-implementation/correct-course/workflow.yaml +32 -25
  184. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +20 -47
  185. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +16 -24
  186. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +8 -3
  187. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +30 -5
  188. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +1 -1
  189. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +10 -35
  190. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +16 -24
  191. package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +18 -36
  192. package/src/modules/bmm/workflows/4-implementation/retrospective/workflow.yaml +16 -37
  193. package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +11 -15
  194. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +1 -1
  195. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +8 -7
  196. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +1 -1
  197. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +1 -1
  198. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +20 -45
  199. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +15 -17
  200. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +1 -1
  201. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +5 -4
  202. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +6 -6
  203. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +5 -7
  204. package/src/modules/bmm/workflows/document-project/checklist.md +1 -1
  205. package/src/modules/bmm/workflows/document-project/instructions.md +5 -5
  206. package/src/modules/bmm/workflows/document-project/workflow.yaml +2 -2
  207. package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +4 -4
  208. package/src/modules/bmm/workflows/document-project/workflows/deep-dive.yaml +5 -5
  209. package/src/modules/bmm/workflows/document-project/workflows/full-scan-instructions.md +13 -13
  210. package/src/modules/bmm/workflows/document-project/workflows/full-scan.yaml +5 -5
  211. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +2 -2
  212. package/src/modules/bmm/workflows/testarch/atdd/workflow.yaml +2 -2
  213. package/src/modules/bmm/workflows/testarch/automate/instructions.md +2 -2
  214. package/src/modules/bmm/workflows/testarch/automate/workflow.yaml +2 -2
  215. package/src/modules/bmm/workflows/testarch/ci/checklist.md +4 -4
  216. package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
  217. package/src/modules/bmm/workflows/testarch/ci/workflow.yaml +2 -2
  218. package/src/modules/bmm/workflows/testarch/framework/checklist.md +4 -4
  219. package/src/modules/bmm/workflows/testarch/framework/instructions.md +2 -2
  220. package/src/modules/bmm/workflows/testarch/framework/workflow.yaml +2 -2
  221. package/src/modules/bmm/workflows/testarch/nfr-assess/instructions.md +1 -1
  222. package/src/modules/bmm/workflows/testarch/nfr-assess/workflow.yaml +2 -2
  223. package/src/modules/bmm/workflows/testarch/test-design/checklist.md +4 -4
  224. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +175 -14
  225. package/src/modules/bmm/workflows/testarch/test-design/test-design-template.md +4 -4
  226. package/src/modules/bmm/workflows/testarch/test-design/workflow.yaml +7 -3
  227. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
  228. package/src/modules/bmm/workflows/testarch/test-review/workflow.yaml +2 -2
  229. package/src/modules/bmm/workflows/testarch/trace/instructions.md +9 -9
  230. package/src/modules/bmm/workflows/testarch/trace/workflow.yaml +2 -2
  231. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +33 -31
  232. package/src/modules/bmm/workflows/workflow-status/init/workflow.yaml +5 -4
  233. package/src/modules/bmm/workflows/workflow-status/instructions.md +5 -4
  234. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +9 -16
  235. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +11 -18
  236. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +8 -1
  237. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +9 -2
  238. package/src/modules/bmm/workflows/workflow-status/project-levels.yaml +1 -1
  239. package/src/modules/bmm/workflows/workflow-status/workflow-status-template.yaml +2 -9
  240. package/src/modules/bmm/workflows/workflow-status/workflow.yaml +2 -2
  241. package/src/modules/cis/README.md +1 -1
  242. package/src/modules/cis/_module-installer/install-config.yaml +6 -4
  243. package/src/modules/cis/agents/README.md +1 -1
  244. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +13 -8
  245. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +13 -8
  246. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +13 -8
  247. package/src/modules/cis/agents/innovation-strategist.agent.yaml +13 -8
  248. package/src/modules/cis/agents/storyteller.agent.yaml +13 -8
  249. package/src/modules/cis/teams/creative-squad.yaml +1 -0
  250. package/src/modules/cis/teams/default-party.csv +11 -0
  251. package/src/modules/cis/workflows/README.md +1 -1
  252. package/src/modules/cis/workflows/design-thinking/instructions.md +2 -2
  253. package/src/modules/cis/workflows/design-thinking/workflow.yaml +7 -7
  254. package/src/modules/cis/workflows/innovation-strategy/instructions.md +2 -2
  255. package/src/modules/cis/workflows/innovation-strategy/workflow.yaml +7 -7
  256. package/src/modules/cis/workflows/problem-solving/instructions.md +2 -2
  257. package/src/modules/cis/workflows/problem-solving/workflow.yaml +7 -7
  258. package/src/modules/cis/workflows/storytelling/instructions.md +2 -2
  259. package/src/modules/cis/workflows/storytelling/workflow.yaml +7 -7
  260. package/src/utility/models/action-command-header.md +0 -0
  261. package/src/utility/models/agent-activation-ide.xml +3 -3
  262. package/src/utility/models/agent-activation-web.xml +4 -4
  263. package/src/utility/models/agent-command-header.md +1 -0
  264. package/src/utility/models/fragments/activation-steps.xml +3 -2
  265. package/src/utility/models/fragments/handler-validate-workflow.xml +1 -1
  266. package/src/utility/models/fragments/handler-workflow.xml +1 -1
  267. package/src/utility/models/fragments/web-bundle-activation-steps.xml +3 -3
  268. package/tools/cli/README.md +50 -32
  269. package/tools/cli/bundlers/web-bundler.js +86 -17
  270. package/tools/cli/commands/install.js +1 -4
  271. package/tools/cli/installers/lib/core/config-collector.js +201 -28
  272. package/tools/cli/installers/lib/core/detector.js +62 -7
  273. package/tools/cli/installers/lib/core/installer.js +175 -33
  274. package/tools/cli/installers/lib/core/manifest-generator.js +26 -115
  275. package/tools/cli/installers/lib/ide/_base-ide.js +57 -3
  276. package/tools/cli/installers/lib/ide/auggie.js +78 -224
  277. package/tools/cli/installers/lib/ide/claude-code.js +14 -22
  278. package/tools/cli/installers/lib/ide/cline.js +15 -18
  279. package/tools/cli/installers/lib/ide/codex.js +17 -48
  280. package/tools/cli/installers/lib/ide/crush.js +14 -50
  281. package/tools/cli/installers/lib/ide/cursor.js +51 -8
  282. package/tools/cli/installers/lib/ide/gemini.js +87 -37
  283. package/tools/cli/installers/lib/ide/github-copilot.js +47 -35
  284. package/tools/cli/installers/lib/ide/iflow.js +13 -30
  285. package/tools/cli/installers/lib/ide/kilo.js +20 -16
  286. package/tools/cli/installers/lib/ide/manager.js +15 -0
  287. package/tools/cli/installers/lib/ide/opencode.js +16 -17
  288. package/tools/cli/installers/lib/ide/qwen.js +39 -11
  289. package/tools/cli/installers/lib/ide/roo.js +27 -62
  290. package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +90 -0
  291. package/tools/cli/installers/lib/ide/{task-tool-command-generator.js → shared/task-tool-command-generator.js} +1 -1
  292. package/tools/cli/installers/lib/ide/{workflow-command-generator.js → shared/workflow-command-generator.js} +11 -9
  293. package/tools/cli/installers/lib/ide/templates/agent-command-template.md +14 -0
  294. package/tools/cli/installers/lib/ide/templates/gemini-agent-command.toml +14 -0
  295. package/tools/cli/installers/lib/ide/templates/gemini-task-command.toml +12 -0
  296. package/tools/cli/installers/lib/ide/{workflow-command-template.md → templates/workflow-command-template.md} +3 -5
  297. package/tools/cli/installers/lib/ide/trae.js +20 -32
  298. package/tools/cli/installers/lib/ide/windsurf.js +18 -8
  299. package/tools/cli/installers/lib/modules/manager.js +89 -17
  300. package/tools/cli/lib/cli-utils.js +52 -50
  301. package/tools/cli/lib/ui.js +29 -12
  302. package/tools/cli/lib/yaml-xml-builder.js +20 -2
  303. package/tools/schema/agent.js +7 -3
  304. package/.claude/commands/bmad/bmb/agents/bmad-builder.md +0 -70
  305. package/.claude/commands/bmad/bmb/workflows/audit-workflow.md +0 -15
  306. package/.claude/commands/bmad/bmb/workflows/convert-legacy.md +0 -15
  307. package/.claude/commands/bmad/bmb/workflows/create-agent.md +0 -15
  308. package/.claude/commands/bmad/bmb/workflows/create-module.md +0 -15
  309. package/.claude/commands/bmad/bmb/workflows/create-workflow.md +0 -15
  310. package/.claude/commands/bmad/bmb/workflows/edit-agent.md +0 -15
  311. package/.claude/commands/bmad/bmb/workflows/edit-module.md +0 -15
  312. package/.claude/commands/bmad/bmb/workflows/edit-workflow.md +0 -15
  313. package/.claude/commands/bmad/bmb/workflows/module-brief.md +0 -15
  314. package/.claude/commands/bmad/bmb/workflows/redoc.md +0 -15
  315. package/.claude/commands/bmad/core/agents/bmad-master.md +0 -71
  316. package/.claude/commands/bmad/core/tasks/index-docs.md +0 -9
  317. package/.claude/commands/bmad/core/tools/shard-doc.md +0 -9
  318. package/.claude/commands/bmad/core/workflows/brainstorming.md +0 -15
  319. package/.claude/commands/bmad/core/workflows/party-mode.md +0 -15
  320. package/.claude/settings.local.json +0 -22
  321. package/bmad/_cfg/agent-manifest.csv +0 -5
  322. package/bmad/_cfg/agents/bmb-bmad-builder.customize.yaml +0 -42
  323. package/bmad/_cfg/agents/core-bmad-master.customize.yaml +0 -42
  324. package/bmad/_cfg/files-manifest.csv +0 -82
  325. package/bmad/_cfg/ides/claude-code.yaml +0 -6
  326. package/bmad/_cfg/manifest.yaml +0 -11
  327. package/bmad/_cfg/task-manifest.csv +0 -13
  328. package/bmad/_cfg/tool-manifest.csv +0 -4
  329. package/bmad/_cfg/workflow-manifest.csv +0 -17
  330. package/bmad/bmb/README.md +0 -194
  331. package/bmad/bmb/agents/bmad-builder.md +0 -70
  332. package/bmad/bmb/config.yaml +0 -14
  333. package/bmad/bmb/workflows/audit-workflow/checklist.md +0 -143
  334. package/bmad/bmb/workflows/audit-workflow/instructions.md +0 -341
  335. package/bmad/bmb/workflows/audit-workflow/template.md +0 -118
  336. package/bmad/bmb/workflows/audit-workflow/workflow.yaml +0 -23
  337. package/bmad/bmb/workflows/convert-legacy/README.md +0 -262
  338. package/bmad/bmb/workflows/convert-legacy/checklist.md +0 -205
  339. package/bmad/bmb/workflows/convert-legacy/instructions.md +0 -377
  340. package/bmad/bmb/workflows/convert-legacy/workflow.yaml +0 -32
  341. package/bmad/bmb/workflows/create-agent/README.md +0 -203
  342. package/bmad/bmb/workflows/create-agent/agent-architecture.md +0 -419
  343. package/bmad/bmb/workflows/create-agent/agent-command-patterns.md +0 -759
  344. package/bmad/bmb/workflows/create-agent/agent-types.md +0 -292
  345. package/bmad/bmb/workflows/create-agent/brainstorm-context.md +0 -174
  346. package/bmad/bmb/workflows/create-agent/checklist.md +0 -62
  347. package/bmad/bmb/workflows/create-agent/communication-styles.md +0 -202
  348. package/bmad/bmb/workflows/create-agent/instructions.md +0 -459
  349. package/bmad/bmb/workflows/create-agent/workflow.yaml +0 -37
  350. package/bmad/bmb/workflows/create-module/README.md +0 -229
  351. package/bmad/bmb/workflows/create-module/brainstorm-context.md +0 -137
  352. package/bmad/bmb/workflows/create-module/checklist.md +0 -244
  353. package/bmad/bmb/workflows/create-module/installer-templates/install-config.yaml +0 -92
  354. package/bmad/bmb/workflows/create-module/installer-templates/installer.js +0 -231
  355. package/bmad/bmb/workflows/create-module/instructions.md +0 -581
  356. package/bmad/bmb/workflows/create-module/module-structure.md +0 -400
  357. package/bmad/bmb/workflows/create-module/workflow.yaml +0 -42
  358. package/bmad/bmb/workflows/create-workflow/README.md +0 -277
  359. package/bmad/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  360. package/bmad/bmb/workflows/create-workflow/checklist.md +0 -94
  361. package/bmad/bmb/workflows/create-workflow/instructions.md +0 -724
  362. package/bmad/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1308
  363. package/bmad/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  364. package/bmad/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -13
  365. package/bmad/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  366. package/bmad/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -39
  367. package/bmad/bmb/workflows/create-workflow/workflow.yaml +0 -40
  368. package/bmad/bmb/workflows/edit-agent/README.md +0 -112
  369. package/bmad/bmb/workflows/edit-agent/checklist.md +0 -112
  370. package/bmad/bmb/workflows/edit-agent/instructions.md +0 -290
  371. package/bmad/bmb/workflows/edit-agent/workflow.yaml +0 -33
  372. package/bmad/bmb/workflows/edit-module/README.md +0 -187
  373. package/bmad/bmb/workflows/edit-module/checklist.md +0 -165
  374. package/bmad/bmb/workflows/edit-module/instructions.md +0 -339
  375. package/bmad/bmb/workflows/edit-module/workflow.yaml +0 -34
  376. package/bmad/bmb/workflows/edit-workflow/README.md +0 -119
  377. package/bmad/bmb/workflows/edit-workflow/checklist.md +0 -70
  378. package/bmad/bmb/workflows/edit-workflow/instructions.md +0 -342
  379. package/bmad/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  380. package/bmad/bmb/workflows/module-brief/README.md +0 -264
  381. package/bmad/bmb/workflows/module-brief/checklist.md +0 -116
  382. package/bmad/bmb/workflows/module-brief/instructions.md +0 -267
  383. package/bmad/bmb/workflows/module-brief/template.md +0 -275
  384. package/bmad/bmb/workflows/module-brief/workflow.yaml +0 -29
  385. package/bmad/bmb/workflows/redoc/README.md +0 -87
  386. package/bmad/bmb/workflows/redoc/checklist.md +0 -99
  387. package/bmad/bmb/workflows/redoc/instructions.md +0 -265
  388. package/bmad/bmb/workflows/redoc/workflow.yaml +0 -32
  389. package/bmad/core/agents/bmad-master.md +0 -71
  390. package/bmad/core/agents/bmad-web-orchestrator.agent.xml +0 -122
  391. package/bmad/core/config.yaml +0 -9
  392. package/bmad/core/tasks/adv-elicit-methods.csv +0 -39
  393. package/bmad/core/tasks/adv-elicit.xml +0 -104
  394. package/bmad/core/tasks/index-docs.xml +0 -65
  395. package/bmad/core/tasks/validate-workflow.xml +0 -89
  396. package/bmad/core/tasks/workflow.xml +0 -156
  397. package/bmad/core/tools/shard-doc.xml +0 -65
  398. package/bmad/core/workflows/brainstorming/README.md +0 -271
  399. package/bmad/core/workflows/brainstorming/brain-methods.csv +0 -36
  400. package/bmad/core/workflows/brainstorming/instructions.md +0 -314
  401. package/bmad/core/workflows/brainstorming/template.md +0 -102
  402. package/bmad/core/workflows/brainstorming/workflow.yaml +0 -43
  403. package/bmad/core/workflows/party-mode/instructions.md +0 -188
  404. package/bmad/core/workflows/party-mode/workflow.yaml +0 -23
  405. package/bmad/docs/claude-code-instructions.md +0 -25
  406. package/bmd/README.md +0 -193
  407. package/bmd/agents/cli-chief-sidecar/instructions.md +0 -102
  408. package/bmd/agents/cli-chief-sidecar/knowledge/README.md +0 -68
  409. package/bmd/agents/cli-chief-sidecar/knowledge/cli-reference.md +0 -123
  410. package/bmd/agents/cli-chief-sidecar/memories.md +0 -53
  411. package/bmd/agents/cli-chief.agent.yaml +0 -126
  412. package/bmd/agents/doc-keeper-sidecar/instructions.md +0 -177
  413. package/bmd/agents/doc-keeper-sidecar/knowledge/README.md +0 -81
  414. package/bmd/agents/doc-keeper-sidecar/memories.md +0 -88
  415. package/bmd/agents/doc-keeper.agent.yaml +0 -137
  416. package/bmd/agents/release-chief-sidecar/instructions.md +0 -164
  417. package/bmd/agents/release-chief-sidecar/knowledge/README.md +0 -82
  418. package/bmd/agents/release-chief-sidecar/memories.md +0 -73
  419. package/bmd/agents/release-chief.agent.yaml +0 -127
  420. package/bmd/bmad-custom-module-installer-plan.md +0 -1176
  421. package/bmd/config.yaml +0 -12
  422. package/src/modules/bmgd/workflows/4-production/dev-story/AUDIT-REPORT.md +0 -367
  423. package/src/modules/bmm/sub-modules/claude-code/README.md +0 -87
  424. package/src/modules/bmm/sub-modules/claude-code/config.yaml +0 -5
  425. package/src/modules/bmm/sub-modules/claude-code/injections.yaml +0 -242
  426. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/api-documenter.md +0 -102
  427. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/codebase-analyzer.md +0 -82
  428. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/data-analyst.md +0 -101
  429. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-analysis/pattern-detector.md +0 -84
  430. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/dependency-mapper.md +0 -83
  431. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/epic-optimizer.md +0 -81
  432. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/requirements-analyst.md +0 -61
  433. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/technical-decisions-curator.md +0 -168
  434. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/trend-spotter.md +0 -115
  435. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-journey-mapper.md +0 -123
  436. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-planning/user-researcher.md +0 -72
  437. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/market-researcher.md +0 -51
  438. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-research/tech-debt-auditor.md +0 -106
  439. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/document-reviewer.md +0 -102
  440. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/technical-evaluator.md +0 -68
  441. package/src/modules/bmm/sub-modules/claude-code/sub-agents/bmad-review/test-coverage-analyzer.md +0 -108
  442. package/src/modules/bmm/tasks/daily-standup.xml +0 -85
  443. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level0-story.md +0 -200
  444. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-level1-stories.md +0 -451
  445. package/src/modules/bmm/workflows/3-solutioning/solutioning-gate-check/validation-criteria.yaml +0 -189
  446. package/src/modules/bmm/workflows/4-implementation/dev-story/AUDIT-REPORT.md +0 -367
  447. package/src/modules/bmm/workflows/workflow-status/sample-level-3-workflow.yaml +0 -49
  448. package/test/fixtures/agent-schema/invalid/persona/principles-as-string.agent.yaml +0 -23
  449. package/web-bundles/bmm/agents/analyst.xml +0 -5028
  450. package/web-bundles/bmm/agents/architect.xml +0 -2047
  451. package/web-bundles/bmm/agents/dev.xml +0 -68
  452. package/web-bundles/bmm/agents/pm.xml +0 -3808
  453. package/web-bundles/bmm/agents/sm.xml +0 -77
  454. package/web-bundles/bmm/agents/tea.xml +0 -66
  455. package/web-bundles/bmm/agents/tech-writer.xml +0 -84
  456. package/web-bundles/bmm/agents/ux-designer.xml +0 -2018
  457. package/web-bundles/bmm/teams/team-fullstack.xml +0 -12039
@@ -1,24 +0,0 @@
1
- # {Title} Checklist Validation
2
-
3
- ## {Section Foo}
4
-
5
- - [ ] Check 1
6
- - [ ] Check 2
7
- - [ ] ...
8
- - [ ] Check n
9
-
10
- ...
11
-
12
- ## {Section Bar}
13
-
14
- - [ ] Check 1
15
- - [ ] Check 2
16
- - [ ] ...
17
- - [ ] Check n
18
-
19
- ## Final Validation
20
-
21
- - [ ] Section Foo
22
- - Issue List
23
- - [ ] Section Bar
24
- - Issue List
@@ -1,13 +0,0 @@
1
- # PRD Workflow Instructions
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {project-related}/bmad/{module-code}/workflows/{workflow}/workflow.yaml</critical>
5
- <critical>Communicate in {communication_language} throughout the workflow process</critical>
6
-
7
- <workflow>
8
-
9
- <step n="1" goal="">
10
- ...
11
- </step>
12
- ...
13
- </workflow>
@@ -1,9 +0,0 @@
1
- # Title
2
-
3
- **Date:** {{date}}
4
-
5
- ## {Section 1}
6
-
7
- {{section_1_results}}
8
-
9
- etc...
@@ -1,39 +0,0 @@
1
- # {TITLE} Workflow Template Configuration
2
- name: "{WORKFLOW_CODE}"
3
- description: "{WORKFLOW_DESCRIPTION}"
4
- author: "BMad"
5
-
6
- # Critical variables load from config_source
7
- # Add Additional Config Pulled Variables Here
8
- config_source: "{project-root}/{module-code}/config.yaml"
9
- output_folder: "{config_source}:output_folder"
10
- user_name: "{config_source}:user_name"
11
- communication_language: "{config_source}:communication_language"
12
- date: system-generated
13
-
14
- # Required Data Files - HALT if missing!
15
- # optional, can be omitted
16
- brain_techniques: "{installed_path}/{critical-data-file.csv}" # example, can be other formats or URLs
17
-
18
- # Optional docs that if loaded on start to kickstart this workflow or used at some point, these are meant to be suggested inputs for the user
19
- recommended_inputs: # optional, can be omitted
20
- - example_input: "{project-root}/{path/to/file.md}"
21
-
22
- # Module path and component files
23
- installed_path: "{project-root}/bmad/{module-code}/workflows/{workflow-code}"
24
- template: "{installed_path}/template.md" # optional, can be omitted
25
- instructions: "{installed_path}/instructions.md" # optional, can be omitted
26
- validation: "{installed_path}/checklist.md" # optional, can be omitted
27
-
28
- # Output configuration
29
- default_output_file: "{output_folder}/{file.md}" # optional, can be omitted
30
- validation_output_file: "{output_folder}/{file-validation-report.md}" # optional, can be omitted
31
-
32
- # Tool Requirements (MCP Required Tools or other tools needed to run this workflow)
33
- required_tools: #optional, can be omitted
34
- - "Tool Name": #example, can be omitted if none
35
- description: "Description of why this tool is needed"
36
- link: "https://link-to-tool.com"
37
- # Web Bundle Configuration (optional - for web-deployable workflows)
38
- # IMPORTANT: Web bundles are self-contained and cannot use config_source variables
39
- # All referenced files must be listed in web_bundle_files
@@ -1,40 +0,0 @@
1
- # Build Workflow - Workflow Builder Configuration
2
- name: create-workflow
3
- description: "Interactive workflow builder that guides creation of new BMAD workflows with proper structure and validation for optimal human-AI collaboration. Includes optional brainstorming phase for workflow ideas and design."
4
- author: "BMad Builder"
5
-
6
- # Critical variables
7
- config_source: "{project-root}/bmad/bmb/config.yaml"
8
- custom_workflow_location: "{config_source}:custom_workflow_location"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
-
12
- # Template files for new workflows
13
- template_workflow_yaml: "{workflow_template_path}/workflow.yaml"
14
- template_instructions: "{workflow_template_path}/instructions.md"
15
- template_template: "{workflow_template_path}/template.md"
16
- template_checklist: "{workflow_template_path}/checklist.md"
17
-
18
- # Optional input docs
19
- recommended_inputs:
20
- - existing_workflows: "{project-root}/bmad/*/workflows/"
21
- - bmm_workflows: "{project-root}/bmad/bmm/workflows/"
22
-
23
- # Module path and component files
24
- installed_path: "{project-root}/bmad/bmb/workflows/create-workflow"
25
- template: false # This is an action workflow - no template needed
26
- instructions: "{installed_path}/instructions.md"
27
- validation: "{installed_path}/checklist.md"
28
-
29
- # Required data files - CRITICAL for workflow conventions
30
- workflow_creation_guide: "{installed_path}/workflow-creation-guide.md"
31
- workflow_template_path: "{installed_path}/workflow-template"
32
-
33
- # Output configuration - Creates the new workflow folder with all files
34
- # If workflow belongs to a module: Save to module's workflows folder
35
- # If standalone workflow: Save to custom_workflow_location/{{workflow_name}}
36
- module_output_folder: "{project-root}/bmad/{{target_module}}/workflows/{{workflow_name}}"
37
- standalone_output_folder: "{custom_workflow_location}/{{workflow_name}}"
38
-
39
- standalone: true
40
- # Web bundle configuration
@@ -1,112 +0,0 @@
1
- # Edit Agent Workflow
2
-
3
- Interactive workflow for editing existing BMAD Core agents while maintaining best practices and conventions.
4
-
5
- ## Purpose
6
-
7
- This workflow helps you refine and improve existing agents by:
8
-
9
- - Analyzing agents against BMAD Core best practices
10
- - Identifying issues and improvement opportunities
11
- - Providing guided editing for specific aspects
12
- - Validating changes against agent standards
13
- - Ensuring consistency with agent architecture
14
-
15
- ## When to Use
16
-
17
- Use this workflow when you need to:
18
-
19
- - Fix issues in existing agents
20
- - Add new menu items or workflows
21
- - Improve agent persona or communication style
22
- - Update configuration handling
23
- - Convert between agent types (full/hybrid/standalone)
24
- - Optimize agent structure and clarity
25
-
26
- ## What You'll Need
27
-
28
- - Path to the agent file you want to edit (.yaml or .md)
29
- - Understanding of what changes you want to make
30
- - Access to the agent documentation (loaded automatically)
31
-
32
- ## Workflow Steps
33
-
34
- 1. **Load and analyze target agent** - Provide path to agent file
35
- 2. **Analyze against best practices** - Automatic audit of agent structure
36
- 3. **Select editing focus** - Choose what aspect to edit
37
- 4. **Load relevant documentation** - Auto-loads guides based on your choice
38
- 5. **Perform edits** - Review and approve changes iteratively
39
- 6. **Validate all changes** - Comprehensive validation checklist
40
- 7. **Generate change summary** - Summary of improvements made
41
-
42
- ## Editing Options
43
-
44
- The workflow provides 12 focused editing options:
45
-
46
- 1. **Fix critical issues** - Address broken references, syntax errors
47
- 2. **Add/fix standard config** - Ensure config loading and variable usage
48
- 3. **Refine persona** - Improve role, communication style, principles
49
- 4. **Update activation** - Modify activation steps and greeting
50
- 5. **Manage menu items** - Add, remove, or reorganize commands
51
- 6. **Update workflow references** - Fix paths, add new workflows
52
- 7. **Enhance menu handlers** - Improve handler logic
53
- 8. **Improve command triggers** - Refine asterisk commands
54
- 9. **Optimize agent type** - Convert between full/hybrid/standalone
55
- 10. **Add new capabilities** - Add menu items, workflows, features
56
- 11. **Remove bloat** - Delete unused commands, redundant instructions
57
- 12. **Full review and update** - Comprehensive improvements
58
-
59
- ## Agent Documentation Loaded
60
-
61
- This workflow automatically loads:
62
-
63
- - **Agent Types Guide** - Understanding full, hybrid, and standalone agents
64
- - **Agent Architecture** - Structure, activation, and menu patterns
65
- - **Command Patterns** - Menu handlers and command triggers
66
- - **Communication Styles** - Persona and communication guidance
67
- - **Workflow Execution Engine** - How agents execute workflows
68
-
69
- ## Output
70
-
71
- The workflow modifies your agent file in place, maintaining the original format (YAML or markdown). Changes are reviewed and approved by you before being applied.
72
-
73
- ## Best Practices
74
-
75
- - **Start with analysis** - Let the workflow audit your agent first
76
- - **Focus your edits** - Choose specific aspects to improve
77
- - **Review each change** - Approve or modify proposed changes
78
- - **Validate thoroughly** - Use the validation step to catch issues
79
- - **Test after editing** - Invoke the edited agent to verify it works
80
-
81
- ## Tips
82
-
83
- - If you're unsure what needs improvement, choose option 12 (Full review)
84
- - For quick fixes, choose the specific option (like option 6 for workflow paths)
85
- - The workflow loads documentation automatically - you don't need to read it first
86
- - You can make multiple rounds of edits in one session
87
- - Use the validation step to ensure you didn't miss anything
88
-
89
- ## Related Workflows
90
-
91
- - **create-agent** - Create new agents from scratch
92
- - **edit-workflow** - Edit workflows referenced by agents
93
- - **audit-workflow** - Audit workflows for compliance
94
-
95
- ## Example Usage
96
-
97
- ```
98
- User: I want to add a new workflow to the PM agent
99
- Workflow: Analyzes agent → Loads it → You choose option 5 (manage menu items)
100
- → Adds new menu item with workflow reference → Validates → Done
101
- ```
102
-
103
- ## Activation
104
-
105
- Invoke via BMad Builder agent:
106
-
107
- ```
108
- /bmad:bmb:agents:bmad-builder
109
- Then select: *edit-agent
110
- ```
111
-
112
- Or directly via workflow.xml with this workflow config.
@@ -1,112 +0,0 @@
1
- # Edit Agent - Validation Checklist
2
-
3
- Use this checklist to validate agent edits meet BMAD Core standards.
4
-
5
- ## Agent Structure Validation
6
-
7
- - [ ] Agent file format is valid (YAML or markdown/XML)
8
- - [ ] Agent type is clearly identified (full, hybrid, standalone)
9
- - [ ] File naming follows convention: `{agent-name}.agent.yaml` or `{agent-name}.agent.md`
10
-
11
- ## Persona Validation
12
-
13
- - [ ] Role is clearly defined and specific
14
- - [ ] Identity/purpose articulates what the agent does
15
- - [ ] Communication style is specified (if custom style desired)
16
- - [ ] Principles are listed and actionable (if applicable)
17
-
18
- ## Activation Validation
19
-
20
- - [ ] Step 1: Loads persona from current agent file
21
- - [ ] Step 2: Loads config file (if agent needs user context)
22
- - [ ] Step 3: Sets user context variables (user_name, etc.)
23
- - [ ] Step 4: Displays greeting using user_name and shows menu
24
- - [ ] Step 5: WAITs for user input (doesn't auto-execute)
25
- - [ ] Step 6: Processes user selection (number or trigger text)
26
- - [ ] Step 7: Executes appropriate menu handler
27
-
28
- ## Menu Validation
29
-
30
- - [ ] All menu items numbered sequentially
31
- - [ ] Each item has cmd attribute with asterisk trigger (*help, *create, etc.)
32
- - [ ] Workflow paths are correct (if workflow attribute present)
33
- - [ ] Help command is present (\*help)
34
- - [ ] Exit command is present (\*exit)
35
- - [ ] Menu items are in logical order
36
-
37
- ## Configuration Validation
38
-
39
- - [ ] Config file path is correct for module
40
- - [ ] Config variables loaded in activation step 2
41
- - [ ] Error handling present if config fails to load
42
- - [ ] user_name used in greeting and communication
43
- - [ ] communication_language used for output
44
- - [ ] output_folder used for file outputs (if applicable)
45
-
46
- ## Menu Handler Validation
47
-
48
- - [ ] menu-handlers section is present
49
- - [ ] Workflow handler loads {project-root}/bmad/core/tasks/workflow.xml
50
- - [ ] Workflow handler passes yaml path as 'workflow-config' parameter
51
- - [ ] Handlers check for attributes (workflow, exec, tmpl, data, action)
52
- - [ ] Handler logic is complete and follows patterns
53
-
54
- ## Workflow Integration Validation
55
-
56
- - [ ] All workflow paths exist and are correct
57
- - [ ] Workflow paths use {project-root} variable
58
- - [ ] Workflows are appropriate for agent's purpose
59
- - [ ] Workflow parameters are passed correctly
60
-
61
- ## Communication Validation
62
-
63
- - [ ] Agent communicates in {communication_language}
64
- - [ ] Communication style matches persona
65
- - [ ] Error messages are clear and helpful
66
- - [ ] Confirmation messages for user actions
67
-
68
- ## Rules Validation
69
-
70
- - [ ] Rules section defines agent behavior clearly
71
- - [ ] File loading rules are specified
72
- - [ ] Menu trigger format rules are clear
73
- - [ ] Communication rules align with persona
74
-
75
- ## Quality Checks
76
-
77
- - [ ] No placeholder text remains ({{AGENT_NAME}}, {ROLE}, etc.)
78
- - [ ] No broken references or missing files
79
- - [ ] Syntax is valid (YAML or XML)
80
- - [ ] Indentation is consistent
81
- - [ ] Agent purpose is clear from reading persona alone
82
-
83
- ## Type-Specific Validation
84
-
85
- ### Full Agent
86
-
87
- - [ ] Has complete menu system with multiple items
88
- - [ ] Loads config file for user context
89
- - [ ] Supports multiple workflows
90
- - [ ] Session management is clear
91
-
92
- ### Hybrid Agent
93
-
94
- - [ ] Simplified activation (may skip some steps)
95
- - [ ] Focused set of workflows
96
- - [ ] May or may not have menu
97
- - [ ] Config loading is appropriate
98
-
99
- ### Standalone Agent
100
-
101
- - [ ] Single focused purpose
102
- - [ ] Minimal activation (1-3 steps)
103
- - [ ] No menu system
104
- - [ ] Direct execution pattern
105
- - [ ] May not need config file
106
-
107
- ## Final Checks
108
-
109
- - [ ] Agent file has been saved
110
- - [ ] File path is in correct module directory
111
- - [ ] Agent is ready for testing
112
- - [ ] Documentation is updated (if needed)
@@ -1,290 +0,0 @@
1
- # Edit Agent - Agent Editor Instructions
2
-
3
- <critical>The workflow execution engine is governed by: {project-root}/bmad/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {project-root}/bmad/bmb/workflows/edit-agent/workflow.yaml</critical>
5
- <critical>This workflow uses ADAPTIVE FACILITATION - adjust your communication based on context and user needs</critical>
6
- <critical>The goal is COLLABORATIVE IMPROVEMENT - work WITH the user, not FOR them</critical>
7
- <critical>Communicate all responses in {communication_language}</critical>
8
-
9
- <workflow>
10
-
11
- <step n="1" goal="Load and deeply understand the target agent">
12
- <ask>What is the path to the agent you want to edit?</ask>
13
-
14
- <action>Load the agent file from the provided path</action>
15
- <action>Load ALL agent documentation to inform understanding:
16
-
17
- - Agent types guide: {agent_types}
18
- - Agent architecture: {agent_architecture}
19
- - Command patterns: {agent_commands}
20
- - Communication styles: {communication_styles}
21
- - Workflow execution engine: {workflow_execution_engine}
22
- </action>
23
-
24
- <action>Analyze the agent structure thoroughly:
25
-
26
- - Parse persona (role, identity, communication_style, principles)
27
- - Understand activation flow and steps
28
- - Map menu items and their workflows
29
- - Identify configuration dependencies
30
- - Assess agent type (full, hybrid, standalone)
31
- - Check workflow references for validity
32
- - Evaluate against best practices from loaded guides
33
- </action>
34
-
35
- <action>Reflect understanding back to {user_name}:
36
-
37
- Present a warm, conversational summary adapted to the agent's complexity:
38
-
39
- - What this agent does (its role and purpose)
40
- - How it's structured (type, menu items, workflows)
41
- - What you notice (strengths, potential improvements, issues)
42
- - Your initial assessment of its health
43
-
44
- Be conversational, not clinical. Help {user_name} see their agent through your eyes.
45
- </action>
46
-
47
- <ask>Does this match your understanding of what this agent should do?</ask>
48
- <template-output>agent_understanding</template-output>
49
- </step>
50
-
51
- <step n="2" goal="Discover improvement goals collaboratively">
52
- <critical>Understand WHAT the user wants to improve and WHY before diving into edits</critical>
53
-
54
- <action>Engage in collaborative discovery:
55
-
56
- Ask open-ended questions to understand their goals:
57
-
58
- - What prompted you to want to edit this agent?
59
- - What isn't working the way you'd like?
60
- - Are there specific behaviors you want to change?
61
- - Is there functionality you want to add or remove?
62
- - How do users interact with this agent? What feedback have they given?
63
-
64
- Listen for clues about:
65
-
66
- - Functional issues (broken references, missing workflows)
67
- - User experience issues (confusing menu, unclear communication)
68
- - Performance issues (too slow, too verbose, not adaptive enough)
69
- - Maintenance issues (hard to update, bloated, inconsistent)
70
- - Integration issues (doesn't work well with other agents/workflows)
71
- </action>
72
-
73
- <action>Based on their responses and your analysis from step 1, identify improvement opportunities:
74
-
75
- Organize by priority and user goals:
76
-
77
- - CRITICAL issues blocking functionality
78
- - IMPORTANT improvements enhancing user experience
79
- - NICE-TO-HAVE enhancements for polish
80
-
81
- Present these conversationally, explaining WHY each matters and HOW it would help.
82
- </action>
83
-
84
- <action>Collaborate on priorities:
85
-
86
- Don't just list options - discuss them:
87
-
88
- - "I noticed {{issue}} - this could cause {{problem}}. Does this concern you?"
89
- - "The agent could be more {{improvement}} which would help when {{use_case}}. Worth exploring?"
90
- - "Based on what you said about {{user_goal}}, we might want to {{suggestion}}. Thoughts?"
91
-
92
- Let the conversation flow naturally. Build a shared vision of what "better" looks like.
93
- </action>
94
-
95
- <template-output>improvement_goals</template-output>
96
- </step>
97
-
98
- <step n="3" goal="Facilitate improvements collaboratively" repeat="until-user-satisfied">
99
- <critical>Work iteratively - improve, review, refine. Never dump all changes at once.</critical>
100
-
101
- <action>For each improvement area, facilitate collaboratively:
102
-
103
- 1. **Explain the current state and why it matters**
104
- - Show relevant sections of the agent
105
- - Explain how it works now and implications
106
- - Connect to user's goals from step 2
107
-
108
- 2. **Propose improvements with rationale**
109
- - Suggest specific changes that align with best practices
110
- - Explain WHY each change helps
111
- - Provide examples from the loaded guides when helpful
112
- - Show before/after comparisons for clarity
113
-
114
- 3. **Collaborate on the approach**
115
- - Ask if the proposed change addresses their need
116
- - Invite modifications or alternative approaches
117
- - Explain tradeoffs when relevant
118
- - Adapt based on their feedback
119
-
120
- 4. **Apply changes iteratively**
121
- - Make one focused improvement at a time
122
- - Show the updated section
123
- - Confirm it meets their expectation
124
- - Move to next improvement or refine current one
125
- </action>
126
-
127
- <action>Common improvement patterns to facilitate:
128
-
129
- **If fixing broken references:**
130
-
131
- - Identify all broken paths
132
- - Explain what each reference should point to
133
- - Verify new paths exist before updating
134
- - Update and confirm working
135
-
136
- **If refining persona/communication:**
137
-
138
- - Review current persona definition
139
- - Discuss desired communication style with examples
140
- - Explore communication styles guide for patterns
141
- - Refine language to match intent
142
- - Test tone with example interactions
143
-
144
- **If updating activation:**
145
-
146
- - Walk through current activation flow
147
- - Identify bottlenecks or confusion points
148
- - Propose streamlined flow
149
- - Ensure config loading works correctly
150
- - Verify all session variables are set
151
-
152
- **If managing menu items:**
153
-
154
- - Review current menu organization
155
- - Discuss if structure serves user mental model
156
- - Add/remove/reorganize as needed
157
- - Ensure all workflow references are valid
158
- - Update triggers to be intuitive
159
-
160
- **If enhancing menu handlers:**
161
-
162
- - Explain current handler logic
163
- - Identify where handlers could be smarter
164
- - Propose enhanced logic based on agent architecture patterns
165
- - Ensure handlers properly invoke workflows
166
-
167
- **If optimizing agent type:**
168
-
169
- - Discuss whether current type fits use case
170
- - Explain characteristics of full/hybrid/standalone
171
- - If converting, guide through structural changes
172
- - Ensure all pieces align with new type
173
- </action>
174
-
175
- <action>Throughout improvements, educate when helpful:
176
-
177
- Share insights from the guides naturally:
178
-
179
- - "The agent architecture guide suggests {{pattern}} for this scenario"
180
- - "Looking at the command patterns, we could use {{approach}}"
181
- - "The communication styles guide has a great example of {{technique}}"
182
-
183
- Connect improvements to broader BMAD principles without being preachy.
184
- </action>
185
-
186
- <ask>After each significant change:
187
-
188
- - "Does this feel right for what you're trying to achieve?"
189
- - "Want to refine this further, or move to the next improvement?"
190
- - "Is there anything about this change that concerns you?"
191
- </ask>
192
-
193
- <template-output>improvement_implementation</template-output>
194
- </step>
195
-
196
- <step n="4" goal="Validate improvements holistically">
197
- <action>Run comprehensive validation conversationally:
198
-
199
- Don't just check boxes - explain what you're validating and why it matters:
200
-
201
- - "Let me verify all the workflow paths resolve correctly..."
202
- - "Checking that the activation flow works smoothly..."
203
- - "Making sure menu handlers are wired up properly..."
204
- - "Validating config loading is robust..."
205
- </action>
206
-
207
- <action>Load validation checklist: {installed_path}/checklist.md</action>
208
- <action>Check all items from checklist systematically</action>
209
-
210
- <check if="validation_issues_found">
211
- <action>Present issues conversationally:
212
-
213
- Explain what's wrong and implications:
214
-
215
- - "I found {{issue}} which could cause {{problem}}"
216
- - "The {{component}} needs {{fix}} because {{reason}}"
217
-
218
- Propose fixes immediately:
219
-
220
- - "I can fix this by {{solution}}. Should I?"
221
- - "We have a couple options here: {{option1}} or {{option2}}. Thoughts?"
222
- </action>
223
-
224
- <action>Fix approved issues and re-validate</action>
225
- </check>
226
-
227
- <check if="validation_passes">
228
- <action>Confirm success warmly:
229
-
230
- "Excellent! Everything validates cleanly:
231
-
232
- - All paths resolve correctly
233
- - Activation flow is solid
234
- - Menu structure is clear
235
- - Handlers work properly
236
- - Config loading is robust
237
-
238
- Your agent is in great shape."
239
- </action>
240
- </check>
241
-
242
- <template-output>validation_results</template-output>
243
- </step>
244
-
245
- <step n="5" goal="Review improvements and guide next steps">
246
- <action>Create a conversational summary of what improved:
247
-
248
- Tell the story of the transformation:
249
-
250
- - "We started with {{initial_state}}"
251
- - "You wanted to {{user_goals}}"
252
- - "We made these key improvements: {{changes_list}}"
253
- - "Now your agent {{improved_capabilities}}"
254
-
255
- Highlight the impact:
256
-
257
- - "This means users will experience {{benefit}}"
258
- - "The agent is now more {{quality}}"
259
- - "It follows best practices for {{patterns}}"
260
- </action>
261
-
262
- <action>Guide next steps based on changes made:
263
-
264
- If significant structural changes:
265
-
266
- - "Since we restructured the activation, you should test the agent with a real user interaction"
267
-
268
- If workflow references changed:
269
-
270
- - "The agent now uses {{new_workflows}} - make sure those workflows are up to date"
271
-
272
- If this is part of larger module work:
273
-
274
- - "This agent is part of {{module}} - consider if other agents need similar improvements"
275
-
276
- Be a helpful guide to what comes next, not just a task completer.
277
- </action>
278
-
279
- <ask>Would you like to:
280
-
281
- - Test the edited agent by invoking it
282
- - Edit another agent
283
- - Make additional refinements to this one
284
- - Return to your module work
285
- </ask>
286
-
287
- <template-output>completion_summary</template-output>
288
- </step>
289
-
290
- </workflow>
@@ -1,33 +0,0 @@
1
- # Edit Agent - Agent Editor Configuration
2
- name: "edit-agent"
3
- description: "Edit existing BMAD agents while following all best practices and conventions"
4
- author: "BMad"
5
-
6
- # Critical variables load from config_source
7
- config_source: "{project-root}/bmad/bmb/config.yaml"
8
- communication_language: "{config_source}:communication_language"
9
- user_name: "{config_source}:user_name"
10
-
11
- # Required Data Files - Critical for understanding agent conventions
12
- agent_types: "{project-root}/bmad/bmb/workflows/create-agent/agent-types.md"
13
- agent_architecture: "{project-root}/bmad/bmb/workflows/create-agent/agent-architecture.md"
14
- agent_commands: "{project-root}/bmad/bmb/workflows/create-agent/agent-command-patterns.md"
15
- communication_styles: "{project-root}/bmad/bmb/workflows/create-agent/communication-styles.md"
16
-
17
- # Workflow execution engine reference
18
- workflow_execution_engine: "{project-root}/bmad/core/tasks/workflow.xml"
19
-
20
- # Optional docs that can be used to understand the target agent
21
- recommended_inputs:
22
- - target_agent: "Path to the agent.yaml or agent.md file to edit"
23
- - example_agents: "{project-root}/bmad/bmm/agents/"
24
- - agent_activation_rules: "{project-root}/src/utility/models/agent-activation-ide.xml"
25
-
26
- # Module path and component files
27
- installed_path: "{project-root}/bmad/bmb/workflows/edit-agent"
28
- template: false # This is an action workflow - no template needed
29
- instructions: "{installed_path}/instructions.md"
30
- validation: "{installed_path}/checklist.md"
31
-
32
- standalone: true
33
- # Web bundle configuration