bmad-method 4.27.5 → 5.0.0

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 (274) hide show
  1. package/.bmad-core/agent-teams/team-all.yml +16 -0
  2. package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
  3. package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
  4. package/{bmad-core → .bmad-core}/agents/analyst.md +23 -30
  5. package/.bmad-core/agents/architect.md +66 -0
  6. package/.bmad-core/agents/bmad-master.md +104 -0
  7. package/.bmad-core/agents/bmad-orchestrator.md +81 -0
  8. package/.bmad-core/agents/dev.md +70 -0
  9. package/{bmad-core → .bmad-core}/agents/pm.md +24 -25
  10. package/{bmad-core → .bmad-core}/agents/po.md +24 -28
  11. package/.bmad-core/agents/qa.md +52 -0
  12. package/.bmad-core/agents/sm.md +55 -0
  13. package/.bmad-core/agents/ux-expert.md +66 -0
  14. package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
  15. package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
  16. package/.bmad-core/data/bmad-kb.md +47 -0
  17. package/.bmad-core/schemas/agent-team-schema.yml +153 -0
  18. package/.bmad-core/tasks/advanced-elicitation.md +92 -0
  19. package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
  20. package/.bmad-core/tasks/core-dump.md +74 -0
  21. package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
  22. package/.bmad-core/tasks/create-doc.md +74 -0
  23. package/.bmad-core/tasks/create-expansion-pack.md +425 -0
  24. package/.bmad-core/tasks/create-next-story.md +206 -0
  25. package/.bmad-core/tasks/create-team.md +229 -0
  26. package/{bmad-core → .bmad-core}/tasks/doc-migration-task.md +9 -9
  27. package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
  28. package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
  29. package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
  30. package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
  31. package/.bmad-core/templates/agent-tmpl.md +58 -0
  32. package/.bmad-core/templates/architecture-tmpl.md +771 -0
  33. package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
  34. package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
  35. package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
  36. package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
  37. package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
  38. package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
  39. package/.bmad-core/templates/fullstack-architecture-tmpl.md +1016 -0
  40. package/.bmad-core/templates/market-research-tmpl.md +261 -0
  41. package/.bmad-core/templates/prd-tmpl.md +200 -0
  42. package/.bmad-core/templates/project-brief-tmpl.md +228 -0
  43. package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
  44. package/.bmad-core/templates/story-tmpl.md +61 -0
  45. package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
  46. package/.bmad-core/utils/agent-switcher.ide.md +112 -0
  47. package/.bmad-core/utils/template-format.md +26 -0
  48. package/.bmad-core/utils/workflow-management.md +224 -0
  49. package/.bmad-core/web-bundles/agents/analyst.txt +1684 -0
  50. package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
  51. package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
  52. package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
  53. package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
  54. package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
  55. package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
  56. package/.bmad-core/web-bundles/agents/qa.txt +129 -0
  57. package/.bmad-core/web-bundles/agents/sm.txt +658 -0
  58. package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
  59. package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
  60. package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
  61. package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -0
  62. package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
  63. package/.bmad-core/workflows/brownfield-service.yml +117 -0
  64. package/.bmad-core/workflows/brownfield-ui.yml +127 -0
  65. package/{bmad-core/workflows/greenfield-fullstack.yaml → .bmad-core/workflows/greenfield-fullstack.yml} +77 -140
  66. package/.bmad-core/workflows/greenfield-service.yml +143 -0
  67. package/.bmad-core/workflows/greenfield-ui.yml +172 -0
  68. package/.claude/commands/analyst.md +63 -0
  69. package/.claude/commands/architect.md +70 -0
  70. package/.claude/commands/bmad-master.md +108 -0
  71. package/.claude/commands/bmad-orchestrator.md +85 -0
  72. package/.claude/commands/dev.md +74 -0
  73. package/.claude/commands/pm.md +63 -0
  74. package/.claude/commands/po.md +64 -0
  75. package/.claude/commands/qa.md +56 -0
  76. package/.claude/commands/sm.md +59 -0
  77. package/.claude/commands/ux-expert.md +70 -0
  78. package/.cursor/rules/analyst.mdc +77 -0
  79. package/.cursor/rules/architect.mdc +84 -0
  80. package/.cursor/rules/bmad-master.mdc +122 -0
  81. package/.cursor/rules/bmad-orchestrator.mdc +99 -0
  82. package/.cursor/rules/dev.mdc +88 -0
  83. package/.cursor/rules/pm.mdc +77 -0
  84. package/.cursor/rules/po.mdc +78 -0
  85. package/.cursor/rules/qa.mdc +70 -0
  86. package/.cursor/rules/sm.mdc +73 -0
  87. package/.cursor/rules/ux-expert.mdc +84 -0
  88. package/.roo/.roomodes +95 -0
  89. package/.roo/README.md +38 -0
  90. package/.vscode/extensions.json +6 -0
  91. package/.vscode/settings.json +75 -49
  92. package/.windsurf/rules/analyst.md +71 -0
  93. package/.windsurf/rules/architect.md +78 -0
  94. package/.windsurf/rules/bmad-master.md +116 -0
  95. package/.windsurf/rules/bmad-orchestrator.md +93 -0
  96. package/.windsurf/rules/dev.md +82 -0
  97. package/.windsurf/rules/pm.md +71 -0
  98. package/.windsurf/rules/po.md +72 -0
  99. package/.windsurf/rules/qa.md +64 -0
  100. package/.windsurf/rules/sm.md +67 -0
  101. package/.windsurf/rules/ux-expert.md +78 -0
  102. package/CHANGELOG.md +16 -452
  103. package/CONTRIBUTING.md +5 -168
  104. package/LICENSE +1 -1
  105. package/README.md +230 -77
  106. package/docs/bmad-workflow-guide.md +15 -19
  107. package/docs/claude-code-guide.md +119 -0
  108. package/docs/cursor-guide.md +127 -0
  109. package/docs/roo-code-guide.md +140 -0
  110. package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
  111. package/docs/versioning-and-releases.md +16 -8
  112. package/docs/versions.md +5 -4
  113. package/docs/windsurf-guide.md +127 -0
  114. package/expansion-packs/README.md +112 -2
  115. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
  116. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -15
  117. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
  118. package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
  119. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
  120. package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
  121. package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
  122. package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  123. package/package.json +11 -19
  124. package/tools/bmad-npx-wrapper.js +1 -1
  125. package/tools/builders/web-builder.js +28 -563
  126. package/tools/cli.js +22 -55
  127. package/tools/installer/README.md +53 -3
  128. package/tools/installer/bin/bmad.js +56 -294
  129. package/tools/installer/config/install.config.yml +139 -0
  130. package/tools/installer/lib/config-loader.js +34 -198
  131. package/tools/installer/lib/file-manager.js +5 -123
  132. package/tools/installer/lib/ide-setup.js +189 -545
  133. package/tools/installer/lib/installer.js +55 -1136
  134. package/tools/installer/package-lock.json +3 -3
  135. package/tools/installer/package.json +4 -4
  136. package/tools/installer/templates/claude-commands.md +7 -0
  137. package/tools/installer/templates/cursor-rules.md +22 -0
  138. package/tools/installer/templates/windsurf-rules.md +22 -0
  139. package/tools/lib/dependency-resolver.js +22 -22
  140. package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
  141. package/tools/version-bump.js +1 -1
  142. package/tools/yaml-format.js +2 -2
  143. package/.github/FUNDING.yaml +0 -15
  144. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  145. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  146. package/.prettierignore +0 -21
  147. package/.prettierrc +0 -23
  148. package/bmad-core/agent-teams/team-all.yaml +0 -14
  149. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  150. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  151. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  152. package/bmad-core/agents/architect.md +0 -63
  153. package/bmad-core/agents/bmad-master.md +0 -110
  154. package/bmad-core/agents/bmad-orchestrator.md +0 -140
  155. package/bmad-core/agents/dev.md +0 -57
  156. package/bmad-core/agents/qa.md +0 -55
  157. package/bmad-core/agents/sm.md +0 -46
  158. package/bmad-core/agents/ux-expert.md +0 -54
  159. package/bmad-core/core-config.yaml +0 -25
  160. package/bmad-core/data/bmad-kb.md +0 -803
  161. package/bmad-core/data/brainstorming-techniques.md +0 -36
  162. package/bmad-core/data/elicitation-methods.md +0 -134
  163. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  164. package/bmad-core/tasks/create-brownfield-story.md +0 -355
  165. package/bmad-core/tasks/create-next-story.md +0 -114
  166. package/bmad-core/tasks/create-workflow-plan.md +0 -289
  167. package/bmad-core/tasks/document-project.md +0 -317
  168. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  169. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  170. package/bmad-core/tasks/kb-mode-interaction.md +0 -70
  171. package/bmad-core/tasks/review-story.md +0 -145
  172. package/bmad-core/tasks/update-workflow-plan.md +0 -248
  173. package/bmad-core/tasks/validate-next-story.md +0 -134
  174. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  175. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  176. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  177. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  178. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  179. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  180. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  181. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  182. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  183. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  184. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  185. package/bmad-core/templates/story-tmpl.yaml +0 -137
  186. package/bmad-core/utils/plan-management.md +0 -219
  187. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  188. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  189. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  190. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  191. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  192. package/common/tasks/create-doc.md +0 -79
  193. package/common/utils/bmad-doc-template.md +0 -325
  194. package/common/utils/workflow-management.md +0 -69
  195. package/dist/agents/analyst.txt +0 -2849
  196. package/dist/agents/architect.txt +0 -3505
  197. package/dist/agents/bmad-master.txt +0 -9588
  198. package/dist/agents/bmad-orchestrator.txt +0 -2232
  199. package/dist/agents/qa.txt +0 -388
  200. package/dist/agents/sm.txt +0 -673
  201. package/dist/agents/ux-expert.txt +0 -987
  202. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
  203. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
  204. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
  205. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11730
  206. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
  207. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
  208. package/dist/teams/team-all.txt +0 -11799
  209. package/dist/teams/team-fullstack.txt +0 -11129
  210. package/dist/teams/team-ide-minimal.txt +0 -4573
  211. package/dist/teams/team-no-ui.txt +0 -9684
  212. package/docs/GUIDING-PRINCIPLES.md +0 -91
  213. package/docs/agentic-tools/claude-code-guide.md +0 -19
  214. package/docs/agentic-tools/cline-guide.md +0 -16
  215. package/docs/agentic-tools/cursor-guide.md +0 -14
  216. package/docs/agentic-tools/gemini-cli-guide.md +0 -32
  217. package/docs/agentic-tools/github-copilot-guide.md +0 -42
  218. package/docs/agentic-tools/roo-code-guide.md +0 -15
  219. package/docs/agentic-tools/trae-guide.md +0 -14
  220. package/docs/agentic-tools/windsurf-guide.md +0 -14
  221. package/docs/core-architecture.md +0 -219
  222. package/docs/expansion-packs.md +0 -280
  223. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  224. package/docs/template-markup-references.md +0 -86
  225. package/docs/user-guide.md +0 -1142
  226. package/docs/working-in-the-brownfield.md +0 -361
  227. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  228. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -60
  229. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -68
  230. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -53
  231. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  232. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  233. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
  234. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  235. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  236. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  237. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  238. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  239. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  240. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  241. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  242. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  243. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  244. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  245. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  246. package/expansion-packs/bmad-creator-tools/README.md +0 -8
  247. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -55
  248. package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
  249. package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
  250. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
  251. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
  252. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
  253. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
  254. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  255. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  256. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  257. package/tools/bump-all-versions.js +0 -107
  258. package/tools/bump-core-version.js +0 -57
  259. package/tools/bump-expansion-version.js +0 -78
  260. package/tools/installer/config/ide-agent-config.yaml +0 -58
  261. package/tools/installer/config/install.config.yaml +0 -91
  262. package/tools/lib/yaml-utils.js +0 -29
  263. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  264. package/tools/update-expansion-version.js +0 -54
  265. /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
  266. /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
  267. /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
  268. /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
  269. /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
  270. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
  271. /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
  272. /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
  273. /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  274. /package/.github/workflows/{release.yaml → release.yml} +0 -0
@@ -1,91 +0,0 @@
1
- # BMad Method Guiding Principles
2
-
3
- The BMad Method is a natural language framework for AI-assisted software development. These principles ensure contributions maintain the method's effectiveness.
4
-
5
- ## Core Principles
6
-
7
- ### 1. Dev Agents Must Be Lean
8
-
9
- - **Minimize dev agent dependencies**: Development agents that work in IDEs must have minimal context overhead
10
- - **Save context for code**: Every line counts - dev agents should focus on coding, not documentation
11
- - **Web agents can be larger**: Planning agents (PRD Writer, Architect) used in web UI can have more complex tasks and dependencies
12
- - **Small files, loaded on demand**: Multiple small, focused files are better than large files with many branches
13
-
14
- ### 2. Natural Language First
15
-
16
- - **Everything is markdown**: Agents, tasks, templates - all written in plain English
17
- - **No code in core**: The framework itself contains no programming code, only natural language instructions
18
- - **Self-contained templates**: Templates are defined as YAML files with structured sections that include metadata, workflow configuration, and detailed instructions for content generation
19
-
20
- ### 3. Agent and Task Design
21
-
22
- - **Agents define roles**: Each agent is a persona with specific expertise (e.g., Frontend Developer, API Developer)
23
- - **Tasks are procedures**: Step-by-step instructions an agent follows to complete work
24
- - **Templates are outputs**: Structured documents with embedded instructions for generation
25
- - **Dependencies matter**: Explicitly declare only what's needed
26
-
27
- ## Practical Guidelines
28
-
29
- ### When to Add to Core
30
-
31
- - Universal software development needs only
32
- - Doesn't bloat dev agent contexts
33
- - Follows existing agent/task/template patterns
34
-
35
- ### When to Create Expansion Packs
36
-
37
- - Domain-specific needs beyond software development
38
- - Non-technical domains (business, wellness, education, creative)
39
- - Specialized technical domains (games, infrastructure, mobile)
40
- - Heavy documentation or knowledge bases
41
- - Anything that would bloat core agents
42
-
43
- See [Expansion Packs Guide](../docs/expansion-packs.md) for detailed examples and ideas.
44
-
45
- ### Agent Design Rules
46
-
47
- 1. **Web/Planning Agents**: Can have richer context, multiple tasks, extensive templates
48
- 2. **Dev Agents**: Minimal dependencies, focused on code generation, lean task sets
49
- 3. **All Agents**: Clear persona, specific expertise, well-defined capabilities
50
-
51
- ### Task Writing Rules
52
-
53
- 1. Write clear step-by-step procedures
54
- 2. Use markdown formatting for readability
55
- 3. Keep dev agent tasks focused and concise
56
- 4. Planning tasks can be more elaborate
57
- 5. **Prefer multiple small tasks over one large branching task**
58
- - Instead of one task with many conditional paths
59
- - Create multiple focused tasks the agent can choose from
60
- - This keeps context overhead minimal
61
- 6. **Reuse common tasks** - Don't create new document creation tasks
62
- - Use the existing `create-doc` task
63
- - Pass the appropriate YAML template with structured sections
64
- - This maintains consistency and reduces duplication
65
-
66
- ### Template Rules
67
-
68
- Templates follow the [BMad Document Template](common/utils/bmad-doc-template.md) specification using YAML format:
69
-
70
- 1. **Structure**: Templates are defined in YAML with clear metadata, workflow configuration, and section hierarchy
71
- 2. **Separation of Concerns**: Instructions for LLMs are in `instruction` fields, separate from content
72
- 3. **Reusability**: Templates are agent-agnostic and can be used across different agents
73
- 4. **Key Components**:
74
- - `template` block for metadata (id, name, version, output settings)
75
- - `workflow` block for interaction mode configuration
76
- - `sections` array defining document structure with nested subsections
77
- - Each section has `id`, `title`, and `instruction` fields
78
- 5. **Advanced Features**:
79
- - Variable substitution using `{{variable_name}}` syntax
80
- - Conditional sections with `condition` field
81
- - Repeatable sections with `repeatable: true`
82
- - Agent permissions with `owner` and `editors` fields
83
- - Examples arrays for guidance (never included in output)
84
- 6. **Clean Output**: YAML structure ensures all processing logic stays separate from generated content
85
-
86
- ## Remember
87
-
88
- - The power is in natural language orchestration, not code
89
- - Dev agents code, planning agents plan
90
- - Keep dev agents lean for maximum coding efficiency
91
- - Expansion packs handle specialized domains
@@ -1,19 +0,0 @@
1
- # BMad Method Guide for Claude Code
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Claude Code** as your IDE. This creates:
8
-
9
- - `.bmad-core/` folder with all agents
10
- - `.claude/commands/` folder with agent command files (`.md`)
11
-
12
- ## Using BMad Agents in Claude Code
13
-
14
- Type `/agent-name` in your chat to activate an agent.
15
-
16
- ## Tips for Claude Code Users
17
-
18
- - Commands are auto-suggested as you type `/`
19
- - More coming soon...
@@ -1,16 +0,0 @@
1
- # BMad Method Guide for Cline (VS Code)
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Cline** as your IDE. This creates:
8
-
9
- - `.clinerules/` directory with numbered agent rule files (`.md`)
10
- - Agents ordered by priority (bmad-master first)
11
-
12
- ## Using BMad Agents in Cline
13
-
14
- 1. **Open Cline panel** in VS Code
15
- 2. **Type `@agent-name`** in the chat (e.g., `@dev`, `@sm`, `@architect`)
16
- 3. The agent adopts that persona for the conversation
@@ -1,14 +0,0 @@
1
- # BMad Method Guide for Cursor
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Cursor** as your IDE. This creates:
8
-
9
- - `.bmad-core/` folder with all agents
10
- - `.cursor/rules/` folder with agent rule files (`.mdc`)
11
-
12
- ## Using BMad Agents in Cursor
13
-
14
- Type `@agent-name` in chat (Ctrl+L / Cmd+L) to activate an agent. Make sure you select the icon that looks like a small ruler if presented with multiple options in the popup window.
@@ -1,32 +0,0 @@
1
- # BMad Method Guide for Gemini CLI
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Gemini CLI** as your IDE. This creates:
8
-
9
- - `.gemini/agents/` directory with all agent context files
10
- - `.gemini/settings.json` configured to load all agents automatically
11
-
12
- ## Using BMad Agents with Gemini CLI
13
-
14
- Simply mention the agent in your prompt:
15
-
16
- - "As @dev, implement the login feature"
17
- - "Acting as @architect, review this system design"
18
- - "@sm, create the next story for our project"
19
-
20
- The Gemini CLI automatically loads the appropriate agent context.
21
-
22
- ## Gemini CLI-Specific Features
23
-
24
- - **Context files**: All agents loaded as context in `.gemini/agents/`
25
- - **Automatic loading**: Settings.json ensures agents are always available
26
- - **Natural language**: No special syntax needed, just mention the agent
27
-
28
- ## Tips for Gemini CLI Users
29
-
30
- - Be explicit about which agent you're addressing
31
- - You can switch agents mid-conversation by mentioning a different one
32
- - The CLI maintains context across your session
@@ -1,42 +0,0 @@
1
- # BMad Method Guide for GitHub Copilot
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **GitHub Copilot** as your IDE. This command will perform the following actions:
8
-
9
- - Create the `.bmad-core/` directory with all the agent rule files.
10
- - Create the `.vscode/` directory and add a `settings.json` file if it does not already exist, and add the basic configuration to enable GitHub Copilot's agent mode.
11
- - Create a chatmodes file under your .github folder for each specific agent being added
12
-
13
- ## Using BMAD Agents in GitHub Copilot
14
-
15
- 1. **Open GitHub Copilot chat** in VS Code (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux).
16
- 2. Select the agent you want to use from the chat input's participant selector (e.g., `@workspace` > `dev`).
17
- 3. The agent adopts that persona for the conversation.
18
- 4. Use `*help` to see the commands available for the selected agent.
19
-
20
- ## Available Agents
21
-
22
- You can switch between agents using the chat participant selector. The following agents are available for GitHub Copilot:
23
-
24
- - `bmad-master` - Master Task Executor
25
- - `dev` - Development expert
26
- - `qa` - Quality Assurance specialist
27
- - `ux-expert` - UX specialist
28
-
29
- ## GitHub Copilot-Specific Features
30
-
31
- - **Settings**: Use the `.vscode/settings.json` file to configure Copilot behavior. The installer can configure these for you.
32
- - `chat.agent.maxRequests`: Maximum requests per agent session (recommended: 15).
33
- - `github.copilot.chat.agent.runTasks`: Allow agents to run workspace tasks (e.g., from `package.json` scripts).
34
- - `github.copilot.chat.agent.autoFix`: Enable automatic error detection and fixing in generated code.
35
- - `chat.tools.autoApprove`: Auto-approve ALL tools without confirmation (use with caution).
36
- - **VS Code integration**: Works within VS Code's GitHub Copilot chat panel.
37
- - **Tool Confirmation**: Copilot will ask for confirmation before running tools that can modify files. You can approve a tool once, for the session, or always.
38
-
39
- ## Tips for GitHub Copilot Users
40
-
41
- - You can use a `.github/copilot-instructions.md` file to provide additional context or instructions for your projects that are not covered by the BMAD framework.
42
- - BMAD agents can come with a pre-configured set of tools. You can see which tools an agent uses by looking at the `tools` section in its `.github/chatmodes/[agent].chatmode.md` file.
@@ -1,15 +0,0 @@
1
- # BMad Method Guide for Roo Code
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Roo Code** as your IDE. This creates:
8
-
9
- - `.bmad-core/` folder with all agents
10
- - `.roomodes` file in project root with custom modes
11
-
12
- ## Roo Code-Specific Features
13
-
14
- - **Mode file**: `.roomodes` in project root
15
- - **Mode switching**: Use mode selecto
@@ -1,14 +0,0 @@
1
- # BMad Method Guide for Trae
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Trae** as your IDE. This creates:
8
-
9
- - `.bmad-core/` folder with all agents
10
- - `.trae/rules/` folder with agent rule files (`.md`)
11
-
12
- ## Using BMad Agents in Trae
13
-
14
- Type `@agent-name` in chat to activate an agent.
@@ -1,14 +0,0 @@
1
- # BMad Method Guide for Windsurf
2
-
3
- For the complete workflow, see the [BMad Workflow Guide](../bmad-workflow-guide.md).
4
-
5
- ## Installation
6
-
7
- When running `npx bmad-method install`, select **Windsurf** as your IDE. This creates:
8
-
9
- - `.bmad-core/` folder with all agents
10
- - `.windsurf/rules/` folder with agent rule files (`.md`)
11
-
12
- ## Using BMad Agents in Windsurf
13
-
14
- Type `@agent-name` in chat to activate an agent.
@@ -1,219 +0,0 @@
1
- # BMad Method: Core Architecture
2
-
3
- ## 1. Overview
4
-
5
- The BMad Method is designed to provide agentic modes, tasks and templates to allow repeatable helpful workflows be it for agile agentic development, or expansion into vastly different domains. The core purpose of the project is to provide a structured yet flexible set of prompts, templates, and workflows that users can employ to guide AI agents (like Gemini, Claude, or ChatGPT) to perform complex tasks, guided discussions, or other meaningful domain specific flows in a predictable, high-quality manner.
6
-
7
- The systems core module facilitates a full development lifecycle tailored to the challenges of current modern AI Agentic tooling:
8
-
9
- 1. **Ideation & Planning**: Brainstorming, market research, and creating project briefs.
10
- 2. **Architecture & Design**: Defining system architecture and UI/UX specifications.
11
- 3. **Development Execution**: A cyclical workflow where a Scrum Master (SM) agent drafts stories with extremely specific context and a Developer (Dev) agent implements them one at a time. This process works for both new (Greenfield) and existing (Brownfield) projects.
12
-
13
- ## 2. System Architecture Diagram
14
-
15
- The entire BMad-Method ecosystem is designed around the installed `bmad-core` directory, which acts as the brain of the operation. The `tools` directory provides the means to process and package this brain for different environments.
16
-
17
- ```mermaid
18
- graph TD
19
- subgraph BMad Method Project
20
- subgraph Core Framework
21
- A["bmad-core"]
22
- A --> B["agents"]
23
- A --> C["agent-teams"]
24
- A --> D["workflows"]
25
- A --> E["templates"]
26
- A --> F["tasks"]
27
- A --> G["checklists"]
28
- A --> H["data (KB)"]
29
- end
30
-
31
- subgraph Tooling
32
- I["tools/builders/web-builder.js"]
33
- end
34
-
35
- subgraph Outputs
36
- J["dist"]
37
- end
38
-
39
- B -- defines dependencies for --> E
40
- B -- defines dependencies for --> F
41
- B -- defines dependencies for --> G
42
- B -- defines dependencies for --> H
43
-
44
- C -- bundles --> B
45
- I -- reads from --> A
46
- I -- creates --> J
47
- end
48
-
49
- subgraph Target Environments
50
- K["IDE (Cursor, VS Code, etc.)"]
51
- L["Web UI (Gemini, ChatGPT)"]
52
- end
53
-
54
- B --> K
55
- J --> L
56
-
57
- style A fill:#1a73e8,color:#fff
58
- style I fill:#f9ab00,color:#fff
59
- style J fill:#34a853,color:#fff
60
- ```
61
-
62
- ## 3. Core Components
63
-
64
- The `bmad-core` directory contains all the definitions and resources that give the agents their capabilities.
65
-
66
- ### 3.1. Agents (`bmad-core/agents/`)
67
-
68
- - **Purpose**: These are the foundational building blocks of the system. Each markdown file (e.g., `bmad-master.md`, `pm.md`, `dev.md`) defines the persona, capabilities, and dependencies of a single AI agent.
69
- - **Structure**: An agent file contains a YAML header that specifies its role, persona, dependencies, and startup instructions. These dependencies are lists of tasks, templates, checklists, and data files that the agent is allowed to use.
70
- - **Startup Instructions**: Agents can include startup sequences that load project-specific documentation from the `docs/` folder, such as coding standards, API specifications, or project structure documents. This provides immediate project context upon activation.
71
- - **Document Integration**: Agents can reference and load documents from the project's `docs/` folder as part of tasks, workflows, or startup sequences. Users can also drag documents directly into chat interfaces to provide additional context.
72
- - **Example**: The `bmad-master` agent lists its dependencies, which tells the build tool which files to include in a web bundle and informs the agent of its own capabilities.
73
-
74
- ### 3.2. Agent Teams (`bmad-core/agent-teams/`)
75
-
76
- - **Purpose**: Team files (e.g., `team-all.yaml`) define collections of agents and workflows that are bundled together for a specific purpose, like "full-stack development" or "backend-only". This creates a larger, pre-packaged context for web UI environments.
77
- - **Structure**: A team file lists the agents to include. It can use wildcards, such as `"*"` to include all agents. This allows for the creation of comprehensive bundles like `team-all`.
78
-
79
- ### 3.3. Workflows (`bmad-core/workflows/`)
80
-
81
- - **Purpose**: Workflows are YAML files (e.g., `greenfield-fullstack.yaml`) that define a prescribed sequence of steps and agent interactions for a specific project type. They act as a strategic guide for the user and the `bmad-orchestrator` agent.
82
- - **Structure**: A workflow defines sequences for both complex and simple projects, lists the agents involved at each step, the artifacts they create, and the conditions for moving from one step to the next. It often includes a Mermaid diagram for visualization.
83
-
84
- ### 3.4. Reusable Resources (`templates`, `tasks`, `checklists`, `data`)
85
-
86
- - **Purpose**: These folders house the modular components that are dynamically loaded by agents based on their dependencies.
87
- - **`templates/`**: Contains markdown templates for common documents like PRDs, architecture specifications, and user stories.
88
- - **`tasks/`**: Defines the instructions for carrying out specific, repeatable actions like "shard-doc" or "create-next-story".
89
- - **`checklists/`**: Provides quality assurance checklists for agents like the Product Owner (`po`) or Architect.
90
- - **`data/`**: Contains the core knowledge base (`bmad-kb.md`), technical preferences (`technical-preferences.md`), and other key data files.
91
-
92
- #### 3.4.1. Template Processing System
93
-
94
- A key architectural principle of BMad is that templates are self-contained and interactive - they embed both the desired document output and the LLM instructions needed to work with users. This means that in many cases, no separate task is needed for document creation, as the template itself contains all the processing logic.
95
-
96
- The BMad framework employs a sophisticated template processing system orchestrated by three key components:
97
-
98
- - **`template-format.md`** (`bmad-core/utils/`): Defines the foundational markup language used throughout all BMad templates. This specification establishes syntax rules for variable substitution (`{{placeholders}}`), AI-only processing directives (`[[LLM: instructions]]`), and conditional logic blocks. Templates follow this format to ensure consistent processing across the system.
99
-
100
- - **`create-doc.md`** (`bmad-core/tasks/`): Acts as the orchestration engine that manages the entire document generation workflow. This task coordinates template selection, manages user interaction modes (incremental vs. rapid generation), enforces template-format processing rules, and handles validation. It serves as the primary interface between users and the template system.
101
-
102
- - **`advanced-elicitation.md`** (`bmad-core/tasks/`): Provides an interactive refinement layer that can be embedded within templates through `[[LLM: instructions]]` blocks. This component offers 10 structured brainstorming actions, section-by-section review capabilities, and iterative improvement workflows to enhance content quality.
103
-
104
- The system maintains a clean separation of concerns: template markup is processed internally by AI agents but never exposed to users, while providing sophisticated AI processing capabilities through embedded intelligence within the templates themselves.
105
-
106
- #### 3.4.2. Technical Preferences System
107
-
108
- BMad includes a personalization layer through the `technical-preferences.md` file in `bmad-core/data/`. This file serves as a persistent technical profile that influences agent behavior across all projects.
109
-
110
- **Purpose and Benefits:**
111
-
112
- - **Consistency**: Ensures all agents reference the same technical preferences
113
- - **Efficiency**: Eliminates the need to repeatedly specify preferred technologies
114
- - **Personalization**: Agents provide recommendations aligned with user preferences
115
- - **Learning**: Captures lessons learned and preferences that evolve over time
116
-
117
- **Content Structure:**
118
- The file typically includes preferred technology stacks, design patterns, external services, coding standards, and anti-patterns to avoid. Agents automatically reference this file during planning and development to provide contextually appropriate suggestions.
119
-
120
- **Integration Points:**
121
-
122
- - Templates can reference technical preferences during document generation
123
- - Agents suggest preferred technologies when appropriate for project requirements
124
- - When preferences don't fit project needs, agents explain alternatives
125
- - Web bundles can include preferences content for consistent behavior across platforms
126
-
127
- **Evolution Over Time:**
128
- Users are encouraged to continuously update this file with discoveries from projects, adding both positive preferences and technologies to avoid, creating a personalized knowledge base that improves agent recommendations over time.
129
-
130
- ## 4. The Build & Delivery Process
131
-
132
- The framework is designed for two primary environments: local IDEs and web-based AI chat interfaces. The `web-builder.js` script is the key to supporting the latter.
133
-
134
- ### 4.1. Web Builder (`tools/builders/web-builder.js`)
135
-
136
- - **Purpose**: This Node.js script is responsible for creating the `.txt` bundles found in `dist`.
137
- - **Process**:
138
- 1. **Resolves Dependencies**: For a given agent or team, the script reads its definition file.
139
- 2. It recursively finds all dependent resources (tasks, templates, etc.) that the agent/team needs.
140
- 3. **Bundles Content**: It reads the content of all these files and concatenates them into a single, large text file, with clear separators indicating the original file path of each section.
141
- 4. **Outputs Bundle**: The final `.txt` file is saved in the `dist` directory, ready to be uploaded to a web UI.
142
-
143
- ### 4.2. Environment-Specific Usage
144
-
145
- - **For IDEs**: Users interact with the agents directly via their markdown files in `bmad-core/agents/`. The IDE integration (for Cursor, Claude Code, etc.) knows how to call these agents.
146
- - **For Web UIs**: Users upload a pre-built bundle from `dist`. This single file provides the AI with the context of the entire team and all their required tools and knowledge.
147
-
148
- ## 5. BMad Workflows
149
-
150
- ### 5.1. The Planning Workflow
151
-
152
- Before development begins, BMad follows a structured planning workflow that establishes the foundation for successful project execution:
153
-
154
- ```mermaid
155
- graph TD
156
- A["Start: Project Idea"] --> B{"Optional: Analyst Brainstorming"}
157
- B -->|Yes| C["Analyst: Market Research & Analysis"]
158
- B -->|No| D["Create Project Brief"]
159
- C --> D["Analyst: Create Project Brief"]
160
- D --> E["PM: Create PRD from Brief"]
161
- E --> F["Architect: Create Architecture from PRD"]
162
- F --> G["PO: Run Master Checklist"]
163
- G --> H{"Documents Aligned?"}
164
- H -->|Yes| I["Planning Complete"]
165
- H -->|No| J["PO: Update Epics & Stories"]
166
- J --> K["Update PRD/Architecture as needed"]
167
- K --> G
168
- I --> L["📁 Switch to IDE"]
169
- L --> M["PO: Shard Documents"]
170
- M --> N["Ready for SM/Dev Cycle"]
171
-
172
- style I fill:#34a853,color:#fff
173
- style G fill:#f9ab00,color:#fff
174
- style L fill:#1a73e8,color:#fff
175
- style N fill:#34a853,color:#fff
176
- ```
177
-
178
- **Key Planning Phases:**
179
-
180
- 1. **Optional Analysis**: Analyst conducts market research and competitive analysis
181
- 2. **Project Brief**: Foundation document created by Analyst or user
182
- 3. **PRD Creation**: PM transforms brief into comprehensive product requirements
183
- 4. **Architecture Design**: Architect creates technical foundation based on PRD
184
- 5. **Validation & Alignment**: PO ensures all documents are consistent and complete
185
- 6. **Refinement**: Updates to epics, stories, and documents as needed
186
- 7. **Environment Transition**: Critical switch from web UI to IDE for development workflow
187
- 8. **Document Preparation**: PO shards large documents for development consumption
188
-
189
- **Workflow Orchestration**: The `bmad-orchestrator` agent uses these workflow definitions to guide users through the complete process, ensuring proper transitions between planning (web UI) and development (IDE) phases.
190
-
191
- ### 5.2. The Core Development Cycle
192
-
193
- Once the initial planning and architecture phases are complete, the project moves into a cyclical development workflow, as detailed in the `bmad-kb.md`. This ensures a steady, sequential, and quality-controlled implementation process.
194
-
195
- ```mermaid
196
- graph TD
197
- A["Start: Planning Artifacts Complete"] --> B["PO: Shard Epics"]
198
- B --> C["PO: Shard Arch"]
199
- C --> D["Development Phase"]
200
- D --> E["Scrum Master: Drafts next story from sharded epic"]
201
- E --> F{"User Approval"}
202
- F -->|Approved| G["Dev: Implement Story"]
203
- F -->|Needs Changes| E
204
- G --> H["Dev: Complete story Tasks"]
205
- H --> I["Dev: Mark Ready for Review"]
206
- I --> J{"User Verification"}
207
- J -->|Request QA Review| K["QA: Run review-story task"]
208
- J -->|Approve Without QA| M["Mark Story as Done"]
209
- K --> L{"QA Review Results"}
210
- L -->|Needs Work| G
211
- L -->|Approved| M["Mark Story as Done"]
212
- J -->|Needs Fixes| G
213
- M --> E
214
-
215
- style M fill:#34a853,color:#fff
216
- style K fill:#f9ab00,color:#fff
217
- ```
218
-
219
- This cycle continues, with the Scrum Master, Developer, and optionally QA agents working together. The QA agent provides senior developer review capabilities through the `review-story` task, offering code refactoring, quality improvements, and knowledge transfer. This ensures high code quality while maintaining development velocity.