bmad-method 4.2.0 → 4.4.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/.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 +80 -33
- 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 +80 -33
- 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/.roo/README.md +0 -11
- 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 +80 -33
- package/.windsurf/rules/dev.md +5 -4
- package/.windsurf/rules/pm.md +11 -16
- package/.windsurf/rules/sm.md +19 -24
- package/CHANGELOG.md +126 -2
- package/CONTRIBUTING.md +2 -0
- package/README.md +20 -2
- package/{.bmad-core → bmad-core}/agent-teams/team-all.yml +1 -3
- package/bmad-core/agent-teams/team-fullstack.yml +18 -0
- package/{.bmad-core → bmad-core}/agent-teams/team-no-ui.yml +0 -2
- package/{.bmad-core → bmad-core}/agents/analyst.md +14 -20
- package/{.bmad-core → bmad-core}/agents/architect.md +15 -20
- package/{.bmad-core → bmad-core}/agents/bmad-master.md +18 -26
- package/bmad-core/agents/bmad-orchestrator.md +128 -0
- package/{.bmad-core → bmad-core}/agents/dev.md +5 -4
- package/{.bmad-core → bmad-core}/agents/pm.md +11 -16
- package/{.bmad-core → bmad-core}/agents/qa.md +11 -17
- package/bmad-core/agents/sm.md +55 -0
- package/{.bmad-core → bmad-core}/agents/ux-expert.md +14 -20
- package/bmad-core/bmad-core-config.yml +60 -0
- package/bmad-core/data/bmad-kb.md +47 -0
- package/bmad-core/tasks/doc-migration-task.md +143 -0
- package/bmad-core/tasks/document-project.md +389 -0
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
- package/{.bmad-core → bmad-core}/tasks/index-docs.md +8 -3
- package/{.bmad-core → bmad-core}/tasks/shard-doc.md +5 -3
- package/{.bmad-core → bmad-core}/templates/architecture-tmpl.md +16 -13
- package/{.bmad-core → bmad-core}/templates/brownfield-architecture-tmpl.md +6 -6
- package/{.bmad-core → bmad-core}/templates/front-end-spec-tmpl.md +6 -6
- package/{.bmad-core → bmad-core}/templates/fullstack-architecture-tmpl.md +85 -103
- package/{.bmad-core → bmad-core}/templates/prd-tmpl.md +1 -1
- package/bmad-core/templates/simple-project-prd-tmpl.md +461 -0
- package/{.bmad-core → bmad-core}/templates/story-tmpl.md +2 -2
- package/{.bmad-core → bmad-core}/utils/agent-switcher.ide.md +6 -6
- package/{.bmad-core → bmad-core}/utils/workflow-management.md +14 -15
- package/{.bmad-core → bmad-core}/web-bundles/agents/analyst.txt +26 -21
- package/{.bmad-core → bmad-core}/web-bundles/agents/architect.txt +608 -236
- package/{.bmad-core → bmad-core}/web-bundles/agents/bmad-master.txt +467 -1049
- package/bmad-core/web-bundles/agents/bmad-orchestrator.txt +647 -0
- package/{.bmad-core → bmad-core}/web-bundles/agents/dev.txt +5 -4
- package/{.bmad-core → bmad-core}/web-bundles/agents/pm.txt +477 -18
- package/{.bmad-core → bmad-core}/web-bundles/agents/po.txt +3 -3
- package/{.bmad-core → bmad-core}/web-bundles/agents/qa.txt +11 -17
- package/{.bmad-core → bmad-core}/web-bundles/agents/sm.txt +22 -27
- package/{.bmad-core → bmad-core}/web-bundles/agents/ux-expert.txt +57 -70
- package/{.bmad-core → bmad-core}/workflows/greenfield-fullstack.yml +3 -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/versioning-and-releases.md +4 -4
- package/docs/windsurf-guide.md +127 -0
- package/expansion-packs/README.md +1 -111
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +12 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +58 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +66 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +51 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +201 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +160 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +254 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +631 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/manifest.yml +45 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +111 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +216 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +308 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +560 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +345 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +331 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +235 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +451 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-designer.txt +1758 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-developer.txt +1444 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-sm.txt +674 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +4395 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt +4395 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yml +183 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yml +175 -0
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/README.md +5 -5
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/agents/infra-devops-platform.md +3 -3
- package/expansion-packs/bmad-infrastructure-devops/manifest.yml +23 -0
- package/expansion-packs/bmad-infrastructure-devops/tasks/create-doc.md +74 -0
- package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/expansion-packs/bmad-infrastructure-devops/web-bundles/agents/infra-devops-platform.txt +2021 -0
- package/package.json +20 -14
- package/tools/builders/web-builder.js +207 -17
- package/tools/cli.js +55 -7
- package/tools/installer/README.md +2 -2
- package/tools/installer/bin/bmad.js +107 -28
- package/tools/installer/config/install.config.yml +43 -43
- package/tools/installer/lib/config-loader.js +39 -2
- package/tools/installer/lib/file-manager.js +20 -3
- package/tools/installer/lib/ide-setup.js +11 -1
- package/tools/installer/lib/installer.js +275 -29
- package/tools/installer/package-lock.json +538 -336
- package/tools/installer/package.json +8 -8
- package/tools/lib/dependency-resolver.js +2 -2
- 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/agent-teams/team-fullstack.yml +0 -26
- package/.bmad-core/agents/bmad-orchestrator.md +0 -81
- package/.bmad-core/agents/sm.md +0 -60
- package/.bmad-core/data/bmad-kb.md +0 -36
- package/.bmad-core/schemas/agent-team-schema.yml +0 -153
- package/.bmad-core/tasks/create-team.md +0 -229
- package/.bmad-core/tasks/doc-migration-task.md +0 -198
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +0 -58
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +0 -1455
- package/.bmad-core/web-bundles/teams/team-all.txt +0 -10315
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +0 -9663
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +0 -8504
- package/.claude/settings.local.json +0 -22
- package/expansion-packs/infrastructure-devops/manifest.yml +0 -38
- /package/{.bmad-core → bmad-core}/agents/po.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/architect-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/change-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/pm-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/po-master-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/story-dod-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/checklists/story-draft-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/data/technical-preferences.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/advanced-elicitation.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/brainstorming-techniques.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/brownfield-create-epic.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/brownfield-create-story.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/core-dump.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/correct-course.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/create-deep-research-prompt.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/create-doc.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/create-next-story.md +0 -0
- /package/{.bmad-core → bmad-core}/tasks/execute-checklist.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/agent-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/brownfield-prd-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/competitor-analysis-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/expansion-pack-plan-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/front-end-architecture-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/market-research-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/project-brief-tmpl.md +0 -0
- /package/{.bmad-core → bmad-core}/templates/web-agent-startup-instructions-template.md +0 -0
- /package/{.bmad-core → bmad-core}/utils/template-format.md +0 -0
- /package/{.bmad-core → bmad-core}/workflows/brownfield-fullstack.yml +0 -0
- /package/{.bmad-core → bmad-core}/workflows/brownfield-service.yml +0 -0
- /package/{.bmad-core → bmad-core}/workflows/brownfield-ui.yml +0 -0
- /package/{.bmad-core → bmad-core}/workflows/greenfield-service.yml +0 -0
- /package/{.bmad-core → bmad-core}/workflows/greenfield-ui.yml +0 -0
- /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/checklists/infrastructure-checklist.md +0 -0
- /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/review-infrastructure.md +0 -0
- /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/validate-infrastructure.md +0 -0
- /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/templates/infrastructure-architecture-tmpl.md +0 -0
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
# BMAD Agent Team Configuration Schema
|
|
2
|
-
# This schema defines the structure for BMAD agent team configuration files
|
|
3
|
-
# Teams bundle multiple agents and workflows for specific project types
|
|
4
|
-
|
|
5
|
-
type: object
|
|
6
|
-
required:
|
|
7
|
-
- bundle
|
|
8
|
-
- agents
|
|
9
|
-
- workflows
|
|
10
|
-
|
|
11
|
-
properties:
|
|
12
|
-
bundle:
|
|
13
|
-
type: object
|
|
14
|
-
description: Team bundle metadata and configuration
|
|
15
|
-
required:
|
|
16
|
-
- name
|
|
17
|
-
- description
|
|
18
|
-
properties:
|
|
19
|
-
name:
|
|
20
|
-
type: string
|
|
21
|
-
description: Human-friendly name of the team bundle
|
|
22
|
-
pattern: "^Team .+$"
|
|
23
|
-
examples:
|
|
24
|
-
- "Team Fullstack"
|
|
25
|
-
- "Team No UI"
|
|
26
|
-
- "Team All"
|
|
27
|
-
|
|
28
|
-
description:
|
|
29
|
-
type: string
|
|
30
|
-
description: Detailed description of the team's purpose, capabilities, and use cases
|
|
31
|
-
minLength: 20
|
|
32
|
-
maxLength: 500
|
|
33
|
-
|
|
34
|
-
agents:
|
|
35
|
-
type: array
|
|
36
|
-
description: List of agents included in this team bundle
|
|
37
|
-
minItems: 2
|
|
38
|
-
items:
|
|
39
|
-
type: string
|
|
40
|
-
description: Agent ID matching agents/{agent}.yml or special value '*' for all agents
|
|
41
|
-
pattern: "^([a-z-]+|\\*)$"
|
|
42
|
-
examples:
|
|
43
|
-
- "bmad"
|
|
44
|
-
- "analyst"
|
|
45
|
-
- "pm"
|
|
46
|
-
- "ux-expert"
|
|
47
|
-
- "architect"
|
|
48
|
-
- "po"
|
|
49
|
-
- "sm"
|
|
50
|
-
- "dev"
|
|
51
|
-
- "qa"
|
|
52
|
-
- "*"
|
|
53
|
-
uniqueItems: true
|
|
54
|
-
allOf:
|
|
55
|
-
- description: Must include 'bmad' as the orchestrator
|
|
56
|
-
contains:
|
|
57
|
-
const: "bmad"
|
|
58
|
-
|
|
59
|
-
workflows:
|
|
60
|
-
type: array
|
|
61
|
-
description: List of workflows this team can execute
|
|
62
|
-
minItems: 1
|
|
63
|
-
items:
|
|
64
|
-
type: string
|
|
65
|
-
description: Workflow ID matching bmad-core/workflows/{workflow}.yml
|
|
66
|
-
enum:
|
|
67
|
-
- "brownfield-fullstack"
|
|
68
|
-
- "brownfield-service"
|
|
69
|
-
- "brownfield-ui"
|
|
70
|
-
- "greenfield-fullstack"
|
|
71
|
-
- "greenfield-service"
|
|
72
|
-
- "greenfield-ui"
|
|
73
|
-
uniqueItems: true
|
|
74
|
-
|
|
75
|
-
# No additional properties allowed
|
|
76
|
-
additionalProperties: false
|
|
77
|
-
|
|
78
|
-
# Validation rules
|
|
79
|
-
allOf:
|
|
80
|
-
- if:
|
|
81
|
-
properties:
|
|
82
|
-
agents:
|
|
83
|
-
contains:
|
|
84
|
-
const: "*"
|
|
85
|
-
then:
|
|
86
|
-
properties:
|
|
87
|
-
agents:
|
|
88
|
-
maxItems: 2
|
|
89
|
-
description: When using wildcard '*', only 'bmad' and '*' should be present
|
|
90
|
-
|
|
91
|
-
- if:
|
|
92
|
-
properties:
|
|
93
|
-
bundle:
|
|
94
|
-
properties:
|
|
95
|
-
name:
|
|
96
|
-
const: "Team No UI"
|
|
97
|
-
then:
|
|
98
|
-
properties:
|
|
99
|
-
agents:
|
|
100
|
-
not:
|
|
101
|
-
contains:
|
|
102
|
-
const: "ux-expert"
|
|
103
|
-
workflows:
|
|
104
|
-
not:
|
|
105
|
-
contains:
|
|
106
|
-
enum: ["brownfield-ui", "greenfield-ui"]
|
|
107
|
-
|
|
108
|
-
# Examples showing valid team configurations
|
|
109
|
-
examples:
|
|
110
|
-
minimal_team:
|
|
111
|
-
bundle:
|
|
112
|
-
name: "Team Minimal"
|
|
113
|
-
description: "Minimal team for basic project planning and architecture without implementation"
|
|
114
|
-
agents:
|
|
115
|
-
- bmad
|
|
116
|
-
- analyst
|
|
117
|
-
- architect
|
|
118
|
-
workflows:
|
|
119
|
-
- greenfield-service
|
|
120
|
-
|
|
121
|
-
fullstack_team:
|
|
122
|
-
bundle:
|
|
123
|
-
name: "Team Fullstack"
|
|
124
|
-
description: "Comprehensive full-stack development team capable of handling both greenfield application development and brownfield enhancement projects. This team combines strategic planning, user experience design, and holistic system architecture to deliver complete solutions from concept to deployment."
|
|
125
|
-
agents:
|
|
126
|
-
- bmad
|
|
127
|
-
- analyst
|
|
128
|
-
- pm
|
|
129
|
-
- ux-expert
|
|
130
|
-
- architect
|
|
131
|
-
- po
|
|
132
|
-
workflows:
|
|
133
|
-
- brownfield-fullstack
|
|
134
|
-
- brownfield-service
|
|
135
|
-
- brownfield-ui
|
|
136
|
-
- greenfield-fullstack
|
|
137
|
-
- greenfield-service
|
|
138
|
-
- greenfield-ui
|
|
139
|
-
|
|
140
|
-
all_agents_team:
|
|
141
|
-
bundle:
|
|
142
|
-
name: "Team All"
|
|
143
|
-
description: "This is a full organization of agents and includes every possible agent. This will produce the largest bundle but give the most options for discussion in a single session"
|
|
144
|
-
agents:
|
|
145
|
-
- bmad
|
|
146
|
-
- "*"
|
|
147
|
-
workflows:
|
|
148
|
-
- brownfield-fullstack
|
|
149
|
-
- brownfield-service
|
|
150
|
-
- brownfield-ui
|
|
151
|
-
- greenfield-fullstack
|
|
152
|
-
- greenfield-service
|
|
153
|
-
- greenfield-ui
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
# Create Team Task
|
|
2
|
-
|
|
3
|
-
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.
|
|
4
|
-
|
|
5
|
-
**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.
|
|
6
|
-
|
|
7
|
-
## Prerequisites
|
|
8
|
-
|
|
9
|
-
1. Load and understand the team schema: `/bmad-core/schemas/agent-team-schema.yml`
|
|
10
|
-
2. Review existing teams in `/bmad-core/agent-teams/` for patterns and naming conventions
|
|
11
|
-
3. List available agents from `/agents/` to understand team composition options
|
|
12
|
-
4. Review workflows in `/bmad-core/workflows/` to align team capabilities
|
|
13
|
-
|
|
14
|
-
## Process
|
|
15
|
-
|
|
16
|
-
### 1. Define Team Purpose and Scope
|
|
17
|
-
|
|
18
|
-
Before selecting agents, clarify the team's mission:
|
|
19
|
-
|
|
20
|
-
- **Team Purpose**: What specific problems will this team solve?
|
|
21
|
-
- **Project Types**: Greenfield, brownfield, or both?
|
|
22
|
-
- **Technical Scope**: UI-focused, backend-only, or full-stack?
|
|
23
|
-
- **Team Size Consideration**: Smaller teams (3-5 agents) for focused work, larger teams (6-8) for comprehensive coverage
|
|
24
|
-
|
|
25
|
-
### 2. Create Team Metadata
|
|
26
|
-
|
|
27
|
-
Based on the schema requirements:
|
|
28
|
-
|
|
29
|
-
- **Team Name**: Must follow pattern `^Team .+$` (e.g., "Team Frontend", "Team Analytics")
|
|
30
|
-
- For user teams: prefix with period (e.g., "Team .MyCustom")
|
|
31
|
-
- **Description**: 20-500 characters explaining team's purpose, capabilities, and use cases
|
|
32
|
-
- **File Name**: `/bmad-core/agent-teams/team-{identifier}.yml`
|
|
33
|
-
- For user teams: `/bmad-core/agent-teams/.team-{identifier}.yml`
|
|
34
|
-
|
|
35
|
-
### 3. Select Agents Based on Purpose
|
|
36
|
-
|
|
37
|
-
#### Discover Available Agents
|
|
38
|
-
|
|
39
|
-
1. List all agents from `/agents/` directory
|
|
40
|
-
2. Review each agent's role and capabilities
|
|
41
|
-
3. Consider agent synergies and coverage
|
|
42
|
-
|
|
43
|
-
#### Agent Selection Guidelines
|
|
44
|
-
|
|
45
|
-
Based on team purpose, recommend agents:
|
|
46
|
-
|
|
47
|
-
**For Planning & Strategy Teams:**
|
|
48
|
-
|
|
49
|
-
- `bmad` (required orchestrator)
|
|
50
|
-
- `analyst` - Requirements gathering and research
|
|
51
|
-
- `pm` - Product strategy and documentation
|
|
52
|
-
- `po` - Validation and approval
|
|
53
|
-
- `architect` - Technical planning (if technical planning needed)
|
|
54
|
-
|
|
55
|
-
**For Design & UX Teams:**
|
|
56
|
-
|
|
57
|
-
- `bmad` (required orchestrator)
|
|
58
|
-
- `ux-expert` - User experience design
|
|
59
|
-
- `architect` - Frontend architecture
|
|
60
|
-
- `pm` - Product requirements alignment
|
|
61
|
-
- `po` - Design validation
|
|
62
|
-
|
|
63
|
-
**For Development Teams:**
|
|
64
|
-
|
|
65
|
-
- `bmad-orchestrator` (required)
|
|
66
|
-
- `sm` - Sprint coordination
|
|
67
|
-
- `dev` - Implementation
|
|
68
|
-
- `qa` - Quality assurance
|
|
69
|
-
- `architect` - Technical guidance
|
|
70
|
-
|
|
71
|
-
**For Full-Stack Teams:**
|
|
72
|
-
|
|
73
|
-
- `bmad-orchestrator` (required)
|
|
74
|
-
- `analyst` - Initial planning
|
|
75
|
-
- `pm` - Product management
|
|
76
|
-
- `ux-expert` - UI/UX design (if UI work included)
|
|
77
|
-
- `architect` - System architecture
|
|
78
|
-
- `po` - Validation
|
|
79
|
-
- Additional agents as needed
|
|
80
|
-
|
|
81
|
-
#### Special Cases
|
|
82
|
-
|
|
83
|
-
- **Using Wildcard**: If team needs all agents, use `["bmad", "*"]`
|
|
84
|
-
- **Validation**: Schema requires `bmad` in all teams
|
|
85
|
-
|
|
86
|
-
### 4. Select Workflows
|
|
87
|
-
|
|
88
|
-
Based on the schema's workflow enum values and team composition:
|
|
89
|
-
|
|
90
|
-
1. **Analyze team capabilities** against available workflows:
|
|
91
|
-
|
|
92
|
-
- `brownfield-fullstack` - Requires full team with UX
|
|
93
|
-
- `brownfield-service` - Backend-focused team
|
|
94
|
-
- `brownfield-ui` - UI/UX-focused team
|
|
95
|
-
- `greenfield-fullstack` - Full team for new projects
|
|
96
|
-
- `greenfield-service` - Backend team for new services
|
|
97
|
-
- `greenfield-ui` - Frontend team for new UIs
|
|
98
|
-
|
|
99
|
-
2. **Match workflows to agents**:
|
|
100
|
-
|
|
101
|
-
- UI workflows require `ux-expert`
|
|
102
|
-
- Service workflows benefit from `architect` and `dev`
|
|
103
|
-
- All workflows benefit from planning agents (`analyst`, `pm`)
|
|
104
|
-
|
|
105
|
-
3. **Apply schema validation rules**:
|
|
106
|
-
- Teams without `ux-expert` shouldn't have UI workflows
|
|
107
|
-
- Teams named "Team No UI" can't have UI workflows
|
|
108
|
-
|
|
109
|
-
### 5. Create Team Configuration
|
|
110
|
-
|
|
111
|
-
Generate the configuration following the schema:
|
|
112
|
-
|
|
113
|
-
```yaml
|
|
114
|
-
bundle:
|
|
115
|
-
name: "{Team Name}" # Must match pattern "^Team .+$"
|
|
116
|
-
description: >-
|
|
117
|
-
{20-500 character description explaining purpose,
|
|
118
|
-
capabilities, and ideal use cases}
|
|
119
|
-
|
|
120
|
-
agents:
|
|
121
|
-
- bmad # Required orchestrator
|
|
122
|
-
- { agent-id-1 }
|
|
123
|
-
- { agent-id-2 }
|
|
124
|
-
# ... additional agents
|
|
125
|
-
|
|
126
|
-
workflows:
|
|
127
|
-
- { workflow-1 } # From enum list
|
|
128
|
-
- { workflow-2 }
|
|
129
|
-
# ... additional workflows
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
### 6. Validate Team Composition
|
|
133
|
-
|
|
134
|
-
Before finalizing, verify:
|
|
135
|
-
|
|
136
|
-
1. **Role Coverage**: Does the team have all necessary skills for its workflows?
|
|
137
|
-
2. **Size Optimization**:
|
|
138
|
-
- Minimum: 2 agents (bmad + 1)
|
|
139
|
-
- Recommended: 3-7 agents
|
|
140
|
-
- Maximum with wildcard: bmad + "\*"
|
|
141
|
-
3. **Workflow Alignment**: Can the selected agents execute all workflows?
|
|
142
|
-
4. **Schema Compliance**: Configuration matches all schema requirements
|
|
143
|
-
|
|
144
|
-
### 7. Integration Recommendations
|
|
145
|
-
|
|
146
|
-
Document how this team integrates with existing system:
|
|
147
|
-
|
|
148
|
-
1. **Complementary Teams**: Which existing teams complement this one?
|
|
149
|
-
2. **Handoff Points**: Where does this team hand off to others?
|
|
150
|
-
3. **Use Case Scenarios**: Specific project types ideal for this team
|
|
151
|
-
|
|
152
|
-
### 8. Validation and Testing
|
|
153
|
-
|
|
154
|
-
1. **Schema Validation**: Ensure configuration matches agent-team-schema.yml
|
|
155
|
-
2. **Build Validation**: Run `npm run validate`
|
|
156
|
-
3. **Build Team**: Run `npm run build:team -t {team-name}`
|
|
157
|
-
4. **Size Check**: Verify output is appropriate for target platform
|
|
158
|
-
5. **Test Scenarios**: Run sample workflows with the team
|
|
159
|
-
|
|
160
|
-
## Example Team Creation
|
|
161
|
-
|
|
162
|
-
### Example 1: API Development Team
|
|
163
|
-
|
|
164
|
-
```yaml
|
|
165
|
-
bundle:
|
|
166
|
-
name: "Team API"
|
|
167
|
-
description: >-
|
|
168
|
-
Specialized team for API and backend service development. Focuses on
|
|
169
|
-
robust service architecture, implementation, and testing without UI
|
|
170
|
-
components. Ideal for microservices, REST APIs, and backend systems.
|
|
171
|
-
|
|
172
|
-
agents:
|
|
173
|
-
- bmad
|
|
174
|
-
- analyst
|
|
175
|
-
- architect
|
|
176
|
-
- dev
|
|
177
|
-
- qa
|
|
178
|
-
- po
|
|
179
|
-
|
|
180
|
-
workflows:
|
|
181
|
-
- greenfield-service
|
|
182
|
-
- brownfield-service
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### Example 2: Rapid Prototyping Team
|
|
186
|
-
|
|
187
|
-
```yaml
|
|
188
|
-
bundle:
|
|
189
|
-
name: "Team Prototype"
|
|
190
|
-
description: >-
|
|
191
|
-
Agile team for rapid prototyping and proof of concept development.
|
|
192
|
-
Combines planning, design, and implementation for quick iterations
|
|
193
|
-
on new ideas and experimental features.
|
|
194
|
-
|
|
195
|
-
agents:
|
|
196
|
-
- bmad
|
|
197
|
-
- pm
|
|
198
|
-
- ux-expert
|
|
199
|
-
- architect
|
|
200
|
-
- dev
|
|
201
|
-
|
|
202
|
-
workflows:
|
|
203
|
-
- greenfield-ui
|
|
204
|
-
- greenfield-fullstack
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
## Team Creation Checklist
|
|
208
|
-
|
|
209
|
-
- [ ] Team purpose clearly defined
|
|
210
|
-
- [ ] Name follows schema pattern "Team {Name}"
|
|
211
|
-
- [ ] Description is 20-500 characters
|
|
212
|
-
- [ ] Includes bmad orchestrator
|
|
213
|
-
- [ ] Agents align with team purpose
|
|
214
|
-
- [ ] Workflows match team capabilities
|
|
215
|
-
- [ ] No conflicting validations (e.g., no-UI team with UI workflows)
|
|
216
|
-
- [ ] Configuration validates against schema
|
|
217
|
-
- [ ] Build completes successfully
|
|
218
|
-
- [ ] Output size appropriate for platform
|
|
219
|
-
|
|
220
|
-
## Best Practices
|
|
221
|
-
|
|
222
|
-
1. **Start Focused**: Create teams with specific purposes rather than general-purpose teams
|
|
223
|
-
2. **Consider Workflow**: Order agents by typical workflow sequence
|
|
224
|
-
3. **Avoid Redundancy**: Don't duplicate roles unless needed
|
|
225
|
-
4. **Document Rationale**: Explain why each agent is included
|
|
226
|
-
5. **Test Integration**: Verify team works well with selected workflows
|
|
227
|
-
6. **Iterate**: Refine team composition based on usage
|
|
228
|
-
|
|
229
|
-
This schema-driven approach ensures teams are well-structured, purposeful, and integrate seamlessly with the BMAD ecosystem.
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
# Document Migration Task
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Migrate BMAD-METHOD documents to match V4 template structure exactly, preserving all content while enforcing strict template compliance.
|
|
6
|
-
|
|
7
|
-
## Task Requirements
|
|
8
|
-
|
|
9
|
-
1. **Input**: User MUST specify the document to migrate (e.g., `docs/prd.md`)
|
|
10
|
-
2. **Template**: User MUST specify the V4 template to use (e.g., `.bmad-core/templates/prd-tmpl.md`)
|
|
11
|
-
3. **Validation**: Verify document and template are compatible types
|
|
12
|
-
4. **Output**: Creates migrated document with original name, backs up original with `.bak` extension
|
|
13
|
-
|
|
14
|
-
[[LLM: VALIDATION REQUIREMENTS:
|
|
15
|
-
|
|
16
|
-
- Both input document and template paths MUST be provided by the user
|
|
17
|
-
- Do NOT assume or select templates automatically
|
|
18
|
-
- Validate that document type matches template type (e.g., PRD → PRD template)
|
|
19
|
-
- Reject incompatible migrations (e.g., PRD → architecture template)
|
|
20
|
-
|
|
21
|
-
]]
|
|
22
|
-
|
|
23
|
-
## Migration Rules
|
|
24
|
-
|
|
25
|
-
### Strict Template Compliance
|
|
26
|
-
|
|
27
|
-
[[LLM: CRITICAL RULES:
|
|
28
|
-
|
|
29
|
-
1. The ONLY Level 2 headings (##) allowed are EXACTLY those in the V4 template
|
|
30
|
-
2. No additions, no removals, no modifications to Level 2 headings
|
|
31
|
-
3. All user content must be preserved and placed under appropriate template sections
|
|
32
|
-
4. Remove any existing table of contents
|
|
33
|
-
5. Never delete user content - find the most appropriate section
|
|
34
|
-
6. DO NOT add any LLM prompts, placeholders, or "TBD" content
|
|
35
|
-
7. Leave empty sections empty - no instructions or guidance text
|
|
36
|
-
|
|
37
|
-
]]
|
|
38
|
-
|
|
39
|
-
### Content Migration Process
|
|
40
|
-
|
|
41
|
-
1. **Read Template Structure**
|
|
42
|
-
|
|
43
|
-
- Extract all Level 2 headings from the V4 template
|
|
44
|
-
- These are the ONLY Level 2 headings allowed in the final document
|
|
45
|
-
|
|
46
|
-
2. **Analyze Original Document**
|
|
47
|
-
|
|
48
|
-
- Identify all content blocks
|
|
49
|
-
- Note original section organization
|
|
50
|
-
- Flag any custom sections
|
|
51
|
-
|
|
52
|
-
3. **Create Backup First**
|
|
53
|
-
|
|
54
|
-
- Rename original file: `mv filename.md filename.md.bak`
|
|
55
|
-
- This preserves the original completely
|
|
56
|
-
|
|
57
|
-
4. **Create New File**
|
|
58
|
-
|
|
59
|
-
- Create new `filename.md` from scratch
|
|
60
|
-
- Start with template structure (all Level 2 headings)
|
|
61
|
-
- For each content block from original:
|
|
62
|
-
- Find the most appropriate V4 template section
|
|
63
|
-
- If original had Level 2 heading not in template, demote to Level 3
|
|
64
|
-
- Preserve all text, lists, code blocks, diagrams, tables
|
|
65
|
-
- Remove only table of contents sections
|
|
66
|
-
- **IMPORTANT**: Do NOT add any LLM prompts, placeholders, or instructions
|
|
67
|
-
- If a template section has no matching content, leave it empty
|
|
68
|
-
|
|
69
|
-
5. **Validate Content Preservation**
|
|
70
|
-
- For each major content block from original (excluding headings):
|
|
71
|
-
- Use grep or search to verify it exists in new file
|
|
72
|
-
- Report any content that couldn't be verified
|
|
73
|
-
- This ensures no accidental content loss
|
|
74
|
-
|
|
75
|
-
## Example Migration
|
|
76
|
-
|
|
77
|
-
```markdown
|
|
78
|
-
Original (prd.md):
|
|
79
|
-
|
|
80
|
-
## Executive Summary
|
|
81
|
-
|
|
82
|
-
[content...]
|
|
83
|
-
|
|
84
|
-
## Custom Feature Section
|
|
85
|
-
|
|
86
|
-
[content...]
|
|
87
|
-
|
|
88
|
-
## Table of Contents
|
|
89
|
-
|
|
90
|
-
[toc...]
|
|
91
|
-
|
|
92
|
-
Template (prd-tmpl.md):
|
|
93
|
-
|
|
94
|
-
## Goals and Background Context
|
|
95
|
-
|
|
96
|
-
## Functional Requirements
|
|
97
|
-
|
|
98
|
-
## Success Metrics and KPIs
|
|
99
|
-
|
|
100
|
-
Result (prd.md):
|
|
101
|
-
|
|
102
|
-
## Goals and Background Context
|
|
103
|
-
|
|
104
|
-
[executive summary content moved here]
|
|
105
|
-
|
|
106
|
-
### Custom Feature Section
|
|
107
|
-
|
|
108
|
-
[content preserved but demoted to Level 3]
|
|
109
|
-
|
|
110
|
-
## Functional Requirements
|
|
111
|
-
|
|
112
|
-
## Success Metrics and KPIs
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
## Execution Instructions
|
|
116
|
-
|
|
117
|
-
[[LLM: When executing this task:
|
|
118
|
-
|
|
119
|
-
1. Ask user for BOTH: input file path AND template path (do not assume)
|
|
120
|
-
2. Validate compatibility:
|
|
121
|
-
- Check document title/type (PRD, Architecture, etc.)
|
|
122
|
-
- Ensure template matches document type
|
|
123
|
-
- REJECT if types don't match (e.g., "Cannot migrate PRD to architecture template")
|
|
124
|
-
3. Read both files completely
|
|
125
|
-
4. Rename original to .bak: `mv original.md original.md.bak`
|
|
126
|
-
5. Extract Level 2 headings from template - these are MANDATORY
|
|
127
|
-
6. Create NEW file with original name
|
|
128
|
-
7. Build new content:
|
|
129
|
-
- Start with all template Level 2 sections
|
|
130
|
-
- Map original content to appropriate sections
|
|
131
|
-
- Demote any non-template Level 2 headings to Level 3
|
|
132
|
-
- Leave empty sections empty (no placeholders or instructions)
|
|
133
|
-
8. Validate content preservation:
|
|
134
|
-
- Extract key content snippets from .bak file
|
|
135
|
-
- Use grep to verify each exists in new file
|
|
136
|
-
- Report any missing content
|
|
137
|
-
9. Report migration summary:
|
|
138
|
-
- Sections moved/demoted
|
|
139
|
-
- Content validation results
|
|
140
|
-
- Any manual review needed
|
|
141
|
-
|
|
142
|
-
]]
|
|
143
|
-
|
|
144
|
-
### Document Type Detection
|
|
145
|
-
|
|
146
|
-
[[LLM: Detect document type by examining:
|
|
147
|
-
|
|
148
|
-
- File name (prd.md, architecture.md, etc.)
|
|
149
|
-
- Main title (# Product Requirements Document, # Architecture, etc.)
|
|
150
|
-
- Content patterns (user stories → PRD, technology stack → Architecture)
|
|
151
|
-
|
|
152
|
-
Template compatibility:
|
|
153
|
-
|
|
154
|
-
- prd-tmpl.md → Only for PRD documents
|
|
155
|
-
- architecture-tmpl.md → Only for backend/single architecture
|
|
156
|
-
- full-stack-architecture-tmpl.md → Only for architecture documents (can merge multiple)
|
|
157
|
-
|
|
158
|
-
]]
|
|
159
|
-
|
|
160
|
-
## Common Migrations
|
|
161
|
-
|
|
162
|
-
Valid migrations:
|
|
163
|
-
|
|
164
|
-
- `prd.md` → `.bmad-core/templates/prd-tmpl.md`
|
|
165
|
-
- `architecture.md` → `.bmad-core/templates/architecture-tmpl.md`
|
|
166
|
-
- `architecture.md` + `front-end-architecture.md` → `.bmad-core/templates/full-stack-architecture-tmpl.md`
|
|
167
|
-
|
|
168
|
-
Invalid migrations (MUST REJECT):
|
|
169
|
-
|
|
170
|
-
- `prd.md` → `.bmad-core/templates/architecture-tmpl.md`
|
|
171
|
-
- `architecture.md` → `.bmad-core/templates/prd-tmpl.md`
|
|
172
|
-
- `ux-ui-spec.md` → `.bmad-core/templates/prd-tmpl.md`
|
|
173
|
-
|
|
174
|
-
## Validation
|
|
175
|
-
|
|
176
|
-
After migration verify:
|
|
177
|
-
|
|
178
|
-
- [ ] All Level 2 headings match template exactly
|
|
179
|
-
- [ ] All original content is preserved (use grep validation)
|
|
180
|
-
- [ ] No table of contents remains
|
|
181
|
-
- [ ] Backup file exists with .bak extension
|
|
182
|
-
- [ ] Custom sections demoted to Level 3 or lower
|
|
183
|
-
|
|
184
|
-
### Content Validation Example
|
|
185
|
-
|
|
186
|
-
[[LLM: Example validation approach:
|
|
187
|
-
|
|
188
|
-
1. Extract significant text blocks from .bak file (>20 words)
|
|
189
|
-
2. For each block, grep in new file:
|
|
190
|
-
```bash
|
|
191
|
-
grep -F "first 10-15 words of content block" newfile.md
|
|
192
|
-
```
|
|
193
|
-
3. Track validation results:
|
|
194
|
-
- ✓ Found: content successfully migrated
|
|
195
|
-
- ✗ Missing: needs investigation
|
|
196
|
-
4. Report any content that couldn't be found
|
|
197
|
-
|
|
198
|
-
]]
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Create AI Frontend Prompt Task
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
To generate a masterful, comprehensive, and optimized prompt that can be used with AI-driven frontend development tools (e.g., Lovable, Vercel v0, or similar) to scaffold or generate significant portions of the frontend application.
|
|
6
|
-
|
|
7
|
-
## Inputs
|
|
8
|
-
|
|
9
|
-
- Completed UI/UX Specification (`front-end-spec-tmpl`)
|
|
10
|
-
- Completed Frontend Architecture Document (`front-end-architecture`)
|
|
11
|
-
- Main System Architecture Document (`architecture` - for API contracts and tech stack)
|
|
12
|
-
- Primary Design Files (Figma, Sketch, etc. - for visual context if the tool can accept it or if descriptions are needed)
|
|
13
|
-
|
|
14
|
-
## Key Activities & Instructions
|
|
15
|
-
|
|
16
|
-
1. **Confirm Target AI Generation Platform:**
|
|
17
|
-
|
|
18
|
-
- Ask the user to specify which AI frontend generation tool/platform they intend to use (e.g., "Lovable.ai", "Vercel v0", "GPT-4 with direct code generation instructions", etc.).
|
|
19
|
-
- Explain that prompt optimization might differ slightly based on the platform's capabilities and preferred input format.
|
|
20
|
-
|
|
21
|
-
2. **Synthesize Inputs into a Structured Prompt:**
|
|
22
|
-
|
|
23
|
-
- **Overall Project Context:**
|
|
24
|
-
- Briefly state the project's purpose (from brief/PRD).
|
|
25
|
-
- Specify the chosen frontend framework, core libraries, and UI component library (from `front-end-architecture` and main `architecture`).
|
|
26
|
-
- Mention the styling approach (e.g., Tailwind CSS, CSS Modules).
|
|
27
|
-
- **Design System & Visuals:**
|
|
28
|
-
- Reference the primary design files (e.g., Figma link).
|
|
29
|
-
- If the tool doesn't directly ingest design files, describe the overall visual style, color palette, typography, and key branding elements (from `front-end-spec-tmpl`).
|
|
30
|
-
- List any global UI components or design tokens that should be defined or adhered to.
|
|
31
|
-
- **Application Structure & Routing:**
|
|
32
|
-
- Describe the main pages/views and their routes (from `front-end-architecture` - Routing Strategy).
|
|
33
|
-
- Outline the navigation structure (from `front-end-spec-tmpl`).
|
|
34
|
-
- **Key User Flows & Page-Level Interactions:**
|
|
35
|
-
- For a few critical user flows (from `front-end-spec-tmpl`):
|
|
36
|
-
- Describe the sequence of user actions and expected UI changes on each relevant page.
|
|
37
|
-
- Specify API calls to be made (referencing API endpoints from the main `architecture`) and how data should be displayed or used.
|
|
38
|
-
- **Component Generation Instructions (Iterative or Key Components):**
|
|
39
|
-
- Based on the chosen AI tool's capabilities, decide on a strategy:
|
|
40
|
-
- **Option 1 (Scaffolding):** Prompt for the generation of main page structures, layouts, and placeholders for components.
|
|
41
|
-
- **Option 2 (Key Component Generation):** Select a few critical or complex components from the `front-end-architecture` (Component Breakdown) and provide detailed specifications for them (props, state, basic behavior, key UI elements).
|
|
42
|
-
- **Option 3 (Holistic, if tool supports):** Attempt to describe the entire application structure and key components more broadly.
|
|
43
|
-
- <important_note>Advise the user that generating an entire complex application perfectly in one go is rare. Iterative prompting or focusing on sections/key components is often more effective.</important_note>
|
|
44
|
-
- **State Management (High-Level Pointers):**
|
|
45
|
-
- Mention the chosen state management solution (e.g., "Use Redux Toolkit").
|
|
46
|
-
- For key pieces of data, indicate if they should be managed in global state.
|
|
47
|
-
- **API Integration Points:**
|
|
48
|
-
- For pages/components that fetch or submit data, clearly state the relevant API endpoints (from `architecture`) and the expected data shapes (can reference schemas in `data-models` or `api-reference` sections of the architecture doc).
|
|
49
|
-
- **Critical "Don'ts" or Constraints:**
|
|
50
|
-
- e.g., "Do not use deprecated libraries." "Ensure all forms have basic client-side validation."
|
|
51
|
-
- **Platform-Specific Optimizations:**
|
|
52
|
-
- If the chosen AI tool has known best practices for prompting (e.g., specific keywords, structure, level of detail), incorporate them. (This might require the agent to have some general knowledge or to ask the user if they know any such specific prompt modifiers for their chosen tool).
|
|
53
|
-
|
|
54
|
-
3. **Present and Refine the Master Prompt:**
|
|
55
|
-
- Output the generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
56
|
-
- Explain the structure of the prompt and why certain information was included.
|
|
57
|
-
- Work with the user to refine the prompt based on their knowledge of the target AI tool and any specific nuances they want to emphasize.
|
|
58
|
-
- <important_note>Remind the user that the generated code from the AI tool will likely require review, testing, and further refinement by developers.</important_note>
|