bmad-method 4.37.0-beta.2 → 4.37.0-beta.3

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 (206) hide show
  1. package/README.md +3 -214
  2. package/package.json +26 -63
  3. package/.github/FUNDING.yaml +0 -15
  4. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
  5. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  6. package/.github/workflows/discord.yaml +0 -16
  7. package/.github/workflows/release.yaml +0 -60
  8. package/.releaserc.json +0 -21
  9. package/.vscode/settings.json +0 -44
  10. package/CHANGELOG.md +0 -689
  11. package/CONTRIBUTING.md +0 -209
  12. package/LICENSE +0 -21
  13. package/bmad-core/agent-teams/team-all.yaml +0 -14
  14. package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  15. package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  16. package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  17. package/bmad-core/agents/analyst.md +0 -81
  18. package/bmad-core/agents/architect.md +0 -84
  19. package/bmad-core/agents/bmad-master.md +0 -108
  20. package/bmad-core/agents/bmad-orchestrator.md +0 -150
  21. package/bmad-core/agents/dev.md +0 -76
  22. package/bmad-core/agents/pm.md +0 -81
  23. package/bmad-core/agents/po.md +0 -76
  24. package/bmad-core/agents/qa.md +0 -69
  25. package/bmad-core/agents/sm.md +0 -62
  26. package/bmad-core/agents/ux-expert.md +0 -66
  27. package/bmad-core/checklists/architect-checklist.md +0 -443
  28. package/bmad-core/checklists/change-checklist.md +0 -182
  29. package/bmad-core/checklists/pm-checklist.md +0 -375
  30. package/bmad-core/checklists/po-master-checklist.md +0 -441
  31. package/bmad-core/checklists/story-dod-checklist.md +0 -101
  32. package/bmad-core/checklists/story-draft-checklist.md +0 -156
  33. package/bmad-core/core-config.yaml +0 -20
  34. package/bmad-core/data/bmad-kb.md +0 -803
  35. package/bmad-core/data/brainstorming-techniques.md +0 -36
  36. package/bmad-core/data/elicitation-methods.md +0 -134
  37. package/bmad-core/data/technical-preferences.md +0 -3
  38. package/bmad-core/tasks/advanced-elicitation.md +0 -117
  39. package/bmad-core/tasks/brownfield-create-epic.md +0 -160
  40. package/bmad-core/tasks/brownfield-create-story.md +0 -147
  41. package/bmad-core/tasks/correct-course.md +0 -70
  42. package/bmad-core/tasks/create-brownfield-story.md +0 -304
  43. package/bmad-core/tasks/create-deep-research-prompt.md +0 -289
  44. package/bmad-core/tasks/create-next-story.md +0 -112
  45. package/bmad-core/tasks/document-project.md +0 -341
  46. package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  47. package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  48. package/bmad-core/tasks/index-docs.md +0 -179
  49. package/bmad-core/tasks/kb-mode-interaction.md +0 -75
  50. package/bmad-core/tasks/review-story.md +0 -145
  51. package/bmad-core/tasks/shard-doc.md +0 -187
  52. package/bmad-core/tasks/validate-next-story.md +0 -134
  53. package/bmad-core/templates/architecture-tmpl.yaml +0 -650
  54. package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  55. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  56. package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  57. package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  58. package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  59. package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  60. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  61. package/bmad-core/templates/market-research-tmpl.yaml +0 -252
  62. package/bmad-core/templates/prd-tmpl.yaml +0 -202
  63. package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  64. package/bmad-core/templates/story-tmpl.yaml +0 -137
  65. package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  66. package/bmad-core/workflows/brownfield-service.yaml +0 -187
  67. package/bmad-core/workflows/brownfield-ui.yaml +0 -197
  68. package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
  69. package/bmad-core/workflows/greenfield-service.yaml +0 -206
  70. package/bmad-core/workflows/greenfield-ui.yaml +0 -235
  71. package/common/tasks/create-doc.md +0 -101
  72. package/common/tasks/execute-checklist.md +0 -93
  73. package/common/utils/bmad-doc-template.md +0 -325
  74. package/common/utils/workflow-management.md +0 -69
  75. package/dist/agents/analyst.txt +0 -2882
  76. package/dist/agents/architect.txt +0 -3543
  77. package/dist/agents/bmad-master.txt +0 -8756
  78. package/dist/agents/bmad-orchestrator.txt +0 -1490
  79. package/dist/agents/dev.txt +0 -428
  80. package/dist/agents/pm.txt +0 -2229
  81. package/dist/agents/po.txt +0 -1364
  82. package/dist/agents/qa.txt +0 -386
  83. package/dist/agents/sm.txt +0 -668
  84. package/dist/agents/ux-expert.txt +0 -701
  85. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2408
  86. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1631
  87. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -822
  88. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -10989
  89. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +0 -4047
  90. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -3744
  91. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -465
  92. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -990
  93. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +0 -15467
  94. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2077
  95. package/dist/teams/team-all.txt +0 -11062
  96. package/dist/teams/team-fullstack.txt +0 -10392
  97. package/dist/teams/team-ide-minimal.txt +0 -3507
  98. package/dist/teams/team-no-ui.txt +0 -8951
  99. package/docs/GUIDING-PRINCIPLES.md +0 -91
  100. package/docs/core-architecture.md +0 -219
  101. package/docs/enhanced-ide-development-workflow.md +0 -43
  102. package/docs/expansion-packs.md +0 -280
  103. package/docs/how-to-contribute-with-pull-requests.md +0 -158
  104. package/docs/user-guide.md +0 -251
  105. package/docs/versioning-and-releases.md +0 -77
  106. package/docs/versions.md +0 -48
  107. package/docs/working-in-the-brownfield.md +0 -364
  108. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/Complete AI Agent System - Flowchart.svg +0 -102
  109. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash copy.txt +0 -13
  110. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.1 Google Cloud Project Setup/1.1.1 - Initial Project Configuration - bash.txt +0 -13
  111. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.2 Agent Development Kit Installation/1.2.2 - Basic Project Structure - txt.txt +0 -25
  112. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.1 - settings.py +0 -34
  113. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.3 Core Configuration Files/1.3.2 - main.py - Base Application.py +0 -70
  114. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +0 -26
  115. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +0 -109
  116. package/expansion-packs/README.md +0 -3
  117. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  118. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -71
  119. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -78
  120. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -64
  121. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  122. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  123. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -8
  124. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  125. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  126. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  127. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  128. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  129. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  130. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  131. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  132. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  133. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  134. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  135. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  136. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +0 -14
  137. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +0 -80
  138. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +0 -77
  139. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +0 -78
  140. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +0 -65
  141. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -396
  142. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +0 -203
  143. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +0 -201
  144. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -132
  145. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +0 -6
  146. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +0 -776
  147. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -590
  148. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -111
  149. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -151
  150. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +0 -184
  151. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -308
  152. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +0 -200
  153. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +0 -1030
  154. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +0 -356
  155. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +0 -705
  156. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +0 -256
  157. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  158. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  159. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +0 -175
  160. package/expansion-packs/bmad-infrastructure-devops/README.md +0 -147
  161. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +0 -71
  162. package/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +0 -484
  163. package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -9
  164. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  165. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -160
  166. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -154
  167. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  168. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  169. package/tools/bmad-npx-wrapper.js +0 -39
  170. package/tools/builders/web-builder.js +0 -681
  171. package/tools/bump-all-versions.js +0 -106
  172. package/tools/bump-expansion-version.js +0 -83
  173. package/tools/cli.js +0 -154
  174. package/tools/flattener/aggregate.js +0 -76
  175. package/tools/flattener/binary.js +0 -53
  176. package/tools/flattener/discovery.js +0 -70
  177. package/tools/flattener/files.js +0 -35
  178. package/tools/flattener/ignoreRules.js +0 -176
  179. package/tools/flattener/main.js +0 -217
  180. package/tools/flattener/projectRoot.js +0 -45
  181. package/tools/flattener/prompts.js +0 -44
  182. package/tools/flattener/stats.js +0 -30
  183. package/tools/flattener/xml.js +0 -86
  184. package/tools/installer/README.md +0 -8
  185. package/tools/installer/package.json +0 -44
  186. package/tools/lib/dependency-resolver.js +0 -179
  187. package/tools/lib/yaml-utils.js +0 -29
  188. package/tools/md-assets/web-agent-startup-instructions.md +0 -39
  189. package/tools/semantic-release-sync-installer.js +0 -30
  190. package/tools/shared/bannerArt.js +0 -105
  191. package/tools/sync-installer-version.js +0 -34
  192. package/tools/update-expansion-version.js +0 -54
  193. package/tools/upgraders/v3-to-v4-upgrader.js +0 -763
  194. package/tools/version-bump.js +0 -79
  195. package/tools/yaml-format.js +0 -240
  196. /package/{tools/installer/bin → bin}/bmad.js +0 -0
  197. /package/{tools/installer/config → config}/ide-agent-config.yaml +0 -0
  198. /package/{tools/installer/config → config}/install.config.yaml +0 -0
  199. /package/{tools/installer/lib → lib}/config-loader.js +0 -0
  200. /package/{tools/installer/lib → lib}/file-manager.js +0 -0
  201. /package/{tools/installer/lib → lib}/ide-base-setup.js +0 -0
  202. /package/{tools/installer/lib → lib}/ide-setup.js +0 -0
  203. /package/{tools/installer/lib → lib}/installer.js +0 -0
  204. /package/{tools/installer/lib → lib}/memory-profiler.js +0 -0
  205. /package/{tools/installer/lib → lib}/module-manager.js +0 -0
  206. /package/{tools/installer/lib → lib}/resource-locator.js +0 -0
@@ -1,158 +0,0 @@
1
- # How to Contribute with Pull Requests
2
-
3
- **New to GitHub and pull requests?** This guide will walk you through the basics step by step.
4
-
5
- ## What is a Pull Request?
6
-
7
- A pull request (PR) is how you propose changes to a project on GitHub. Think of it as saying "Here are some changes I'd like to make - please review and consider adding them to the main project."
8
-
9
- ## Before You Start
10
-
11
- ⚠️ **Important**: Please keep your contributions small and focused! We prefer many small, clear changes rather than one massive change.
12
-
13
- **Required before submitting PRs:**
14
-
15
- - **For bug fixes**: Create an issue using the [bug report template](https://github.com/bmadcode/bmad-method/issues/new?template=bug_report.md)
16
- - **For new features**:
17
- 1. Discuss in Discord [#general-dev channel](https://discord.gg/gk8jAdXWmj)
18
- 2. Create an issue using the [feature request template](https://github.com/bmadcode/bmad-method/issues/new?template=feature_request.md)
19
- - **For large changes**: Always open an issue first to discuss alignment
20
-
21
- ## Step-by-Step Guide
22
-
23
- ### 1. Fork the Repository
24
-
25
- 1. Go to the [BMad-Method repository](https://github.com/bmadcode/bmad-method)
26
- 2. Click the "Fork" button in the top-right corner
27
- 3. This creates your own copy of the project
28
-
29
- ### 2. Clone Your Fork
30
-
31
- ```bash
32
- # Replace YOUR-USERNAME with your actual GitHub username
33
- git clone https://github.com/YOUR-USERNAME/bmad-method.git
34
- cd bmad-method
35
- ```
36
-
37
- ### 3. Create a New Branch
38
-
39
- **Never work directly on the `main` branch!** Always create a new branch for your changes:
40
-
41
- ```bash
42
- # Create and switch to a new branch
43
- git checkout -b fix/typo-in-readme
44
- # or
45
- git checkout -b feature/add-new-agent
46
- ```
47
-
48
- **Branch naming tips:**
49
-
50
- - `fix/description` - for bug fixes
51
- - `feature/description` - for new features
52
- - `docs/description` - for documentation changes
53
-
54
- ### 4. Make Your Changes
55
-
56
- - Edit the files you want to change
57
- - Keep changes small and focused on one thing
58
- - Test your changes if possible
59
-
60
- ### 5. Commit Your Changes
61
-
62
- ```bash
63
- # Add your changes
64
- git add .
65
-
66
- # Commit with a clear message
67
- git commit -m "Fix typo in README.md"
68
- ```
69
-
70
- **Good commit messages:**
71
-
72
- - "Fix typo in installation instructions"
73
- - "Add example for new agent usage"
74
- - "Update broken link in docs"
75
-
76
- **Bad commit messages:**
77
-
78
- - "stuff"
79
- - "changes"
80
- - "update"
81
-
82
- ### 6. Push to Your Fork
83
-
84
- ```bash
85
- # Push your branch to your fork
86
- git push origin fix/typo-in-readme
87
- ```
88
-
89
- ### 7. Create the Pull Request
90
-
91
- 1. Go to your fork on GitHub
92
- 2. You'll see a green "Compare & pull request" button - click it
93
- 3. Select the correct target branch:
94
- - **`next` branch** for most contributions (features, docs, enhancements)
95
- - **`main` branch** only for critical fixes
96
- 4. Fill out the PR description using the template in CONTRIBUTING.md:
97
- - **What**: 1-2 sentences describing what changed
98
- - **Why**: 1-2 sentences explaining why
99
- - **How**: 2-3 bullets on implementation
100
- - **Testing**: How you tested
101
- 5. Reference the related issue number (e.g., "Fixes #123")
102
-
103
- ### 8. Wait for Review
104
-
105
- - A maintainer will review your PR
106
- - They might ask for changes
107
- - Be patient and responsive to feedback
108
-
109
- ## What Makes a Good Pull Request?
110
-
111
- ✅ **Good PRs:**
112
-
113
- - Change one thing at a time
114
- - Have clear, descriptive titles
115
- - Explain what and why in the description
116
- - Include only the files that need to change
117
-
118
- ❌ **Avoid:**
119
-
120
- - Changing formatting of entire files
121
- - Multiple unrelated changes in one PR
122
- - Copying your entire project/repo into the PR
123
- - Changes without explanation
124
-
125
- ## Common Mistakes to Avoid
126
-
127
- 1. **Don't reformat entire files** - only change what's necessary
128
- 2. **Don't include unrelated changes** - stick to one fix/feature per PR
129
- 3. **Don't paste code in issues** - create a proper PR instead
130
- 4. **Don't submit your whole project** - contribute specific improvements
131
-
132
- ## Need Help?
133
-
134
- - 💬 Join our [Discord Community](https://discord.gg/gk8jAdXWmj) for real-time help:
135
- - **#general-dev** - Technical questions and feature discussions
136
- - **#bugs-issues** - Get help with bugs before filing issues
137
- - 💬 Ask questions in [GitHub Discussions](https://github.com/bmadcode/bmad-method/discussions)
138
- - 🐛 Report bugs using the [bug report template](https://github.com/bmadcode/bmad-method/issues/new?template=bug_report.md)
139
- - 💡 Suggest features using the [feature request template](https://github.com/bmadcode/bmad-method/issues/new?template=feature_request.md)
140
- - 📖 Read the full [Contributing Guidelines](../CONTRIBUTING.md)
141
-
142
- ## Example: Good vs Bad PRs
143
-
144
- ### 😀 Good PR Example
145
-
146
- **Title**: "Fix broken link to installation guide"
147
- **Changes**: One file, one line changed
148
- **Description**: "The link in README.md was pointing to the wrong file. Updated to point to correct installation guide."
149
-
150
- ### 😞 Bad PR Example
151
-
152
- **Title**: "Updates"
153
- **Changes**: 50 files, entire codebase reformatted
154
- **Description**: "Made some improvements"
155
-
156
- ---
157
-
158
- **Remember**: We're here to help! Don't be afraid to ask questions. Every expert was once a beginner.
@@ -1,251 +0,0 @@
1
- # BMad-Method BMAd Code User Guide
2
-
3
- This guide will help you understand and effectively use the BMad Method for agile AI driven planning and development.
4
-
5
- ## The BMad Plan and Execute Workflow
6
-
7
- First, here is the full standard Greenfield Planning + Execution Workflow. Brownfield is very similar, but it's suggested to understand this greenfield first, even if on a simple project before tackling a brownfield project. The BMad Method needs to be installed to the root of your new project folder. For the planning phase, you can optionally perform it with powerful web agents, potentially resulting in higher quality results at a fraction of the cost it would take to complete if providing your own API key or credits in some Agentic tools. For planning, powerful thinking models and larger context - along with working as a partner with the agents will net the best results.
8
-
9
- If you are going to use the BMad Method with a Brownfield project (an existing project), review **[Working in the Brownfield](./working-in-the-brownfield.md)**.
10
-
11
- If you do not see the diagrams that following rendering, you can install Markdown All in One along with the Markdown Preview Mermaid Support plugins to VSCode (or one of the forked clones). With these plugin's, if you right click on the tab when open, there should be a Open Preview option, or check the IDE documentation.
12
-
13
- ### The Planning Workflow (Web UI or Powerful IDE Agents)
14
-
15
- Before development begins, BMad follows a structured planning workflow that's ideally done in web UI for cost efficiency:
16
-
17
- ```mermaid
18
- graph TD
19
- A["Start: Project Idea"] --> B{"Optional: Analyst Research"}
20
- B -->|Yes| C["Analyst: Brainstorming (Optional)"]
21
- B -->|No| G{"Project Brief Available?"}
22
- C --> C2["Analyst: Market Research (Optional)"]
23
- C2 --> C3["Analyst: Competitor Analysis (Optional)"]
24
- C3 --> D["Analyst: Create Project Brief"]
25
- D --> G
26
- G -->|Yes| E["PM: Create PRD from Brief (Fast Track)"]
27
- G -->|No| E2["PM: Interactive PRD Creation (More Questions)"]
28
- E --> F["PRD Created with FRs, NFRs, Epics & Stories"]
29
- E2 --> F
30
- F --> F2{"UX Required?"}
31
- F2 -->|Yes| F3["UX Expert: Create Front End Spec"]
32
- F2 -->|No| H["Architect: Create Architecture from PRD"]
33
- F3 --> F4["UX Expert: Generate UI Prompt for Lovable/V0 (Optional)"]
34
- F4 --> H2["Architect: Create Architecture from PRD + UX Spec"]
35
- H --> I["PO: Run Master Checklist"]
36
- H2 --> I
37
- I --> J{"Documents Aligned?"}
38
- J -->|Yes| K["Planning Complete"]
39
- J -->|No| L["PO: Update Epics & Stories"]
40
- L --> M["Update PRD/Architecture as needed"]
41
- M --> I
42
- K --> N["📁 Switch to IDE (If in a Web Agent Platform)"]
43
- N --> O["PO: Shard Documents"]
44
- O --> P["Ready for SM/Dev Cycle"]
45
-
46
- style A fill:#f5f5f5,color:#000
47
- style B fill:#e3f2fd,color:#000
48
- style C fill:#e8f5e9,color:#000
49
- style C2 fill:#e8f5e9,color:#000
50
- style C3 fill:#e8f5e9,color:#000
51
- style D fill:#e8f5e9,color:#000
52
- style E fill:#fff3e0,color:#000
53
- style E2 fill:#fff3e0,color:#000
54
- style F fill:#fff3e0,color:#000
55
- style F2 fill:#e3f2fd,color:#000
56
- style F3 fill:#e1f5fe,color:#000
57
- style F4 fill:#e1f5fe,color:#000
58
- style G fill:#e3f2fd,color:#000
59
- style H fill:#f3e5f5,color:#000
60
- style H2 fill:#f3e5f5,color:#000
61
- style I fill:#f9ab00,color:#fff
62
- style J fill:#e3f2fd,color:#000
63
- style K fill:#34a853,color:#fff
64
- style L fill:#f9ab00,color:#fff
65
- style M fill:#fff3e0,color:#000
66
- style N fill:#1a73e8,color:#fff
67
- style O fill:#f9ab00,color:#fff
68
- style P fill:#34a853,color:#fff
69
- ```
70
-
71
- #### Web UI to IDE Transition
72
-
73
- **Critical Transition Point**: Once the PO confirms document alignment, you must switch from web UI to IDE to begin the development workflow:
74
-
75
- 1. **Copy Documents to Project**: Ensure `docs/prd.md` and `docs/architecture.md` are in your project's docs folder (or a custom location you can specify during installation)
76
- 2. **Switch to IDE**: Open your project in your preferred Agentic IDE
77
- 3. **Document Sharding**: Use the PO agent to shard the PRD and then the Architecture
78
- 4. **Begin Development**: Start the Core Development Cycle that follows
79
-
80
- ### The Core Development Cycle (IDE)
81
-
82
- Once planning is complete and documents are sharded, BMad follows a structured development workflow:
83
-
84
- ```mermaid
85
- graph TD
86
- A["Development Phase Start"] --> B["SM: Reviews Previous Story Dev/QA Notes"]
87
- B --> B2["SM: Drafts Next Story from Sharded Epic + Architecture"]
88
- B2 --> B3{"PO: Validate Story Draft (Optional)"}
89
- B3 -->|Validation Requested| B4["PO: Validate Story Against Artifacts"]
90
- B3 -->|Skip Validation| C{"User Approval"}
91
- B4 --> C
92
- C -->|Approved| D["Dev: Sequential Task Execution"]
93
- C -->|Needs Changes| B2
94
- D --> E["Dev: Implement Tasks + Tests"]
95
- E --> F["Dev: Run All Validations"]
96
- F --> G["Dev: Mark Ready for Review + Add Notes"]
97
- G --> H{"User Verification"}
98
- H -->|Request QA Review| I["QA: Senior Dev Review + Active Refactoring"]
99
- H -->|Approve Without QA| M["IMPORTANT: Verify All Regression Tests and Linting are Passing"]
100
- I --> J["QA: Review, Refactor Code, Add Tests, Document Notes"]
101
- J --> L{"QA Decision"}
102
- L -->|Needs Dev Work| D
103
- L -->|Approved| M
104
- H -->|Needs Fixes| D
105
- M --> N["IMPORTANT: COMMIT YOUR CHANGES BEFORE PROCEEDING!"]
106
- N --> K["Mark Story as Done"]
107
- K --> B
108
-
109
- style A fill:#f5f5f5,color:#000
110
- style B fill:#e8f5e9,color:#000
111
- style B2 fill:#e8f5e9,color:#000
112
- style B3 fill:#e3f2fd,color:#000
113
- style B4 fill:#fce4ec,color:#000
114
- style C fill:#e3f2fd,color:#000
115
- style D fill:#e3f2fd,color:#000
116
- style E fill:#e3f2fd,color:#000
117
- style F fill:#e3f2fd,color:#000
118
- style G fill:#e3f2fd,color:#000
119
- style H fill:#e3f2fd,color:#000
120
- style I fill:#f9ab00,color:#fff
121
- style J fill:#ffd54f,color:#000
122
- style K fill:#34a853,color:#fff
123
- style L fill:#e3f2fd,color:#000
124
- style M fill:#ff5722,color:#fff
125
- style N fill:#d32f2f,color:#fff
126
- ```
127
-
128
- ## Installation
129
-
130
- ### Optional
131
-
132
- If you want to do the planning in the Web with Claude (Sonnet 4 or Opus), Gemini Gem (2.5 Pro), or Custom GPT's:
133
-
134
- 1. Navigate to `dist/teams/`
135
- 2. Copy `team-fullstack.txt`
136
- 3. Create new Gemini Gem or CustomGPT
137
- 4. Upload file with instructions: "Your critical operating instructions are attached, do not break character as directed"
138
- 5. Type `/help` to see available commands
139
-
140
- ### IDE Project Setup
141
-
142
- ```bash
143
- # Interactive installation (recommended)
144
- npx bmad-method install
145
- ```
146
-
147
- ## Special Agents
148
-
149
- There are two bmad agents - in the future they will be consolidated into the single bmad-master.
150
-
151
- ### BMad-Master
152
-
153
- This agent can do any task or command that all other agents can do, aside from actual story implementation. Additionally, this agent can help explain the BMad Method when in the web by accessing the knowledge base and explaining anything to you about the process.
154
-
155
- If you don't want to bother switching between different agents aside from the dev, this is the agent for you. Just remember that as the context grows, the performance of the agent degrades, therefore it is important to instruct the agent to compact the conversation and start a new conversation with the compacted conversation as the initial message. Do this often, preferably after each story is implemented.
156
-
157
- ### BMad-Orchestrator
158
-
159
- This agent should NOT be used within the IDE, it is a heavy weight special purpose agent that utilizes a lot of context and can morph into any other agent. This exists solely to facilitate the team's within the web bundles. If you use a web bundle you will be greeted by the BMad Orchestrator.
160
-
161
- ### How Agents Work
162
-
163
- #### Dependencies System
164
-
165
- Each agent has a YAML section that defines its dependencies:
166
-
167
- ```yaml
168
- dependencies:
169
- templates:
170
- - prd-template.md
171
- - user-story-template.md
172
- tasks:
173
- - create-doc.md
174
- - shard-doc.md
175
- data:
176
- - bmad-kb.md
177
- ```
178
-
179
- **Key Points:**
180
-
181
- - Agents only load resources they need (lean context)
182
- - Dependencies are automatically resolved during bundling
183
- - Resources are shared across agents to maintain consistency
184
-
185
- #### Agent Interaction
186
-
187
- **In IDE:**
188
-
189
- ```bash
190
- # Some Ide's, like Cursor or Windsurf for example, utilize manual rules so interaction is done with the '@' symbol
191
- @pm Create a PRD for a task management app
192
- @architect Design the system architecture
193
- @dev Implement the user authentication
194
-
195
- # Some, like Claude Code use slash commands instead
196
- /pm Create user stories
197
- /dev Fix the login bug
198
- ```
199
-
200
- #### Interactive Modes
201
-
202
- - **Incremental Mode**: Step-by-step with user input
203
- - **YOLO Mode**: Rapid generation with minimal interaction
204
-
205
- ## IDE Integration
206
-
207
- ### IDE Best Practices
208
-
209
- - **Context Management**: Keep relevant files only in context, keep files as lean and focused as necessary
210
- - **Agent Selection**: Use appropriate agent for task
211
- - **Iterative Development**: Work in small, focused tasks
212
- - **File Organization**: Maintain clean project structure
213
- - **Commit Regularly**: Save your work frequently
214
-
215
- ## Technical Preferences System
216
-
217
- BMad includes a personalization system through the `technical-preferences.md` file located in `.bmad-core/data/` - this can help bias the PM and Architect to recommend your preferences for design patterns, technology selection, or anything else you would like to put in here.
218
-
219
- ### Using with Web Bundles
220
-
221
- When creating custom web bundles or uploading to AI platforms, include your `technical-preferences.md` content to ensure agents have your preferences from the start of any conversation.
222
-
223
- ## Core Configuration
224
-
225
- The `bmad-core/core-config.yaml` file is a critical config that enables BMad to work seamlessly with differing project structures, more options will be made available in the future. Currently the most important is the devLoadAlwaysFiles list section in the yaml.
226
-
227
- ### Developer Context Files
228
-
229
- Define which files the dev agent should always load:
230
-
231
- ```yaml
232
- devLoadAlwaysFiles:
233
- - docs/architecture/coding-standards.md
234
- - docs/architecture/tech-stack.md
235
- - docs/architecture/project-structure.md
236
- ```
237
-
238
- You will want to verify from sharding your architecture that these documents exist, that they are as lean as possible, and contain exactly the information you want your dev agent to ALWAYS load into it's context. These are the rules the agent will follow.
239
-
240
- As your project grows and the code starts to build consistent patterns, coding standards should be reduced to include only the standards that the agent still makes with. The agent will look at surrounding code in files to infer the coding standards that are relevant to the current task.
241
-
242
- ## Getting Help
243
-
244
- - **Discord Community**: [Join Discord](https://discord.gg/gk8jAdXWmj)
245
- - **GitHub Issues**: [Report bugs](https://github.com/bmadcode/bmad-method/issues)
246
- - **Documentation**: [Browse docs](https://github.com/bmadcode/bmad-method/docs)
247
- - **YouTube**: [BMadCode Channel](https://www.youtube.com/@BMadCode)
248
-
249
- ## Conclusion
250
-
251
- Remember: BMad is designed to enhance your development process, not replace your expertise. Use it as a powerful tool to accelerate your projects while maintaining control over design decisions and implementation details.
@@ -1,77 +0,0 @@
1
- # How to Release a New Version
2
-
3
- ## Automated Releases (Recommended)
4
-
5
- The easiest way to release new versions is through **automatic semantic releases**. Just commit with the right message format and push and everything else happens automatically.
6
-
7
- ### Commit Message Format
8
-
9
- Use these prefixes to control what type of release happens:
10
-
11
- ```bash
12
- fix: resolve CLI argument parsing bug # → patch release (4.1.0 → 4.1.1)
13
- feat: add new agent orchestration mode # → minor release (4.1.0 → 4.2.0)
14
- feat!: redesign CLI interface # → major release (4.1.0 → 5.0.0)
15
- ```
16
-
17
- ### What Happens Automatically
18
-
19
- When you push commits with `fix:` or `feat:`, GitHub Actions will:
20
-
21
- 1. ✅ Analyze your commit messages
22
- 2. ✅ Bump version in `package.json`
23
- 3. ✅ Generate changelog
24
- 4. ✅ Create git tag
25
- 5. ✅ **Publish to NPM automatically**
26
- 6. ✅ Create GitHub release with notes
27
-
28
- ### Your Simple Workflow
29
-
30
- ```bash
31
- # Make your changes
32
- git add .
33
- git commit -m "feat: add team collaboration mode"
34
- git push
35
-
36
- # That's it! Release happens automatically 🎉
37
- # Users can now run: npx bmad-method (and get the new version)
38
- ```
39
-
40
- ### Commits That DON'T Trigger Releases
41
-
42
- These commit types won't create releases (use them for maintenance):
43
-
44
- ```bash
45
- chore: update dependencies # No release
46
- docs: fix typo in readme # No release
47
- style: format code # No release
48
- test: add unit tests # No release
49
- ```
50
-
51
- ### Test Your Setup
52
-
53
- ```bash
54
- npm run release:test # Safe to run locally - tests the config
55
- ```
56
-
57
- ---
58
-
59
- ## Manual Release Methods (Exceptions Only)
60
-
61
- ⚠️ Only use these methods if you need to bypass the automatic system
62
-
63
- ### Quick Manual Version Bump
64
-
65
- ```bash
66
- npm run version:patch # 4.1.0 → 4.1.1 (bug fixes)
67
- npm run version:minor # 4.1.0 → 4.2.0 (new features)
68
- npm run version:major # 4.1.0 → 5.0.0 (breaking changes)
69
-
70
- # Then manually publish:
71
- npm publish
72
- git push && git push --tags
73
- ```
74
-
75
- ### Manual GitHub Actions Trigger
76
-
77
- You can also trigger releases manually through GitHub Actions workflow dispatch if needed.
package/docs/versions.md DELETED
@@ -1,48 +0,0 @@
1
- # Version History
2
-
3
- ## Previous Versions
4
-
5
- - [Version 3](https://github.com/bmadcode/BMad-Method/tree/V3)
6
- - [Version 2](https://github.com/bmadcode/BMad-Method/tree/V2)
7
- - [Version 1](https://github.com/bmadcode/BMad-Method/tree/V1)
8
-
9
- ## Current Version: V4 - Alpha
10
-
11
- Guiding Principles of V4:
12
-
13
- - Simple to understand, install and start using
14
- - Support Greenfield and Brownfield Scenarios
15
- - Greater configurability and more scenarios for usage - but kept out of the main package to maintain simplicity
16
- - Helpers for installers and web builders that will work with any OS and IDE easily
17
- - Align all agents to be the same for IDE and Web, without losing the power of the web versions, or the leanness of the files in the IDE to reduce context
18
- - Further improvements to the two most important agents - the SM and DEV
19
-
20
- ## V3
21
-
22
- With the customizability of V2, there were still some issues. A PM could only easily do one thing, create a PRD. And maintaining the consistency between Web and IDE agents was a pain.
23
-
24
- V3 didn't fix the disconnect, but it did make it easier to maintain them all in a single folder, but there were only two official ide agents - all the rest were really made and optimized for the web.
25
-
26
- V3's biggest impact was a full explosion of customizability. Tasks, Personas, Agent Configurations, Doc Templates, data payloads.
27
-
28
- BUT - the BIGGEST change was the realization that we were barely scratching the surface of what could be loaded into Gemini Gems and still have very long chats. The BMad AGENT arose, and with a single V3 release - the future of the BMad Method was changed forever.
29
-
30
- Now, instead of configuring 4+ web agents, all needing many files uploaded to create them, a single Agent called BMad, with a whole team, and the ability to switch and maintain personas evolved. Now you could in the same chat thread, talk to the whole team, or anyone on the team. No more exporting and reimporting docs to different chats - all of the sudden, you could finish the PRD, and ask Josh to pass it off to the Architect, and that was it, the architect just had it and we moved on! And all of that with just 7 total files to upload, delivering all power.
31
-
32
- But V3 had a major flaw - with massive configuration comes massive complexity - and in some ways, V3 started to get away from core principles - power through simplicity. The core system needs to do one thing well and be solid, and not stretch too thing with every possible thing.
33
-
34
- Also - while the dev is amazing and better in V3 than all the past, along with the SM - the dev started over documenting every step and really started to bloat stories with their own notes. And the SM was forgetting to add details to stories, or embellishing information. This was fixed somewhat in V3.1 - but the dev is still over explaining everything it does, instead of just capturing the changes to the story.
35
-
36
- ## V2
37
-
38
- After V1 proved that the BMad method was solid and repeatable, 2 key ideas emerged. Separation of concerns, and building for the web made easier. By separating out templates - it was now much easier for the PRD fields to be customized, or the architecture.
39
-
40
- And the introduction that really supercharged everything in my opinion, the web versions! There were 4 hard coded web variants hand crafted - and we saw that we could, dirt cheap, work with agents for hours in the massive context of Gemini - from a PRD generating PM, through to an architect and even an analyst that could help us do extensive market research and brain storming.
41
-
42
- What I never expected is the names would stick, and people would keep the sample names I made that I thought people would configure. But now 4 version is, people refer to Mary, and John, and Bob! And when I randomly changed the names, I got A LOT of feedback! These have become trusted allies people are relying on, including for me!
43
-
44
- ## V1
45
-
46
- Believe it or not (well you can view the link), V1 was a simple 7 file system! 7 Core agents working in harmony to help build a pretty specific type of application. But it showed its power and adaptability.
47
-
48
- Meant to be a simple Tech Demo showing how custom agents with agile personas can help streamline your project, and create rails for your dev agents that to that point had gone unmatched - while also putting a focus on the planning phases - the project sparked the imagination of many, and a seed of a potential was realized.