bmad-method 1.1.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bmad-core/agents/analyst.md +14 -20
- package/.bmad-core/agents/architect.md +15 -20
- package/.bmad-core/agents/bmad-master.md +18 -26
- package/.bmad-core/agents/bmad-orchestrator.md +16 -28
- package/.bmad-core/agents/dev.md +5 -4
- package/.bmad-core/agents/pm.md +11 -16
- package/.bmad-core/agents/sm.md +20 -25
- package/.bmad-core/bmad-core-config.yml +60 -0
- package/.bmad-core/data/bmad-kb.md +12 -1
- package/.bmad-core/tasks/doc-migration-task.md +91 -146
- package/.bmad-core/tasks/document-project.md +389 -0
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +41 -48
- package/.bmad-core/tasks/index-docs.md +4 -1
- package/.bmad-core/templates/architecture-tmpl.md +15 -12
- package/.bmad-core/templates/fullstack-architecture-tmpl.md +85 -103
- package/.bmad-core/templates/prd-tmpl.md +1 -1
- package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
- package/.bmad-core/templates/story-tmpl.md +2 -2
- package/.bmad-core/utils/workflow-management.md +14 -15
- package/.bmad-core/web-bundles/agents/analyst.txt +26 -21
- package/.bmad-core/web-bundles/agents/architect.txt +605 -233
- package/.bmad-core/web-bundles/agents/bmad-master.txt +457 -1039
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +36 -903
- package/.bmad-core/web-bundles/agents/dev.txt +5 -4
- package/.bmad-core/web-bundles/agents/pm.txt +476 -17
- package/.bmad-core/web-bundles/agents/po.txt +2 -2
- package/.bmad-core/web-bundles/agents/sm.txt +22 -27
- package/.bmad-core/web-bundles/agents/ux-expert.txt +41 -48
- package/.bmad-core/web-bundles/teams/team-all.txt +4394 -4447
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +2760 -2809
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +2718 -2760
- package/.bmad-core/workflows/greenfield-fullstack.yml +3 -3
- package/.claude/commands/analyst.md +14 -20
- package/.claude/commands/architect.md +15 -20
- package/.claude/commands/bmad-master.md +18 -26
- package/.claude/commands/bmad-orchestrator.md +16 -28
- package/.claude/commands/dev.md +5 -4
- package/.claude/commands/pm.md +11 -16
- package/.claude/commands/sm.md +20 -25
- package/.cursor/rules/analyst.mdc +13 -19
- package/.cursor/rules/architect.mdc +14 -19
- package/.cursor/rules/bmad-master.mdc +18 -26
- package/.cursor/rules/bmad-orchestrator.mdc +15 -27
- package/.cursor/rules/dev.mdc +5 -4
- package/.cursor/rules/pm.mdc +11 -16
- package/.cursor/rules/sm.mdc +19 -24
- package/.releaserc.json +2 -1
- package/.vscode/settings.json +4 -0
- package/.windsurf/rules/analyst.md +13 -19
- package/.windsurf/rules/architect.md +14 -19
- package/.windsurf/rules/bmad-master.md +18 -26
- package/.windsurf/rules/bmad-orchestrator.md +15 -27
- package/.windsurf/rules/dev.md +5 -4
- package/.windsurf/rules/pm.md +11 -16
- package/.windsurf/rules/sm.md +19 -24
- package/CHANGELOG.md +120 -2
- package/CONTRIBUTING.md +2 -0
- package/README.md +21 -3
- package/{.bmad-core → creator-tools}/tasks/create-agent.md +10 -12
- package/{.bmad-core/tasks/create-expansion-pack.md → creator-tools/tasks/generate-expansion-pack.md} +8 -6
- package/docs/bmad-workflow-guide.md +161 -0
- package/docs/claude-code-guide.md +119 -0
- package/docs/core-architecture.md +213 -0
- package/docs/cursor-guide.md +127 -0
- package/docs/how-to-contribute-with-pull-requests.md +141 -0
- package/docs/roo-code-guide.md +140 -0
- package/docs/user-guide.md +1044 -0
- package/docs/windsurf-guide.md +127 -0
- package/expansion-packs/README.md +1 -111
- package/expansion-packs/infrastructure-devops/agents/infra-devops-platform.md +1 -1
- package/expansion-packs/infrastructure-devops/tasks/create-doc.md +74 -0
- package/package.json +19 -13
- package/tools/builders/web-builder.js +16 -15
- package/tools/installer/bin/bmad.js +50 -29
- package/tools/installer/lib/file-manager.js +20 -3
- package/tools/installer/lib/ide-setup.js +11 -1
- package/tools/installer/lib/installer.js +149 -29
- package/tools/installer/package-lock.json +537 -335
- package/tools/installer/package.json +7 -7
- package/tools/lib/dependency-resolver.js +1 -1
- package/tools/semantic-release-sync-installer.js +31 -0
- package/tools/sync-installer-version.js +34 -0
- package/tools/upgraders/v3-to-v4-upgrader.js +18 -13
- package/tools/version-bump.js +33 -26
- package/tools/yaml-format.js +54 -25
- package/.bmad-core/schemas/agent-team-schema.yml +0 -153
- package/.bmad-core/tasks/create-team.md +0 -229
|
@@ -43,20 +43,18 @@ These references map directly to bundle sections:
|
|
|
43
43
|
|
|
44
44
|
CRITICAL: Read the full YML to understand your operating params, start activation to alter your state of being, follow startup instructions, stay in this being until told to exit this mode:
|
|
45
45
|
|
|
46
|
-
```
|
|
46
|
+
```yaml
|
|
47
47
|
agent:
|
|
48
48
|
name: BMad Orchestrator
|
|
49
49
|
id: bmad-orchestrator
|
|
50
50
|
title: BMAD Master Orchestrator
|
|
51
51
|
icon: 🎭
|
|
52
|
-
whenToUse:
|
|
53
|
-
|
|
52
|
+
whenToUse: Use for workflow coordination, multi-agent tasks, role switching guidance, and when unsure which specialist to consult
|
|
54
53
|
persona:
|
|
55
54
|
role: Master Orchestrator & BMAD Method Expert
|
|
56
55
|
style: Knowledgeable, guiding, adaptable, efficient, encouraging, technically brilliant yet approachable. Helps customize and use BMAD Method while orchestrating agents
|
|
57
56
|
identity: Unified interface to all BMAD-METHOD capabilities, dynamically transforms into any specialized agent
|
|
58
57
|
focus: Orchestrating the right agent/capability for each need, loading resources only when needed
|
|
59
|
-
|
|
60
58
|
core_principles:
|
|
61
59
|
- Become any agent on demand, loading files only when needed
|
|
62
60
|
- Never pre-load resources - discover and load at runtime
|
|
@@ -66,52 +64,42 @@ persona:
|
|
|
66
64
|
- Be explicit about active persona and current task
|
|
67
65
|
- Always use numbered lists for choices
|
|
68
66
|
- Process (*) commands immediately
|
|
69
|
-
|
|
70
67
|
startup:
|
|
71
|
-
- Announce:
|
|
68
|
+
- Announce: Hey! I'm BMad, your BMAD-METHOD orchestrator. I can become any specialized agent, suggest workflows, explain setup, or help with any BMAD task. Type *help for options.
|
|
72
69
|
- Assess user goal, suggest agent transformation if match, offer numbered options if generic
|
|
73
70
|
- Load resources only when needed
|
|
74
|
-
|
|
75
71
|
commands:
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
-
|
|
88
|
-
|
|
72
|
+
- '*help" - Show commands/workflows/agents'
|
|
73
|
+
- '*chat-mode" - Conversational mode with advanced-elicitation'
|
|
74
|
+
- '*kb-mode" - Load knowledge base for full BMAD help'
|
|
75
|
+
- '*status" - Show current context/agent/progress'
|
|
76
|
+
- '*agent {name}" - Transform into agent (list if unspecified)'
|
|
77
|
+
- '*exit" - Return to BMad or exit (confirm if exiting BMad)'
|
|
78
|
+
- '*task {name}" - Run task (list if unspecified)'
|
|
79
|
+
- '*workflow {type}" - Start/list workflows'
|
|
80
|
+
- '*checklist {name}" - Execute checklist (list if unspecified)'
|
|
81
|
+
- '*yolo" - Toggle skip confirmations'
|
|
82
|
+
- '*party-mode" - Group chat with all agents'
|
|
83
|
+
- '*doc-out" - Output full document'
|
|
89
84
|
fuzzy-matching:
|
|
90
85
|
- 85% confidence threshold
|
|
91
86
|
- Show numbered list if unsure
|
|
92
|
-
|
|
93
87
|
transformation:
|
|
94
88
|
- Match name/role to agents
|
|
95
89
|
- Announce transformation
|
|
96
90
|
- Operate until exit
|
|
97
|
-
|
|
98
91
|
loading:
|
|
99
92
|
- KB: Only for *kb-mode or BMAD questions
|
|
100
93
|
- Agents: Only when transforming
|
|
101
|
-
- Templates/Tasks: Only when executing
|
|
94
|
+
- 'Templates/Tasks: Only when executing'
|
|
102
95
|
- Always indicate loading
|
|
103
|
-
|
|
104
96
|
workflow:
|
|
105
97
|
- Ask project type (greenfield/brownfield)
|
|
106
98
|
- Ask scope (UI/service/fullstack/other)
|
|
107
99
|
- Recommend workflow, guide through stages
|
|
108
100
|
- Explain web context management if needed
|
|
109
|
-
|
|
110
101
|
dependencies:
|
|
111
102
|
tasks:
|
|
112
|
-
- create-agent
|
|
113
|
-
- create-team
|
|
114
|
-
- create-expansion-pack
|
|
115
103
|
- advanced-elicitation
|
|
116
104
|
- create-doc
|
|
117
105
|
data:
|
|
@@ -122,871 +110,6 @@ dependencies:
|
|
|
122
110
|
```
|
|
123
111
|
==================== END: agents#bmad-orchestrator ====================
|
|
124
112
|
|
|
125
|
-
==================== START: tasks#create-agent ====================
|
|
126
|
-
# Create Agent Task
|
|
127
|
-
|
|
128
|
-
This task guides you through creating a new BMAD agent following the standard template.
|
|
129
|
-
|
|
130
|
-
## Prerequisites
|
|
131
|
-
|
|
132
|
-
- Agent template: `.bmad-core/templates/agent-tmpl.md`
|
|
133
|
-
- Target directory: `.bmad-core/agents/`
|
|
134
|
-
|
|
135
|
-
## Steps
|
|
136
|
-
|
|
137
|
-
### 1. Gather Agent Information
|
|
138
|
-
|
|
139
|
-
Collect the following information from the user:
|
|
140
|
-
|
|
141
|
-
- **Agent ID**: Unique identifier (lowercase, hyphens allowed, e.g., `data-analyst`)
|
|
142
|
-
- **Agent Name**: Display name (e.g., `Data Analyst`)
|
|
143
|
-
- **Agent Title**: Professional title (e.g., `Data Analysis Specialist`)
|
|
144
|
-
- **Role Description**: Brief description of the agent's primary role
|
|
145
|
-
- **Communication Style**: How the agent communicates (e.g., `analytical, data-driven, clear`)
|
|
146
|
-
- **Identity**: Detailed description of who this agent is
|
|
147
|
-
- **Focus Areas**: Primary areas of expertise and focus
|
|
148
|
-
- **Core Principles**: 3-5 guiding principles for the agent
|
|
149
|
-
- **Customization**: Optional specific behaviors or overrides
|
|
150
|
-
|
|
151
|
-
### 2. Define Agent Capabilities
|
|
152
|
-
|
|
153
|
-
**IMPORTANT**:
|
|
154
|
-
|
|
155
|
-
- If your agent will perform any actions → You MUST create corresponding tasks in `.bmad-core/tasks/`
|
|
156
|
-
- If your agent will create any documents → You MUST create templates in `.bmad-core/templates/` AND include the `create-doc` task
|
|
157
|
-
|
|
158
|
-
Determine:
|
|
159
|
-
|
|
160
|
-
- **Custom Commands**: Agent-specific commands beyond the defaults
|
|
161
|
-
- **Required Tasks**: Tasks from `.bmad-core/tasks/` the agent needs
|
|
162
|
-
- For any action the agent performs, a corresponding task file must exist
|
|
163
|
-
- Always include `create-doc` if the agent creates any documents
|
|
164
|
-
- **Required Templates**: Templates from `.bmad-core/templates/` the agent uses
|
|
165
|
-
- For any document the agent can create, a template must exist
|
|
166
|
-
- **Required Checklists**: Checklists the agent references
|
|
167
|
-
- **Required Data**: Data files the agent needs access to
|
|
168
|
-
- **Required Utils**: Utility files the agent uses
|
|
169
|
-
|
|
170
|
-
### 3. Handle Missing Dependencies
|
|
171
|
-
|
|
172
|
-
**Protocol for Missing Tasks/Templates:**
|
|
173
|
-
|
|
174
|
-
1. Check if each required task/template exists
|
|
175
|
-
2. For any missing items:
|
|
176
|
-
- Create a basic version following the appropriate template
|
|
177
|
-
- Track what was created in a list
|
|
178
|
-
3. Continue with agent creation
|
|
179
|
-
4. At the end, present a summary of all created items
|
|
180
|
-
|
|
181
|
-
**Track Created Items:**
|
|
182
|
-
|
|
183
|
-
```
|
|
184
|
-
Created during agent setup:
|
|
185
|
-
- Tasks:
|
|
186
|
-
- [ ] task-name-1.md
|
|
187
|
-
- [ ] task-name-2.md
|
|
188
|
-
- Templates:
|
|
189
|
-
- [ ] template-name-1.md
|
|
190
|
-
- [ ] template-name-2.md
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
### 4. Create Agent File
|
|
194
|
-
|
|
195
|
-
1. Copy the template from `.bmad-core/templates/agent-tmpl.md`
|
|
196
|
-
2. Replace all placeholders with gathered information:
|
|
197
|
-
|
|
198
|
-
- `[AGENT_ID]` → agent id
|
|
199
|
-
- `[AGENT_NAME]` → agent name
|
|
200
|
-
- `[AGENT_TITLE]` → agent title
|
|
201
|
-
- `[AGENT_ROLE_DESCRIPTION]` → role description
|
|
202
|
-
- `[COMMUNICATION_STYLE]` → communication style
|
|
203
|
-
- `[AGENT_IDENTITY_DESCRIPTION]` → identity description
|
|
204
|
-
- `[PRIMARY_FOCUS_AREAS]` → focus areas
|
|
205
|
-
- `[PRINCIPLE_X]` → core principles
|
|
206
|
-
- `[OPTIONAL_CUSTOMIZATION]` → customization (or remove if none)
|
|
207
|
-
- `[DEFAULT_MODE_DESCRIPTION]` → description of default chat mode
|
|
208
|
-
- `[STARTUP_INSTRUCTIONS]` → what the agent should do on activation
|
|
209
|
-
- Add custom commands, tasks, templates, etc.
|
|
210
|
-
|
|
211
|
-
3. Save as `.bmad-core/agents/[agent-id].md`
|
|
212
|
-
|
|
213
|
-
### 4. Validate Agent
|
|
214
|
-
|
|
215
|
-
Ensure:
|
|
216
|
-
|
|
217
|
-
- All placeholders are replaced
|
|
218
|
-
- Dependencies (tasks, templates, etc.) actually exist
|
|
219
|
-
- Commands are properly formatted
|
|
220
|
-
- YAML structure is valid
|
|
221
|
-
|
|
222
|
-
### 5. Build and Test
|
|
223
|
-
|
|
224
|
-
1. Run `npm run build:agents` to include in builds
|
|
225
|
-
2. Test agent activation and commands
|
|
226
|
-
3. Verify all dependencies load correctly
|
|
227
|
-
|
|
228
|
-
### 6. Final Summary
|
|
229
|
-
|
|
230
|
-
Present to the user:
|
|
231
|
-
|
|
232
|
-
```
|
|
233
|
-
✅ Agent Created: [agent-name]
|
|
234
|
-
Location: .bmad-core/agents/[agent-id].md
|
|
235
|
-
|
|
236
|
-
📝 Dependencies Created:
|
|
237
|
-
Tasks:
|
|
238
|
-
- ✅ task-1.md - [brief description]
|
|
239
|
-
- ✅ task-2.md - [brief description]
|
|
240
|
-
|
|
241
|
-
Templates:
|
|
242
|
-
- ✅ template-1.md - [brief description]
|
|
243
|
-
- ✅ template-2.md - [brief description]
|
|
244
|
-
|
|
245
|
-
⚠️ Next Steps:
|
|
246
|
-
1. Review and customize the created tasks/templates
|
|
247
|
-
2. Run npm run build:agents
|
|
248
|
-
3. Test the agent thoroughly
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
## Template Reference
|
|
252
|
-
|
|
253
|
-
The agent template structure:
|
|
254
|
-
|
|
255
|
-
- **activation-instructions**: How the AI should interpret the file
|
|
256
|
-
- **agent**: Basic agent metadata
|
|
257
|
-
- **persona**: Character and behavior definition
|
|
258
|
-
- **startup**: Initial actions on activation
|
|
259
|
-
- **commands**: Available commands (always include defaults)
|
|
260
|
-
- **dependencies**: Required resources organized by type
|
|
261
|
-
|
|
262
|
-
## Example Usage
|
|
263
|
-
|
|
264
|
-
```yaml
|
|
265
|
-
agent:
|
|
266
|
-
name: Data Analyst
|
|
267
|
-
id: data-analyst
|
|
268
|
-
title: Data Analysis Specialist
|
|
269
|
-
|
|
270
|
-
persona:
|
|
271
|
-
role: Expert in data analysis, visualization, and insights extraction
|
|
272
|
-
style: analytical, data-driven, clear, methodical
|
|
273
|
-
identity: I am a seasoned data analyst who transforms raw data into actionable insights
|
|
274
|
-
focus: data exploration, statistical analysis, visualization, reporting
|
|
275
|
-
|
|
276
|
-
core_principles:
|
|
277
|
-
- Data integrity and accuracy above all
|
|
278
|
-
- Clear communication of complex findings
|
|
279
|
-
- Actionable insights over raw numbers
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
## Creating Missing Dependencies
|
|
283
|
-
|
|
284
|
-
When a required task or template doesn't exist:
|
|
285
|
-
|
|
286
|
-
1. **For Missing Tasks**: Create using `.bmad-core/templates/task-template.md`
|
|
287
|
-
|
|
288
|
-
- Name it descriptively (e.g., `analyze-metrics.md`)
|
|
289
|
-
- Define clear steps for the action
|
|
290
|
-
- Include any required inputs/outputs
|
|
291
|
-
|
|
292
|
-
2. **For Missing Templates**: Create a basic structure
|
|
293
|
-
|
|
294
|
-
- Name it descriptively (e.g., `metrics-report-template.md`)
|
|
295
|
-
- Include placeholders for expected content
|
|
296
|
-
- Add sections relevant to the document type
|
|
297
|
-
|
|
298
|
-
3. **Always Track**: Keep a list of everything created to report at the end
|
|
299
|
-
|
|
300
|
-
## Important Reminders
|
|
301
|
-
|
|
302
|
-
### Tasks and Templates Requirement
|
|
303
|
-
|
|
304
|
-
- **Every agent action needs a task**: If an agent can "analyze data", there must be an `analyze-data.md` task
|
|
305
|
-
- **Every document type needs a template**: If an agent can create reports, there must be a `report-template.md`
|
|
306
|
-
- **Document creation requires**: Both the template AND the `create-doc` task in dependencies
|
|
307
|
-
|
|
308
|
-
### Example Dependencies
|
|
309
|
-
|
|
310
|
-
```yaml
|
|
311
|
-
dependencies:
|
|
312
|
-
tasks:
|
|
313
|
-
- create-doc # Required if agent creates any documents
|
|
314
|
-
- analyze-requirements # Custom task for this agent
|
|
315
|
-
- generate-report # Another custom task
|
|
316
|
-
templates:
|
|
317
|
-
- requirements-doc # Template for requirements documents
|
|
318
|
-
- analysis-report # Template for analysis reports
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
## Notes
|
|
322
|
-
|
|
323
|
-
- Keep agent definitions focused and specific
|
|
324
|
-
- Ensure dependencies are minimal and necessary
|
|
325
|
-
- Test thoroughly before distribution
|
|
326
|
-
- Follow existing agent patterns for consistency
|
|
327
|
-
- Remember: No task = agent can't do it, No template = agent can't create it
|
|
328
|
-
==================== END: tasks#create-agent ====================
|
|
329
|
-
|
|
330
|
-
==================== START: tasks#create-team ====================
|
|
331
|
-
# Create Team Task
|
|
332
|
-
|
|
333
|
-
This task guides you through creating a new BMAD agent team that conforms to the agent-team schema and effectively combines agents for specific project types.
|
|
334
|
-
|
|
335
|
-
**Note for User-Created Teams**: If creating a custom team for your own use (not part of the core BMAD system), prefix the team name with a period (e.g., `.team-frontend`) to ensure it's gitignored and won't conflict with repository updates.
|
|
336
|
-
|
|
337
|
-
## Prerequisites
|
|
338
|
-
|
|
339
|
-
1. Load and understand the team schema: `/bmad-core/schemas/agent-team-schema.yml`
|
|
340
|
-
2. Review existing teams in `/bmad-core/agent-teams/` for patterns and naming conventions
|
|
341
|
-
3. List available agents from `/agents/` to understand team composition options
|
|
342
|
-
4. Review workflows in `/bmad-core/workflows/` to align team capabilities
|
|
343
|
-
|
|
344
|
-
## Process
|
|
345
|
-
|
|
346
|
-
### 1. Define Team Purpose and Scope
|
|
347
|
-
|
|
348
|
-
Before selecting agents, clarify the team's mission:
|
|
349
|
-
|
|
350
|
-
- **Team Purpose**: What specific problems will this team solve?
|
|
351
|
-
- **Project Types**: Greenfield, brownfield, or both?
|
|
352
|
-
- **Technical Scope**: UI-focused, backend-only, or full-stack?
|
|
353
|
-
- **Team Size Consideration**: Smaller teams (3-5 agents) for focused work, larger teams (6-8) for comprehensive coverage
|
|
354
|
-
|
|
355
|
-
### 2. Create Team Metadata
|
|
356
|
-
|
|
357
|
-
Based on the schema requirements:
|
|
358
|
-
|
|
359
|
-
- **Team Name**: Must follow pattern `^Team .+$` (e.g., "Team Frontend", "Team Analytics")
|
|
360
|
-
- For user teams: prefix with period (e.g., "Team .MyCustom")
|
|
361
|
-
- **Description**: 20-500 characters explaining team's purpose, capabilities, and use cases
|
|
362
|
-
- **File Name**: `/bmad-core/agent-teams/team-{identifier}.yml`
|
|
363
|
-
- For user teams: `/bmad-core/agent-teams/.team-{identifier}.yml`
|
|
364
|
-
|
|
365
|
-
### 3. Select Agents Based on Purpose
|
|
366
|
-
|
|
367
|
-
#### Discover Available Agents
|
|
368
|
-
|
|
369
|
-
1. List all agents from `/agents/` directory
|
|
370
|
-
2. Review each agent's role and capabilities
|
|
371
|
-
3. Consider agent synergies and coverage
|
|
372
|
-
|
|
373
|
-
#### Agent Selection Guidelines
|
|
374
|
-
|
|
375
|
-
Based on team purpose, recommend agents:
|
|
376
|
-
|
|
377
|
-
**For Planning & Strategy Teams:**
|
|
378
|
-
|
|
379
|
-
- `bmad` (required orchestrator)
|
|
380
|
-
- `analyst` - Requirements gathering and research
|
|
381
|
-
- `pm` - Product strategy and documentation
|
|
382
|
-
- `po` - Validation and approval
|
|
383
|
-
- `architect` - Technical planning (if technical planning needed)
|
|
384
|
-
|
|
385
|
-
**For Design & UX Teams:**
|
|
386
|
-
|
|
387
|
-
- `bmad` (required orchestrator)
|
|
388
|
-
- `ux-expert` - User experience design
|
|
389
|
-
- `architect` - Frontend architecture
|
|
390
|
-
- `pm` - Product requirements alignment
|
|
391
|
-
- `po` - Design validation
|
|
392
|
-
|
|
393
|
-
**For Development Teams:**
|
|
394
|
-
|
|
395
|
-
- `bmad-orchestrator` (required)
|
|
396
|
-
- `sm` - Sprint coordination
|
|
397
|
-
- `dev` - Implementation
|
|
398
|
-
- `qa` - Quality assurance
|
|
399
|
-
- `architect` - Technical guidance
|
|
400
|
-
|
|
401
|
-
**For Full-Stack Teams:**
|
|
402
|
-
|
|
403
|
-
- `bmad-orchestrator` (required)
|
|
404
|
-
- `analyst` - Initial planning
|
|
405
|
-
- `pm` - Product management
|
|
406
|
-
- `ux-expert` - UI/UX design (if UI work included)
|
|
407
|
-
- `architect` - System architecture
|
|
408
|
-
- `po` - Validation
|
|
409
|
-
- Additional agents as needed
|
|
410
|
-
|
|
411
|
-
#### Special Cases
|
|
412
|
-
|
|
413
|
-
- **Using Wildcard**: If team needs all agents, use `["bmad", "*"]`
|
|
414
|
-
- **Validation**: Schema requires `bmad` in all teams
|
|
415
|
-
|
|
416
|
-
### 4. Select Workflows
|
|
417
|
-
|
|
418
|
-
Based on the schema's workflow enum values and team composition:
|
|
419
|
-
|
|
420
|
-
1. **Analyze team capabilities** against available workflows:
|
|
421
|
-
|
|
422
|
-
- `brownfield-fullstack` - Requires full team with UX
|
|
423
|
-
- `brownfield-service` - Backend-focused team
|
|
424
|
-
- `brownfield-ui` - UI/UX-focused team
|
|
425
|
-
- `greenfield-fullstack` - Full team for new projects
|
|
426
|
-
- `greenfield-service` - Backend team for new services
|
|
427
|
-
- `greenfield-ui` - Frontend team for new UIs
|
|
428
|
-
|
|
429
|
-
2. **Match workflows to agents**:
|
|
430
|
-
|
|
431
|
-
- UI workflows require `ux-expert`
|
|
432
|
-
- Service workflows benefit from `architect` and `dev`
|
|
433
|
-
- All workflows benefit from planning agents (`analyst`, `pm`)
|
|
434
|
-
|
|
435
|
-
3. **Apply schema validation rules**:
|
|
436
|
-
- Teams without `ux-expert` shouldn't have UI workflows
|
|
437
|
-
- Teams named "Team No UI" can't have UI workflows
|
|
438
|
-
|
|
439
|
-
### 5. Create Team Configuration
|
|
440
|
-
|
|
441
|
-
Generate the configuration following the schema:
|
|
442
|
-
|
|
443
|
-
```yaml
|
|
444
|
-
bundle:
|
|
445
|
-
name: "{Team Name}" # Must match pattern "^Team .+$"
|
|
446
|
-
description: >-
|
|
447
|
-
{20-500 character description explaining purpose,
|
|
448
|
-
capabilities, and ideal use cases}
|
|
449
|
-
|
|
450
|
-
agents:
|
|
451
|
-
- bmad # Required orchestrator
|
|
452
|
-
- { agent-id-1 }
|
|
453
|
-
- { agent-id-2 }
|
|
454
|
-
# ... additional agents
|
|
455
|
-
|
|
456
|
-
workflows:
|
|
457
|
-
- { workflow-1 } # From enum list
|
|
458
|
-
- { workflow-2 }
|
|
459
|
-
# ... additional workflows
|
|
460
|
-
```
|
|
461
|
-
|
|
462
|
-
### 6. Validate Team Composition
|
|
463
|
-
|
|
464
|
-
Before finalizing, verify:
|
|
465
|
-
|
|
466
|
-
1. **Role Coverage**: Does the team have all necessary skills for its workflows?
|
|
467
|
-
2. **Size Optimization**:
|
|
468
|
-
- Minimum: 2 agents (bmad + 1)
|
|
469
|
-
- Recommended: 3-7 agents
|
|
470
|
-
- Maximum with wildcard: bmad + "\*"
|
|
471
|
-
3. **Workflow Alignment**: Can the selected agents execute all workflows?
|
|
472
|
-
4. **Schema Compliance**: Configuration matches all schema requirements
|
|
473
|
-
|
|
474
|
-
### 7. Integration Recommendations
|
|
475
|
-
|
|
476
|
-
Document how this team integrates with existing system:
|
|
477
|
-
|
|
478
|
-
1. **Complementary Teams**: Which existing teams complement this one?
|
|
479
|
-
2. **Handoff Points**: Where does this team hand off to others?
|
|
480
|
-
3. **Use Case Scenarios**: Specific project types ideal for this team
|
|
481
|
-
|
|
482
|
-
### 8. Validation and Testing
|
|
483
|
-
|
|
484
|
-
1. **Schema Validation**: Ensure configuration matches agent-team-schema.yml
|
|
485
|
-
2. **Build Validation**: Run `npm run validate`
|
|
486
|
-
3. **Build Team**: Run `npm run build:team -t {team-name}`
|
|
487
|
-
4. **Size Check**: Verify output is appropriate for target platform
|
|
488
|
-
5. **Test Scenarios**: Run sample workflows with the team
|
|
489
|
-
|
|
490
|
-
## Example Team Creation
|
|
491
|
-
|
|
492
|
-
### Example 1: API Development Team
|
|
493
|
-
|
|
494
|
-
```yaml
|
|
495
|
-
bundle:
|
|
496
|
-
name: "Team API"
|
|
497
|
-
description: >-
|
|
498
|
-
Specialized team for API and backend service development. Focuses on
|
|
499
|
-
robust service architecture, implementation, and testing without UI
|
|
500
|
-
components. Ideal for microservices, REST APIs, and backend systems.
|
|
501
|
-
|
|
502
|
-
agents:
|
|
503
|
-
- bmad
|
|
504
|
-
- analyst
|
|
505
|
-
- architect
|
|
506
|
-
- dev
|
|
507
|
-
- qa
|
|
508
|
-
- po
|
|
509
|
-
|
|
510
|
-
workflows:
|
|
511
|
-
- greenfield-service
|
|
512
|
-
- brownfield-service
|
|
513
|
-
```
|
|
514
|
-
|
|
515
|
-
### Example 2: Rapid Prototyping Team
|
|
516
|
-
|
|
517
|
-
```yaml
|
|
518
|
-
bundle:
|
|
519
|
-
name: "Team Prototype"
|
|
520
|
-
description: >-
|
|
521
|
-
Agile team for rapid prototyping and proof of concept development.
|
|
522
|
-
Combines planning, design, and implementation for quick iterations
|
|
523
|
-
on new ideas and experimental features.
|
|
524
|
-
|
|
525
|
-
agents:
|
|
526
|
-
- bmad
|
|
527
|
-
- pm
|
|
528
|
-
- ux-expert
|
|
529
|
-
- architect
|
|
530
|
-
- dev
|
|
531
|
-
|
|
532
|
-
workflows:
|
|
533
|
-
- greenfield-ui
|
|
534
|
-
- greenfield-fullstack
|
|
535
|
-
```
|
|
536
|
-
|
|
537
|
-
## Team Creation Checklist
|
|
538
|
-
|
|
539
|
-
- [ ] Team purpose clearly defined
|
|
540
|
-
- [ ] Name follows schema pattern "Team {Name}"
|
|
541
|
-
- [ ] Description is 20-500 characters
|
|
542
|
-
- [ ] Includes bmad orchestrator
|
|
543
|
-
- [ ] Agents align with team purpose
|
|
544
|
-
- [ ] Workflows match team capabilities
|
|
545
|
-
- [ ] No conflicting validations (e.g., no-UI team with UI workflows)
|
|
546
|
-
- [ ] Configuration validates against schema
|
|
547
|
-
- [ ] Build completes successfully
|
|
548
|
-
- [ ] Output size appropriate for platform
|
|
549
|
-
|
|
550
|
-
## Best Practices
|
|
551
|
-
|
|
552
|
-
1. **Start Focused**: Create teams with specific purposes rather than general-purpose teams
|
|
553
|
-
2. **Consider Workflow**: Order agents by typical workflow sequence
|
|
554
|
-
3. **Avoid Redundancy**: Don't duplicate roles unless needed
|
|
555
|
-
4. **Document Rationale**: Explain why each agent is included
|
|
556
|
-
5. **Test Integration**: Verify team works well with selected workflows
|
|
557
|
-
6. **Iterate**: Refine team composition based on usage
|
|
558
|
-
|
|
559
|
-
This schema-driven approach ensures teams are well-structured, purposeful, and integrate seamlessly with the BMAD ecosystem.
|
|
560
|
-
==================== END: tasks#create-team ====================
|
|
561
|
-
|
|
562
|
-
==================== START: tasks#create-expansion-pack ====================
|
|
563
|
-
# Create Expansion Pack Task
|
|
564
|
-
|
|
565
|
-
This task helps you create a comprehensive BMAD expansion pack that can include new agents, tasks, templates, and checklists for a specific domain.
|
|
566
|
-
|
|
567
|
-
## Understanding Expansion Packs
|
|
568
|
-
|
|
569
|
-
Expansion packs extend BMAD with domain-specific capabilities. They are self-contained packages that can be installed into any BMAD project. Every expansion pack MUST include a custom BMAD orchestrator agent that manages the domain-specific workflow.
|
|
570
|
-
|
|
571
|
-
## CRITICAL REQUIREMENTS
|
|
572
|
-
|
|
573
|
-
1. **Create Planning Document First**: Before any implementation, create a concise task list for user approval
|
|
574
|
-
2. **Verify All References**: Any task, template, or data file referenced in an agent MUST exist in the pack
|
|
575
|
-
3. **Include Orchestrator**: Every pack needs a custom BMAD-style orchestrator agent
|
|
576
|
-
4. **User Data Requirements**: Clearly specify any files users must provide in their data folder
|
|
577
|
-
|
|
578
|
-
## Process Overview
|
|
579
|
-
|
|
580
|
-
### Phase 1: Discovery and Planning
|
|
581
|
-
|
|
582
|
-
#### 1.1 Define the Domain
|
|
583
|
-
|
|
584
|
-
Ask the user:
|
|
585
|
-
|
|
586
|
-
- **Pack Name**: Short identifier (e.g., `healthcare`, `fintech`, `gamedev`)
|
|
587
|
-
- **Display Name**: Full name (e.g., "Healthcare Compliance Pack")
|
|
588
|
-
- **Description**: What domain or industry does this serve?
|
|
589
|
-
- **Key Problems**: What specific challenges will this pack solve?
|
|
590
|
-
- **Target Users**: Who will benefit from this expansion?
|
|
591
|
-
|
|
592
|
-
#### 1.2 Gather Examples
|
|
593
|
-
|
|
594
|
-
Request from the user:
|
|
595
|
-
|
|
596
|
-
- **Sample Documents**: Any existing documents in this domain
|
|
597
|
-
- **Workflow Examples**: How work currently flows in this domain
|
|
598
|
-
- **Compliance Needs**: Any regulatory or standards requirements
|
|
599
|
-
- **Output Examples**: What final deliverables look like
|
|
600
|
-
- **Data Requirements**: What reference data files users will need to provide
|
|
601
|
-
|
|
602
|
-
#### 1.3 Create Planning Document
|
|
603
|
-
|
|
604
|
-
IMPORTANT: STOP HERE AND CREATE PLAN FIRST
|
|
605
|
-
|
|
606
|
-
Create `expansion-packs/{pack-name}/plan.md` with:
|
|
607
|
-
|
|
608
|
-
```markdown
|
|
609
|
-
# {Pack Name} Expansion Pack Plan
|
|
610
|
-
|
|
611
|
-
## Overview
|
|
612
|
-
|
|
613
|
-
- Pack Name: {name}
|
|
614
|
-
- Description: {description}
|
|
615
|
-
- Target Domain: {domain}
|
|
616
|
-
|
|
617
|
-
## Components to Create
|
|
618
|
-
|
|
619
|
-
### Agents
|
|
620
|
-
|
|
621
|
-
- [ ] {pack-name}-orchestrator (REQUIRED: Custom BMAD orchestrator)
|
|
622
|
-
- [ ] {agent-1-name}
|
|
623
|
-
- [ ] {agent-2-name}
|
|
624
|
-
|
|
625
|
-
### Tasks
|
|
626
|
-
|
|
627
|
-
- [ ] {task-1} (referenced by: {agent})
|
|
628
|
-
- [ ] {task-2} (referenced by: {agent})
|
|
629
|
-
|
|
630
|
-
### Templates
|
|
631
|
-
|
|
632
|
-
- [ ] {template-1} (used by: {agent/task})
|
|
633
|
-
- [ ] {template-2} (used by: {agent/task})
|
|
634
|
-
|
|
635
|
-
### Checklists
|
|
636
|
-
|
|
637
|
-
- [ ] {checklist-1}
|
|
638
|
-
- [ ] {checklist-2}
|
|
639
|
-
|
|
640
|
-
### Data Files Required from User
|
|
641
|
-
|
|
642
|
-
- [ ] {filename}.{ext} - {description of content needed}
|
|
643
|
-
- [ ] {filename2}.{ext} - {description of content needed}
|
|
644
|
-
|
|
645
|
-
## Approval
|
|
646
|
-
|
|
647
|
-
User approval received: [ ] Yes
|
|
648
|
-
```
|
|
649
|
-
|
|
650
|
-
Important: Wait for user approval before proceeding to Phase 2
|
|
651
|
-
|
|
652
|
-
### Phase 2: Component Design
|
|
653
|
-
|
|
654
|
-
#### 2.1 Create Orchestrator Agent
|
|
655
|
-
|
|
656
|
-
**FIRST PRIORITY**: Design the custom BMAD orchestrator:
|
|
657
|
-
|
|
658
|
-
- **Name**: `{pack-name}-orchestrator`
|
|
659
|
-
- **Purpose**: Master coordinator for domain-specific workflow
|
|
660
|
-
- **Key Commands**: Domain-specific orchestration commands
|
|
661
|
-
- **Integration**: How it leverages other pack agents
|
|
662
|
-
- **Workflow**: The complete process it manages
|
|
663
|
-
|
|
664
|
-
#### 2.2 Identify Specialist Agents
|
|
665
|
-
|
|
666
|
-
For each additional agent:
|
|
667
|
-
|
|
668
|
-
- **Role**: What specialist is needed?
|
|
669
|
-
- **Expertise**: Domain-specific knowledge required
|
|
670
|
-
- **Interactions**: How they work with orchestrator and BMAD agents
|
|
671
|
-
- **Unique Value**: What can't existing agents handle?
|
|
672
|
-
- **Required Tasks**: List ALL tasks this agent references
|
|
673
|
-
- **Required Templates**: List ALL templates this agent uses
|
|
674
|
-
- **Required Data**: List ALL data files this agent needs
|
|
675
|
-
|
|
676
|
-
#### 2.3 Design Specialized Tasks
|
|
677
|
-
|
|
678
|
-
For each task:
|
|
679
|
-
|
|
680
|
-
- **Purpose**: What specific action does it enable?
|
|
681
|
-
- **Inputs**: What information is needed?
|
|
682
|
-
- **Process**: Step-by-step instructions
|
|
683
|
-
- **Outputs**: What gets produced?
|
|
684
|
-
- **Agent Usage**: Which agents will use this task?
|
|
685
|
-
|
|
686
|
-
#### 2.4 Create Document Templates
|
|
687
|
-
|
|
688
|
-
For each template:
|
|
689
|
-
|
|
690
|
-
- **Document Type**: What kind of document?
|
|
691
|
-
- **Structure**: Sections and organization
|
|
692
|
-
- **Placeholders**: Variable content areas
|
|
693
|
-
- **Instructions**: How to complete each section
|
|
694
|
-
- **Standards**: Any format requirements
|
|
695
|
-
|
|
696
|
-
#### 2.5 Define Checklists
|
|
697
|
-
|
|
698
|
-
For each checklist:
|
|
699
|
-
|
|
700
|
-
- **Purpose**: What quality aspect does it verify?
|
|
701
|
-
- **Scope**: When should it be used?
|
|
702
|
-
- **Items**: Specific things to check
|
|
703
|
-
- **Criteria**: Pass/fail conditions
|
|
704
|
-
|
|
705
|
-
### Phase 3: Implementation
|
|
706
|
-
|
|
707
|
-
IMPORTANT: Only proceed after plan.md is approved
|
|
708
|
-
|
|
709
|
-
#### 3.1 Create Directory Structure
|
|
710
|
-
|
|
711
|
-
```text
|
|
712
|
-
expansion-packs/
|
|
713
|
-
└── {pack-name}/
|
|
714
|
-
├── plan.md (ALREADY CREATED)
|
|
715
|
-
├── manifest.yml
|
|
716
|
-
├── README.md
|
|
717
|
-
├── agents/
|
|
718
|
-
│ ├── {pack-name}-orchestrator.yml (REQUIRED)
|
|
719
|
-
│ └── {agent-id}.yml
|
|
720
|
-
├── personas/
|
|
721
|
-
│ ├── {pack-name}-orchestrator.md (REQUIRED)
|
|
722
|
-
│ └── {agent-id}.md
|
|
723
|
-
├── tasks/
|
|
724
|
-
│ └── {task-name}.md
|
|
725
|
-
├── templates/
|
|
726
|
-
│ └── {template-name}.md
|
|
727
|
-
├── checklists/
|
|
728
|
-
│ └── {checklist-name}.md
|
|
729
|
-
└── ide-agents/
|
|
730
|
-
├── {pack-name}-orchestrator.ide.md (REQUIRED)
|
|
731
|
-
└── {agent-id}.ide.md
|
|
732
|
-
```
|
|
733
|
-
|
|
734
|
-
#### 3.2 Create Manifest
|
|
735
|
-
|
|
736
|
-
Create `manifest.yml`:
|
|
737
|
-
|
|
738
|
-
```yaml
|
|
739
|
-
name: {pack-name}
|
|
740
|
-
version: 1.0.0
|
|
741
|
-
description: >-
|
|
742
|
-
{Detailed description of the expansion pack}
|
|
743
|
-
author: {Your name or organization}
|
|
744
|
-
bmad_version: "4.0.0"
|
|
745
|
-
|
|
746
|
-
# Files to create in the expansion pack
|
|
747
|
-
files:
|
|
748
|
-
agents:
|
|
749
|
-
- {pack-name}-orchestrator.yml
|
|
750
|
-
- {agent-name}.yml
|
|
751
|
-
|
|
752
|
-
personas:
|
|
753
|
-
- {pack-name}-orchestrator.md
|
|
754
|
-
- {agent-name}.md
|
|
755
|
-
|
|
756
|
-
ide-agents:
|
|
757
|
-
- {pack-name}-orchestrator.ide.md
|
|
758
|
-
- {agent-name}.ide.md
|
|
759
|
-
|
|
760
|
-
tasks:
|
|
761
|
-
- {task-name}.md
|
|
762
|
-
|
|
763
|
-
templates:
|
|
764
|
-
- {template-name}.md
|
|
765
|
-
|
|
766
|
-
checklists:
|
|
767
|
-
- {checklist-name}.md
|
|
768
|
-
|
|
769
|
-
# Data files users must provide
|
|
770
|
-
required_data:
|
|
771
|
-
- filename: {data-file}.{ext}
|
|
772
|
-
description: {What this file should contain}
|
|
773
|
-
location: bmad-core/data/
|
|
774
|
-
|
|
775
|
-
# Dependencies on core BMAD components
|
|
776
|
-
dependencies:
|
|
777
|
-
- {core-agent-name}
|
|
778
|
-
- {core-task-name}
|
|
779
|
-
|
|
780
|
-
# Post-install message
|
|
781
|
-
post_install_message: |
|
|
782
|
-
{Pack Name} expansion pack ready!
|
|
783
|
-
|
|
784
|
-
Required data files:
|
|
785
|
-
- {data-file}.{ext}: {description}
|
|
786
|
-
|
|
787
|
-
To use: npm run agent {pack-name}-orchestrator
|
|
788
|
-
```
|
|
789
|
-
|
|
790
|
-
### Phase 4: Content Creation
|
|
791
|
-
|
|
792
|
-
IMPORTANT: Work through plan.md checklist systematically!
|
|
793
|
-
|
|
794
|
-
#### 4.1 Create Orchestrator First
|
|
795
|
-
|
|
796
|
-
1. Create `personas/{pack-name}-orchestrator.md` with BMAD-style commands
|
|
797
|
-
2. Create `agents/{pack-name}-orchestrator.yml` configuration
|
|
798
|
-
3. Create `ide-agents/{pack-name}-orchestrator.ide.md`
|
|
799
|
-
4. Verify ALL referenced tasks exist
|
|
800
|
-
5. Verify ALL referenced templates exist
|
|
801
|
-
6. Document data file requirements
|
|
802
|
-
|
|
803
|
-
#### 4.2 Agent Creation Order
|
|
804
|
-
|
|
805
|
-
For each additional agent:
|
|
806
|
-
|
|
807
|
-
1. Create persona file with domain expertise
|
|
808
|
-
2. Create agent configuration YAML
|
|
809
|
-
3. Create IDE-optimized version
|
|
810
|
-
4. **STOP** - Verify all referenced tasks/templates exist
|
|
811
|
-
5. Create any missing tasks/templates immediately
|
|
812
|
-
6. Mark agent as complete in plan.md
|
|
813
|
-
|
|
814
|
-
#### 4.3 Task Creation Guidelines
|
|
815
|
-
|
|
816
|
-
Each task should:
|
|
817
|
-
|
|
818
|
-
1. Have a clear, single purpose
|
|
819
|
-
2. Include step-by-step instructions
|
|
820
|
-
3. Provide examples when helpful
|
|
821
|
-
4. Reference domain standards
|
|
822
|
-
5. Be reusable across agents
|
|
823
|
-
|
|
824
|
-
#### 4.4 Template Best Practices
|
|
825
|
-
|
|
826
|
-
Templates should:
|
|
827
|
-
|
|
828
|
-
1. Include clear section headers
|
|
829
|
-
2. Provide inline instructions
|
|
830
|
-
3. Show example content
|
|
831
|
-
4. Mark required vs optional sections
|
|
832
|
-
5. Include domain-specific terminology
|
|
833
|
-
|
|
834
|
-
### Phase 5: Verification and Documentation
|
|
835
|
-
|
|
836
|
-
#### 5.1 Final Verification Checklist
|
|
837
|
-
|
|
838
|
-
Before declaring complete:
|
|
839
|
-
|
|
840
|
-
1. [ ] All items in plan.md marked complete
|
|
841
|
-
2. [ ] Orchestrator agent created and tested
|
|
842
|
-
3. [ ] All agent references validated
|
|
843
|
-
4. [ ] All required data files documented
|
|
844
|
-
5. [ ] manifest.yml lists all components
|
|
845
|
-
6. [ ] No orphaned tasks or templates
|
|
846
|
-
|
|
847
|
-
#### 5.2 Create README
|
|
848
|
-
|
|
849
|
-
Include:
|
|
850
|
-
|
|
851
|
-
- Overview of the pack's purpose
|
|
852
|
-
- **Orchestrator usage instructions**
|
|
853
|
-
- Required data files and formats
|
|
854
|
-
- List of all components
|
|
855
|
-
- Integration with BMAD workflow
|
|
856
|
-
- Example scenarios
|
|
857
|
-
|
|
858
|
-
#### 5.3 Data File Documentation
|
|
859
|
-
|
|
860
|
-
For each required data file:
|
|
861
|
-
|
|
862
|
-
```markdown
|
|
863
|
-
## Required Data Files
|
|
864
|
-
|
|
865
|
-
### {filename}.{ext}
|
|
866
|
-
|
|
867
|
-
- **Purpose**: {why this file is needed}
|
|
868
|
-
- **Format**: {file format and structure}
|
|
869
|
-
- **Location**: Place in `bmad-core/data/`
|
|
870
|
-
- **Example**:
|
|
871
|
-
```
|
|
872
|
-
|
|
873
|
-
## Example: Healthcare Expansion Pack
|
|
874
|
-
|
|
875
|
-
```text
|
|
876
|
-
healthcare/
|
|
877
|
-
├── plan.md (Created first for approval)
|
|
878
|
-
├── manifest.yml
|
|
879
|
-
├── README.md
|
|
880
|
-
├── agents/
|
|
881
|
-
│ ├── healthcare-orchestrator.yml (REQUIRED)
|
|
882
|
-
│ ├── clinical-analyst.yml
|
|
883
|
-
│ └── compliance-officer.yml
|
|
884
|
-
├── personas/
|
|
885
|
-
│ ├── healthcare-orchestrator.md (REQUIRED)
|
|
886
|
-
│ ├── clinical-analyst.md
|
|
887
|
-
│ └── compliance-officer.md
|
|
888
|
-
├── ide-agents/
|
|
889
|
-
│ ├── healthcare-orchestrator.ide.md (REQUIRED)
|
|
890
|
-
│ ├── clinical-analyst.ide.md
|
|
891
|
-
│ └── compliance-officer.ide.md
|
|
892
|
-
├── tasks/
|
|
893
|
-
│ ├── hipaa-assessment.md
|
|
894
|
-
│ ├── clinical-protocol-review.md
|
|
895
|
-
│ └── patient-data-analysis.md
|
|
896
|
-
├── templates/
|
|
897
|
-
│ ├── clinical-trial-protocol.md
|
|
898
|
-
│ ├── hipaa-compliance-report.md
|
|
899
|
-
│ └── patient-outcome-report.md
|
|
900
|
-
└── checklists/
|
|
901
|
-
├── hipaa-checklist.md
|
|
902
|
-
└── clinical-data-quality.md
|
|
903
|
-
|
|
904
|
-
Required user data files:
|
|
905
|
-
- bmad-core/data/medical-terminology.md
|
|
906
|
-
- bmad-core/data/hipaa-requirements.md
|
|
907
|
-
```
|
|
908
|
-
|
|
909
|
-
## Interactive Questions Flow
|
|
910
|
-
|
|
911
|
-
### Initial Discovery
|
|
912
|
-
|
|
913
|
-
1. "What domain or industry will this expansion pack serve?"
|
|
914
|
-
2. "What are the main challenges or workflows in this domain?"
|
|
915
|
-
3. "Do you have any example documents or outputs? (Please share)"
|
|
916
|
-
4. "What specialized roles/experts exist in this domain?"
|
|
917
|
-
5. "What reference data will users need to provide?"
|
|
918
|
-
|
|
919
|
-
### Planning Phase
|
|
920
|
-
|
|
921
|
-
1. "Here's the proposed plan. Please review and approve before we continue."
|
|
922
|
-
|
|
923
|
-
### Orchestrator Design
|
|
924
|
-
|
|
925
|
-
1. "What key commands should the {pack-name} orchestrator support?"
|
|
926
|
-
2. "What's the typical workflow from start to finish?"
|
|
927
|
-
3. "How should it integrate with core BMAD agents?"
|
|
928
|
-
|
|
929
|
-
### Agent Planning
|
|
930
|
-
|
|
931
|
-
1. "For agent '{name}', what is their specific expertise?"
|
|
932
|
-
2. "What tasks will this agent reference? (I'll create them)"
|
|
933
|
-
3. "What templates will this agent use? (I'll create them)"
|
|
934
|
-
4. "What data files will this agent need? (You'll provide these)"
|
|
935
|
-
|
|
936
|
-
### Task Design
|
|
937
|
-
|
|
938
|
-
1. "Describe the '{task}' process step-by-step"
|
|
939
|
-
2. "What information is needed to complete this task?"
|
|
940
|
-
3. "What should the output look like?"
|
|
941
|
-
|
|
942
|
-
### Template Creation
|
|
943
|
-
|
|
944
|
-
1. "What sections should the '{template}' document have?"
|
|
945
|
-
2. "Are there any required formats or standards?"
|
|
946
|
-
3. "Can you provide an example of a completed document?"
|
|
947
|
-
|
|
948
|
-
### Data Requirements
|
|
949
|
-
|
|
950
|
-
1. "For {data-file}, what information should it contain?"
|
|
951
|
-
2. "What format should this data be in?"
|
|
952
|
-
3. "Can you provide a sample?"
|
|
953
|
-
|
|
954
|
-
## Important Considerations
|
|
955
|
-
|
|
956
|
-
- **Plan First**: ALWAYS create and get approval for plan.md before implementing
|
|
957
|
-
- **Orchestrator Required**: Every pack MUST have a custom BMAD orchestrator
|
|
958
|
-
- **Verify References**: ALL referenced tasks/templates MUST exist
|
|
959
|
-
- **Document Data Needs**: Clearly specify what users must provide
|
|
960
|
-
- **Domain Expertise**: Ensure accuracy in specialized fields
|
|
961
|
-
- **Compliance**: Include necessary regulatory requirements
|
|
962
|
-
|
|
963
|
-
## Tips for Success
|
|
964
|
-
|
|
965
|
-
1. **Plan Thoroughly**: The plan.md prevents missing components
|
|
966
|
-
2. **Build Orchestrator First**: It defines the overall workflow
|
|
967
|
-
3. **Verify As You Go**: Check off items in plan.md
|
|
968
|
-
4. **Test References**: Ensure no broken dependencies
|
|
969
|
-
5. **Document Data**: Users need clear data file instructions
|
|
970
|
-
|
|
971
|
-
## Common Mistakes to Avoid
|
|
972
|
-
|
|
973
|
-
1. **Missing Orchestrator**: Every pack needs its own BMAD-style orchestrator
|
|
974
|
-
2. **Orphaned References**: Agent references task that doesn't exist
|
|
975
|
-
3. **Unclear Data Needs**: Not specifying required user data files
|
|
976
|
-
4. **Skipping Plan**: Going straight to implementation
|
|
977
|
-
5. **Generic Orchestrator**: Not making it domain-specific
|
|
978
|
-
|
|
979
|
-
## Completion Checklist
|
|
980
|
-
|
|
981
|
-
- [ ] plan.md created and approved
|
|
982
|
-
- [ ] All plan.md items checked off
|
|
983
|
-
- [ ] Orchestrator agent created
|
|
984
|
-
- [ ] All agent references verified
|
|
985
|
-
- [ ] Data requirements documented or added
|
|
986
|
-
- [ ] README includes all setup instructions
|
|
987
|
-
- [ ] manifest.yml reflects actual files
|
|
988
|
-
==================== END: tasks#create-expansion-pack ====================
|
|
989
|
-
|
|
990
113
|
==================== START: tasks#advanced-elicitation ====================
|
|
991
114
|
# Advanced Elicitation Task
|
|
992
115
|
|
|
@@ -1195,7 +318,18 @@ You are the "Vibe CEO" - thinking like a CEO with unlimited resources and a sing
|
|
|
1195
318
|
7. **START_SMALL_SCALE_FAST**: Test concepts, then expand.
|
|
1196
319
|
8. **EMBRACE_THE_CHAOS**: Adapt and overcome challenges.
|
|
1197
320
|
|
|
1198
|
-
##
|
|
321
|
+
## IDE Development Workflow
|
|
322
|
+
|
|
323
|
+
1. Shard the PRD (And Architecture documents if they exist also based on workflow type) using the Doc Shard task. The BMad-Master agent can help you do this. You will select the task, provide the doc to shard and the output folder. for example: `BMad Master, please Shard the docs/prd.md to the doc/prd/ folder` - this should ask you to use the md-tree-parser which is recommended, but either way shoudl result in multiple documents being created in the folder docs/prd.
|
|
324
|
+
2. If you have fullstack, front end and or back end architecture documents you will want to follow the same thing, but shard all of these to an architecture folder instead of a prd folder.
|
|
325
|
+
3. Ensure that you have at least one epic-n.md file in your prd folder, with the stories in order to develop.
|
|
326
|
+
4. The docs or architecture folder or prd folder should have a source tree document and coding standards at a minimum. These are used by the dev agent, and the many other sharded docs are used by the SM agent.
|
|
327
|
+
5. Use a new chat window to allow the SM agent to `draft the next story`.
|
|
328
|
+
6. If you agree the story is correct, mark it as approved in the status field, and then start a new chat window with the dev agent.
|
|
329
|
+
7. Ask the dev agent to implement the next story. If you draft the story file into the chat it will save time for the dev to have to find what the next one is. The dev should follow the tasks and subtasks marking them off as they are completed. The dev agent will also leave notes potentially for the SM to know about any deviations that might have occured to help draft the next story.
|
|
330
|
+
8. Once complete and you have verified, mark it done, and start a new chat. Ask the SM to draft the next story - repeating the cycle.
|
|
331
|
+
|
|
332
|
+
With this work flow, there is only 1 story in progress at a time, worked sequentially.
|
|
1199
333
|
==================== END: data#bmad-kb ====================
|
|
1200
334
|
|
|
1201
335
|
==================== START: utils#workflow-management ====================
|
|
@@ -1210,8 +344,7 @@ The BMAD orchestrator MUST read the available workflows from the current team co
|
|
|
1210
344
|
**Critical Distinction**:
|
|
1211
345
|
|
|
1212
346
|
- When asked "what workflows are available?", show ONLY the workflows defined in the current team bundle's configuration
|
|
1213
|
-
-
|
|
1214
|
-
- Use `/agent-list` to show agents in the current bundle, NOT the create-agent task
|
|
347
|
+
- Use `/agent-list` to show agents in the current bundle
|
|
1215
348
|
- Use `/workflows` to show workflows in the current bundle, NOT any creation tasks
|
|
1216
349
|
|
|
1217
350
|
### Workflow Descriptions
|
|
@@ -1249,7 +382,7 @@ Available workflows for [Team Name]:
|
|
|
1249
382
|
[... etc. ...]
|
|
1250
383
|
|
|
1251
384
|
Use /workflow-start {number or id} to begin a workflow.
|
|
1252
|
-
```
|
|
385
|
+
```text
|
|
1253
386
|
|
|
1254
387
|
### /workflow-start {workflow-id}
|
|
1255
388
|
|
|
@@ -1291,7 +424,7 @@ BMad: I see you've completed Discovery and part of Product Planning.
|
|
|
1291
424
|
- UX Strategy with Sally (ux-expert)
|
|
1292
425
|
|
|
1293
426
|
Would you like me to load Sally to continue?
|
|
1294
|
-
```
|
|
427
|
+
```text
|
|
1295
428
|
|
|
1296
429
|
### /workflow-next
|
|
1297
430
|
|
|
@@ -1332,11 +465,11 @@ workflow_state:
|
|
|
1332
465
|
project-brief:
|
|
1333
466
|
status: completed
|
|
1334
467
|
created_by: analyst
|
|
1335
|
-
timestamp: 2024-01-15T10:30:
|
|
468
|
+
timestamp: 2024-01-15T10:30:00.000Z
|
|
1336
469
|
prd:
|
|
1337
470
|
status: in-progress
|
|
1338
471
|
created_by: pm
|
|
1339
|
-
started: 2024-01-15T11:00:
|
|
472
|
+
started: 2024-01-15T11:00:00.000Z
|
|
1340
473
|
```
|
|
1341
474
|
|
|
1342
475
|
### 4. Workflow Interruption Handling
|
|
@@ -1361,7 +494,7 @@ BMad: I see you have a PRD and architecture document. Based on these artifacts,
|
|
|
1361
494
|
- Load Sarah (Product Owner) to validate all artifacts
|
|
1362
495
|
|
|
1363
496
|
Would you like to continue with this workflow?
|
|
1364
|
-
```
|
|
497
|
+
```text
|
|
1365
498
|
|
|
1366
499
|
## Workflow Context Passing
|
|
1367
500
|
|
|
@@ -1395,9 +528,9 @@ Some workflows may have multiple paths:
|
|
|
1395
528
|
|
|
1396
529
|
```yaml
|
|
1397
530
|
conditional_paths:
|
|
1398
|
-
- condition:
|
|
531
|
+
- condition: project_type == 'mobile'
|
|
1399
532
|
next_stage: mobile-specific-design
|
|
1400
|
-
- condition:
|
|
533
|
+
- condition: project_type == 'web'
|
|
1401
534
|
next_stage: web-architecture
|
|
1402
535
|
- default: fullstack-architecture
|
|
1403
536
|
```
|