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
package/README.md CHANGED
@@ -1,219 +1,8 @@
1
- # BMad-Method: Universal AI Agent Framework
1
+ # BMad Method Installer
2
2
 
3
- [![Version](https://img.shields.io/npm/v/bmad-method?color=blue&label=version)](https://www.npmjs.com/package/bmad-method)
4
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
5
- [![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen)](https://nodejs.org)
6
- [![Discord](https://img.shields.io/badge/Discord-Join%20Community-7289da?logo=discord&logoColor=white)](https://discord.gg/gk8jAdXWmj)
7
-
8
- Foundations in Agentic Agile Driven Development, known as the Breakthrough Method of Agile AI-Driven Development, yet so much more. Transform any domain with specialized AI expertise: software development, entertainment, creative writing, business strategy to personal wellness just to name a few.
9
-
10
- **[Subscribe to BMadCode on YouTube](https://www.youtube.com/@BMadCode?sub_confirmation=1)**
11
-
12
- **[Join our Discord Community](https://discord.gg/gk8jAdXWmj)** - A growing community for AI enthusiasts! Get help, share ideas, explore AI agents & frameworks, collaborate on tech projects, enjoy hobbies, and help each other succeed. Whether you're stuck on BMad, building your own agents, or just want to chat about the latest in AI - we're here for you! **Some mobile and VPN may have issue joining the discord, this is a discord issue - if the invite does not work, try from your own internet or another network, or non-VPN.**
13
-
14
- ⭐ **If you find this project helpful or useful, please give it a star in the upper right hand corner!** It helps others discover BMad-Method and you will be notified of updates!
15
-
16
- ## Overview
17
-
18
- **BMad Method's Two Key Innovations:**
19
-
20
- **1. Agentic Planning:** Dedicated agents (Analyst, PM, Architect) collaborate with you to create detailed, consistent PRDs and Architecture documents. Through advanced prompt engineering and human-in-the-loop refinement, these planning agents produce comprehensive specifications that go far beyond generic AI task generation.
21
-
22
- **2. Context-Engineered Development:** The Scrum Master agent then transforms these detailed plans into hyper-detailed development stories that contain everything the Dev agent needs - full context, implementation details, and architectural guidance embedded directly in story files.
23
-
24
- This two-phase approach eliminates both **planning inconsistency** and **context loss** - the biggest problems in AI-assisted development. Your Dev agent opens a story file with complete understanding of what to build, how to build it, and why.
25
-
26
- **📖 [See the complete workflow in the User Guide](docs/user-guide.md)** - Planning phase, development cycle, and all agent roles
27
-
28
- ## Quick Navigation
29
-
30
- ### Understanding the BMad Workflow
31
-
32
- **Before diving in, review these critical workflow diagrams that explain how BMad works:**
33
-
34
- 1. **[Planning Workflow (Web UI)](docs/user-guide.md#the-planning-workflow-web-ui)** - How to create PRD and Architecture documents
35
- 2. **[Core Development Cycle (IDE)](docs/user-guide.md#the-core-development-cycle-ide)** - How SM, Dev, and QA agents collaborate through story files
36
-
37
- > ⚠️ **These diagrams explain 90% of BMad Method Agentic Agile flow confusion** - Understanding the PRD+Architecture creation and the SM/Dev/QA workflow and how agents pass notes through story files is essential - and also explains why this is NOT taskmaster or just a simple task runner!
38
-
39
- ### What would you like to do?
40
-
41
- - **[Install and Build software with Full Stack Agile AI Team](#quick-start)** → Quick Start Instruction
42
- - **[Learn how to use BMad](docs/user-guide.md)** → Complete user guide and walkthrough
43
- - **[See available AI agents](/bmad-core/agents))** → Specialized roles for your team
44
- - **[Explore non-technical uses](#-beyond-software-development---expansion-packs)** → Creative writing, business, wellness, education
45
- - **[Create my own AI agents](docs/expansion-packs.md)** → Build agents for your domain
46
- - **[Browse ready-made expansion packs](expansion-packs/)** → Game dev, DevOps, infrastructure and get inspired with ideas and examples
47
- - **[Understand the architecture](docs/core-architecture.md)** → Technical deep dive
48
- - **[Join the community](https://discord.gg/gk8jAdXWmj)** → Get help and share ideas
49
-
50
- ## Important: Keep Your BMad Installation Updated
51
-
52
- **Stay up-to-date effortlessly!** If you already have BMad-Method installed in your project, simply run:
3
+ ## Usage
53
4
 
54
5
  ```bash
6
+ # Interactive installation
55
7
  npx bmad-method install
56
- # OR
57
- git pull
58
- npm run install:bmad
59
- ```
60
-
61
- This will:
62
-
63
- - ✅ Automatically detect your existing v4 installation
64
- - ✅ Update only the files that have changed and add new files
65
- - ✅ Create `.bak` backup files for any custom modifications you've made
66
- - ✅ Preserve your project-specific configurations
67
-
68
- This makes it easy to benefit from the latest improvements, bug fixes, and new agents without losing your customizations!
69
-
70
- ## Quick Start
71
-
72
- ### One Command for Everything (IDE Installation)
73
-
74
- **Just run one of these commands:**
75
-
76
- ```bash
77
- npx bmad-method install
78
- # OR if you already have BMad installed:
79
- git pull
80
- npm run install:bmad
81
- ```
82
-
83
- This single command handles:
84
-
85
- - **New installations** - Sets up BMad in your project
86
- - **Upgrades** - Updates existing installations automatically
87
- - **Expansion packs** - Installs any expansion packs you've added to package.json
88
-
89
- > **That's it!** Whether you're installing for the first time, upgrading, or adding expansion packs - these commands do everything.
90
-
91
- **Prerequisites**: [Node.js](https://nodejs.org) v20+ required
92
-
93
- ### Fastest Start: Web UI Full Stack Team at your disposal (2 minutes)
94
-
95
- 1. **Get the bundle**: Save or clone the [full stack team file](dist/teams/team-fullstack.txt) or choose another team
96
- 2. **Create AI agent**: Create a new Gemini Gem or CustomGPT
97
- 3. **Upload & configure**: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
98
- 4. **Start Ideating and Planning**: Start chatting! Type `*help` to see available commands or pick an agent like `*analyst` to start right in on creating a brief.
99
- 5. **CRITICAL**: Talk to BMad Orchestrator in the web at ANY TIME (#bmad-orchestrator command) and ask it questions about how this all works!
100
- 6. **When to move to the IDE**: Once you have your PRD, Architecture, optional UX and Briefs - its time to switch over to the IDE to shard your docs, and start implementing the actual code! See the [User guide](docs/user-guide.md) for more details
101
-
102
- ### Alternative: Clone and Build
103
-
104
- ```bash
105
- git clone https://github.com/bmadcode/bmad-method.git
106
- npm run install:bmad # build and install all to a destination folder
107
- ```
108
-
109
- ## 🌟 Beyond Software Development - Expansion Packs
110
-
111
- BMad's natural language framework works in ANY domain. Expansion packs provide specialized AI agents for creative writing, business strategy, health & wellness, education, and more. Also expansion packs can expand the core BMad-Method with specific functionality that is not generic for all cases. [See the Expansion Packs Guide](docs/expansion-packs.md) and learn to create your own!
112
-
113
- ## Codebase Flattener Tool
114
-
115
- The BMad-Method includes a powerful codebase flattener tool designed to prepare your project files for AI model consumption. This tool aggregates your entire codebase into a single XML file, making it easy to share your project context with AI assistants for analysis, debugging, or development assistance.
116
-
117
- ### Features
118
-
119
- - **AI-Optimized Output**: Generates clean XML format specifically designed for AI model consumption
120
- - **Smart Filtering**: Automatically respects `.gitignore` patterns to exclude unnecessary files
121
- - **Binary File Detection**: Intelligently identifies and excludes binary files, focusing on source code
122
- - **Progress Tracking**: Real-time progress indicators and comprehensive completion statistics
123
- - **Flexible Output**: Customizable output file location and naming
124
-
125
- ### Usage
126
-
127
- ```bash
128
- # Basic usage - creates flattened-codebase.xml in current directory
129
- npx bmad-method flatten
130
-
131
- # Specify custom input directory
132
- npx bmad-method flatten --input /path/to/source/directory
133
- npx bmad-method flatten -i /path/to/source/directory
134
-
135
- # Specify custom output file
136
- npx bmad-method flatten --output my-project.xml
137
- npx bmad-method flatten -o /path/to/output/codebase.xml
138
-
139
- # Combine input and output options
140
- npx bmad-method flatten --input /path/to/source --output /path/to/output/codebase.xml
141
- ```
142
-
143
- ### Example Output
144
-
145
- The tool will display progress and provide a comprehensive summary:
146
-
147
- ```text
148
- 📊 Completion Summary:
149
- ✅ Successfully processed 156 files into flattened-codebase.xml
150
- 📁 Output file: /path/to/your/project/flattened-codebase.xml
151
- 📏 Total source size: 2.3 MB
152
- 📄 Generated XML size: 2.1 MB
153
- 📝 Total lines of code: 15,847
154
- 🔢 Estimated tokens: 542,891
155
- 📊 File breakdown: 142 text, 14 binary, 0 errors
156
8
  ```
157
-
158
- The generated XML file contains your project's text-based source files in a structured format that AI models can easily parse and understand, making it perfect for code reviews, architecture discussions, or getting AI assistance with your BMad-Method projects.
159
-
160
- #### Advanced Usage & Options
161
-
162
- - CLI options
163
- - `-i, --input <path>`: Directory to flatten. Default: current working directory or auto-detected project root when run interactively.
164
- - `-o, --output <path>`: Output file path. Default: `flattened-codebase.xml` in the chosen directory.
165
- - Interactive mode
166
- - If you do not pass `--input` and `--output` and the terminal is interactive (TTY), the tool will attempt to detect your project root (by looking for markers like `.git`, `package.json`, etc.) and prompt you to confirm or override the paths.
167
- - In non-interactive contexts (e.g., CI), it will prefer the detected root silently; otherwise it falls back to the current directory and default filename.
168
- - File discovery and ignoring
169
- - Uses `git ls-files` when inside a git repository for speed and correctness; otherwise falls back to a glob-based scan.
170
- - Applies your `.gitignore` plus a curated set of default ignore patterns (e.g., `node_modules`, build outputs, caches, logs, IDE folders, lockfiles, large media/binaries, `.env*`, and previously generated XML outputs).
171
- - Binary handling
172
- - Binary files are detected and excluded from the XML content. They are counted in the final summary but not embedded in the output.
173
- - XML format and safety
174
- - UTF-8 encoded file with root element `<files>`.
175
- - Each text file is emitted as a `<file path="relative/path">` element whose content is wrapped in `<![CDATA[ ... ]]>`.
176
- - The tool safely handles occurrences of `]]>` inside content by splitting the CDATA to preserve correctness.
177
- - File contents are preserved as-is and indented for readability inside the XML.
178
- - Performance
179
- - Concurrency is selected automatically based on your CPU and workload size. No configuration required.
180
- - Running inside a git repo improves discovery performance.
181
-
182
- #### Minimal XML example
183
-
184
- ```xml
185
- <?xml version="1.0" encoding="UTF-8"?>
186
- <files>
187
- <file path="src/index.js"><![CDATA[
188
- // your source content
189
- ]]></file>
190
- </files>
191
- ```
192
-
193
- ## Documentation & Resources
194
-
195
- ### Essential Guides
196
-
197
- - 📖 **[User Guide](docs/user-guide.md)** - Complete walkthrough from project inception to completion
198
- - 🏗️ **[Core Architecture](docs/core-architecture.md)** - Technical deep dive and system design
199
- - 🚀 **[Expansion Packs Guide](docs/expansion-packs.md)** - Extend BMad to any domain beyond software development
200
-
201
- ## Support
202
-
203
- - 💬 [Discord Community](https://discord.gg/gk8jAdXWmj)
204
- - 🐛 [Issue Tracker](https://github.com/bmadcode/bmad-method/issues)
205
- - 💬 [Discussions](https://github.com/bmadcode/bmad-method/discussions)
206
-
207
- ## Contributing
208
-
209
- **We're excited about contributions and welcome your ideas, improvements, and expansion packs!** 🎉
210
-
211
- 📋 **[Read CONTRIBUTING.md](CONTRIBUTING.md)** - Complete guide to contributing, including guidelines, process, and requirements
212
-
213
- ## License
214
-
215
- MIT License - see [LICENSE](LICENSE) for details.
216
-
217
- [![Contributors](https://contrib.rocks/image?repo=bmadcode/bmad-method)](https://github.com/bmadcode/bmad-method/graphs/contributors)
218
-
219
- <sub>Built with ❤️ for the AI-assisted development community</sub>
package/package.json CHANGED
@@ -1,81 +1,44 @@
1
1
  {
2
2
  "name": "bmad-method",
3
- "version": "4.37.0-beta.2",
4
- "description": "Breakthrough Method of Agile AI-driven Development",
5
- "main": "tools/cli.js",
3
+ "version": "4.37.0-beta.3",
4
+ "description": "BMad Method installer - AI-powered Agile development framework",
5
+ "main": "lib/installer.js",
6
6
  "bin": {
7
- "bmad": "tools/bmad-npx-wrapper.js",
8
- "bmad-method": "tools/bmad-npx-wrapper.js"
7
+ "bmad": "./bin/bmad.js",
8
+ "bmad-method": "./bin/bmad.js"
9
9
  },
10
10
  "scripts": {
11
- "build": "node tools/cli.js build",
12
- "build:agents": "node tools/cli.js build --agents-only",
13
- "build:teams": "node tools/cli.js build --teams-only",
14
- "list:agents": "node tools/cli.js list:agents",
15
- "validate": "node tools/cli.js validate",
16
- "flatten": "node tools/flattener/main.js",
17
- "install:bmad": "node tools/installer/bin/bmad.js install",
18
- "format": "prettier --write \"**/*.md\"",
19
- "version:patch": "node tools/version-bump.js patch",
20
- "version:minor": "node tools/version-bump.js minor",
21
- "version:major": "node tools/version-bump.js major",
22
- "version:expansion": "node tools/bump-expansion-version.js",
23
- "version:expansion:set": "node tools/update-expansion-version.js",
24
- "version:all": "node tools/bump-all-versions.js",
25
- "version:all:minor": "node tools/bump-all-versions.js minor",
26
- "version:all:major": "node tools/bump-all-versions.js major",
27
- "version:all:patch": "node tools/bump-all-versions.js patch",
28
- "version:expansion:all": "node tools/bump-all-versions.js",
29
- "version:expansion:all:minor": "node tools/bump-all-versions.js minor",
30
- "version:expansion:all:major": "node tools/bump-all-versions.js major",
31
- "version:expansion:all:patch": "node tools/bump-all-versions.js patch",
32
- "release": "semantic-release",
33
- "release:test": "semantic-release --dry-run --no-ci || echo 'Config test complete - authentication errors are expected locally'",
34
- "prepare": "husky"
35
- },
36
- "dependencies": {
37
- "@kayvan/markdown-tree-parser": "^1.5.0",
38
- "bmad-method": "^4.30.3",
39
- "chalk": "^4.1.2",
40
- "commander": "^14.0.0",
41
- "fs-extra": "^11.3.0",
42
- "glob": "^11.0.3",
43
- "ignore": "^7.0.5",
44
- "inquirer": "^8.2.6",
45
- "js-yaml": "^4.1.0",
46
- "ora": "^5.4.1"
11
+ "test": "echo \"Error: no test specified\" && exit 1"
47
12
  },
48
13
  "keywords": [
14
+ "bmad",
49
15
  "agile",
50
16
  "ai",
51
- "orchestrator",
52
17
  "development",
53
- "methodology",
54
- "agents",
55
- "bmad"
18
+ "framework",
19
+ "installer",
20
+ "agents"
56
21
  ],
57
- "author": "Brian (BMad) Madison",
22
+ "author": "BMad Team",
58
23
  "license": "MIT",
59
- "repository": {
60
- "type": "git",
61
- "url": "git+https://github.com/bmadcode/BMAD-METHOD.git"
24
+ "dependencies": {
25
+ "chalk": "^4.1.2",
26
+ "commander": "^14.0.0",
27
+ "fs-extra": "^11.3.0",
28
+ "inquirer": "^8.2.6",
29
+ "js-yaml": "^4.1.0",
30
+ "ora": "^5.4.1",
31
+ "semver": "^7.6.3"
62
32
  },
63
33
  "engines": {
64
34
  "node": ">=20.0.0"
65
35
  },
66
- "devDependencies": {
67
- "@semantic-release/changelog": "^6.0.3",
68
- "@semantic-release/git": "^10.0.1",
69
- "husky": "^9.1.7",
70
- "jest": "^30.0.4",
71
- "lint-staged": "^16.1.1",
72
- "prettier": "^3.5.3",
73
- "semantic-release": "^22.0.0",
74
- "yaml-lint": "^1.7.0"
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://github.com/bmad-team/bmad-method.git"
39
+ },
40
+ "bugs": {
41
+ "url": "https://github.com/bmad-team/bmad-method/issues"
75
42
  },
76
- "lint-staged": {
77
- "**/*.md": [
78
- "prettier --write"
79
- ]
80
- }
43
+ "homepage": "https://github.com/bmad-team/bmad-method#readme"
81
44
  }
@@ -1,15 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
- patreon: # Replace with a single Patreon username
5
- open_collective: # Replace with a single Open Collective username
6
- ko_fi: # Replace with a single Ko-fi username
7
- tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
- community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- liberapay: # Replace with a single Liberapay username
10
- issuehunt: # Replace with a single IssueHunt username
11
- lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12
- polar: # Replace with a single Polar username
13
- buy_me_a_coffee: bmad
14
- thanks_dev: # Replace with a single thanks.dev username
15
- custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -1,32 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ""
5
- labels: ""
6
- assignees: ""
7
- ---
8
-
9
- **Describe the bug**
10
- A clear and concise description of what the bug is.
11
-
12
- **Steps to Reproduce**
13
- What lead to the bug and can it be reliable recreated - if so with what steps.
14
-
15
- **PR**
16
- If you have an idea to fix and would like to contribute, please indicate here you are working on a fix, or link to a proposed PR to fix the issue. Please review the contribution.md - contributions are always welcome!
17
-
18
- **Expected behavior**
19
- A clear and concise description of what you expected to happen.
20
-
21
- **Please be Specific if relevant**
22
- Model(s) Used:
23
- Agentic IDE Used:
24
- WebSite Used:
25
- Project Language:
26
- BMad Method version:
27
-
28
- **Screenshots or Links**
29
- If applicable, add screenshots or links (if web sharable record) to help explain your problem.
30
-
31
- **Additional context**
32
- Add any other context about the problem here. The more information you can provide, the easier it will be to suggest a fix or resolve
@@ -1,22 +0,0 @@
1
- ---
2
- name: Feature request
3
- about: Suggest an idea for this project
4
- title: ""
5
- labels: ""
6
- assignees: ""
7
- ---
8
-
9
- **Did you discuss the idea first in Discord Server (#general-dev)**
10
- Yes/No - Link to thread. If no, please after posting request also share the link in the channel so it can be easily discussed.
11
-
12
- **Is your feature request related to a problem? Please describe.**
13
- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
14
-
15
- **Describe the solution you'd like**
16
- A clear and concise description of what you want to happen.
17
-
18
- **Describe alternatives you've considered**
19
- A clear and concise description of any alternative solutions or features you've considered.
20
-
21
- **Additional context**
22
- Add any other context or screenshots about the feature request here.
@@ -1,16 +0,0 @@
1
- name: Discord Notification
2
-
3
- on: [pull_request, release, create, delete, issue_comment, pull_request_review, pull_request_review_comment]
4
-
5
- jobs:
6
- notify:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - name: Notify Discord
10
- uses: sarisia/actions-status-discord@v1
11
- if: always()
12
- with:
13
- webhook: ${{ secrets.DISCORD_WEBHOOK }}
14
- status: ${{ job.status }}
15
- title: "Triggered by ${{ github.event_name }}"
16
- color: 0x5865F2
@@ -1,60 +0,0 @@
1
- name: Release
2
- 'on':
3
- push:
4
- branches:
5
- - main
6
- - stable
7
- workflow_dispatch:
8
- inputs:
9
- version_type:
10
- description: Version bump type
11
- required: true
12
- default: patch
13
- type: choice
14
- options:
15
- - patch
16
- - minor
17
- - major
18
- permissions:
19
- contents: write
20
- issues: write
21
- pull-requests: write
22
- packages: write
23
- jobs:
24
- release:
25
- runs-on: ubuntu-latest
26
- if: '!contains(github.event.head_commit.message, ''[skip ci]'')'
27
- steps:
28
- - name: Checkout
29
- uses: actions/checkout@v4
30
- with:
31
- fetch-depth: 0
32
- token: ${{ secrets.GITHUB_TOKEN }}
33
- - name: Setup Node.js
34
- uses: actions/setup-node@v4
35
- with:
36
- node-version: '20'
37
- cache: npm
38
- registry-url: https://registry.npmjs.org
39
- - name: Install dependencies
40
- run: npm ci
41
- - name: Run tests and validation
42
- run: |
43
- npm run validate
44
- npm run format
45
- - name: Debug permissions
46
- run: |
47
- echo "Testing git permissions..."
48
- git config user.name "github-actions[bot]"
49
- git config user.email "github-actions[bot]@users.noreply.github.com"
50
- echo "Git config set successfully"
51
- - name: Manual version bump
52
- if: github.event_name == 'workflow_dispatch'
53
- run: npm run version:${{ github.event.inputs.version_type }}
54
- - name: Semantic Release
55
- if: github.event_name == 'push'
56
- env:
57
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
59
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
60
- run: npm run release
package/.releaserc.json DELETED
@@ -1,21 +0,0 @@
1
- {
2
- "branches": [
3
- {
4
- "name": "main",
5
- "prerelease": "beta",
6
- "channel": "beta"
7
- },
8
- {
9
- "name": "stable",
10
- "channel": "latest"
11
- }
12
- ],
13
- "plugins": [
14
- "@semantic-release/commit-analyzer",
15
- "@semantic-release/release-notes-generator",
16
- "@semantic-release/changelog",
17
- "@semantic-release/npm",
18
- "./tools/semantic-release-sync-installer.js",
19
- "@semantic-release/github"
20
- ]
21
- }
@@ -1,44 +0,0 @@
1
- {
2
- "cSpell.words": [
3
- "Agentic",
4
- "atlasing",
5
- "Biostatistician",
6
- "Cordova",
7
- "customresourcedefinitions",
8
- "dashboarded",
9
- "Decisioning",
10
- "eksctl",
11
- "elicitations",
12
- "filecomplete",
13
- "fintech",
14
- "fluxcd",
15
- "gamedev",
16
- "gitops",
17
- "implementability",
18
- "inclusivity",
19
- "ingressgateway",
20
- "istioctl",
21
- "metroidvania",
22
- "NACLs",
23
- "nodegroup",
24
- "platformconfigs",
25
- "Playfocus",
26
- "playtesting",
27
- "pointerdown",
28
- "pointerup",
29
- "Polyrepo",
30
- "replayability",
31
- "roguelike",
32
- "roomodes",
33
- "Runbook",
34
- "runbooks",
35
- "Shardable",
36
- "Softlock",
37
- "speedrunner",
38
- "tekton",
39
- "tilemap",
40
- "tileset",
41
- "Trae",
42
- "VNET"
43
- ]
44
- }