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

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 (491) hide show
  1. package/.github/workflows/bundle-latest.yaml +79 -27
  2. package/CHANGELOG.md +167 -1
  3. package/README.md +3 -1
  4. package/custom/src/agents/commit-poet/commit-poet.agent.yaml +129 -0
  5. package/custom/src/agents/commit-poet/installation-guide.md +36 -0
  6. package/custom/src/agents/toolsmith/installation-guide.md +36 -0
  7. package/custom/src/agents/toolsmith/toolsmith-sidecar/instructions.md +70 -0
  8. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +111 -0
  9. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +70 -0
  10. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +114 -0
  11. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +134 -0
  12. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +161 -0
  13. package/custom/src/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +103 -0
  14. package/custom/src/agents/toolsmith/toolsmith-sidecar/memories.md +17 -0
  15. package/custom/src/agents/toolsmith/toolsmith.agent.yaml +108 -0
  16. package/docs/custom-agent-installation.md +31 -17
  17. package/docs/ide-info/rovo-dev.md +388 -0
  18. package/docs/index.md +6 -81
  19. package/docs/installers-bundlers/installers-modules-platforms-reference.md +1 -1
  20. package/package.json +3 -2
  21. package/src/core/agents/bmad-master.agent.yaml +1 -1
  22. package/src/core/agents/bmad-web-orchestrator.agent.xml +1 -1
  23. package/src/core/tasks/advanced-elicitation-methods.csv +51 -21
  24. package/src/core/tasks/advanced-elicitation.xml +18 -8
  25. package/src/core/tasks/workflow.xml +36 -71
  26. package/src/core/workflows/brainstorming/brain-methods.csv +62 -36
  27. package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +196 -0
  28. package/src/core/workflows/brainstorming/steps/step-01b-continue.md +121 -0
  29. package/src/core/workflows/brainstorming/steps/step-02a-user-selected.md +224 -0
  30. package/src/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +236 -0
  31. package/src/core/workflows/brainstorming/steps/step-02c-random-selection.md +208 -0
  32. package/src/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +263 -0
  33. package/src/core/workflows/brainstorming/steps/step-03-technique-execution.md +339 -0
  34. package/src/core/workflows/brainstorming/steps/step-04-idea-organization.md +302 -0
  35. package/src/core/workflows/brainstorming/template.md +13 -104
  36. package/src/core/workflows/brainstorming/workflow.md +51 -0
  37. package/src/core/workflows/party-mode/steps/step-01-agent-loading.md +138 -0
  38. package/src/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +203 -0
  39. package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  40. package/src/core/workflows/party-mode/workflow.md +207 -0
  41. package/src/modules/bmb/README.md +153 -86
  42. package/src/modules/bmb/_module-installer/install-config.yaml +3 -3
  43. package/src/modules/bmb/agents/bmad-builder.agent.yaml +45 -31
  44. package/src/modules/bmb/docs/{agent-menu-patterns.md → agents/agent-menu-patterns.md} +1 -1
  45. package/src/modules/bmb/docs/agents/kb.csv +0 -0
  46. package/src/modules/bmb/docs/{module-agent-architecture.md → agents/module-agent-architecture.md} +1 -1
  47. package/src/modules/bmb/docs/{simple-agent-architecture.md → agents/simple-agent-architecture.md} +1 -1
  48. package/src/modules/bmb/docs/workflows/architecture.md +220 -0
  49. package/src/modules/bmb/docs/workflows/common-workflow-tools.csv +19 -0
  50. package/src/modules/bmb/docs/workflows/csv-data-file-standards.md +206 -0
  51. package/src/modules/bmb/docs/workflows/index.md +45 -0
  52. package/src/modules/bmb/docs/workflows/intent-vs-prescriptive-spectrum.md +220 -0
  53. package/src/modules/bmb/docs/workflows/kb.csv +0 -0
  54. package/src/modules/bmb/docs/workflows/step-template.md +283 -0
  55. package/src/modules/bmb/docs/workflows/terms.md +97 -0
  56. package/src/modules/bmb/docs/workflows/workflow-template.md +152 -0
  57. package/src/modules/bmb/reference/agents/module-examples/README.md +1 -1
  58. package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +2 -2
  59. package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +1 -1
  60. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  61. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  62. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  63. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  64. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  65. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  66. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  67. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  68. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  69. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  70. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  71. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  72. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  73. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  74. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  75. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  76. package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  77. package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +17 -0
  78. package/src/modules/bmb/workflows/create-agent/data/reference/README.md +3 -0
  79. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +242 -0
  80. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/breakthroughs.md +24 -0
  81. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/instructions.md +108 -0
  82. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/memories.md +46 -0
  83. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper-sidecar/mood-patterns.md +39 -0
  84. package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +152 -0
  85. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/README.md +50 -0
  86. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/security-engineer.agent.yaml +53 -0
  87. package/src/modules/bmb/workflows/create-agent/data/reference/agents/module-examples/trend-analyst.agent.yaml +57 -0
  88. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/README.md +223 -0
  89. package/src/modules/bmb/workflows/create-agent/data/reference/agents/simple-examples/commit-poet.agent.yaml +126 -0
  90. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/dietary-restrictions.csv +18 -0
  91. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/macro-calculator.csv +16 -0
  92. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/data/recipe-database.csv +28 -0
  93. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +177 -0
  94. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +150 -0
  95. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +164 -0
  96. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +152 -0
  97. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +182 -0
  98. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +167 -0
  99. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +194 -0
  100. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/assessment-section.md +25 -0
  101. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/nutrition-plan.md +68 -0
  102. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/prep-schedule-section.md +29 -0
  103. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/profile-section.md +47 -0
  104. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/shopping-section.md +37 -0
  105. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/templates/strategy-section.md +18 -0
  106. package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/workflow.md +58 -0
  107. package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +305 -0
  108. package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +145 -0
  109. package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +210 -0
  110. package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +260 -0
  111. package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +237 -0
  112. package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +231 -0
  113. package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +224 -0
  114. package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +234 -0
  115. package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +179 -0
  116. package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +197 -0
  117. package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +180 -0
  118. package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +222 -0
  119. package/src/modules/bmb/workflows/create-agent/templates/agent_commands.md +21 -0
  120. package/src/modules/bmb/workflows/create-agent/templates/agent_persona.md +25 -0
  121. package/src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md +23 -0
  122. package/src/modules/bmb/workflows/create-agent/workflow.md +91 -0
  123. package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +168 -0
  124. package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +233 -0
  125. package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +127 -0
  126. package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +145 -0
  127. package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +136 -0
  128. package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +154 -0
  129. package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +159 -0
  130. package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +167 -0
  131. package/src/modules/bmb/workflows/create-workflow/steps/step-09-design.md +239 -0
  132. package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +215 -0
  133. package/src/modules/bmb/workflows/create-workflow/steps/step-11-build.md +262 -0
  134. package/src/modules/bmb/workflows/create-workflow/steps/step-12-review.md +270 -0
  135. package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +36 -0
  136. package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +39 -0
  137. package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +21 -0
  138. package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +53 -0
  139. package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +18 -0
  140. package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +47 -0
  141. package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +56 -0
  142. package/src/modules/bmb/workflows/create-workflow/templates/step-file.md +139 -0
  143. package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +54 -0
  144. package/src/modules/bmb/workflows/create-workflow/templates/workflow.md +58 -0
  145. package/src/modules/bmb/workflows/create-workflow/workflow.md +58 -0
  146. package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +134 -0
  147. package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +202 -0
  148. package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +157 -0
  149. package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +150 -0
  150. package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +150 -0
  151. package/src/modules/bmb/workflows/edit-agent/workflow.md +58 -0
  152. package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +221 -0
  153. package/src/modules/bmb/workflows/edit-workflow/steps/step-02-discover.md +253 -0
  154. package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +217 -0
  155. package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +193 -0
  156. package/src/modules/bmb/workflows/edit-workflow/steps/step-05-compliance-check.md +245 -0
  157. package/src/modules/bmb/workflows/edit-workflow/templates/completion-summary.md +75 -0
  158. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-goals.md +68 -0
  159. package/src/modules/bmb/workflows/edit-workflow/templates/improvement-log.md +40 -0
  160. package/src/modules/bmb/workflows/edit-workflow/templates/validation-results.md +51 -0
  161. package/src/modules/bmb/workflows/edit-workflow/templates/workflow-analysis.md +56 -0
  162. package/src/modules/bmb/workflows/edit-workflow/workflow.md +58 -0
  163. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +152 -0
  164. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +243 -0
  165. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +274 -0
  166. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +295 -0
  167. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +264 -0
  168. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +360 -0
  169. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +258 -0
  170. package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +301 -0
  171. package/src/modules/bmb/workflows/workflow-compliance-check/templates/compliance-report.md +140 -0
  172. package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +58 -0
  173. package/src/modules/bmgd/agents/game-architect.agent.yaml +1 -1
  174. package/src/modules/bmgd/agents/game-designer.agent.yaml +1 -1
  175. package/src/modules/bmgd/agents/game-dev.agent.yaml +1 -1
  176. package/src/modules/bmgd/agents/game-scrum-master.agent.yaml +1 -1
  177. package/src/modules/bmm/_module-installer/install-config.yaml +9 -15
  178. package/src/modules/bmm/agents/analyst.agent.yaml +14 -14
  179. package/src/modules/bmm/agents/architect.agent.yaml +12 -10
  180. package/src/modules/bmm/agents/dev.agent.yaml +20 -16
  181. package/src/modules/bmm/agents/pm.agent.yaml +13 -31
  182. package/src/modules/bmm/agents/quick-flow-solo-dev.agent.yaml +36 -0
  183. package/src/modules/bmm/agents/sm.agent.yaml +13 -31
  184. package/src/modules/bmm/agents/tea.agent.yaml +10 -7
  185. package/src/modules/bmm/agents/tech-writer.agent.yaml +7 -20
  186. package/src/modules/bmm/agents/ux-designer.agent.yaml +12 -10
  187. package/src/modules/bmm/data/README.md +29 -0
  188. package/src/modules/bmm/data/project-context-template.md +40 -0
  189. package/src/modules/bmm/docs/README.md +21 -9
  190. package/src/modules/bmm/docs/agents-guide.md +69 -23
  191. package/src/modules/bmm/docs/bmad-quick-flow.md +528 -0
  192. package/src/modules/bmm/docs/brownfield-guide.md +9 -10
  193. package/src/modules/bmm/docs/enterprise-agentic-development.md +1 -1
  194. package/src/modules/bmm/docs/glossary.md +5 -5
  195. package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +909 -1654
  196. package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +2 -2
  197. package/src/modules/bmm/docs/quick-flow-solo-dev.md +337 -0
  198. package/src/modules/bmm/docs/scale-adaptive-system.md +5 -5
  199. package/src/modules/bmm/docs/test-architecture.md +84 -18
  200. package/src/modules/bmm/docs/workflows-analysis.md +36 -140
  201. package/src/modules/bmm/docs/workflows-implementation.md +32 -157
  202. package/src/modules/bmm/docs/workflows-planning.md +51 -212
  203. package/src/modules/bmm/docs/workflows-solutioning.md +24 -69
  204. package/src/modules/bmm/teams/default-party.csv +15 -14
  205. package/src/modules/bmm/teams/team-fullstack.yaml +0 -1
  206. package/src/modules/bmm/testarch/knowledge/api-request.md +303 -0
  207. package/src/modules/bmm/testarch/knowledge/auth-session.md +356 -0
  208. package/src/modules/bmm/testarch/knowledge/burn-in.md +273 -0
  209. package/src/modules/bmm/testarch/knowledge/file-utils.md +260 -0
  210. package/src/modules/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  211. package/src/modules/bmm/testarch/knowledge/intercept-network-call.md +280 -0
  212. package/src/modules/bmm/testarch/knowledge/log.md +294 -0
  213. package/src/modules/bmm/testarch/knowledge/network-error-monitor.md +272 -0
  214. package/src/modules/bmm/testarch/knowledge/network-recorder.md +265 -0
  215. package/src/modules/bmm/testarch/knowledge/overview.md +284 -0
  216. package/src/modules/bmm/testarch/knowledge/recurse.md +296 -0
  217. package/src/modules/bmm/testarch/tea-index.csv +11 -0
  218. package/src/modules/bmm/workflows/1-analysis/product-brief/product-brief.template.md +8 -0
  219. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01-init.md +192 -0
  220. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-01b-continue.md +167 -0
  221. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +203 -0
  222. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +206 -0
  223. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +209 -0
  224. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +223 -0
  225. package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-06-complete.md +199 -0
  226. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +58 -0
  227. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +136 -0
  228. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +228 -0
  229. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +237 -0
  230. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +205 -0
  231. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +233 -0
  232. package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  233. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  234. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +235 -0
  235. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +198 -0
  236. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +247 -0
  237. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +257 -0
  238. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +175 -0
  239. package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  240. package/src/modules/bmm/workflows/1-analysis/research/research.template.md +16 -0
  241. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +136 -0
  242. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +237 -0
  243. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +246 -0
  244. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +200 -0
  245. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +237 -0
  246. package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  247. package/src/modules/bmm/workflows/1-analysis/research/workflow.md +198 -0
  248. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +159 -0
  249. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +126 -0
  250. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +209 -0
  251. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +215 -0
  252. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +218 -0
  253. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +233 -0
  254. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +251 -0
  255. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +253 -0
  256. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +223 -0
  257. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +223 -0
  258. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +240 -0
  259. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +247 -0
  260. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +236 -0
  261. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +263 -0
  262. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +226 -0
  263. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +6 -138
  264. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +53 -0
  265. package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +5 -200
  266. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +161 -0
  267. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +123 -0
  268. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +275 -0
  269. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +271 -0
  270. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +272 -0
  271. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +249 -0
  272. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +240 -0
  273. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +236 -0
  274. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +280 -0
  275. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +251 -0
  276. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +275 -0
  277. package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +210 -0
  278. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +61 -0
  279. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-decision-template.md +13 -0
  280. package/src/modules/bmm/workflows/3-solutioning/architecture/data/domain-complexity.csv +11 -0
  281. package/src/modules/bmm/workflows/3-solutioning/architecture/data/project-types.csv +7 -0
  282. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md +194 -0
  283. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01b-continue.md +163 -0
  284. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-02-context.md +223 -0
  285. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +330 -0
  286. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +317 -0
  287. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-05-patterns.md +358 -0
  288. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-06-structure.md +378 -0
  289. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-07-validation.md +358 -0
  290. package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md +351 -0
  291. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +48 -0
  292. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +247 -476
  293. package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +8 -18
  294. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +176 -0
  295. package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +4 -11
  296. package/src/modules/bmm/workflows/4-implementation/create-story/checklist.md +332 -214
  297. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +324 -0
  298. package/src/modules/bmm/workflows/4-implementation/create-story/workflow.yaml +21 -34
  299. package/src/modules/bmm/workflows/4-implementation/dev-story/checklist.md +65 -23
  300. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +406 -0
  301. package/src/modules/bmm/workflows/4-implementation/dev-story/workflow.yaml +6 -37
  302. package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +4 -3
  303. package/src/modules/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +2 -0
  304. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/instructions.md +115 -0
  305. package/src/modules/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml +26 -0
  306. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/checklist.md +25 -0
  307. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +105 -0
  308. package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +29 -0
  309. package/src/modules/bmm/workflows/generate-project-context/project-context-template.md +20 -0
  310. package/src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md +193 -0
  311. package/src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md +317 -0
  312. package/src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md +277 -0
  313. package/src/modules/bmm/workflows/generate-project-context/workflow.md +48 -0
  314. package/src/modules/bmm/workflows/testarch/atdd/instructions.md +23 -3
  315. package/src/modules/bmm/workflows/testarch/automate/instructions.md +23 -2
  316. package/src/modules/bmm/workflows/testarch/ci/instructions.md +18 -1
  317. package/src/modules/bmm/workflows/testarch/framework/instructions.md +27 -1
  318. package/src/modules/bmm/workflows/testarch/test-design/instructions.md +8 -2
  319. package/src/modules/bmm/workflows/testarch/test-review/instructions.md +28 -8
  320. package/src/modules/bmm/workflows/workflow-status/init/instructions.md +66 -54
  321. package/src/modules/bmm/workflows/workflow-status/instructions.md +11 -4
  322. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +3 -2
  323. package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +3 -2
  324. package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +3 -2
  325. package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +3 -2
  326. package/src/modules/cis/agents/README.md +1 -1
  327. package/src/modules/cis/agents/brainstorming-coach.agent.yaml +3 -2
  328. package/src/modules/cis/agents/creative-problem-solver.agent.yaml +2 -1
  329. package/src/modules/cis/agents/design-thinking-coach.agent.yaml +2 -1
  330. package/src/modules/cis/agents/innovation-strategist.agent.yaml +2 -1
  331. package/src/modules/cis/agents/presentation-master.agent.yaml +3 -2
  332. package/src/modules/cis/agents/storyteller.agent.yaml +2 -1
  333. package/src/modules/cis/teams/default-party.csv +6 -5
  334. package/src/utility/models/agent-activation-ide.xml +4 -4
  335. package/src/utility/models/agent-activation-web.xml +1 -11
  336. package/src/utility/models/fragments/activation-rules.xml +5 -6
  337. package/src/utility/models/fragments/handler-exec.xml +6 -5
  338. package/src/utility/models/fragments/handler-multi.xml +14 -0
  339. package/test/README.md +1 -1
  340. package/test/fixtures/agent-schema/valid/menu-commands/all-command-types.agent.yaml +1 -3
  341. package/tools/cli/README.md +1 -0
  342. package/tools/cli/bundlers/web-bundler.js +3 -14
  343. package/tools/cli/commands/agent-install.js +8 -8
  344. package/tools/cli/commands/cleanup.js +141 -0
  345. package/tools/cli/commands/install.js +48 -3
  346. package/tools/cli/installers/lib/core/config-collector.js +24 -0
  347. package/tools/cli/installers/lib/core/installer.js +612 -43
  348. package/tools/cli/installers/lib/ide/antigravity.js +51 -7
  349. package/tools/cli/installers/lib/ide/auggie.js +53 -0
  350. package/tools/cli/installers/lib/ide/claude-code.js +1 -6
  351. package/tools/cli/installers/lib/ide/cline.js +49 -0
  352. package/tools/cli/installers/lib/ide/codex.js +2 -2
  353. package/tools/cli/installers/lib/ide/crush.js +47 -0
  354. package/tools/cli/installers/lib/ide/gemini.js +47 -0
  355. package/tools/cli/installers/lib/ide/github-copilot.js +59 -48
  356. package/tools/cli/installers/lib/ide/iflow.js +47 -0
  357. package/tools/cli/installers/lib/ide/kilo.js +74 -0
  358. package/tools/cli/installers/lib/ide/qwen.js +54 -0
  359. package/tools/cli/installers/lib/ide/roo.js +71 -0
  360. package/tools/cli/installers/lib/ide/rovo-dev.js +290 -0
  361. package/tools/cli/installers/lib/ide/trae.js +47 -0
  362. package/tools/cli/lib/agent/compiler.js +156 -22
  363. package/tools/cli/lib/agent/installer.js +13 -3
  364. package/tools/cli/lib/agent-analyzer.js +46 -18
  365. package/tools/cli/lib/ui.js +204 -9
  366. package/tools/cli/lib/yaml-xml-builder.js +123 -24
  367. package/tools/platform-codes.yaml +12 -0
  368. package/tools/schema/agent.js +169 -20
  369. package/src/core/tasks/adv-elicit-methods.csv +0 -39
  370. package/src/core/workflows/brainstorming/README.md +0 -261
  371. package/src/core/workflows/brainstorming/instructions.md +0 -315
  372. package/src/core/workflows/brainstorming/workflow.yaml +0 -38
  373. package/src/core/workflows/party-mode/instructions.md +0 -183
  374. package/src/core/workflows/party-mode/workflow.yaml +0 -28
  375. package/src/modules/bmb/workflows/audit-workflow/checklist.md +0 -142
  376. package/src/modules/bmb/workflows/audit-workflow/instructions.md +0 -341
  377. package/src/modules/bmb/workflows/audit-workflow/template.md +0 -118
  378. package/src/modules/bmb/workflows/audit-workflow/workflow.yaml +0 -25
  379. package/src/modules/bmb/workflows/convert-legacy/README.md +0 -262
  380. package/src/modules/bmb/workflows/convert-legacy/checklist.md +0 -205
  381. package/src/modules/bmb/workflows/convert-legacy/instructions.md +0 -377
  382. package/src/modules/bmb/workflows/convert-legacy/workflow.yaml +0 -30
  383. package/src/modules/bmb/workflows/create-agent/instructions.md +0 -519
  384. package/src/modules/bmb/workflows/create-agent/workflow.yaml +0 -55
  385. package/src/modules/bmb/workflows/create-workflow/README.md +0 -277
  386. package/src/modules/bmb/workflows/create-workflow/brainstorm-context.md +0 -197
  387. package/src/modules/bmb/workflows/create-workflow/checklist.md +0 -94
  388. package/src/modules/bmb/workflows/create-workflow/instructions.md +0 -725
  389. package/src/modules/bmb/workflows/create-workflow/workflow-creation-guide.md +0 -1327
  390. package/src/modules/bmb/workflows/create-workflow/workflow-template/checklist.md +0 -24
  391. package/src/modules/bmb/workflows/create-workflow/workflow-template/instructions.md +0 -15
  392. package/src/modules/bmb/workflows/create-workflow/workflow-template/template.md +0 -9
  393. package/src/modules/bmb/workflows/create-workflow/workflow-template/workflow.yaml +0 -61
  394. package/src/modules/bmb/workflows/create-workflow/workflow.yaml +0 -41
  395. package/src/modules/bmb/workflows/edit-agent/README.md +0 -239
  396. package/src/modules/bmb/workflows/edit-agent/instructions.md +0 -654
  397. package/src/modules/bmb/workflows/edit-agent/workflow.yaml +0 -49
  398. package/src/modules/bmb/workflows/edit-workflow/README.md +0 -119
  399. package/src/modules/bmb/workflows/edit-workflow/checklist.md +0 -70
  400. package/src/modules/bmb/workflows/edit-workflow/instructions.md +0 -342
  401. package/src/modules/bmb/workflows/edit-workflow/workflow.yaml +0 -27
  402. package/src/modules/bmm/_module-installer/assets/bmm-kb.md +0 -1
  403. package/src/modules/bmm/_module-installer/assets/technical-decisions.md +0 -30
  404. package/src/modules/bmm/docs/quick-spec-flow.md +0 -652
  405. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/instructions.md +0 -112
  406. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/project-context.md +0 -25
  407. package/src/modules/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +0 -39
  408. package/src/modules/bmm/workflows/1-analysis/domain-research/instructions.md +0 -425
  409. package/src/modules/bmm/workflows/1-analysis/domain-research/template.md +0 -180
  410. package/src/modules/bmm/workflows/1-analysis/domain-research/workflow.yaml +0 -56
  411. package/src/modules/bmm/workflows/1-analysis/product-brief/checklist.md +0 -115
  412. package/src/modules/bmm/workflows/1-analysis/product-brief/instructions.md +0 -524
  413. package/src/modules/bmm/workflows/1-analysis/product-brief/template.md +0 -181
  414. package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.yaml +0 -61
  415. package/src/modules/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +0 -144
  416. package/src/modules/bmm/workflows/1-analysis/research/checklist-technical.md +0 -249
  417. package/src/modules/bmm/workflows/1-analysis/research/checklist.md +0 -299
  418. package/src/modules/bmm/workflows/1-analysis/research/claude-code/injections.yaml +0 -114
  419. package/src/modules/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +0 -438
  420. package/src/modules/bmm/workflows/1-analysis/research/instructions-market.md +0 -675
  421. package/src/modules/bmm/workflows/1-analysis/research/instructions-router.md +0 -134
  422. package/src/modules/bmm/workflows/1-analysis/research/instructions-technical.md +0 -534
  423. package/src/modules/bmm/workflows/1-analysis/research/template-deep-prompt.md +0 -94
  424. package/src/modules/bmm/workflows/1-analysis/research/template-market.md +0 -347
  425. package/src/modules/bmm/workflows/1-analysis/research/template-technical.md +0 -245
  426. package/src/modules/bmm/workflows/1-analysis/research/workflow.yaml +0 -62
  427. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +0 -310
  428. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +0 -1308
  429. package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +0 -93
  430. package/src/modules/bmm/workflows/2-plan-workflows/prd/checklist.md +0 -346
  431. package/src/modules/bmm/workflows/2-plan-workflows/prd/instructions.md +0 -703
  432. package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.yaml +0 -78
  433. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +0 -217
  434. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +0 -74
  435. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +0 -436
  436. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +0 -980
  437. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +0 -181
  438. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +0 -90
  439. package/src/modules/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +0 -60
  440. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +0 -321
  441. package/src/modules/bmm/workflows/3-solutioning/architecture/architecture-template.md +0 -103
  442. package/src/modules/bmm/workflows/3-solutioning/architecture/checklist.md +0 -240
  443. package/src/modules/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +0 -222
  444. package/src/modules/bmm/workflows/3-solutioning/architecture/instructions.md +0 -768
  445. package/src/modules/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +0 -13
  446. package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.yaml +0 -100
  447. package/src/modules/bmm/workflows/4-implementation/code-review/backlog_template.md +0 -12
  448. package/src/modules/bmm/workflows/4-implementation/code-review/checklist.md +0 -22
  449. package/src/modules/bmm/workflows/4-implementation/code-review/instructions.md +0 -398
  450. package/src/modules/bmm/workflows/4-implementation/create-story/instructions.md +0 -256
  451. package/src/modules/bmm/workflows/4-implementation/dev-story/instructions.md +0 -267
  452. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/checklist.md +0 -17
  453. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/instructions.md +0 -164
  454. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/template.md +0 -76
  455. package/src/modules/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +0 -58
  456. package/src/modules/bmm/workflows/4-implementation/story-context/checklist.md +0 -16
  457. package/src/modules/bmm/workflows/4-implementation/story-context/context-template.xml +0 -34
  458. package/src/modules/bmm/workflows/4-implementation/story-context/instructions.md +0 -209
  459. package/src/modules/bmm/workflows/4-implementation/story-context/workflow.yaml +0 -63
  460. package/src/modules/bmm/workflows/4-implementation/story-done/instructions.md +0 -111
  461. package/src/modules/bmm/workflows/4-implementation/story-done/workflow.yaml +0 -28
  462. package/src/modules/bmm/workflows/4-implementation/story-ready/instructions.md +0 -117
  463. package/src/modules/bmm/workflows/4-implementation/story-ready/workflow.yaml +0 -25
  464. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +0 -58
  465. package/src/modules/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +0 -47
  466. /package/src/modules/bmb/docs/{agent-compilation.md → agents/agent-compilation.md} +0 -0
  467. /package/src/modules/bmb/docs/{expert-agent-architecture.md → agents/expert-agent-architecture.md} +0 -0
  468. /package/src/modules/bmb/docs/{index.md → agents/index.md} +0 -0
  469. /package/src/modules/bmb/docs/{understanding-agent-types.md → agents/understanding-agent-types.md} +0 -0
  470. /package/src/modules/bmb/reference/{readme.md → README.md} +0 -0
  471. /package/src/modules/bmb/workflows/create-agent/{agent-validation-checklist.md → data/agent-validation-checklist.md} +0 -0
  472. /package/src/modules/bmb/workflows/create-agent/{brainstorm-context.md → data/brainstorm-context.md} +0 -0
  473. /package/src/modules/bmb/workflows/create-agent/{communication-presets.csv → data/communication-presets.csv} +0 -0
  474. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/README.md +0 -0
  475. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/brainstorm-context.md +0 -0
  476. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/checklist.md +0 -0
  477. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/install-config.yaml +0 -0
  478. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/installer-templates/installer.js +0 -0
  479. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/instructions.md +0 -0
  480. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/module-structure.md +0 -0
  481. /package/src/modules/bmb/{workflows → workflows-legacy}/create-module/workflow.yaml +0 -0
  482. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/README.md +0 -0
  483. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/checklist.md +0 -0
  484. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/instructions.md +0 -0
  485. /package/src/modules/bmb/{workflows → workflows-legacy}/edit-module/workflow.yaml +0 -0
  486. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/README.md +0 -0
  487. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/checklist.md +0 -0
  488. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/instructions.md +0 -0
  489. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/template.md +0 -0
  490. /package/src/modules/bmb/{workflows → workflows-legacy}/module-brief/workflow.yaml +0 -0
  491. /package/src/modules/bmm/{workflows/techdoc → data}/documentation-standards.md +0 -0
@@ -1,675 +0,0 @@
1
- # Market Research Workflow Instructions
2
-
3
- <critical>The workflow execution engine is governed by: {project_root}/{bmad_folder}/core/tasks/workflow.xml</critical>
4
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
5
- <critical>This workflow uses ADAPTIVE FACILITATION - adjust your communication style based on {user_skill_level}</critical>
6
- <critical>This is a HIGHLY INTERACTIVE workflow - collaborate with user throughout, don't just gather info and disappear</critical>
7
- <critical>Web research is MANDATORY - use WebSearch tool with {{current_year}} for all market intelligence gathering</critical>
8
- <critical>Communicate all responses in {communication_language} and tailor to {user_skill_level}</critical>
9
- <critical>Generate all documents in {document_output_language}</critical>
10
-
11
- <critical>🚨 ANTI-HALLUCINATION PROTOCOL - MANDATORY 🚨</critical>
12
- <critical>NEVER invent market data - if you cannot find reliable data, explicitly state: "I could not find verified data for [X]"</critical>
13
- <critical>EVERY statistic, market size, growth rate, or competitive claim MUST have a cited source with URL</critical>
14
- <critical>For CRITICAL claims (TAM/SAM/SOM, market size, growth rates), require 2+ independent sources that agree</critical>
15
- <critical>When data sources conflict (e.g., different market size estimates), present ALL estimates with sources and explain variance</critical>
16
- <critical>Mark data confidence: [Verified - 2+ sources], [Single source - verify], [Estimated - low confidence]</critical>
17
- <critical>Clearly label: FACT (sourced data), ANALYSIS (your interpretation), PROJECTION (forecast/speculation)</critical>
18
- <critical>After each WebSearch, extract and store source URLs - include them in the report</critical>
19
- <critical>If a claim seems suspicious or too convenient, STOP and cross-verify with additional searches</critical>
20
- <critical>⚠️ CHECKPOINT PROTOCOL: After EVERY <template-output> tag, you MUST follow workflow.xml substep 2c: SAVE content to file immediately → SHOW checkpoint separator (━━━━━━━━━━━━━━━━━━━━━━━) → DISPLAY generated content → PRESENT options [a]Advanced Elicitation/[c]Continue/[p]Party-Mode/[y]YOLO → WAIT for user response. Never batch saves or skip checkpoints.</critical>
21
-
22
- <!-- IDE-INJECT-POINT: market-research-subagents -->
23
-
24
- <workflow>
25
-
26
- <step n="1" goal="Discover research needs and scope collaboratively">
27
-
28
- <action>Welcome {user_name} warmly. Position yourself as their collaborative research partner who will:
29
-
30
- - Gather live {{current_year}} market data
31
- - Share findings progressively throughout
32
- - Help make sense of what we discover together
33
-
34
- Ask what they're building and what market questions they need answered.
35
- </action>
36
-
37
- <action>Through natural conversation, discover:
38
-
39
- - The product/service and current stage
40
- - Their burning questions (what they REALLY need to know)
41
- - Context and urgency (fundraising? launch decision? pivot?)
42
- - Existing knowledge vs. uncertainties
43
- - Desired depth (gauge from their needs, don't ask them to choose)
44
-
45
- Adapt your approach: If uncertain → help them think it through. If detailed → dig deeper.
46
-
47
- Collaboratively define scope:
48
-
49
- - Markets/segments to focus on
50
- - Geographic boundaries
51
- - Critical questions vs. nice-to-have
52
- </action>
53
-
54
- <action>Reflect understanding back to confirm you're aligned on what matters.</action>
55
-
56
- <template-output>product_name</template-output>
57
- <template-output>product_description</template-output>
58
- <template-output>research_objectives</template-output>
59
- <template-output>research_scope</template-output>
60
- </step>
61
-
62
- <step n="2" goal="Market Definition and Boundaries">
63
- <action>Help the user precisely define the market scope</action>
64
-
65
- Work with the user to establish:
66
-
67
- 1. **Market Category Definition**
68
- - Primary category/industry
69
- - Adjacent or overlapping markets
70
- - Where this fits in the value chain
71
-
72
- 2. **Geographic Scope**
73
- - Global, regional, or country-specific?
74
- - Primary markets vs. expansion markets
75
- - Regulatory considerations by region
76
-
77
- 3. **Customer Segment Boundaries**
78
- - B2B, B2C, or B2B2C?
79
- - Primary vs. secondary segments
80
- - Segment size estimates
81
-
82
- <ask>Should we include adjacent markets in the TAM calculation? This could significantly increase market size but may be less immediately addressable.</ask>
83
-
84
- <template-output>market_definition</template-output>
85
- <template-output>geographic_scope</template-output>
86
- <template-output>segment_boundaries</template-output>
87
- </step>
88
-
89
- <step n="3" goal="Gather live market intelligence collaboratively">
90
-
91
- <critical>This step REQUIRES WebSearch tool usage - gather CURRENT data from {{current_year}}</critical>
92
- <critical>Share findings as you go - make this collaborative, not a black box</critical>
93
-
94
- <action>Let {user_name} know you're searching for current {{market_category}} market data: size, growth, analyst reports, recent trends. Tell them you'll share what you find in a few minutes and review it together.</action>
95
-
96
- <step n="3a" title="Search for market size and industry data">
97
- <action>Conduct systematic web searches using WebSearch tool:
98
-
99
- <WebSearch>{{market_category}} market size {{geographic_scope}} {{current_year}}</WebSearch>
100
- <WebSearch>{{market_category}} industry report Gartner Forrester IDC {{current_year}}</WebSearch>
101
- <WebSearch>{{market_category}} market growth rate CAGR forecast {{current_year}}</WebSearch>
102
- <WebSearch>{{market_category}} market trends {{current_year}}</WebSearch>
103
- <WebSearch>{{market_category}} TAM SAM market opportunity {{current_year}}</WebSearch>
104
- </action>
105
-
106
- <action>Share findings WITH SOURCES including URLs and dates. Ask if it aligns with their expectations.</action>
107
-
108
- <action>CRITICAL - Validate data before proceeding:
109
-
110
- - Multiple sources with similar figures?
111
- - Recent sources ({{current_year}} or within 1-2 years)?
112
- - Credible sources (Gartner, Forrester, govt data, reputable pubs)?
113
- - Conflicts? Note explicitly, search for more sources, mark [Low Confidence]
114
- </action>
115
-
116
- <action if="user_has_questions">Explore surprising data points together</action>
117
-
118
- <template-output>sources_market_size</template-output>
119
- </step>
120
-
121
- <step n="3b" title="Search for recent news and developments" optional="true">
122
- <action>Search for recent market developments:
123
-
124
- <WebSearch>{{market_category}} news {{current_year}} funding acquisitions</WebSearch>
125
- <WebSearch>{{market_category}} recent developments {{current_year}}</WebSearch>
126
- <WebSearch>{{market_category}} regulatory changes {{current_year}}</WebSearch>
127
- </action>
128
-
129
- <action>Share noteworthy findings:
130
-
131
- "I found some interesting recent developments:
132
-
133
- {{key_news_highlights}}
134
-
135
- Anything here surprise you or confirm what you suspected?"
136
- </action>
137
- </step>
138
-
139
- <step n="3c" title="Optional: Government and academic sources" optional="true">
140
- <action if="research needs high credibility">Search for authoritative sources:
141
-
142
- <WebSearch>{{market_category}} government statistics census data {{current_year}}</WebSearch>
143
- <WebSearch>{{market_category}} academic research white papers {{current_year}}</WebSearch>
144
- </action>
145
- </step>
146
-
147
- <template-output>market_intelligence_raw</template-output>
148
- <template-output>key_data_points</template-output>
149
- <template-output>source_credibility_notes</template-output>
150
- </step>
151
-
152
- <step n="4" goal="TAM, SAM, SOM Calculations">
153
- <action>Calculate market sizes using multiple methodologies for triangulation</action>
154
-
155
- <critical>Use actual data gathered in previous steps, not hypothetical numbers</critical>
156
-
157
- <step n="4a" title="TAM Calculation">
158
- **Method 1: Top-Down Approach**
159
- - Start with total industry size from research
160
- - Apply relevant filters and segments
161
- - Show calculation: Industry Size × Relevant Percentage
162
-
163
- **Method 2: Bottom-Up Approach**
164
-
165
- - Number of potential customers × Average revenue per customer
166
- - Build from unit economics
167
-
168
- **Method 3: Value Theory Approach**
169
-
170
- - Value created × Capturable percentage
171
- - Based on problem severity and alternative costs
172
-
173
- <ask>Which TAM calculation method seems most credible given our data? Should we use multiple methods and triangulate?</ask>
174
-
175
- <template-output>tam_calculation</template-output>
176
- <template-output>tam_methodology</template-output>
177
- </step>
178
-
179
- <step n="4b" title="SAM Calculation">
180
- <action>Calculate Serviceable Addressable Market</action>
181
-
182
- Apply constraints to TAM:
183
-
184
- - Geographic limitations (markets you can serve)
185
- - Regulatory restrictions
186
- - Technical requirements (e.g., internet penetration)
187
- - Language/cultural barriers
188
- - Current business model limitations
189
-
190
- SAM = TAM × Serviceable Percentage
191
- Show the calculation with clear assumptions.
192
-
193
- <template-output>sam_calculation</template-output>
194
- </step>
195
-
196
- <step n="4c" title="SOM Calculation">
197
- <action>Calculate realistic market capture</action>
198
-
199
- Consider competitive dynamics:
200
-
201
- - Current market share of competitors
202
- - Your competitive advantages
203
- - Resource constraints
204
- - Time to market considerations
205
- - Customer acquisition capabilities
206
-
207
- Create 3 scenarios:
208
-
209
- 1. Conservative (1-2% market share)
210
- 2. Realistic (3-5% market share)
211
- 3. Optimistic (5-10% market share)
212
-
213
- <template-output>som_scenarios</template-output>
214
- </step>
215
- </step>
216
-
217
- <step n="5" goal="Customer Segment Deep Dive">
218
- <action>Develop detailed understanding of target customers</action>
219
-
220
- <step n="5a" title="Segment Identification" repeat="for-each-segment">
221
- For each major segment, research and define:
222
-
223
- **Demographics/Firmographics:**
224
-
225
- - Size and scale characteristics
226
- - Geographic distribution
227
- - Industry/vertical (for B2B)
228
-
229
- **Psychographics:**
230
-
231
- - Values and priorities
232
- - Decision-making process
233
- - Technology adoption patterns
234
-
235
- **Behavioral Patterns:**
236
-
237
- - Current solutions used
238
- - Purchasing frequency
239
- - Budget allocation
240
-
241
- <template-output>segment*profile*{{segment_number}}</template-output>
242
- </step>
243
-
244
- <step n="5b" title="Jobs-to-be-Done Framework">
245
- <action>Apply JTBD framework to understand customer needs</action>
246
-
247
- For primary segment, identify:
248
-
249
- **Functional Jobs:**
250
-
251
- - Main tasks to accomplish
252
- - Problems to solve
253
- - Goals to achieve
254
-
255
- **Emotional Jobs:**
256
-
257
- - Feelings sought
258
- - Anxieties to avoid
259
- - Status desires
260
-
261
- **Social Jobs:**
262
-
263
- - How they want to be perceived
264
- - Group dynamics
265
- - Peer influences
266
-
267
- <ask>Would you like to conduct actual customer interviews or surveys to validate these jobs? (We can create an interview guide)</ask>
268
-
269
- <template-output>jobs_to_be_done</template-output>
270
- </step>
271
-
272
- <step n="5c" title="Willingness to Pay Analysis">
273
- <action>Research and estimate pricing sensitivity</action>
274
-
275
- Analyze:
276
-
277
- - Current spending on alternatives
278
- - Budget allocation for this category
279
- - Value perception indicators
280
- - Price points of substitutes
281
-
282
- <template-output>pricing_analysis</template-output>
283
- </step>
284
- </step>
285
-
286
- <step n="6" goal="Understand the competitive landscape">
287
- <action>Ask if they know their main competitors or if you should search for them.</action>
288
-
289
- <step n="6a" title="Discover competitors together">
290
- <action if="user doesn't know competitors">Search for competitors:
291
-
292
- <WebSearch>{{product_category}} competitors {{geographic_scope}} {{current_year}}</WebSearch>
293
- <WebSearch>{{product_category}} alternatives comparison {{current_year}}</WebSearch>
294
- <WebSearch>top {{product_category}} companies {{current_year}}</WebSearch>
295
- </action>
296
-
297
- <action>Present findings. Ask them to pick the 3-5 that matter most (most concerned about or curious to understand).</action>
298
- </step>
299
-
300
- <step n="6b" title="Research each competitor together" repeat="for-each-selected-competitor">
301
- <action>For each competitor, search for:
302
- - Company overview, product features
303
- - Pricing model
304
- - Funding and recent news
305
- - Customer reviews and ratings
306
-
307
- Use {{current_year}} in all searches.
308
- </action>
309
-
310
- <action>Share findings with sources. Ask what jumps out and if it matches expectations.</action>
311
-
312
- <action if="user has follow-up questions">Dig deeper based on their interests</action>
313
-
314
- <template-output>competitor-analysis-{{competitor_name}}</template-output>
315
- </step>
316
-
317
- <step n="6c" title="Competitive Positioning Map">
318
- <action>Create positioning analysis</action>
319
-
320
- Map competitors on key dimensions:
321
-
322
- - Price vs. Value
323
- - Feature completeness vs. Ease of use
324
- - Market segment focus
325
- - Technology approach
326
- - Business model
327
-
328
- Identify:
329
-
330
- - Gaps in the market
331
- - Over-served areas
332
- - Differentiation opportunities
333
-
334
- <template-output>competitive_positioning</template-output>
335
- </step>
336
- </step>
337
-
338
- <step n="7" goal="Industry Forces Analysis">
339
- <action>Apply Porter's Five Forces framework</action>
340
-
341
- <critical>Use specific evidence from research, not generic assessments</critical>
342
-
343
- Analyze each force with concrete examples:
344
-
345
- <step n="7a" title="Supplier Power">
346
- Rate: [Low/Medium/High]
347
- - Key suppliers and dependencies
348
- - Switching costs
349
- - Concentration of suppliers
350
- - Forward integration threat
351
- </step>
352
-
353
- <step n="7b" title="Buyer Power">
354
- Rate: [Low/Medium/High]
355
- - Customer concentration
356
- - Price sensitivity
357
- - Switching costs for customers
358
- - Backward integration threat
359
- </step>
360
-
361
- <step n="7c" title="Competitive Rivalry">
362
- Rate: [Low/Medium/High]
363
- - Number and strength of competitors
364
- - Industry growth rate
365
- - Exit barriers
366
- - Differentiation levels
367
- </step>
368
-
369
- <step n="7d" title="Threat of New Entry">
370
- Rate: [Low/Medium/High]
371
- - Capital requirements
372
- - Regulatory barriers
373
- - Network effects
374
- - Brand loyalty
375
- </step>
376
-
377
- <step n="7e" title="Threat of Substitutes">
378
- Rate: [Low/Medium/High]
379
- - Alternative solutions
380
- - Switching costs to substitutes
381
- - Price-performance trade-offs
382
- </step>
383
-
384
- <template-output>porters_five_forces</template-output>
385
- </step>
386
-
387
- <step n="8" goal="Market Trends and Future Outlook">
388
- <action>Identify trends and future market dynamics</action>
389
-
390
- Research and analyze:
391
-
392
- **Technology Trends:**
393
-
394
- - Emerging technologies impacting market
395
- - Digital transformation effects
396
- - Automation possibilities
397
-
398
- **Social/Cultural Trends:**
399
-
400
- - Changing customer behaviors
401
- - Generational shifts
402
- - Social movements impact
403
-
404
- **Economic Trends:**
405
-
406
- - Macroeconomic factors
407
- - Industry-specific economics
408
- - Investment trends
409
-
410
- **Regulatory Trends:**
411
-
412
- - Upcoming regulations
413
- - Compliance requirements
414
- - Policy direction
415
-
416
- <ask>Should we explore any specific emerging technologies or disruptions that could reshape this market?</ask>
417
-
418
- <template-output>market_trends</template-output>
419
- <template-output>future_outlook</template-output>
420
- </step>
421
-
422
- <step n="9" goal="Opportunity Assessment and Strategy">
423
- <action>Synthesize research into strategic opportunities</action>
424
-
425
- <step n="9a" title="Opportunity Identification">
426
- Based on all research, identify top 3-5 opportunities:
427
-
428
- For each opportunity:
429
-
430
- - Description and rationale
431
- - Size estimate (from SOM)
432
- - Resource requirements
433
- - Time to market
434
- - Risk assessment
435
- - Success criteria
436
-
437
- <template-output>market_opportunities</template-output>
438
- </step>
439
-
440
- <step n="9b" title="Go-to-Market Recommendations">
441
- Develop GTM strategy based on research:
442
-
443
- **Positioning Strategy:**
444
-
445
- - Value proposition refinement
446
- - Differentiation approach
447
- - Messaging framework
448
-
449
- **Target Segment Sequencing:**
450
-
451
- - Beachhead market selection
452
- - Expansion sequence
453
- - Segment-specific approaches
454
-
455
- **Channel Strategy:**
456
-
457
- - Distribution channels
458
- - Partnership opportunities
459
- - Marketing channels
460
-
461
- **Pricing Strategy:**
462
-
463
- - Model recommendation
464
- - Price points
465
- - Value metrics
466
-
467
- <template-output>gtm_strategy</template-output>
468
- </step>
469
-
470
- <step n="9c" title="Risk Analysis">
471
- Identify and assess key risks:
472
-
473
- **Market Risks:**
474
-
475
- - Demand uncertainty
476
- - Market timing
477
- - Economic sensitivity
478
-
479
- **Competitive Risks:**
480
-
481
- - Competitor responses
482
- - New entrants
483
- - Technology disruption
484
-
485
- **Execution Risks:**
486
-
487
- - Resource requirements
488
- - Capability gaps
489
- - Scaling challenges
490
-
491
- For each risk: Impact (H/M/L) × Probability (H/M/L) = Risk Score
492
- Provide mitigation strategies.
493
-
494
- <template-output>risk_assessment</template-output>
495
- </step>
496
- </step>
497
-
498
- <step n="10" goal="Financial Projections" optional="true" if="enable_financial_modeling == true">
499
- <action>Create financial model based on market research</action>
500
-
501
- <ask>Would you like to create a financial model with revenue projections based on the market analysis?</ask>
502
-
503
- <check if="yes">
504
- Build 3-year projections:
505
-
506
- - Revenue model based on SOM scenarios
507
- - Customer acquisition projections
508
- - Unit economics
509
- - Break-even analysis
510
- - Funding requirements
511
-
512
- <template-output>financial_projections</template-output>
513
- </check>
514
-
515
- </step>
516
-
517
- <step n="11" goal="Synthesize findings together into executive summary">
518
-
519
- <critical>This is the last major content section - make it collaborative</critical>
520
-
521
- <action>Review the research journey together. Share high-level summaries of market size, competitive dynamics, customer insights. Ask what stands out most - what surprised them or confirmed their thinking.</action>
522
-
523
- <action>Collaboratively craft the narrative:
524
-
525
- - What's the headline? (The ONE thing someone should know)
526
- - What are the 3-5 critical insights?
527
- - Recommended path forward?
528
- - Key risks?
529
-
530
- This should read like a strategic brief, not a data dump.
531
- </action>
532
-
533
- <action>Draft executive summary and share. Ask if it captures the essence and if anything is missing or overemphasized.</action>
534
-
535
- <template-output>executive_summary</template-output>
536
- </step>
537
-
538
- <step n="12" goal="Validate sources and compile report">
539
-
540
- <critical>MANDATORY SOURCE VALIDATION - Do NOT skip this step!</critical>
541
-
542
- <action>Before finalizing, conduct source audit:
543
-
544
- Review every major claim in the report and verify:
545
-
546
- **For Market Size Claims:**
547
-
548
- - [ ] At least 2 independent sources cited with URLs
549
- - [ ] Sources are from {{current_year}} or within 2 years
550
- - [ ] Sources are credible (Gartner, Forrester, govt data, reputable pubs)
551
- - [ ] Conflicting estimates are noted with all sources
552
-
553
- **For Competitive Data:**
554
-
555
- - [ ] Competitor information has source URLs
556
- - [ ] Pricing data is current and sourced
557
- - [ ] Funding data is verified with dates
558
- - [ ] Customer reviews/ratings have source links
559
-
560
- **For Growth Rates and Projections:**
561
-
562
- - [ ] CAGR and forecast data are sourced
563
- - [ ] Methodology is explained or linked
564
- - [ ] Multiple analyst estimates are compared if available
565
-
566
- **For Customer Insights:**
567
-
568
- - [ ] Persona data is based on real research (cited)
569
- - [ ] Survey/interview data has sample size and source
570
- - [ ] Behavioral claims are backed by studies/data
571
- </action>
572
-
573
- <action>Count and document source quality:
574
-
575
- - Total sources cited: {{count_all_sources}}
576
- - High confidence (2+ sources): {{high_confidence_claims}}
577
- - Single source (needs verification): {{single_source_claims}}
578
- - Uncertain/speculative: {{low_confidence_claims}}
579
-
580
- If {{single_source_claims}} or {{low_confidence_claims}} is high, consider additional research.
581
- </action>
582
-
583
- <action>Compile full report with ALL sources properly referenced:
584
-
585
- Generate the complete market research report using the template:
586
-
587
- - Ensure every statistic has inline citation: [Source: Company, Year, URL]
588
- - Populate all {{sources_*}} template variables
589
- - Include confidence levels for major claims
590
- - Add References section with full source list
591
- </action>
592
-
593
- <action>Present source quality summary to user:
594
-
595
- "I've completed the research with {{count_all_sources}} total sources:
596
-
597
- - {{high_confidence_claims}} claims verified with multiple sources
598
- - {{single_source_claims}} claims from single sources (marked for verification)
599
- - {{low_confidence_claims}} claims with low confidence or speculation
600
-
601
- Would you like me to strengthen any areas with additional research?"
602
- </action>
603
-
604
- <ask>Would you like to review any specific sections before finalizing? Are there any additional analyses you'd like to include?</ask>
605
-
606
- <goto step="9a" if="user requests changes">Return to refine opportunities</goto>
607
-
608
- <template-output>final_report_ready</template-output>
609
- <template-output>source_audit_complete</template-output>
610
- </step>
611
-
612
- <step n="13" goal="Appendices and Supporting Materials" optional="true">
613
- <ask>Would you like to include detailed appendices with calculations, full competitor profiles, or raw research data?</ask>
614
-
615
- <check if="yes">
616
- Create appendices with:
617
-
618
- - Detailed TAM/SAM/SOM calculations
619
- - Full competitor profiles
620
- - Customer interview notes
621
- - Data sources and methodology
622
- - Financial model details
623
- - Glossary of terms
624
-
625
- <template-output>appendices</template-output>
626
- </check>
627
-
628
- </step>
629
-
630
- <step n="14" goal="Update status file on completion" tag="workflow-status">
631
- <check if="standalone_mode != true">
632
- <action>Load the FULL file: {output_folder}/bmm-workflow-status.yaml</action>
633
- <action>Find workflow_status key "research"</action>
634
- <critical>ONLY write the file path as the status value - no other text, notes, or metadata</critical>
635
- <action>Update workflow_status["research"] = "{output_folder}/bmm-research-{{research_mode}}-{{date}}.md"</action>
636
- <action>Save file, preserving ALL comments and structure including STATUS DEFINITIONS</action>
637
-
638
- <action>Find first non-completed workflow in workflow_status (next workflow to do)</action>
639
- <action>Determine next agent from path file based on next workflow</action>
640
- </check>
641
-
642
- <output>**✅ Research Complete ({{research_mode}} mode)**
643
-
644
- **Research Report:**
645
-
646
- - Research report generated and saved to {output_folder}/bmm-research-{{research_mode}}-{{date}}.md
647
-
648
- {{#if standalone_mode != true}}
649
- **Status Updated:**
650
-
651
- - Progress tracking updated: research marked complete
652
- - Next workflow: {{next_workflow}}
653
- {{else}}
654
- **Note:** Running in standalone mode (no progress tracking)
655
- {{/if}}
656
-
657
- **Next Steps:**
658
-
659
- {{#if standalone_mode != true}}
660
-
661
- - **Next workflow:** {{next_workflow}} ({{next_agent}} agent)
662
- - **Optional:** Review findings with stakeholders, or run additional analysis workflows (product-brief for software, or install BMGD module for game-brief)
663
-
664
- Check status anytime with: `workflow-status`
665
- {{else}}
666
- Since no workflow is in progress:
667
-
668
- - Review research findings
669
- - Refer to the BMM workflow guide if unsure what to do next
670
- - Or run `workflow-init` to create a workflow path and get guided next steps
671
- {{/if}}
672
- </output>
673
- </step>
674
-
675
- </workflow>