ma-agents 2.15.0 → 2.16.1

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 (380) hide show
  1. package/.agent/workflows/bmad-agent-bmad-master.md +15 -0
  2. package/.agent/workflows/bmad-agent-bmm-analyst.md +15 -0
  3. package/.agent/workflows/bmad-agent-bmm-architect.md +15 -0
  4. package/.agent/workflows/bmad-agent-bmm-dev.md +15 -0
  5. package/.agent/workflows/bmad-agent-bmm-pm.md +15 -0
  6. package/.agent/workflows/bmad-agent-bmm-qa.md +15 -0
  7. package/.agent/workflows/bmad-agent-bmm-quick-flow-solo-dev.md +15 -0
  8. package/.agent/workflows/bmad-agent-bmm-sm.md +15 -0
  9. package/.agent/workflows/bmad-agent-bmm-tech-writer.md +15 -0
  10. package/.agent/workflows/bmad-agent-bmm-ux-designer.md +15 -0
  11. package/.agent/workflows/bmad-agent-cis-brainstorming-coach.md +15 -0
  12. package/.agent/workflows/bmad-agent-cis-creative-problem-solver.md +15 -0
  13. package/.agent/workflows/bmad-agent-cis-design-thinking-coach.md +15 -0
  14. package/.agent/workflows/bmad-agent-cis-innovation-strategist.md +15 -0
  15. package/.agent/workflows/bmad-agent-cis-presentation-master.md +15 -0
  16. package/.agent/workflows/bmad-agent-cis-storyteller.md +15 -0
  17. package/.agent/workflows/bmad-bmm-check-implementation-readiness.md +6 -0
  18. package/.agent/workflows/bmad-bmm-code-review.md +14 -0
  19. package/.agent/workflows/bmad-bmm-correct-course.md +14 -0
  20. package/.agent/workflows/bmad-bmm-create-architecture.md +6 -0
  21. package/.agent/workflows/bmad-bmm-create-epics-and-stories.md +6 -0
  22. package/.agent/workflows/bmad-bmm-create-prd.md +6 -0
  23. package/.agent/workflows/bmad-bmm-create-product-brief.md +6 -0
  24. package/.agent/workflows/bmad-bmm-create-story.md +14 -0
  25. package/.agent/workflows/bmad-bmm-create-ux-design.md +6 -0
  26. package/.agent/workflows/bmad-bmm-dev-story.md +14 -0
  27. package/.agent/workflows/bmad-bmm-document-project.md +14 -0
  28. package/.agent/workflows/bmad-bmm-domain-research.md +6 -0
  29. package/.agent/workflows/bmad-bmm-edit-prd.md +6 -0
  30. package/.agent/workflows/bmad-bmm-generate-project-context.md +6 -0
  31. package/.agent/workflows/bmad-bmm-market-research.md +6 -0
  32. package/.agent/workflows/bmad-bmm-qa-generate-e2e-tests.md +14 -0
  33. package/.agent/workflows/bmad-bmm-quick-dev.md +6 -0
  34. package/.agent/workflows/bmad-bmm-quick-spec.md +6 -0
  35. package/.agent/workflows/bmad-bmm-retrospective.md +14 -0
  36. package/.agent/workflows/bmad-bmm-sprint-planning.md +14 -0
  37. package/.agent/workflows/bmad-bmm-sprint-status.md +14 -0
  38. package/.agent/workflows/bmad-bmm-technical-research.md +6 -0
  39. package/.agent/workflows/bmad-bmm-validate-prd.md +6 -0
  40. package/.agent/workflows/bmad-brainstorming.md +6 -0
  41. package/.agent/workflows/bmad-cis-design-thinking.md +14 -0
  42. package/.agent/workflows/bmad-cis-innovation-strategy.md +14 -0
  43. package/.agent/workflows/bmad-cis-problem-solving.md +14 -0
  44. package/.agent/workflows/bmad-cis-storytelling.md +14 -0
  45. package/.agent/workflows/bmad-editorial-review-prose.md +10 -0
  46. package/.agent/workflows/bmad-editorial-review-structure.md +10 -0
  47. package/.agent/workflows/bmad-help.md +10 -0
  48. package/.agent/workflows/bmad-index-docs.md +10 -0
  49. package/.agent/workflows/bmad-party-mode.md +6 -0
  50. package/.agent/workflows/bmad-review-adversarial-general.md +10 -0
  51. package/.agent/workflows/bmad-review-edge-case-hunter.md +10 -0
  52. package/.agent/workflows/bmad-shard-doc.md +10 -0
  53. package/README.md +43 -27
  54. package/bin/cli.js +37 -11
  55. package/lib/agents.js +23 -6
  56. package/lib/bmad-customizations/antigravity.customize.yaml +16 -8
  57. package/lib/bmad-customizations/bmm-cyber.customize.yaml +17 -35
  58. package/lib/bmad-customizations/bmm-devops.customize.yaml +18 -31
  59. package/lib/bmad-customizations/bmm-mil498.customize.yaml +21 -32
  60. package/lib/bmad-customizations/bmm-sre.customize.yaml +19 -32
  61. package/lib/bmad-customizations/cyber.md +44 -29
  62. package/lib/bmad-customizations/devops.md +44 -27
  63. package/lib/bmad-customizations/mil498.md +41 -35
  64. package/lib/bmad-customizations/sre.md +44 -27
  65. package/lib/bmad.js +34 -10
  66. package/lib/installer.js +112 -38
  67. package/package.json +3 -3
  68. package/_bmad/_config/agent-manifest.csv +0 -15
  69. package/_bmad/_config/agents/antigravity.customize.yaml +0 -10
  70. package/_bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  71. package/_bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  72. package/_bmad/_config/agents/bmm-cyber.customize.yaml +0 -42
  73. package/_bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  74. package/_bmad/_config/agents/bmm-devops.customize.yaml +0 -37
  75. package/_bmad/_config/agents/bmm-mil498.customize.yaml +0 -41
  76. package/_bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  77. package/_bmad/_config/agents/bmm-qa.customize.yaml +0 -41
  78. package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  79. package/_bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  80. package/_bmad/_config/agents/bmm-sre.customize.yaml +0 -37
  81. package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  82. package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  83. package/_bmad/_config/agents/claude-code.customize.yaml +0 -10
  84. package/_bmad/_config/agents/cline.customize.yaml +0 -9
  85. package/_bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  86. package/_bmad/_config/agents/cursor.customize.yaml +0 -9
  87. package/_bmad/_config/agents/gemini.customize.yaml +0 -9
  88. package/_bmad/_config/agents/generic.customize.yaml +0 -7
  89. package/_bmad/_config/bmad-help.csv +0 -40
  90. package/_bmad/_config/files-manifest.csv +0 -212
  91. package/_bmad/_config/manifest.yaml +0 -27
  92. package/_bmad/_config/task-manifest.csv +0 -8
  93. package/_bmad/_config/tool-manifest.csv +0 -1
  94. package/_bmad/_config/workflow-manifest.csv +0 -26
  95. package/_bmad/_memory/config.yaml +0 -11
  96. package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +0 -224
  97. package/_bmad/bmm/agents/analyst.md +0 -78
  98. package/_bmad/bmm/agents/architect.md +0 -58
  99. package/_bmad/bmm/agents/cyber.md +0 -56
  100. package/_bmad/bmm/agents/dev.md +0 -69
  101. package/_bmad/bmm/agents/devops.md +0 -54
  102. package/_bmad/bmm/agents/mil498.md +0 -65
  103. package/_bmad/bmm/agents/pm.md +0 -72
  104. package/_bmad/bmm/agents/qa.md +0 -92
  105. package/_bmad/bmm/agents/quick-flow-solo-dev.md +0 -69
  106. package/_bmad/bmm/agents/sm.md +0 -70
  107. package/_bmad/bmm/agents/sre.md +0 -54
  108. package/_bmad/bmm/agents/tech-writer/tech-writer.md +0 -70
  109. package/_bmad/bmm/agents/ux-designer.md +0 -57
  110. package/_bmad/bmm/config.yaml +0 -16
  111. package/_bmad/bmm/data/project-context-template.md +0 -26
  112. package/_bmad/bmm/module-help.csv +0 -31
  113. package/_bmad/bmm/teams/default-party.csv +0 -20
  114. package/_bmad/bmm/teams/team-fullstack.yaml +0 -12
  115. package/_bmad/bmm/templates/mil498/OCD.md +0 -169
  116. package/_bmad/bmm/templates/mil498/README.md +0 -4
  117. package/_bmad/bmm/templates/mil498/SDP.md +0 -307
  118. package/_bmad/bmm/templates/mil498/SRS.md +0 -219
  119. package/_bmad/bmm/templates/mil498/SSDD.md +0 -154
  120. package/_bmad/bmm/templates/mil498/SSS.md +0 -225
  121. package/_bmad/bmm/templates/mil498/STD.md +0 -188
  122. package/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  123. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  124. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  125. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  126. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  127. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  128. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  129. package/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -162
  130. package/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -57
  131. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  132. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  133. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  134. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  135. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  136. package/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -444
  137. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  138. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  139. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  140. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  141. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  142. package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
  143. package/_bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  144. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  145. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  146. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  147. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  148. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -233
  149. package/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -487
  150. package/_bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +0 -54
  151. package/_bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +0 -54
  152. package/_bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +0 -54
  153. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  154. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  155. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  156. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +0 -191
  157. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +0 -152
  158. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +0 -224
  159. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +0 -154
  160. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +0 -170
  161. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +0 -226
  162. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +0 -213
  163. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +0 -207
  164. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +0 -226
  165. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +0 -237
  166. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +0 -228
  167. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +0 -231
  168. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +0 -242
  169. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +0 -217
  170. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +0 -124
  171. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +0 -247
  172. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  173. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +0 -249
  174. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +0 -253
  175. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +0 -168
  176. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -226
  177. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  178. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  179. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  180. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  181. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  182. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  183. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  184. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  185. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  186. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  187. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  188. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  189. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -231
  190. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +0 -10
  191. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +0 -63
  192. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +0 -65
  193. package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -63
  194. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  195. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  196. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  197. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  198. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  199. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  200. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  201. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  202. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  203. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  204. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  205. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  206. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  207. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  208. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -171
  209. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  210. package/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -42
  211. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -184
  212. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -172
  213. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -173
  214. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -133
  215. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -245
  216. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -129
  217. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  218. package/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -54
  219. package/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  220. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -13
  221. package/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  222. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  223. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -173
  224. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  225. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -329
  226. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  227. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  228. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  229. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  230. package/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -76
  231. package/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -49
  232. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  233. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  234. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  235. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -149
  236. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  237. package/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -58
  238. package/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  239. package/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  240. package/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
  241. package/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -288
  242. package/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -207
  243. package/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
  244. package/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  245. package/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  246. package/_bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  247. package/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
  248. package/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  249. package/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  250. package/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
  251. package/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1444
  252. package/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
  253. package/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  254. package/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -226
  255. package/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  256. package/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  257. package/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -230
  258. package/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  259. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -174
  260. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -118
  261. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -111
  262. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -111
  263. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -104
  264. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -146
  265. package/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -50
  266. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  267. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -143
  268. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -126
  269. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -200
  270. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  271. package/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  272. package/_bmad/bmm/workflows/cyber/generate-certs.md +0 -18
  273. package/_bmad/bmm/workflows/cyber/immunity-estimation.md +0 -20
  274. package/_bmad/bmm/workflows/cyber/security-audit.md +0 -18
  275. package/_bmad/bmm/workflows/cyber/vault-secrets.md +0 -19
  276. package/_bmad/bmm/workflows/cyber/verify-docker-users.md +0 -14
  277. package/_bmad/bmm/workflows/cyber/verify-image-signature.md +0 -13
  278. package/_bmad/bmm/workflows/cyber/vulnerability-scan.md +0 -19
  279. package/_bmad/bmm/workflows/devops/configure-infrastructure.md +0 -18
  280. package/_bmad/bmm/workflows/devops/disconnected-deployment.md +0 -18
  281. package/_bmad/bmm/workflows/devops/docker-compose-setup.md +0 -17
  282. package/_bmad/bmm/workflows/devops/manage-helm.md +0 -19
  283. package/_bmad/bmm/workflows/devops/sign-docker-image.md +0 -15
  284. package/_bmad/bmm/workflows/document-project/checklist.md +0 -245
  285. package/_bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  286. package/_bmad/bmm/workflows/document-project/instructions.md +0 -130
  287. package/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  288. package/_bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  289. package/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  290. package/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  291. package/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  292. package/_bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  293. package/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  294. package/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  295. package/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  296. package/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  297. package/_bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  298. package/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  299. package/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  300. package/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  301. package/_bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  302. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  303. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  304. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  305. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  306. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  307. package/_bmad/bmm/workflows/mil498/bmad-mil-generate-std.md +0 -17
  308. package/_bmad/bmm/workflows/qa-generate-e2e-tests/checklist.md +0 -33
  309. package/_bmad/bmm/workflows/qa-generate-e2e-tests/instructions.md +0 -110
  310. package/_bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
  311. package/_bmad/bmm/workflows/sre/check-deployment-status.md +0 -23
  312. package/_bmad/bmm/workflows/sre/check-secrets.md +0 -14
  313. package/_bmad/bmm/workflows/sre/check-system-status.md +0 -18
  314. package/_bmad/bmm/workflows/sre/day-2-ops.md +0 -16
  315. package/_bmad/bmm/workflows/sre/deployment-strategies.md +0 -18
  316. package/_bmad/bmm/workflows/sre/fix-deployments.md +0 -16
  317. package/_bmad/bmm/workflows/sre/gitops-status.md +0 -16
  318. package/_bmad/core/agents/bmad-master.md +0 -56
  319. package/_bmad/core/config.yaml +0 -9
  320. package/_bmad/core/module-help.csv +0 -10
  321. package/_bmad/core/tasks/editorial-review-prose.xml +0 -102
  322. package/_bmad/core/tasks/editorial-review-structure.xml +0 -208
  323. package/_bmad/core/tasks/help.md +0 -86
  324. package/_bmad/core/tasks/index-docs.xml +0 -65
  325. package/_bmad/core/tasks/review-adversarial-general.xml +0 -49
  326. package/_bmad/core/tasks/review-edge-case-hunter.xml +0 -63
  327. package/_bmad/core/tasks/shard-doc.xml +0 -108
  328. package/_bmad/core/tasks/workflow.xml +0 -235
  329. package/_bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  330. package/_bmad/core/workflows/advanced-elicitation/workflow.xml +0 -118
  331. package/_bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  332. package/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -210
  333. package/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  334. package/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  335. package/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  336. package/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  337. package/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  338. package/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  339. package/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  340. package/_bmad/core/workflows/brainstorming/template.md +0 -15
  341. package/_bmad/core/workflows/brainstorming/workflow.md +0 -60
  342. package/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -138
  343. package/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -187
  344. package/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -168
  345. package/_bmad/core/workflows/party-mode/workflow.md +0 -194
  346. package/_bmad/custom/agents/cyber.md +0 -56
  347. package/_bmad/custom/agents/devops.md +0 -54
  348. package/_bmad/custom/agents/mil498.md +0 -65
  349. package/_bmad/custom/agents/sre.md +0 -54
  350. package/_bmad/custom/config.yaml +0 -11
  351. package/_bmad/custom/workflows/cyber/generate-certs.md +0 -18
  352. package/_bmad/custom/workflows/cyber/immunity-estimation.md +0 -20
  353. package/_bmad/custom/workflows/cyber/security-audit.md +0 -18
  354. package/_bmad/custom/workflows/cyber/vault-secrets.md +0 -19
  355. package/_bmad/custom/workflows/cyber/verify-docker-users.md +0 -14
  356. package/_bmad/custom/workflows/cyber/verify-image-signature.md +0 -13
  357. package/_bmad/custom/workflows/cyber/vulnerability-scan.md +0 -19
  358. package/_bmad/custom/workflows/devops/configure-infrastructure.md +0 -18
  359. package/_bmad/custom/workflows/devops/disconnected-deployment.md +0 -18
  360. package/_bmad/custom/workflows/devops/docker-compose-setup.md +0 -17
  361. package/_bmad/custom/workflows/devops/manage-helm.md +0 -19
  362. package/_bmad/custom/workflows/devops/sign-docker-image.md +0 -15
  363. package/_bmad/custom/workflows/mil498/bmad-mil-generate-ocd.md +0 -17
  364. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdd.md +0 -18
  365. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sdp.md +0 -17
  366. package/_bmad/custom/workflows/mil498/bmad-mil-generate-srs.md +0 -19
  367. package/_bmad/custom/workflows/mil498/bmad-mil-generate-sss.md +0 -16
  368. package/_bmad/custom/workflows/mil498/bmad-mil-generate-std.md +0 -17
  369. package/_bmad/custom/workflows/sre/check-deployment-status.md +0 -23
  370. package/_bmad/custom/workflows/sre/check-secrets.md +0 -14
  371. package/_bmad/custom/workflows/sre/check-system-status.md +0 -18
  372. package/_bmad/custom/workflows/sre/day-2-ops.md +0 -16
  373. package/_bmad/custom/workflows/sre/deployment-strategies.md +0 -18
  374. package/_bmad/custom/workflows/sre/fix-deployments.md +0 -16
  375. package/_bmad/custom/workflows/sre/gitops-status.md +0 -16
  376. package/_bmad/skills/config.yaml +0 -11
  377. package/_bmad/skills/sre/.ma-agents.json +0 -14
  378. package/_bmad/skills/sre/MANIFEST.yaml +0 -7
  379. package/_bmad/skills/sre/docker-image-signing/SKILL.md +0 -28
  380. package/_bmad/skills/sre/docker-image-signing/scripts/sign-image.sh +0 -33
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: 'help'
3
+ description: 'Analyzes what is done and the users query and offers advice on what to do next. Use if user says what should I do next or what do I do now'
4
+ ---
5
+
6
+ # help
7
+
8
+ Read the entire task file at: {project-root}/_bmad/core/tasks/help.md
9
+
10
+ Follow all instructions in the task file exactly as written.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: 'index-docs'
3
+ description: 'Generates or updates an index.md to reference all docs in the folder. Use if user requests to create or update an index of all files in a specific folder'
4
+ ---
5
+
6
+ # index-docs
7
+
8
+ Read the entire task file at: {project-root}/_bmad/core/tasks/index-docs.xml
9
+
10
+ Follow all instructions in the task file exactly as written.
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: 'party-mode'
3
+ description: 'Orchestrates group discussions between all installed BMAD agents, enabling natural multi-agent conversations. Use when user requests party mode.'
4
+ ---
5
+
6
+ IT IS CRITICAL THAT YOU FOLLOW THIS COMMAND: LOAD the FULL {project-root}/_bmad/core/workflows/party-mode/workflow.md, READ its entire contents and follow its directions exactly!
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: 'review-adversarial-general'
3
+ description: 'Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something'
4
+ ---
5
+
6
+ # review-adversarial-general
7
+
8
+ Read the entire task file at: {project-root}/_bmad/core/tasks/review-adversarial-general.xml
9
+
10
+ Follow all instructions in the task file exactly as written.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: 'review-edge-case-hunter'
3
+ description: 'Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven.'
4
+ ---
5
+
6
+ # review-edge-case-hunter
7
+
8
+ Read the entire task file at: {project-root}/_bmad/core/tasks/review-edge-case-hunter.xml
9
+
10
+ Follow all instructions in the task file exactly as written.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: 'shard-doc'
3
+ description: 'Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document'
4
+ ---
5
+
6
+ # shard-doc
7
+
8
+ Read the entire task file at: {project-root}/_bmad/core/tasks/shard-doc.xml
9
+
10
+ Follow all instructions in the task file exactly as written.
package/README.md CHANGED
@@ -2,17 +2,23 @@
2
2
 
3
3
  A universal NPX tool to install AI coding agent skills. Write skills once, install them across Claude Code, Gemini, Copilot, Cline, Cursor, and Kilocode.
4
4
 
5
- ## Quick Start
5
+ ## Installation & Usage
6
6
 
7
+ `ma-agents` is designed to be run via `npx` in the root of your project.
8
+
9
+ ### 1. Interactive Wizard (Recommended)
10
+ The wizard is the easiest way to set up or update your environment.
7
11
  ```bash
8
- # Interactive wizard (Install All / Custom Select / Update / Uninstall)
9
12
  npx ma-agents
13
+ ```
10
14
 
11
- # Direct install
12
- npx ma-agents install code-review claude-code
15
+ ### 2. Direct Command Line
16
+ ```bash
17
+ # Install specific skills to specific agents
18
+ npx ma-agents install code-review claude-code copilot
13
19
 
14
- # Install a skill to multiple agents at once
15
- npx ma-agents install code-review claude-code copilot cline
20
+ # Global installation (user-level)
21
+ npx ma-agents install code-review claude-code --global
16
22
  ```
17
23
 
18
24
  ## How It Works
@@ -43,18 +49,19 @@ skills/code-review/
43
49
 
44
50
  | Agent | Project Path | Template | Instruction File |
45
51
  |-------|-------------|----------|------------------|
46
- | Claude Code | `.claude/skills/` | `claude-code` | `CLAUDE.md` |
47
- | Google Gemini | `.gemini/skills/` | `generic` | - |
48
- | GitHub Copilot | `.github/copilot/skills/` | `generic` | - |
49
- | Cursor | `.cursor/skills/` | `generic` | - |
50
- | Cline | `.cline/skills/` | `cline` | `.clinerules` |
51
- | SRE Agent (Alex) | `.sre/skills/` | `generic` | - |
52
- | DevOps Agent (Amit) | `.devops/skills/` | `generic` | - |
53
- | Cyber Analyst (Yael) | `.cyber/skills/` | `generic` | - |
54
- | Antigravity | `.antigravity/skills/` | `generic` | - |
55
- | Kilocode | `.kilocode/skills/` | `generic` | - |
56
-
57
- ## Available Skills (22)
52
+ | Claude Code | `.claude/skills/` | `claude-code` | `.claude/CLAUDE.md` |
53
+ | Google Gemini | `.gemini/skills/` | `generic` | `.gemini/gemini.md` |
54
+ | GitHub Copilot | `.github/copilot/skills/` | `generic` | `.github/copilot/copilot.md` |
55
+ | Cursor | `.cursor/skills/` | `generic` | `.cursor/cursor.md` |
56
+ | Kilocode | `.kilocode/skills/` | `generic` | `.kilocode/kilocode.md` |
57
+ | Cline | `.cline/skills/` | `cline` | `.cline/clinerules.md` |
58
+ | SRE Agent (Alex) | `_bmad/skills/` | `generic` | `_bmad/bmm/agents/sre.md` |
59
+ | DevOps Agent (Amit) | `_bmad/skills/` | `generic` | `_bmad/bmm/agents/devops.md` |
60
+ | Cyber Analyst (Yael) | `_bmad/skills/` | `generic` | `_bmad/bmm/agents/cyber.md` |
61
+ | Joseph (MIL-STD-498) | `_bmad/skills/` | `generic` | `_bmad/bmm/agents/mil498.md` |
62
+ | Antigravity | `_bmad/skills/` | `generic` | `_bmad/bmm/agents/antigravity.md` |
63
+
64
+ ## Available Skills (25)
58
65
 
59
66
  | Skill ID | Domain | Description |
60
67
  | :--- | :--- | :--- |
@@ -117,13 +124,14 @@ npx ma-agents agents # List supported agents
117
124
  npx ma-agents uninstall <skill> <agents> # Direct uninstall
118
125
  ```
119
126
 
120
- ### The Interactive Wizard
121
- The easiest way to manage your skills is to simply run `npx ma-agents`. The wizard will guide you through:
122
- - **Install All**: One-click setup for the entire 22-skill suite.
123
- - **Custom Select**: Granularly choose specific skills and agents.
124
- - **Update**: Add or remove skills from an existing installation.
125
- - **Clean Reinstall**: Wipe the slate and start fresh.
126
- - **Uninstall All**: Remove all ma-agents artifacts from the project.
127
+ ### The Update Process
128
+ Running `ma-agents` on a project where skills are already installed triggers the **Update Flow**:
129
+ 1. **Detection**: Recognizes existing `.ma-agents.json` manifest.
130
+ 2. **Selection**: Allows you to add new skills or remove existing ones.
131
+ 3. **Synchronization**:
132
+ - Re-injects the latest instructions into `CLAUDE.md`, `.clinerules`, etc.
133
+ - Regenerates the `MANIFEST.yaml` to reflect the current skill set.
134
+ - Updates BMAD-METHOD personas and workflows to the latest versions if detected.
127
135
 
128
136
  ### BMAD-METHOD Integration
129
137
  `ma-agents` features first-class integration with [BMAD-METHOD](https://docs.bmad-method.org/) to provide advanced orchestration and specialized personas.
@@ -147,6 +155,10 @@ The easiest way to manage your skills is to simply run `npx ma-agents`. The wiza
147
155
  - **Focus**: Cyber immunity, security auditing, and vulnerability management.
148
156
  - **Capabilities**: Immunity estimation (scoring), Vault secret management, and PKI automation.
149
157
  - **Integration**: Orchestrates ma-agents security skills for deep scans.
158
+ 4. **Joseph (MIL-STD-498)**:
159
+ - **Focus**: Technical standards compliance and military document generation.
160
+ - **Capabilities**: Document Data Descriptions (DIDs), requirements traceability, and complex specification writing.
161
+ - **Workflows**: SRS, SSS, and SSDD generation with strict structural validation.
150
162
 
151
163
  #### Operational Workflows
152
164
  The integration includes a suite of specialized playbooks:
@@ -326,9 +338,13 @@ ma-agents/
326
338
  │ └── cli.js # CLI entry point (wizard + commands)
327
339
  ├── lib/
328
340
  │ ├── agents.js # Agent configurations and paths
329
- └── installer.js # Skill discovery, frontmatter injection, installation
341
+ ├── installer.js # Skill discovery and installation logic
342
+ │ ├── bmad.js # BMAD-METHOD integration and injection logic
343
+ │ ├── bmad-customizations/ # BMAD persona templates (.md) and YAML configs
344
+ │ ├── bmad-workflows/ # Specialized BMAD playbooks (SRE, Cyber, etc.)
345
+ │ └── mil498-templates/ # MIL-STD-498 DID library (SRS, SSS, SSDD, etc.)
330
346
  ├── skills/
331
- │ ├── code-review/ # 22 bundled skills across 5 domains
347
+ │ ├── code-review/ # 25 bundled skills across 5 domains
332
348
  │ ├── commit-message/
333
349
  │ ├── create-hardened-docker-skill/
334
350
  │ ├── git-workflow-skill/
package/bin/cli.js CHANGED
@@ -52,8 +52,8 @@ function showAgents() {
52
52
  const agents = listAgents();
53
53
  console.log(chalk.bold('\n Supported Agents:\n'));
54
54
 
55
- const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber', 'bmm-mil498'].includes(a.id));
56
- const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber', 'bmm-mil498'].includes(a.id));
55
+ const ideAgents = agents.filter(a => a.category !== 'bmad');
56
+ const bmadAgents = agents.filter(a => a.category === 'bmad');
57
57
 
58
58
  console.log(chalk.bold.yellow(' AI Coding Assistants:'));
59
59
  ideAgents.forEach(agent => {
@@ -235,8 +235,8 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
235
235
 
236
236
  // Step 2: Select agents
237
237
  if (selectedAgentIds.length === 0 || isUpdate) {
238
- const ideAgents = agents.filter(a => !['bmm-sre', 'bmm-devops', 'bmm-cyber', 'bmm-mil498'].includes(a.id));
239
- const bmadAgents = agents.filter(a => ['bmm-sre', 'bmm-devops', 'bmm-cyber', 'bmm-mil498'].includes(a.id));
238
+ const ideAgents = agents.filter(a => a.category !== 'bmad');
239
+ const bmadAgents = agents.filter(a => a.category === 'bmad');
240
240
 
241
241
  // 2.1 Coding Assistants
242
242
  const { ideChosen } = await prompts({
@@ -320,7 +320,7 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
320
320
  if (success) {
321
321
  console.log(chalk.green(' BMAD-METHOD installed successfully!'));
322
322
  console.log(chalk.cyan(' Applying ma-agents customizations...'));
323
- await bmad.applyCustomizations();
323
+ await bmad.applyCustomizations(process.cwd(), ['bmm', 'bmb'], bmadTools, selectedAgentIds);
324
324
  }
325
325
  }
326
326
  } else {
@@ -338,7 +338,7 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
338
338
  if (success) {
339
339
  console.log(chalk.green(' BMAD-METHOD updated successfully!'));
340
340
  console.log(chalk.cyan(' Re-applying ma-agents customizations...'));
341
- await bmad.applyCustomizations();
341
+ await bmad.applyCustomizations(process.cwd(), ['bmm', 'bmb'], bmadTools, selectedAgentIds);
342
342
  }
343
343
  }
344
344
  }
@@ -366,17 +366,43 @@ async function installWizard(preselectedSkill, preselectedAgents, customPath, fo
366
366
 
367
367
  // Step 5: Execution
368
368
  if (isUpdate) {
369
- // Identify removals
370
- const currentlyInstalled = new Set();
371
- existingStatus.forEach(entry => Object.keys(entry.skills).forEach(id => currentlyInstalled.add(id)));
369
+ // Build a map: skillId -> set of agent IDs that originally had it installed
370
+ const originalAgentsBySkill = new Map();
371
+ const originalAllAgentIds = new Set();
372
+ existingStatus.forEach(entry => {
373
+ originalAllAgentIds.add(entry.agent.id);
374
+ Object.keys(entry.skills).forEach(skillId => {
375
+ if (!originalAgentsBySkill.has(skillId)) {
376
+ originalAgentsBySkill.set(skillId, new Set());
377
+ }
378
+ originalAgentsBySkill.get(skillId).add(entry.agent.id);
379
+ });
380
+ });
372
381
 
373
382
  const finalSkills = new Set(selectedSkillIds);
374
- const toRemove = [...currentlyInstalled].filter(id => !finalSkills.has(id));
383
+
384
+ // Skills to fully remove (deselected from skill list)
385
+ const toRemove = [...originalAgentsBySkill.keys()].filter(id => !finalSkills.has(id));
375
386
 
376
387
  if (toRemove.length > 0) {
377
388
  console.log(chalk.gray(`\n Cleaning up ${toRemove.length} removed skills...`));
378
389
  for (const skillId of toRemove) {
379
- await uninstallSkill(skillId, selectedAgentIds, installPath, 'project');
390
+ // Use the ORIGINAL agent IDs, not the new selection
391
+ const originalAgents = [...originalAgentsBySkill.get(skillId)];
392
+ await uninstallSkill(skillId, originalAgents, installPath, 'project');
393
+ }
394
+ }
395
+
396
+ // Also handle agents that were deselected: uninstall their skills
397
+ const deselectedAgents = [...originalAllAgentIds].filter(id => !selectedAgentIds.includes(id));
398
+
399
+ if (deselectedAgents.length > 0) {
400
+ console.log(chalk.gray(`\n Removing skills from ${deselectedAgents.length} deselected agents...`));
401
+ for (const [skillId, agentSet] of originalAgentsBySkill) {
402
+ const agentsToRemoveFrom = deselectedAgents.filter(id => agentSet.has(id));
403
+ if (agentsToRemoveFrom.length > 0) {
404
+ await uninstallSkill(skillId, agentsToRemoveFrom, installPath, 'project');
405
+ }
380
406
  }
381
407
  }
382
408
  }
package/lib/agents.js CHANGED
@@ -6,6 +6,7 @@ const path = require('path');
6
6
  * Each agent has:
7
7
  * - id: unique identifier
8
8
  * - name: display name
9
+ * - category: 'ide' for AI coding assistants, 'bmad' for BMAD-METHOD agents
9
10
  * - description: brief description
10
11
  * - getProjectPath: function that returns the project-level skills directory (relative to cwd)
11
12
  * - getGlobalPath: function that returns the global/user-level skills directory
@@ -18,6 +19,7 @@ const agents = [
18
19
  id: 'claude-code',
19
20
  name: 'Claude Code',
20
21
  version: '1.0.0',
22
+ category: 'ide',
21
23
  description: 'Anthropic Claude Code CLI',
22
24
  getProjectPath: () => path.join(process.cwd(), '.claude', 'skills'),
23
25
  getGlobalPath: () => {
@@ -38,6 +40,7 @@ const agents = [
38
40
  id: 'gemini',
39
41
  name: 'Google Gemini',
40
42
  version: '1.0.0',
43
+ category: 'ide',
41
44
  description: 'Google Gemini Code Assist',
42
45
  getProjectPath: () => path.join(process.cwd(), '.gemini', 'skills'),
43
46
  getGlobalPath: () => {
@@ -58,6 +61,7 @@ const agents = [
58
61
  id: 'copilot',
59
62
  name: 'GitHub Copilot',
60
63
  version: '1.0.0',
64
+ category: 'ide',
61
65
  description: 'GitHub Copilot Agent Mode',
62
66
  getProjectPath: () => path.join(process.cwd(), '.github', 'copilot', 'skills'),
63
67
  getGlobalPath: () => {
@@ -78,6 +82,7 @@ const agents = [
78
82
  id: 'kilocode',
79
83
  name: 'Kilocode',
80
84
  version: '1.0.0',
85
+ category: 'ide',
81
86
  description: 'Kilocode AI Assistant',
82
87
  getProjectPath: () => path.join(process.cwd(), '.kilocode', 'skills'),
83
88
  getGlobalPath: () => {
@@ -98,6 +103,7 @@ const agents = [
98
103
  id: 'cline',
99
104
  name: 'Cline',
100
105
  version: '1.0.0',
106
+ category: 'ide',
101
107
  description: 'Cline AI Assistant',
102
108
  getProjectPath: () => path.join(process.cwd(), '.cline', 'skills'),
103
109
  getGlobalPath: () => {
@@ -123,6 +129,7 @@ const agents = [
123
129
  id: 'cursor',
124
130
  name: 'Cursor',
125
131
  version: '1.0.0',
132
+ category: 'ide',
126
133
  description: 'Cursor AI Editor',
127
134
  getProjectPath: () => path.join(process.cwd(), '.cursor', 'skills'),
128
135
  getGlobalPath: () => {
@@ -143,8 +150,9 @@ const agents = [
143
150
  id: 'bmm-sre',
144
151
  name: 'SRE Agent',
145
152
  version: '1.0.0',
153
+ category: 'bmad',
146
154
  description: 'Specialized SRE Agent for BMAD-METHOD',
147
- getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills', 'sre'),
155
+ getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills'),
148
156
  getGlobalPath: () => {
149
157
  const platform = os.platform();
150
158
  if (platform === 'win32') {
@@ -163,8 +171,9 @@ const agents = [
163
171
  id: 'antigravity',
164
172
  name: 'Antigravity',
165
173
  version: '1.0.0',
174
+ category: 'bmad',
166
175
  description: 'Google Deepmind Antigravity Agent',
167
- getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills', 'antigravity'),
176
+ getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills'),
168
177
  getGlobalPath: () => {
169
178
  const platform = os.platform();
170
179
  if (platform === 'win32') {
@@ -183,8 +192,9 @@ const agents = [
183
192
  id: 'bmm-devops',
184
193
  name: 'DevOps Agent',
185
194
  version: '1.0.0',
195
+ category: 'bmad',
186
196
  description: 'Specialized DevOps Agent for BMAD-METHOD',
187
- getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills', 'devops'),
197
+ getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills'),
188
198
  getGlobalPath: () => {
189
199
  const platform = os.platform();
190
200
  if (platform === 'win32') {
@@ -203,8 +213,9 @@ const agents = [
203
213
  id: 'bmm-cyber',
204
214
  name: 'Cyber Analyst',
205
215
  version: '1.0.0',
216
+ category: 'bmad',
206
217
  description: 'Specialized Cyber Security Analyst (Yael) for BMAD-METHOD',
207
- getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills', 'yael'),
218
+ getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills'),
208
219
  getGlobalPath: () => {
209
220
  const platform = os.platform();
210
221
  if (platform === 'win32') {
@@ -223,8 +234,9 @@ const agents = [
223
234
  id: 'bmm-mil498',
224
235
  name: 'Joseph',
225
236
  version: '1.0.0',
237
+ category: 'bmad',
226
238
  description: 'MIL-STD-498 Documentation Expert',
227
- getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills', 'mil498'),
239
+ getProjectPath: () => path.join(process.cwd(), '_bmad', 'skills'),
228
240
  getGlobalPath: () => {
229
241
  const platform = os.platform();
230
242
  if (platform === 'win32') {
@@ -249,7 +261,12 @@ function getAllAgents() {
249
261
  return agents;
250
262
  }
251
263
 
264
+ function getAgentsByCategory(category) {
265
+ return agents.filter(a => a.category === category);
266
+ }
267
+
252
268
  module.exports = {
253
269
  getAgent,
254
- getAllAgents
270
+ getAllAgents,
271
+ getAgentsByCategory
255
272
  };
@@ -1,10 +1,18 @@
1
1
  # antigravity.customize.yaml
2
+ agent:
3
+ metadata:
4
+ name: "Antigravity"
5
+
2
6
  persona:
3
- name: "MA-Antigravity"
4
- role: "Advanced Agentic AI Assistant (BMAD-METHOD)"
5
- style: "Proactive, specialized in codebase maintenance and automation."
6
- principles:
7
- - "Follow BMAD-METHOD architectural patterns"
8
- - "Prioritize agentic safety and task completeness"
9
- - "Use ma-agents skills to enhance capabilities"
10
- - "Maintain project context via project-context.md"
7
+ role: "Powerful agentic AI coding assistant"
8
+ identity: "Designed by Google Deepmind for advanced agentic coding. Capable of pair programming, debugging, and system refactoring."
9
+ communication_style: "Helpful, proactive, and technically precise. Communicates in {communication_language}."
10
+ principles:
11
+ - "Prioritize user requirements and intent."
12
+ - "Maintain high standards of code quality and security."
13
+ - "Communicate progress clearly through task boundaries and artifacts."
14
+
15
+ menu:
16
+ - trigger: bmad-help
17
+ workflow: "core/workflows/help.yaml"
18
+ description: "Get help with BMAD-METHOD"
@@ -1,42 +1,24 @@
1
1
  # cyber.customize.yaml
2
+ agent:
3
+ metadata:
4
+ name: "Yael"
5
+
2
6
  persona:
3
- name: "Yael"
4
- role: "Cyber Security Analyst & Immunity Expert"
5
- identity: "You are a specialized Cyber Security Analyst. Your mission is to estimate and improve the cyber immunity of systems. You are proficient in vulnerability scanning, secret management, and secure communications. You assist {user_name}."
6
- style: "Vigilant, precise, and highly technical. You communicate in {communication_language}."
7
+ role: "Cyber Security Analyst"
8
+ identity: "Expert in vulnerability assessment, threat modeling, and system hardening with deep knowledge of security standards (OWASP, CIS)."
9
+ communication_style: "Analytical, precise, and risk-focused. Uses professional security terminology."
7
10
  principles:
8
- - "Security is not a state, but a process."
9
- - "Zero Trust: Verify everything, trust no one."
10
- - "Defense in Depth: Layered security controls."
11
- - "Least Privilege: Grant only the minimum necessary access."
12
- - "Shift Left: Integrate security early in the lifecycle."
13
-
14
- critical_actions:
15
- - "Immediately load {project-root}/_bmad/bmm/config.yaml for session context."
16
- - "Run an initial security audit of the project structure and configuration."
17
- - "Check for the presence of secrets in the codebase (secrets scanning)."
11
+ - "Security is a process, not a product."
12
+ - "Favor Defense in Depth."
13
+ - "Prioritize mitigations based on risk."
18
14
 
19
15
  menu:
20
- - trigger: bmad-cyber-immunity-estimation
21
- workflow: "cyber/immunity-estimation.md"
22
- description: "Estimate System Cyber Immunity"
23
16
  - trigger: bmad-cyber-vulnerability-scan
24
- workflow: "cyber/vulnerability-scan.md"
17
+ workflow: "bmm/workflows/cyber/vulnerability-scan.md"
25
18
  description: "Run Vulnerability Scan"
26
- - trigger: bmad-cyber-vault-secrets
27
- workflow: "cyber/vault-secrets.md"
28
- description: "Manage Vault Secrets"
29
- - trigger: bmad-cyber-generate-certs
30
- workflow: "cyber/generate-certs.md"
31
- description: "Generate Secure Certificates"
32
- - trigger: bmad-cyber-verify-image-signature
33
- workflow: "cyber/verify-image-signature.md"
34
- description: "Verify Image Signature"
35
- - trigger: bmad-cyber-verify-docker-users
36
- workflow: "cyber/verify-docker-users.md"
37
- description: "Verify Docker User Hardening"
38
-
39
- memories:
40
- - "OWASP Top 10 2025 security patterns."
41
- - "CIS Benchmarks for Docker and Kubernetes."
42
- - "Vault dynamic secrets and policy structures."
19
+ - trigger: bmad-cyber-security-audit
20
+ workflow: "bmm/workflows/cyber/security-audit.md"
21
+ description: "Perform Deep Security Audit"
22
+ - trigger: bmad-cyber-threat-modeling
23
+ workflow: "bmm/workflows/cyber/threat-modeling.md"
24
+ description: "Identify Attack Vectors"
@@ -1,37 +1,24 @@
1
1
  # devops.customize.yaml
2
+ agent:
3
+ metadata:
4
+ name: "Amit"
5
+
2
6
  persona:
3
- name: "Amit"
4
- role: "DevOps Engineer & Automation Architect"
5
- identity: "You are an expert DevOps Engineer focused on building, deploying, and automating application lifecycles. You specialize in Helm, Docker Compose, and infrastructure provisioning (PV/PVC, Load Balancers). You excel at working in disconnected or on-prem environments. You assist {user_name}."
6
- style: "Efficient, automation-first, and highly structured. You communicate in {communication_language}."
7
+ role: "DevOps Engineer"
8
+ identity: "Expert in CI/CD pipeline automation, Infrastructure as Code, and cloud-native technologies (Kubernetes, AWS/GCP)."
9
+ communication_style: "Collaborative, efficiency-minded, and tech-forward. Focuses on streamlining the delivery process."
7
10
  principles:
8
- - "Build once, deploy anywhere (even air-gapped)."
9
- - "Infrastructure as Code is mandatory."
10
- - "Automate dependency bundling for restricted environments."
11
- - "Prioritize Helm umbrellas for complex system orchestration."
12
-
13
- critical_actions:
14
- - "Immediately load {project-root}/_bmad/bmm/config.yaml for session context."
15
- - "Verify local build environment status (Docker/Podman/Helm)."
11
+ - "Version control everything."
12
+ - "Immutable infrastructure is better."
13
+ - "Continuous improvement of the feedback loop."
16
14
 
17
15
  menu:
18
- - trigger: bmad-devops-manage-helm
19
- workflow: "devops/manage-helm.md"
20
- description: "Manage Helm Charts & Umbrellas"
21
16
  - trigger: bmad-devops-configure-infrastructure
22
- workflow: "devops/configure-infrastructure.md"
23
- description: "Configure Core Infrastructure (PV/PVC/LB)"
24
- - trigger: bmad-devops-docker-compose-setup
25
- workflow: "devops/docker-compose-setup.md"
26
- description: "Setup Docker Compose Environment"
27
- - trigger: bmad-devops-disconnected-deployment
28
- workflow: "devops/disconnected-deployment.md"
29
- description: "Deploy to Disconnected Environment"
30
- - trigger: bmad-devops-sign-docker-image
31
- workflow: "devops/sign-docker-image.md"
32
- description: "Sign Docker Image"
33
-
34
- memories:
35
- - "Helm dependency vendorization patterns."
36
- - "Disconnected registry synchronization strategies."
37
- - "Configuring Load Balancers for on-prem K8s clusters (MetalLB, etc.)."
17
+ workflow: "bmm/workflows/devops/configure-infrastructure.md"
18
+ description: "Configure Infrastructure Components"
19
+ - trigger: bmad-devops-optimize-pipelines
20
+ workflow: "bmm/workflows/devops/optimize-pipelines.md"
21
+ description: "Review & Optimize CI/CD Pipelines"
22
+ - trigger: bmad-devops-manage-helm
23
+ workflow: "bmm/workflows/devops/manage-helm.md"
24
+ description: "Deploy & Manage Helm Charts"
@@ -1,41 +1,30 @@
1
1
  # mil498.customize.yaml
2
+ agent:
3
+ metadata:
4
+ name: "Joseph"
5
+
2
6
  persona:
3
- name: "Joseph"
4
7
  role: "MIL-STD-498 Documentation Expert"
5
- identity: "You are Joseph, an expert in MIL-STD-498 standards for software development and documentation. You specialize in generating high-quality SSS, SSDD, SRS, SDP, OCD, and STD documents from BMAD-METHOD records. You assist {user_name}."
6
- style: "Professional, meticulous, and compliant with military standards. You communicate in {communication_language}."
8
+ identity: "Seasoned Systems Engineer with expertise in defense industry standards and Data Item Descriptions (DIDs)."
9
+ communication_style: "Formal, precise, and authoritative. Values strict adherence to technical standards."
7
10
  principles:
8
- - "Strict adherence to MIL-STD-498 Data Item Descriptions (DIDs)."
9
- - "Ensure consistency between system requirements and software design."
10
- - "Traceability is paramount: every requirement must be testable and traceable."
11
- - "Use the provided templates as the foundation for all documents."
12
-
13
- critical_actions:
14
- - "Immediately load {project-root}/_bmad/bmm/config.yaml for session context."
15
- - "Verify availability of BMAD documents: PRD, Architecture, UX, Epics, Stories."
16
- - "Load relevant MIL-STD-498 templates from {project-root}/_bmad/bmm/templates/mil498/ before generation."
11
+ - "Documentation is the foundation of quality."
12
+ - "Traceability is mandatory."
13
+ - "Adherence to standards ensures mission success."
17
14
 
18
15
  menu:
19
16
  - trigger: bmad-mil-generate-srs
20
- workflow: "mil498/bmad-mil-generate-srs.md"
21
- description: "Generate Software Requirements Specification (SRS)"
17
+ workflow: "bmm/workflows/mil498/bmad-mil-generate-srs.md"
18
+ description: "Generate SRS Document"
22
19
  - trigger: bmad-mil-generate-sdd
23
- workflow: "mil498/bmad-mil-generate-sdd.md"
24
- description: "Generate Software Design Description (SDD)"
25
- - trigger: bmad-mil-generate-sdp
26
- workflow: "mil498/bmad-mil-generate-sdp.md"
27
- description: "Generate Software Development Plan (SDP)"
20
+ workflow: "bmm/workflows/mil498/bmad-mil-generate-sdd.md"
21
+ description: "Generate SDD Document"
22
+ - trigger: bmad-mil-generate-stp
23
+ workflow: "bmm/workflows/mil498/bmad-mil-generate-stp.md"
24
+ description: "Generate STP Document"
28
25
  - trigger: bmad-mil-generate-ocd
29
- workflow: "mil498/bmad-mil-generate-ocd.md"
30
- description: "Generate Operational Concept Description (OCD)"
31
- - trigger: bmad-mil-generate-sss
32
- workflow: "mil498/bmad-mil-generate-sss.md"
33
- description: "Generate System/Subsystem Specification (SSS)"
34
- - trigger: bmad-mil-generate-std
35
- workflow: "mil498/bmad-mil-generate-std.md"
36
- description: "Generate Software Test Description (STD)"
37
-
38
- memories:
39
- - "MIL-STD-498 DID structures and mandatory sections."
40
- - "Mapping BMAD PRD to MIL-STD-498 requirements."
41
- - "Documentation consistency and cross-referencing patterns."
26
+ workflow: "bmm/workflows/mil498/bmad-mil-generate-ocd.md"
27
+ description: "Generate OCD Document"
28
+ - trigger: bmad-mil-generate-sdp
29
+ workflow: "bmm/workflows/mil498/bmad-mil-generate-sdp.md"
30
+ description: "Generate SDP Document"