bmad-method 4.4.2 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierignore +22 -0
- package/.prettierrc +23 -0
- package/CHANGELOG.md +25 -0
- package/README.md +41 -14
- package/bmad-core/agents/bmad-orchestrator.md +11 -11
- package/bmad-core/agents/sm.md +1 -1
- package/bmad-core/tasks/shard-doc.md +3 -5
- package/bmad-core/templates/architecture-tmpl.md +2 -2
- package/bmad-core/templates/brownfield-architecture-tmpl.md +4 -4
- package/bmad-core/templates/front-end-spec-tmpl.md +4 -4
- package/bmad-core/templates/fullstack-architecture-tmpl.md +2 -2
- package/bmad-core/utils/workflow-management.md +4 -4
- package/{bmad-core/web-bundles → dist}/agents/bmad-master.txt +0 -176
- package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt → dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt} +4 -4
- package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +1561 -0
- package/dist/teams/team-all.txt +10307 -0
- package/dist/teams/team-fullstack.txt +9659 -0
- package/dist/teams/team-ide-minimal.txt +2739 -0
- package/dist/teams/team-no-ui.txt +8519 -0
- package/docs/claude-code-guide.md +6 -4
- package/docs/cursor-guide.md +8 -4
- package/docs/roo-code-guide.md +8 -6
- package/docs/windsurf-guide.md +6 -4
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yml +12 -0
- package/expansion-packs/expansion-creator/README.md +8 -0
- package/expansion-packs/expansion-creator/agents/bmad-the-creator.md +53 -0
- package/expansion-packs/expansion-creator/common-tasks/create-doc.md +74 -0
- package/expansion-packs/expansion-creator/common-tasks/execute-checklist.md +97 -0
- package/expansion-packs/expansion-creator/manifest.yml +12 -0
- package/{creator-tools → expansion-packs/expansion-creator}/tasks/create-agent.md +4 -4
- package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +1026 -0
- package/expansion-packs/expansion-creator/templates/agent-teams-tmpl.md +154 -0
- package/expansion-packs/expansion-creator/templates/agent-tmpl.md +140 -0
- package/expansion-packs/expansion-creator/utils/template-format.md +26 -0
- package/expansion-packs/expansion-creator/utils/workflow-management.md +223 -0
- package/package.json +3 -15
- package/tools/builders/web-builder.js +2 -4
- package/tools/cli.js +0 -15
- package/tools/installer/bin/bmad.js +111 -24
- package/tools/installer/lib/config-loader.js +5 -0
- package/tools/installer/lib/ide-setup.js +4 -4
- package/tools/installer/lib/installer.js +130 -24
- package/tools/installer/package.json +1 -1
- package/.claude/commands/analyst.md +0 -63
- package/.claude/commands/architect.md +0 -65
- package/.claude/commands/bmad-master.md +0 -103
- package/.claude/commands/bmad-orchestrator.md +0 -132
- package/.claude/commands/dev.md +0 -74
- package/.claude/commands/pm.md +0 -63
- package/.claude/commands/po.md +0 -64
- package/.claude/commands/qa.md +0 -56
- package/.claude/commands/sm.md +0 -59
- package/.claude/commands/ux-expert.md +0 -70
- package/.cursor/rules/analyst.mdc +0 -77
- package/.cursor/rules/architect.mdc +0 -79
- package/.cursor/rules/bmad-master.mdc +0 -117
- package/.cursor/rules/bmad-orchestrator.mdc +0 -146
- package/.cursor/rules/dev.mdc +0 -88
- package/.cursor/rules/pm.mdc +0 -77
- package/.cursor/rules/po.mdc +0 -78
- package/.cursor/rules/qa.mdc +0 -70
- package/.cursor/rules/sm.mdc +0 -73
- package/.cursor/rules/ux-expert.mdc +0 -84
- package/.roo/.roomodes +0 -95
- package/.roo/README.md +0 -27
- package/.windsurf/rules/analyst.md +0 -71
- package/.windsurf/rules/architect.md +0 -73
- package/.windsurf/rules/bmad-master.md +0 -111
- package/.windsurf/rules/bmad-orchestrator.md +0 -140
- package/.windsurf/rules/dev.md +0 -82
- package/.windsurf/rules/pm.md +0 -71
- package/.windsurf/rules/po.md +0 -72
- package/.windsurf/rules/qa.md +0 -64
- package/.windsurf/rules/sm.md +0 -67
- package/.windsurf/rules/ux-expert.md +0 -78
- package/bmad-core/bmad-core-config.yml +0 -60
- package/bmad-core/templates/agent-tmpl.md +0 -58
- package/bmad-core/utils/agent-switcher.ide.md +0 -112
- package/creator-tools/tasks/generate-expansion-pack.md +0 -427
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +0 -12
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +0 -4395
- /package/{bmad-core/web-bundles → dist}/agents/analyst.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/architect.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/bmad-orchestrator.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/dev.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/pm.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/po.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/qa.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/sm.txt +0 -0
- /package/{bmad-core/web-bundles → dist}/agents/ux-expert.txt +0 -0
- /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-designer.txt +0 -0
- /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-developer.txt +0 -0
- /package/{expansion-packs/bmad-2d-phaser-game-dev/web-bundles → dist/expansion-packs/bmad-2d-phaser-game-dev}/agents/game-sm.txt +0 -0
- /package/{expansion-packs/bmad-infrastructure-devops/web-bundles → dist/expansion-packs/bmad-infrastructure-devops}/agents/infra-devops-platform.txt +0 -0
- /package/{bmad-core → expansion-packs/expansion-creator}/templates/expansion-pack-plan-tmpl.md +0 -0
package/.prettierignore
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
node_modules/
|
|
3
|
+
package-lock.json
|
|
4
|
+
|
|
5
|
+
# Build outputs
|
|
6
|
+
dist/
|
|
7
|
+
web-bundles/
|
|
8
|
+
|
|
9
|
+
# Generated files
|
|
10
|
+
*.log
|
|
11
|
+
*.lock
|
|
12
|
+
|
|
13
|
+
# BMAD core files (have their own formatting)
|
|
14
|
+
bmad-core/**/*.md
|
|
15
|
+
|
|
16
|
+
# Specific files that need custom formatting
|
|
17
|
+
.roomodes
|
|
18
|
+
CHANGELOG.md
|
|
19
|
+
|
|
20
|
+
# IDE files
|
|
21
|
+
.vscode/
|
|
22
|
+
.idea/
|
package/.prettierrc
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"printWidth": 100,
|
|
3
|
+
"tabWidth": 2,
|
|
4
|
+
"useTabs": false,
|
|
5
|
+
"semi": true,
|
|
6
|
+
"singleQuote": false,
|
|
7
|
+
"quoteProps": "as-needed",
|
|
8
|
+
"trailingComma": "es5",
|
|
9
|
+
"bracketSpacing": true,
|
|
10
|
+
"bracketSameLine": false,
|
|
11
|
+
"arrowParens": "always",
|
|
12
|
+
"proseWrap": "preserve",
|
|
13
|
+
"endOfLine": "lf",
|
|
14
|
+
"overrides": [
|
|
15
|
+
{
|
|
16
|
+
"files": "*.md",
|
|
17
|
+
"options": {
|
|
18
|
+
"proseWrap": "preserve",
|
|
19
|
+
"printWidth": 120
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## [4.5.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.5.0...v4.5.1) (2025-06-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* docs had some ide specific errors ([a954c7e](https://github.com/bmadcode/BMAD-METHOD/commit/a954c7e24284a6637483a9e47fc63a8f9d7dfbad))
|
|
7
|
+
|
|
8
|
+
# [4.5.0](https://github.com/bmadcode/BMAD-METHOD/compare/v4.4.2...v4.5.0) (2025-06-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* installer relative path issue for npx resolved ([8b9bda5](https://github.com/bmadcode/BMAD-METHOD/commit/8b9bda5639ec882f1887f20b4610a6c2183042c6))
|
|
14
|
+
* readme updated to indicate move of web-bundles ([7e9574f](https://github.com/bmadcode/BMAD-METHOD/commit/7e9574f571f41ae5003a1664d999c282dd7398be))
|
|
15
|
+
* temp disable yml linting ([296c2fb](https://github.com/bmadcode/BMAD-METHOD/commit/296c2fbcbd9ac40b3c68633ba7454aacf1e31204))
|
|
16
|
+
* update documentation and installer to reflect .roomodes file location in project root ([#236](https://github.com/bmadcode/BMAD-METHOD/issues/236)) ([bd7f030](https://github.com/bmadcode/BMAD-METHOD/commit/bd7f03016bfa13e39cb39aedb24db9fccbed18a7))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* bmad the creator expansion with some basic tools for modifying bmad method ([2d61df4](https://github.com/bmadcode/BMAD-METHOD/commit/2d61df419ac683f5691b6ee3fab81174f3d2cdde))
|
|
22
|
+
* can now select different web bundles from what ide agents are installed ([0c41633](https://github.com/bmadcode/BMAD-METHOD/commit/0c41633b07d7dd4d7dda8d3a14d572eac0dcbb47))
|
|
23
|
+
* installer offers option to install web bundles ([e934769](https://github.com/bmadcode/BMAD-METHOD/commit/e934769a5e35dba99f59b4e2e6bb49131c43a526))
|
|
24
|
+
* robust installer ([1fbeed7](https://github.com/bmadcode/BMAD-METHOD/commit/1fbeed75ea446b0912277cfec376ee34f0b3d853))
|
|
25
|
+
|
|
1
26
|
## [4.4.2](https://github.com/bmadcode/BMAD-METHOD/compare/v4.4.1...v4.4.2) (2025-06-17)
|
|
2
27
|
|
|
3
28
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/bmad-method)
|
|
4
4
|
[](LICENSE)
|
|
5
|
-
[](https://nodejs.org)
|
|
6
6
|
[](https://discord.gg/g6ypHytrCB)
|
|
7
7
|
|
|
8
8
|
**AI-Powered Agile Development Framework** - Transform your software development with specialized AI agents that work as your complete Agile team.
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
### Fastest Start: Web UI (2 minutes) 🏃♂️
|
|
17
17
|
|
|
18
|
-
1. Copy `
|
|
19
|
-
2. Create a new Gemini Gem or CustomGPT
|
|
20
|
-
3. Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
21
|
-
4. Start chatting! Type
|
|
18
|
+
1. **Get the bundle**: Copy `dist/teams/team-fullstack.txt` (from this repository)
|
|
19
|
+
2. **Create AI agent**: Create a new Gemini Gem or CustomGPT
|
|
20
|
+
3. **Upload & configure**: Upload the file and set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
21
|
+
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.
|
|
22
|
+
|
|
23
|
+
> 💡 **All pre-built bundles are in the `dist/` folder** - ready to copy and use immediately!
|
|
22
24
|
|
|
23
25
|
### IDE Quick Start (5 minutes) 💻
|
|
24
26
|
|
|
@@ -56,8 +58,8 @@ BMAD-METHOD (Breakthrough Method of Agile AI-Driven Development) revolutionizes
|
|
|
56
58
|
For ChatGPT, Claude, or Gemini web interfaces:
|
|
57
59
|
|
|
58
60
|
1. Choose a bundle:
|
|
59
|
-
- **Recommended**:
|
|
60
|
-
- Or pick from individual agents in
|
|
61
|
+
- **Recommended**: `dist/teams/team-fullstack.txt` (complete development team)
|
|
62
|
+
- Or pick from individual agents in `dist/agents/`
|
|
61
63
|
2. Upload to your AI platform (Gemini Gem, CustomGPT, or directly in chat)
|
|
62
64
|
3. Set instructions: "Your critical operating instructions are attached, do not break character as directed"
|
|
63
65
|
4. Type `/help` to see available commands
|
|
@@ -106,7 +108,7 @@ The BMad Method works with any IDE, but has built-in integration for:
|
|
|
106
108
|
|
|
107
109
|
After installation with `--ide` flag:
|
|
108
110
|
|
|
109
|
-
|
|
111
|
+
```bash
|
|
110
112
|
# In Cursor
|
|
111
113
|
@pm Create a PRD for a task management app
|
|
112
114
|
|
|
@@ -115,7 +117,7 @@ After installation with `--ide` flag:
|
|
|
115
117
|
|
|
116
118
|
# In Windsurf
|
|
117
119
|
@dev Implement story 1.3
|
|
118
|
-
```
|
|
120
|
+
```
|
|
119
121
|
|
|
120
122
|
### With Web UI (ChatGPT/Claude/Gemini)
|
|
121
123
|
|
|
@@ -132,16 +134,16 @@ npx bmad-method install
|
|
|
132
134
|
|
|
133
135
|
# Check installation status
|
|
134
136
|
npx bmad-method status
|
|
135
|
-
|
|
137
|
+
```
|
|
136
138
|
|
|
137
139
|
### Upgrading from V3 to V4
|
|
138
140
|
|
|
139
141
|
If you have an existing BMAD-METHOD V3 project, simply run the installer in your project directory:
|
|
140
142
|
|
|
141
|
-
|
|
143
|
+
```bash
|
|
142
144
|
npx bmad-method install
|
|
143
145
|
# The installer will automatically detect your V3 installation and offer to upgrade
|
|
144
|
-
```
|
|
146
|
+
```
|
|
145
147
|
|
|
146
148
|
The upgrade process will:
|
|
147
149
|
|
|
@@ -189,7 +191,7 @@ Structured approaches for different scenarios:
|
|
|
189
191
|
├── tasks/ # Reusable task definitions
|
|
190
192
|
├── checklists/ # Quality checklists
|
|
191
193
|
├── data/ # Knowledge base
|
|
192
|
-
└── web-bundles/ # Pre-built bundles
|
|
194
|
+
└── web-bundles/ # Pre-built bundles (deprecated - use dist/ instead)
|
|
193
195
|
|
|
194
196
|
tools/
|
|
195
197
|
├── cli.js # Build tool
|
|
@@ -197,7 +199,32 @@ tools/
|
|
|
197
199
|
└── lib/ # Build utilities
|
|
198
200
|
|
|
199
201
|
expansion-packs/ # Optional add-ons (DevOps, Mobile, etc.)
|
|
200
|
-
|
|
202
|
+
|
|
203
|
+
dist/ # 📦 PRE-BUILT BUNDLES (Ready to use!)
|
|
204
|
+
├── agents/ # Individual agent bundles (.txt files)
|
|
205
|
+
├── teams/ # Team bundles (.txt files)
|
|
206
|
+
└── expansion-packs/ # Expansion pack bundles
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### 📦 Pre-Built Bundles (dist/ folder)
|
|
210
|
+
|
|
211
|
+
**All ready-to-use bundles are in the `dist/` directory!**
|
|
212
|
+
|
|
213
|
+
- **Teams**: `dist/teams/` - Complete team configurations
|
|
214
|
+
|
|
215
|
+
- `team-fullstack.txt` - Full-stack development team
|
|
216
|
+
- `team-ide-minimal.txt` - Minimal IDE workflow team
|
|
217
|
+
- `team-no-ui.txt` - Backend-only team
|
|
218
|
+
- `team-all.txt` - All agents included
|
|
219
|
+
|
|
220
|
+
- **Individual Agents**: `dist/agents/` - Single agent files
|
|
221
|
+
|
|
222
|
+
- One `.txt` file per agent (analyst, architect, dev, etc.)
|
|
223
|
+
|
|
224
|
+
- **Expansion Packs**: `dist/expansion-packs/` - Specialized domains
|
|
225
|
+
- Game development, DevOps, etc.
|
|
226
|
+
|
|
227
|
+
**For Web UI usage**: Simply copy any `.txt` file from `dist/` and upload to your AI platform!`
|
|
201
228
|
|
|
202
229
|
## Advanced Features
|
|
203
230
|
|
|
@@ -50,14 +50,14 @@ help-format:
|
|
|
50
50
|
- DO NOT list individual tasks/checklists (these belong to specific agents)
|
|
51
51
|
- Emphasize that users should switch to an agent to access its specific capabilities
|
|
52
52
|
- Format examples:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
- "*agent game-designer: Game Design Specialist"
|
|
54
|
+
- " Specializes in: Game concepts, mechanics, level design"
|
|
55
|
+
- " Can create: Game design documents, level designs, game briefs"
|
|
56
56
|
help-display-template: |
|
|
57
57
|
🎭 BMad Orchestrator - Your Gateway to Specialized Agents
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
I coordinate specialized agents for different tasks. Tell me what you need, and I'll connect you with the right expert!
|
|
60
|
-
|
|
60
|
+
|
|
61
61
|
Orchestrator Commands:
|
|
62
62
|
*help: Show this guide
|
|
63
63
|
*chat-mode: Start conversational mode for detailed assistance
|
|
@@ -67,26 +67,26 @@ help-display-template: |
|
|
|
67
67
|
*party-mode: Group chat with all agents
|
|
68
68
|
*doc-out: Output full document
|
|
69
69
|
*exit: Return to BMad or exit session
|
|
70
|
-
|
|
70
|
+
|
|
71
71
|
Agent Management:
|
|
72
72
|
*agent {name}: Transform into a specialized agent
|
|
73
73
|
*task {name}: Run a specific task (when in an agent)
|
|
74
74
|
*checklist {name}: Execute a checklist (when in an agent)
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
Workflow Commands:
|
|
77
77
|
*workflow {name}: Start a specific workflow directly
|
|
78
78
|
*workflow-guidance: Get personalized help selecting the right workflow for your project
|
|
79
|
-
|
|
79
|
+
|
|
80
80
|
Available Specialist Agents:
|
|
81
81
|
[For each agent in bundle, show:
|
|
82
82
|
*agent {name}: {role/title}
|
|
83
83
|
Specializes in: {key capabilities from agent's whenToUse}
|
|
84
84
|
Can create: {list of documents/deliverables this agent produces}]
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
Available Workflows:
|
|
87
87
|
[For each workflow in bundle, show:
|
|
88
88
|
*workflow {name}: {workflow description}]
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
💡 Tip: Each agent has their own tasks, templates, and checklists. Switch to an agent to see what they can do!
|
|
91
91
|
fuzzy-matching:
|
|
92
92
|
- 85% confidence threshold
|
|
@@ -98,7 +98,7 @@ transformation:
|
|
|
98
98
|
loading:
|
|
99
99
|
- KB: Only for *kb-mode or BMAD questions
|
|
100
100
|
- Agents: Only when transforming
|
|
101
|
-
-
|
|
101
|
+
- 'Templates/Tasks: Only when executing'
|
|
102
102
|
- Always indicate loading
|
|
103
103
|
workflow-guidance:
|
|
104
104
|
- Discover available workflows in the bundle at runtime
|
package/bmad-core/agents/sm.md
CHANGED
|
@@ -32,7 +32,7 @@ startup:
|
|
|
32
32
|
- CRITICAL: Do NOT create or modify any files during startup
|
|
33
33
|
- Offer to help with story preparation but wait for explicit user confirmation
|
|
34
34
|
- Only execute tasks when user explicitly requests them
|
|
35
|
-
-
|
|
35
|
+
- 'CRITICAL RULE: You are ONLY allowed to create/modify story files - NEVER implement! If asked to implement, tell user they MUST switch to Dev Agent'
|
|
36
36
|
commands:
|
|
37
37
|
- '*help" - Show: numbered list of the following commands to allow selection'
|
|
38
38
|
- '*chat-mode" - Conversational mode with advanced-elicitation for advice'
|
|
@@ -101,7 +101,7 @@ Create an `index.md` file in the sharded folder that:
|
|
|
101
101
|
1. Contains the original level 1 heading and any content before the first level 2 section
|
|
102
102
|
2. Lists all the sharded files with links:
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
```markdown
|
|
105
105
|
# Original Document Title
|
|
106
106
|
|
|
107
107
|
[Original introduction content if any]
|
|
@@ -112,8 +112,7 @@ Create an `index.md` file in the sharded folder that:
|
|
|
112
112
|
- [Section Name 2](./section-name-2.md)
|
|
113
113
|
- [Section Name 3](./section-name-3.md)
|
|
114
114
|
...
|
|
115
|
-
|
|
116
|
-
````text
|
|
115
|
+
```text
|
|
117
116
|
|
|
118
117
|
### 5. Preserve Special Content
|
|
119
118
|
|
|
@@ -123,8 +122,7 @@ Create an `index.md` file in the sharded folder that:
|
|
|
123
122
|
|
|
124
123
|
```language
|
|
125
124
|
content
|
|
126
|
-
|
|
127
|
-
````
|
|
125
|
+
```
|
|
128
126
|
|
|
129
127
|
2. **Mermaid diagrams**: Preserve complete syntax:
|
|
130
128
|
|
|
@@ -341,7 +341,7 @@ Use YAML format for better readability. If no REST API, skip this section.]]
|
|
|
341
341
|
|
|
342
342
|
^^CONDITION: has_rest_api^^
|
|
343
343
|
|
|
344
|
-
|
|
344
|
+
```yaml
|
|
345
345
|
openapi: 3.0.0
|
|
346
346
|
info:
|
|
347
347
|
title:
|
|
@@ -468,7 +468,7 @@ Get user input on deployment preferences and CI/CD tool choices.]]
|
|
|
468
468
|
|
|
469
469
|
```text
|
|
470
470
|
{{promotion_flow_diagram}}
|
|
471
|
-
|
|
471
|
+
```
|
|
472
472
|
|
|
473
473
|
### Rollback Strategy
|
|
474
474
|
|
|
@@ -222,7 +222,7 @@ Present component architecture and apply `tasks#advanced-elicitation` protocol]]
|
|
|
222
222
|
|
|
223
223
|
[[LLM: Create Mermaid diagram showing how new components interact with existing ones]]
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
```mermaid
|
|
226
226
|
{{component_interaction_diagram}}
|
|
227
227
|
```text
|
|
228
228
|
|
|
@@ -258,11 +258,11 @@ Present API design and apply `tasks#advanced-elicitation` protocol]]
|
|
|
258
258
|
|
|
259
259
|
```json
|
|
260
260
|
{{request_schema}}
|
|
261
|
-
|
|
261
|
+
```
|
|
262
262
|
|
|
263
263
|
**Response:**
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
```json
|
|
266
266
|
{{response_schema}}
|
|
267
267
|
```text
|
|
268
268
|
|
|
@@ -313,7 +313,7 @@ Present integration plan and apply `tasks#advanced-elicitation` protocol]]
|
|
|
313
313
|
|
|
314
314
|
```plaintext
|
|
315
315
|
{{existing_structure_relevant_parts}}
|
|
316
|
-
|
|
316
|
+
```
|
|
317
317
|
|
|
318
318
|
### New File Organization
|
|
319
319
|
|
|
@@ -74,7 +74,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
74
74
|
|
|
75
75
|
### Site Map / Screen Inventory
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
```mermaid
|
|
78
78
|
{{sitemap_diagram}}
|
|
79
79
|
```text
|
|
80
80
|
|
|
@@ -93,7 +93,7 @@ graph TD
|
|
|
93
93
|
D --> D1[Profile]
|
|
94
94
|
D --> D2[Settings]
|
|
95
95
|
D --> D3[Billing]
|
|
96
|
-
|
|
96
|
+
```
|
|
97
97
|
|
|
98
98
|
@{/example}
|
|
99
99
|
|
|
@@ -129,7 +129,7 @@ Create subsections for each major flow. After presenting all flows, apply `tasks
|
|
|
129
129
|
|
|
130
130
|
#### Flow Diagram
|
|
131
131
|
|
|
132
|
-
|
|
132
|
+
```mermaid
|
|
133
133
|
{{flow_diagram}}
|
|
134
134
|
```text
|
|
135
135
|
|
|
@@ -165,7 +165,7 @@ graph TD
|
|
|
165
165
|
Validate -->|Yes| Verify[Email Verification]
|
|
166
166
|
Verify --> Complete[Account Created]
|
|
167
167
|
Complete --> Dashboard[Redirect to Dashboard]
|
|
168
|
-
|
|
168
|
+
```
|
|
169
169
|
|
|
170
170
|
**Edge Cases & Error Handling:**
|
|
171
171
|
|
|
@@ -506,7 +506,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
506
506
|
|
|
507
507
|
**Route Organization:**
|
|
508
508
|
|
|
509
|
-
|
|
509
|
+
```text
|
|
510
510
|
{{route_structure}}
|
|
511
511
|
```text
|
|
512
512
|
|
|
@@ -532,7 +532,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
|
|
|
532
532
|
api_client_setup;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
|
|
535
|
+
````
|
|
536
536
|
|
|
537
537
|
**Service Example:**
|
|
538
538
|
|
|
@@ -40,7 +40,7 @@ The actual list depends on which team bundle is loaded. When responding to this
|
|
|
40
40
|
|
|
41
41
|
Example response format:
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
```text
|
|
44
44
|
Available workflows for [Team Name]:
|
|
45
45
|
1. [workflow-id] - [Brief description based on workflow type]
|
|
46
46
|
2. [workflow-id] - [Brief description based on workflow type]
|
|
@@ -135,7 +135,7 @@ workflow_state:
|
|
|
135
135
|
status: in-progress
|
|
136
136
|
created_by: pm
|
|
137
137
|
started: 2024-01-15T11:00:00.000Z
|
|
138
|
-
|
|
138
|
+
```
|
|
139
139
|
|
|
140
140
|
### 4. Workflow Interruption Handling
|
|
141
141
|
|
|
@@ -149,7 +149,7 @@ When user returns after interruption:
|
|
|
149
149
|
|
|
150
150
|
Example:
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
```text
|
|
153
153
|
User: I'm working on a new app. Here's my PRD and architecture doc.
|
|
154
154
|
BMad: I see you have a PRD and architecture document. Based on these artifacts,
|
|
155
155
|
it looks like you're following the greenfield-fullstack workflow and have completed
|
|
@@ -198,7 +198,7 @@ conditional_paths:
|
|
|
198
198
|
- condition: project_type == 'web'
|
|
199
199
|
next_stage: web-architecture
|
|
200
200
|
- default: fullstack-architecture
|
|
201
|
-
|
|
201
|
+
```
|
|
202
202
|
|
|
203
203
|
Handle these by asking clarifying questions when needed.
|
|
204
204
|
|
|
@@ -2440,67 +2440,6 @@ Document sharded successfully:
|
|
|
2440
2440
|
- Ensure the sharding is reversible (could reconstruct the original from shards)
|
|
2441
2441
|
==================== END: tasks#shard-doc ====================
|
|
2442
2442
|
|
|
2443
|
-
==================== START: templates#agent-tmpl ====================
|
|
2444
|
-
# [AGENT_ID]
|
|
2445
|
-
|
|
2446
|
-
CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
|
|
2447
|
-
|
|
2448
|
-
```yml
|
|
2449
|
-
activation-instructions:
|
|
2450
|
-
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
|
|
2451
|
-
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
|
|
2452
|
-
- The customization field ALWAYS takes precedence over any conflicting instructions
|
|
2453
|
-
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
2454
|
-
|
|
2455
|
-
agent:
|
|
2456
|
-
name: [AGENT_NAME]
|
|
2457
|
-
id: [AGENT_ID]
|
|
2458
|
-
title: [AGENT_TITLE]
|
|
2459
|
-
customization: [OPTIONAL_CUSTOMIZATION]
|
|
2460
|
-
|
|
2461
|
-
persona:
|
|
2462
|
-
role: [AGENT_ROLE_DESCRIPTION]
|
|
2463
|
-
style: [COMMUNICATION_STYLE]
|
|
2464
|
-
identity: [AGENT_IDENTITY_DESCRIPTION]
|
|
2465
|
-
focus: [PRIMARY_FOCUS_AREAS]
|
|
2466
|
-
|
|
2467
|
-
core_principles:
|
|
2468
|
-
- [PRINCIPLE_1]
|
|
2469
|
-
- [PRINCIPLE_2]
|
|
2470
|
-
- [PRINCIPLE_3]
|
|
2471
|
-
# Add more principles as needed
|
|
2472
|
-
|
|
2473
|
-
startup:
|
|
2474
|
-
- [STARTUP_INSTRUCTIONS]
|
|
2475
|
-
|
|
2476
|
-
commands:
|
|
2477
|
-
- "*help" - Show: numbered list of the following commands to allow selection
|
|
2478
|
-
- "*chat-mode" - (Default) [DEFAULT_MODE_DESCRIPTION]
|
|
2479
|
-
- "*create-doc {template}" - Create doc (no template = show available templates)
|
|
2480
|
-
- [tasks] specific to the agent that are not covered by a template
|
|
2481
|
-
- "*exit" - Say goodbye as the [AGENT_TITLE], and then abandon inhabiting this persona
|
|
2482
|
-
|
|
2483
|
-
dependencies:
|
|
2484
|
-
tasks:
|
|
2485
|
-
- [TASK_1]
|
|
2486
|
-
- [TASK_2]
|
|
2487
|
-
# Add required tasks
|
|
2488
|
-
templates:
|
|
2489
|
-
- [TEMPLATE_1]
|
|
2490
|
-
- [TEMPLATE_2]
|
|
2491
|
-
# Add required templates
|
|
2492
|
-
checklists:
|
|
2493
|
-
- [CHECKLIST_1]
|
|
2494
|
-
# Add required checklists
|
|
2495
|
-
data:
|
|
2496
|
-
- [DATA_1]
|
|
2497
|
-
# Add required data files
|
|
2498
|
-
utils:
|
|
2499
|
-
- [UTIL_1]
|
|
2500
|
-
# Add required utilities
|
|
2501
|
-
```
|
|
2502
|
-
==================== END: templates#agent-tmpl ====================
|
|
2503
|
-
|
|
2504
2443
|
==================== START: templates#architecture-tmpl ====================
|
|
2505
2444
|
# {{Project Name}} Architecture Document
|
|
2506
2445
|
|
|
@@ -8543,121 +8482,6 @@ With this work flow, there is only 1 story in progress at a time, worked sequent
|
|
|
8543
8482
|
None Listed
|
|
8544
8483
|
==================== END: data#technical-preferences ====================
|
|
8545
8484
|
|
|
8546
|
-
==================== START: utils#agent-switcher.ide ====================
|
|
8547
|
-
# Agent Switcher Instructions
|
|
8548
|
-
|
|
8549
|
-
## Overview
|
|
8550
|
-
|
|
8551
|
-
This document provides instructions for switching between different IDE agent personas in the BMAD-METHOD framework.
|
|
8552
|
-
|
|
8553
|
-
## Behavior
|
|
8554
|
-
|
|
8555
|
-
### Listing Available Agents
|
|
8556
|
-
|
|
8557
|
-
When no agent name is provided:
|
|
8558
|
-
|
|
8559
|
-
1. Read the `bmad-core/ide-agents/` directory
|
|
8560
|
-
2. Look for files matching the pattern `*.ide.md`
|
|
8561
|
-
3. Extract agent names from filenames (the part before `.ide.md`)
|
|
8562
|
-
4. Present a numbered list of available agents
|
|
8563
|
-
|
|
8564
|
-
### Loading an Agent
|
|
8565
|
-
|
|
8566
|
-
When an agent name is provided:
|
|
8567
|
-
|
|
8568
|
-
1. Attempt to load `bmad-core/ide-agents/{agent-name}.ide.md`
|
|
8569
|
-
2. If the file doesn't exist:
|
|
8570
|
-
- List all available agents found in the directory
|
|
8571
|
-
- Prompt for a valid selection
|
|
8572
|
-
3. If the file exists:
|
|
8573
|
-
- Read and internalize the agent's instructions
|
|
8574
|
-
- Note the agent's name and role from the Agent Profile section
|
|
8575
|
-
- Embody that agent's persona, communication style, and capabilities
|
|
8576
|
-
- Use the agent's name when referring to yourself (e.g., "I'm John, the Product Manager")
|
|
8577
|
-
- Follow the agent's specific workflows and constraints
|
|
8578
|
-
|
|
8579
|
-
### Active Agent Behavior
|
|
8580
|
-
|
|
8581
|
-
When successfully operating as an IDE agent:
|
|
8582
|
-
|
|
8583
|
-
- Strictly follow the agent's defined capabilities and limitations
|
|
8584
|
-
- Only execute commands that the agent supports (typically prefixed with `*`)
|
|
8585
|
-
- Maintain the agent identity and context until switched or exited
|
|
8586
|
-
- If asked to perform tasks outside the agent's scope:
|
|
8587
|
-
- Inform the user of the limitation
|
|
8588
|
-
- Suggest the appropriate agent for that task
|
|
8589
|
-
|
|
8590
|
-
### Exiting Agent Mode
|
|
8591
|
-
|
|
8592
|
-
When exiting agent mode:
|
|
8593
|
-
|
|
8594
|
-
- Immediately exit the current agent persona
|
|
8595
|
-
- Return to standard assistant capabilities
|
|
8596
|
-
- Clear any agent-specific context or workflows
|
|
8597
|
-
|
|
8598
|
-
## Implementation Details
|
|
8599
|
-
|
|
8600
|
-
- Each agent maintains its own context and workflow state
|
|
8601
|
-
- Switching agents clears the previous agent's context
|
|
8602
|
-
- Agents are self-contained - no need to read additional files
|
|
8603
|
-
- The system automatically adapts as agents are added or removed
|
|
8604
|
-
|
|
8605
|
-
## Example Interactions
|
|
8606
|
-
|
|
8607
|
-
### Example Listing Agents
|
|
8608
|
-
|
|
8609
|
-
```text
|
|
8610
|
-
User: [requests agent list]
|
|
8611
|
-
Agent: Available IDE agents:
|
|
8612
|
-
1. architect
|
|
8613
|
-
2. dev
|
|
8614
|
-
3. devops
|
|
8615
|
-
4. pm
|
|
8616
|
-
5. po
|
|
8617
|
-
6. sm
|
|
8618
|
-
|
|
8619
|
-
Please select an agent by specifying: <agent-name>
|
|
8620
|
-
```text
|
|
8621
|
-
|
|
8622
|
-
### Example Loading an Agent
|
|
8623
|
-
|
|
8624
|
-
```text
|
|
8625
|
-
User: [requests dev agent]
|
|
8626
|
-
Agent: [Loads dev.ide.md and operates as Dev agent]
|
|
8627
|
-
```
|
|
8628
|
-
|
|
8629
|
-
### Example Invalid Agent Request
|
|
8630
|
-
|
|
8631
|
-
```text
|
|
8632
|
-
User: [requests designer agent]
|
|
8633
|
-
Agent: Could not find IDE agent 'designer'. Available agents:
|
|
8634
|
-
1. architect
|
|
8635
|
-
2. dev
|
|
8636
|
-
3. devops
|
|
8637
|
-
4. pm
|
|
8638
|
-
5. po
|
|
8639
|
-
6. sm
|
|
8640
|
-
|
|
8641
|
-
Please select an agent by specifying: <agent-name>
|
|
8642
|
-
```text
|
|
8643
|
-
|
|
8644
|
-
### Example Task Outside Agent Scope
|
|
8645
|
-
|
|
8646
|
-
```text
|
|
8647
|
-
[While operating as Dev agent]
|
|
8648
|
-
User: Create a PRD
|
|
8649
|
-
Agent: I'm currently operating as the Dev agent, which doesn't have PRD creation capabilities.
|
|
8650
|
-
The PM agent can create PRDs. Would you like me to switch to the PM agent?
|
|
8651
|
-
```
|
|
8652
|
-
|
|
8653
|
-
### Example Exiting Agent Mode
|
|
8654
|
-
|
|
8655
|
-
```text
|
|
8656
|
-
User: [requests to exit agent mode]
|
|
8657
|
-
Agent: Exited IDE agent mode. Returned to standard assistant capabilities.
|
|
8658
|
-
```
|
|
8659
|
-
==================== END: utils#agent-switcher.ide ====================
|
|
8660
|
-
|
|
8661
8485
|
==================== START: utils#template-format ====================
|
|
8662
8486
|
# Template Format Conventions
|
|
8663
8487
|
|
|
@@ -38,11 +38,11 @@ These references map directly to bundle sections:
|
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
==================== START: agent-teams#
|
|
41
|
+
==================== START: agent-teams#phaser-2d-nodejs-game-team ====================
|
|
42
42
|
bundle:
|
|
43
|
-
name: Game
|
|
43
|
+
name: Phaser 2D NodeJS Game Team
|
|
44
44
|
icon: 🎮
|
|
45
|
-
description:
|
|
45
|
+
description: Game Development team specialized in 2D games using Phaser 3 and TypeScript.
|
|
46
46
|
agents:
|
|
47
47
|
- bmad-orchestrator
|
|
48
48
|
- game-designer
|
|
@@ -51,7 +51,7 @@ agents:
|
|
|
51
51
|
workflows:
|
|
52
52
|
- game-dev-greenfield
|
|
53
53
|
- game-prototype
|
|
54
|
-
==================== END: agent-teams#
|
|
54
|
+
==================== END: agent-teams#phaser-2d-nodejs-game-team ====================
|
|
55
55
|
|
|
56
56
|
==================== START: agents#bmad-orchestrator ====================
|
|
57
57
|
# bmad
|