bmad-method 4.5.0 → 4.6.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/CHANGELOG.md +19 -0
- package/bmad-core/agents/bmad-orchestrator.md +55 -66
- package/bmad-core/agents/pm.md +0 -1
- package/bmad-core/tasks/doc-migration-task.md +9 -9
- package/bmad-core/tasks/index-docs.md +3 -7
- package/bmad-core/templates/front-end-spec-tmpl.md +1 -1
- package/bmad-core/templates/fullstack-architecture-tmpl.md +60 -60
- package/bmad-core/templates/prd-tmpl.md +2 -2
- package/bmad-core/workflows/brownfield-fullstack.yml +19 -58
- package/bmad-core/workflows/brownfield-service.yml +19 -58
- package/bmad-core/workflows/brownfield-ui.yml +20 -59
- package/bmad-core/workflows/greenfield-fullstack.yml +31 -77
- package/bmad-core/workflows/greenfield-service.yml +22 -68
- package/bmad-core/workflows/greenfield-ui.yml +30 -76
- package/dist/agents/architect.txt +60 -60
- package/dist/agents/bmad-master.txt +66 -70
- package/dist/agents/bmad-orchestrator.txt +55 -66
- package/dist/agents/pm.txt +2 -467
- package/dist/agents/ux-expert.txt +1 -1
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +55 -66
- package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +39 -32
- package/dist/teams/team-all.txt +368 -1099
- package/dist/teams/team-fullstack.txt +286 -1017
- package/dist/teams/team-ide-minimal.txt +55 -66
- package/dist/teams/team-no-ui.txt +224 -785
- package/docs/claude-code-guide.md +6 -4
- package/docs/cursor-guide.md +8 -4
- package/docs/roo-code-guide.md +6 -4
- package/docs/versioning-and-releases.md +6 -6
- package/docs/windsurf-guide.md +6 -4
- package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +17 -13
- package/package.json +1 -1
- package/tools/installer/package.json +1 -1
- package/bmad-core/templates/simple-project-prd-tmpl.md +0 -461
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
117
117
|
|
|
118
118
|
- Each epic should deliver a significant, end-to-end, fully deployable increment of testable functionality
|
|
119
|
-
- Epic 1 must establish foundational project infrastructure (app setup, Git, CI/CD, core services) unless we are adding new functionality to an existing app, while also delivering an initial piece of functionality, even as simple as a health-check route or display of a simple canary page
|
|
119
|
+
- Epic 1 must establish foundational project infrastructure (app setup, Git, CI/CD, core services) unless we are adding new functionality to an existing app, while also delivering an initial piece of functionality, even as simple as a health-check route or display of a simple canary page - remember this when we produce the stories for the first epic!
|
|
120
120
|
- Each subsequent epic builds upon previous epics' functionality delivering major blocks of functionality that provide tangible value to users or business when deployed
|
|
121
121
|
- Not every project needs multiple epics, an epic needs to deliver value. For example, an API completed can deliver value even if a UI is not complete and planned for a separate epic.
|
|
122
122
|
- Err on the side of less epics, but let the user know your rationale and offer options for splitting them if it seems some are too large or focused on disparate things.
|
|
@@ -148,7 +148,7 @@ CRITICAL: Epics MUST be logically sequential following agile best practices:
|
|
|
148
148
|
[[LLM: CRITICAL STORY SEQUENCING REQUIREMENTS:
|
|
149
149
|
|
|
150
150
|
- Stories within each epic MUST be logically sequential
|
|
151
|
-
- Each story should be a "vertical slice" delivering complete functionality
|
|
151
|
+
- Each story should be a "vertical slice" delivering complete functionality aside from early enabler stories for project foundation
|
|
152
152
|
- No story should depend on work from a later story or epic
|
|
153
153
|
- Identify and note any direct prerequisite stories
|
|
154
154
|
- Focus on "what" and "why" not "how" (leave technical implementation to Architect) yet be precise enough to support a logical sequential order of operations from story to story.
|
|
@@ -11,16 +11,11 @@ workflow:
|
|
|
11
11
|
- modernization
|
|
12
12
|
- integration-enhancement
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
complex_enhancement_sequence:
|
|
16
|
-
- step: scope_assessment
|
|
17
|
-
agent: any
|
|
18
|
-
action: assess complexity
|
|
19
|
-
notes: "First, assess if this is a simple change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
20
|
-
|
|
14
|
+
sequence:
|
|
21
15
|
- step: project_analysis
|
|
22
|
-
agent:
|
|
23
|
-
action: analyze existing project
|
|
16
|
+
agent: architect
|
|
17
|
+
action: analyze existing project and use task document-project
|
|
18
|
+
creates: multiple documents per the document-project template
|
|
24
19
|
notes: "Review existing documentation, codebase structure, and identify integration points. Document current system understanding before proceeding."
|
|
25
20
|
|
|
26
21
|
- agent: pm
|
|
@@ -49,68 +44,34 @@ workflow:
|
|
|
49
44
|
action: move_to_ide
|
|
50
45
|
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
51
46
|
|
|
52
|
-
# For Simple Enhancements (1-3 Stories, Following Existing Patterns)
|
|
53
|
-
simple_enhancement_sequence:
|
|
54
|
-
- step: enhancement_type
|
|
55
|
-
action: choose approach
|
|
56
|
-
notes: "Choose between creating single story (very small change) or epic (1-3 related stories)."
|
|
57
|
-
|
|
58
|
-
- agent: pm|po|sm
|
|
59
|
-
creates: brownfield_epic OR brownfield_story
|
|
60
|
-
uses: brownfield-create-epic OR brownfield-create-story
|
|
61
|
-
notes: "Create focused enhancement with existing system integration. Choose agent based on team preference and context."
|
|
62
|
-
|
|
63
|
-
- workflow_end:
|
|
64
|
-
action: move_to_ide
|
|
65
|
-
notes: "Enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
66
|
-
|
|
67
47
|
flow_diagram: |
|
|
68
48
|
```mermaid
|
|
69
49
|
graph TD
|
|
70
|
-
A[Start: Brownfield Enhancement] --> B
|
|
71
|
-
B
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
F
|
|
77
|
-
G -->
|
|
78
|
-
|
|
79
|
-
H
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
D -->|1 Story| K[pm/po/sm: brownfield-create-story]
|
|
83
|
-
D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
|
|
84
|
-
K --> M[Move to IDE Environment]
|
|
85
|
-
L --> M
|
|
86
|
-
|
|
87
|
-
style J fill:#90EE90
|
|
88
|
-
style M fill:#90EE90
|
|
89
|
-
style E fill:#FFE4B5
|
|
90
|
-
style F fill:#FFE4B5
|
|
91
|
-
style K fill:#FFB6C1
|
|
92
|
-
style L fill:#FFB6C1
|
|
50
|
+
A[Start: Brownfield Enhancement] --> B[analyst: analyze existing project]
|
|
51
|
+
B --> C[pm: brownfield-prd.md]
|
|
52
|
+
C --> D[architect: brownfield-architecture.md]
|
|
53
|
+
D --> E[po: validate with po-master-checklist]
|
|
54
|
+
E --> F{PO finds issues?}
|
|
55
|
+
F -->|Yes| G[Return to relevant agent for fixes]
|
|
56
|
+
F -->|No| H[Move to IDE Environment]
|
|
57
|
+
G --> E
|
|
58
|
+
|
|
59
|
+
style H fill:#90EE90
|
|
60
|
+
style C fill:#FFE4B5
|
|
61
|
+
style D fill:#FFE4B5
|
|
93
62
|
```
|
|
94
63
|
|
|
95
64
|
decision_guidance:
|
|
96
|
-
|
|
97
|
-
- Enhancement requires
|
|
65
|
+
when_to_use:
|
|
66
|
+
- Enhancement requires coordinated stories
|
|
98
67
|
- Architectural changes are needed
|
|
99
68
|
- Significant integration work required
|
|
100
69
|
- Risk assessment and mitigation planning necessary
|
|
101
70
|
- Multiple team members will work on related changes
|
|
102
71
|
|
|
103
|
-
use_simple_sequence_when:
|
|
104
|
-
- Enhancement can be completed in 1-3 stories
|
|
105
|
-
- Follows existing project patterns
|
|
106
|
-
- Integration complexity is minimal
|
|
107
|
-
- Risk to existing system is low
|
|
108
|
-
- Change is isolated with clear boundaries
|
|
109
|
-
|
|
110
72
|
handoff_prompts:
|
|
111
73
|
analyst_to_pm: "Existing project analysis complete. Create comprehensive brownfield PRD with integration strategy."
|
|
112
74
|
pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the integration architecture."
|
|
113
75
|
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for integration safety."
|
|
114
76
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
115
|
-
|
|
116
|
-
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
77
|
+
complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -12,16 +12,11 @@ workflow:
|
|
|
12
12
|
- performance-optimization
|
|
13
13
|
- integration-enhancement
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
complex_enhancement_sequence:
|
|
17
|
-
- step: scope_assessment
|
|
18
|
-
agent: any
|
|
19
|
-
action: assess complexity
|
|
20
|
-
notes: "First, assess if this is a simple service change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
21
|
-
|
|
15
|
+
sequence:
|
|
22
16
|
- step: service_analysis
|
|
23
|
-
|
|
24
|
-
action: analyze existing
|
|
17
|
+
agent: architect
|
|
18
|
+
action: analyze existing project and use task document-project
|
|
19
|
+
creates: multiple documents per the document-project template
|
|
25
20
|
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
|
26
21
|
|
|
27
22
|
- agent: pm
|
|
@@ -50,68 +45,34 @@ workflow:
|
|
|
50
45
|
action: move_to_ide
|
|
51
46
|
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
52
47
|
|
|
53
|
-
# For Simple Service Enhancements (1-3 Stories, Following Existing Patterns)
|
|
54
|
-
simple_enhancement_sequence:
|
|
55
|
-
- step: enhancement_type
|
|
56
|
-
action: choose approach
|
|
57
|
-
notes: "Choose between creating single story (simple API endpoint) or epic (1-3 related service changes)."
|
|
58
|
-
|
|
59
|
-
- agent: pm|po|sm
|
|
60
|
-
creates: brownfield_epic OR brownfield_story
|
|
61
|
-
uses: brownfield-create-epic OR brownfield-create-story
|
|
62
|
-
notes: "Create focused service enhancement with existing API integration. Choose agent based on team preference and context."
|
|
63
|
-
|
|
64
|
-
- workflow_end:
|
|
65
|
-
action: move_to_ide
|
|
66
|
-
notes: "Service enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
67
|
-
|
|
68
48
|
flow_diagram: |
|
|
69
49
|
```mermaid
|
|
70
50
|
graph TD
|
|
71
|
-
A[Start: Service Enhancement] --> B
|
|
72
|
-
B
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
F
|
|
78
|
-
G -->
|
|
79
|
-
|
|
80
|
-
H
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
D -->|1 Story| K[pm/po/sm: brownfield-create-story]
|
|
84
|
-
D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
|
|
85
|
-
K --> M[Move to IDE Environment]
|
|
86
|
-
L --> M
|
|
87
|
-
|
|
88
|
-
style J fill:#90EE90
|
|
89
|
-
style M fill:#90EE90
|
|
90
|
-
style E fill:#FFE4B5
|
|
91
|
-
style F fill:#FFE4B5
|
|
92
|
-
style K fill:#FFB6C1
|
|
93
|
-
style L fill:#FFB6C1
|
|
51
|
+
A[Start: Service Enhancement] --> B[analyst: analyze existing service]
|
|
52
|
+
B --> C[pm: brownfield-prd.md]
|
|
53
|
+
C --> D[architect: brownfield-architecture.md]
|
|
54
|
+
D --> E[po: validate with po-master-checklist]
|
|
55
|
+
E --> F{PO finds issues?}
|
|
56
|
+
F -->|Yes| G[Return to relevant agent for fixes]
|
|
57
|
+
F -->|No| H[Move to IDE Environment]
|
|
58
|
+
G --> E
|
|
59
|
+
|
|
60
|
+
style H fill:#90EE90
|
|
61
|
+
style C fill:#FFE4B5
|
|
62
|
+
style D fill:#FFE4B5
|
|
94
63
|
```
|
|
95
64
|
|
|
96
65
|
decision_guidance:
|
|
97
|
-
|
|
98
|
-
- Service enhancement requires
|
|
66
|
+
when_to_use:
|
|
67
|
+
- Service enhancement requires coordinated stories
|
|
99
68
|
- API versioning or breaking changes needed
|
|
100
69
|
- Database schema changes required
|
|
101
70
|
- Performance or scalability improvements needed
|
|
102
71
|
- Multiple integration points affected
|
|
103
72
|
|
|
104
|
-
use_simple_sequence_when:
|
|
105
|
-
- Adding simple endpoints or modifying existing ones
|
|
106
|
-
- Enhancement follows existing service patterns
|
|
107
|
-
- API compatibility maintained
|
|
108
|
-
- Risk to existing service is low
|
|
109
|
-
- Change is isolated with clear boundaries
|
|
110
|
-
|
|
111
73
|
handoff_prompts:
|
|
112
74
|
analyst_to_pm: "Service analysis complete. Create comprehensive brownfield PRD with service integration strategy."
|
|
113
75
|
pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the service architecture."
|
|
114
76
|
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for service integration safety."
|
|
115
77
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
116
|
-
|
|
117
|
-
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
78
|
+
complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -11,16 +11,11 @@ workflow:
|
|
|
11
11
|
- design-refresh
|
|
12
12
|
- frontend-enhancement
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
complex_enhancement_sequence:
|
|
16
|
-
- step: scope_assessment
|
|
17
|
-
agent: any
|
|
18
|
-
action: assess complexity
|
|
19
|
-
notes: "First, assess if this is a simple UI change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
20
|
-
|
|
14
|
+
sequence:
|
|
21
15
|
- step: ui_analysis
|
|
22
|
-
agent:
|
|
23
|
-
action: analyze existing
|
|
16
|
+
agent: architect
|
|
17
|
+
action: analyze existing project and use task document-project
|
|
18
|
+
creates: multiple documents per the document-project template
|
|
24
19
|
notes: "Review existing frontend application, user feedback, analytics data, and identify improvement areas."
|
|
25
20
|
|
|
26
21
|
- agent: pm
|
|
@@ -57,71 +52,37 @@ workflow:
|
|
|
57
52
|
action: move_to_ide
|
|
58
53
|
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
59
54
|
|
|
60
|
-
# For Simple UI Enhancements (1-3 Stories, Following Existing Design)
|
|
61
|
-
simple_enhancement_sequence:
|
|
62
|
-
- step: enhancement_type
|
|
63
|
-
action: choose approach
|
|
64
|
-
notes: "Choose between creating single story (simple component change) or epic (1-3 related UI changes)."
|
|
65
|
-
|
|
66
|
-
- agent: pm|po|sm
|
|
67
|
-
creates: brownfield_epic OR brownfield_story
|
|
68
|
-
uses: brownfield-create-epic OR brownfield-create-story
|
|
69
|
-
notes: "Create focused UI enhancement with existing design system integration. Choose agent based on team preference and context."
|
|
70
|
-
|
|
71
|
-
- workflow_end:
|
|
72
|
-
action: move_to_ide
|
|
73
|
-
notes: "UI enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
74
|
-
|
|
75
55
|
flow_diagram: |
|
|
76
56
|
```mermaid
|
|
77
57
|
graph TD
|
|
78
|
-
A[Start: UI Enhancement] --> B
|
|
79
|
-
B
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
G
|
|
86
|
-
H -->
|
|
87
|
-
|
|
88
|
-
I
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
D -->|1 Story| L[pm/po/sm: brownfield-create-story]
|
|
92
|
-
D -->|2-3 Stories| M[pm/po/sm: brownfield-create-epic]
|
|
93
|
-
L --> N[Move to IDE Environment]
|
|
94
|
-
M --> N
|
|
95
|
-
|
|
96
|
-
style K fill:#90EE90
|
|
97
|
-
style N fill:#90EE90
|
|
58
|
+
A[Start: UI Enhancement] --> B[analyst: analyze existing UI]
|
|
59
|
+
B --> C[pm: brownfield-prd.md]
|
|
60
|
+
C --> D[ux-expert: front-end-spec.md]
|
|
61
|
+
D --> E[architect: brownfield-architecture.md]
|
|
62
|
+
E --> F[po: validate with po-master-checklist]
|
|
63
|
+
F --> G{PO finds issues?}
|
|
64
|
+
G -->|Yes| H[Return to relevant agent for fixes]
|
|
65
|
+
G -->|No| I[Move to IDE Environment]
|
|
66
|
+
H --> F
|
|
67
|
+
|
|
68
|
+
style I fill:#90EE90
|
|
69
|
+
style C fill:#FFE4B5
|
|
70
|
+
style D fill:#FFE4B5
|
|
98
71
|
style E fill:#FFE4B5
|
|
99
|
-
style F fill:#FFE4B5
|
|
100
|
-
style G fill:#FFE4B5
|
|
101
|
-
style L fill:#FFB6C1
|
|
102
|
-
style M fill:#FFB6C1
|
|
103
72
|
```
|
|
104
73
|
|
|
105
74
|
decision_guidance:
|
|
106
|
-
|
|
107
|
-
- UI enhancement requires
|
|
75
|
+
when_to_use:
|
|
76
|
+
- UI enhancement requires coordinated stories
|
|
108
77
|
- Design system changes needed
|
|
109
78
|
- New component patterns required
|
|
110
79
|
- User research and testing needed
|
|
111
80
|
- Multiple team members will work on related changes
|
|
112
81
|
|
|
113
|
-
use_simple_sequence_when:
|
|
114
|
-
- Enhancement can be completed in 1-3 stories
|
|
115
|
-
- Follows existing design patterns exactly
|
|
116
|
-
- Component changes are isolated
|
|
117
|
-
- Risk to existing UI is low
|
|
118
|
-
- Change maintains current user experience
|
|
119
|
-
|
|
120
82
|
handoff_prompts:
|
|
121
83
|
analyst_to_pm: "UI analysis complete. Create comprehensive brownfield PRD with UI integration strategy."
|
|
122
84
|
pm_to_ux: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the UI/UX specification."
|
|
123
85
|
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md, then create the frontend architecture."
|
|
124
86
|
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for UI integration safety."
|
|
125
87
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
126
|
-
|
|
127
|
-
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
88
|
+
complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -12,8 +12,7 @@ workflow:
|
|
|
12
12
|
- prototype
|
|
13
13
|
- mvp
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
complex_project_sequence:
|
|
15
|
+
sequence:
|
|
17
16
|
- agent: analyst
|
|
18
17
|
creates: project-brief.md
|
|
19
18
|
optional_steps:
|
|
@@ -78,91 +77,50 @@ workflow:
|
|
|
78
77
|
action: move_to_ide
|
|
79
78
|
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
80
79
|
|
|
81
|
-
# For Simple Projects (Prototypes, MVPs, Quick Experiments)
|
|
82
|
-
simple_project_sequence:
|
|
83
|
-
- step: project_scope
|
|
84
|
-
action: assess complexity
|
|
85
|
-
notes: "First, assess if this needs full planning (use complex_project_sequence) or can be a simple prototype/MVP."
|
|
86
|
-
|
|
87
|
-
- agent: analyst
|
|
88
|
-
creates: project-brief.md
|
|
89
|
-
optional_steps:
|
|
90
|
-
- brainstorming_session
|
|
91
|
-
notes: "Creates focused project brief for simple project. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
92
|
-
|
|
93
|
-
- agent: pm
|
|
94
|
-
creates: simple-project-prd.md
|
|
95
|
-
uses: create doc simple-project-prd OR create-epic OR create-story
|
|
96
|
-
requires: project-brief.md
|
|
97
|
-
notes: "Create simple prd, simple epic or story instead of full PRD for rapid development. Choose based on scope."
|
|
98
|
-
|
|
99
|
-
- workflow_end:
|
|
100
|
-
action: move_to_ide
|
|
101
|
-
notes: "Simple project defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
102
|
-
|
|
103
80
|
flow_diagram: |
|
|
104
81
|
```mermaid
|
|
105
82
|
graph TD
|
|
106
|
-
A[Start: Greenfield Project] --> B
|
|
107
|
-
B
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
G --> H
|
|
118
|
-
H
|
|
119
|
-
|
|
120
|
-
I
|
|
121
|
-
J -->
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
G -.-> G1[Optional: technical research]
|
|
133
|
-
D -.-> D1[Optional: brainstorming]
|
|
134
|
-
|
|
135
|
-
style M fill:#90EE90
|
|
136
|
-
style O fill:#90EE90
|
|
137
|
-
style F3 fill:#E6E6FA
|
|
138
|
-
style F4 fill:#E6E6FA
|
|
83
|
+
A[Start: Greenfield Project] --> B[analyst: project-brief.md]
|
|
84
|
+
B --> C[pm: prd.md]
|
|
85
|
+
C --> D[ux-expert: front-end-spec.md]
|
|
86
|
+
D --> D2{Generate v0 prompt?}
|
|
87
|
+
D2 -->|Yes| D3[ux-expert: create v0 prompt]
|
|
88
|
+
D2 -->|No| E[architect: fullstack-architecture.md]
|
|
89
|
+
D3 --> D4[User: generate UI in v0/Lovable]
|
|
90
|
+
D4 --> E
|
|
91
|
+
E --> F{Architecture suggests PRD changes?}
|
|
92
|
+
F -->|Yes| G[pm: update prd.md]
|
|
93
|
+
F -->|No| H[po: validate all artifacts]
|
|
94
|
+
G --> H
|
|
95
|
+
H --> I{PO finds issues?}
|
|
96
|
+
I -->|Yes| J[Return to relevant agent for fixes]
|
|
97
|
+
I -->|No| K[Move to IDE Environment]
|
|
98
|
+
J --> H
|
|
99
|
+
|
|
100
|
+
B -.-> B1[Optional: brainstorming]
|
|
101
|
+
B -.-> B2[Optional: market research]
|
|
102
|
+
D -.-> D1[Optional: user research]
|
|
103
|
+
E -.-> E1[Optional: technical research]
|
|
104
|
+
|
|
105
|
+
style K fill:#90EE90
|
|
106
|
+
style D3 fill:#E6E6FA
|
|
107
|
+
style D4 fill:#E6E6FA
|
|
108
|
+
style B fill:#FFE4B5
|
|
139
109
|
style C fill:#FFE4B5
|
|
110
|
+
style D fill:#FFE4B5
|
|
140
111
|
style E fill:#FFE4B5
|
|
141
|
-
style F fill:#FFE4B5
|
|
142
|
-
style G fill:#FFE4B5
|
|
143
|
-
style D fill:#FFB6C1
|
|
144
|
-
style N fill:#FFB6C1
|
|
145
112
|
```
|
|
146
113
|
|
|
147
114
|
decision_guidance:
|
|
148
|
-
|
|
115
|
+
when_to_use:
|
|
149
116
|
- Building production-ready applications
|
|
150
117
|
- Multiple team members will be involved
|
|
151
|
-
- Complex feature requirements
|
|
118
|
+
- Complex feature requirements
|
|
152
119
|
- Need comprehensive documentation
|
|
153
120
|
- Long-term maintenance expected
|
|
154
121
|
- Enterprise or customer-facing applications
|
|
155
122
|
|
|
156
|
-
use_simple_sequence_when:
|
|
157
|
-
- Building prototypes or MVPs
|
|
158
|
-
- Solo developer or small team
|
|
159
|
-
- Simple requirements (1-3 stories)
|
|
160
|
-
- Quick experiments or proof-of-concepts
|
|
161
|
-
- Short-term or throwaway projects
|
|
162
|
-
- Learning or educational projects
|
|
163
|
-
|
|
164
123
|
handoff_prompts:
|
|
165
|
-
# Complex sequence prompts
|
|
166
124
|
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
|
167
125
|
pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
|
|
168
126
|
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
|
|
@@ -170,8 +128,4 @@ workflow:
|
|
|
170
128
|
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
|
171
129
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
172
130
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
# Simple sequence prompts
|
|
176
|
-
simple_analyst_to_pm: "Focused project brief complete. Save it as docs/project-brief.md, then create simple epic or story for rapid development."
|
|
177
|
-
simple_complete: "Simple project defined. Move to IDE environment to begin development."
|
|
131
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -13,8 +13,7 @@ workflow:
|
|
|
13
13
|
- api-prototype
|
|
14
14
|
- simple-service
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
complex_service_sequence:
|
|
16
|
+
sequence:
|
|
18
17
|
- agent: analyst
|
|
19
18
|
creates: project-brief.md
|
|
20
19
|
optional_steps:
|
|
@@ -54,65 +53,33 @@ workflow:
|
|
|
54
53
|
action: move_to_ide
|
|
55
54
|
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
56
55
|
|
|
57
|
-
# For Simple Services (Simple APIs, Single Purpose Services)
|
|
58
|
-
simple_service_sequence:
|
|
59
|
-
- step: service_scope
|
|
60
|
-
action: assess complexity
|
|
61
|
-
notes: "First, assess if this needs full planning (use complex_service_sequence) or can be a simple API/service."
|
|
62
|
-
|
|
63
|
-
- agent: analyst
|
|
64
|
-
creates: project-brief.md
|
|
65
|
-
optional_steps:
|
|
66
|
-
- brainstorming_session
|
|
67
|
-
notes: "Creates focused project brief for simple service. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
68
|
-
|
|
69
|
-
- agent: pm
|
|
70
|
-
creates: simple_epic OR single_story
|
|
71
|
-
uses: create-epic OR create-story
|
|
72
|
-
requires: project-brief.md
|
|
73
|
-
notes: "Create simple epic or story for API endpoints instead of full PRD for rapid development."
|
|
74
|
-
|
|
75
|
-
- workflow_end:
|
|
76
|
-
action: move_to_ide
|
|
77
|
-
notes: "Simple service defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
78
|
-
|
|
79
56
|
flow_diagram: |
|
|
80
57
|
```mermaid
|
|
81
58
|
graph TD
|
|
82
|
-
A[Start: Service Development] --> B
|
|
83
|
-
B
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
E
|
|
88
|
-
F --> G
|
|
89
|
-
G
|
|
90
|
-
|
|
91
|
-
H
|
|
92
|
-
I -->
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
C -.-> C1[Optional: brainstorming]
|
|
101
|
-
C -.-> C2[Optional: market research]
|
|
102
|
-
F -.-> F1[Optional: technical research]
|
|
103
|
-
D -.-> D1[Optional: brainstorming]
|
|
104
|
-
|
|
105
|
-
style L fill:#90EE90
|
|
106
|
-
style N fill:#90EE90
|
|
59
|
+
A[Start: Service Development] --> B[analyst: project-brief.md]
|
|
60
|
+
B --> C[pm: prd.md]
|
|
61
|
+
C --> D[architect: architecture.md]
|
|
62
|
+
D --> E{Architecture suggests PRD changes?}
|
|
63
|
+
E -->|Yes| F[pm: update prd.md]
|
|
64
|
+
E -->|No| G[po: validate all artifacts]
|
|
65
|
+
F --> G
|
|
66
|
+
G --> H{PO finds issues?}
|
|
67
|
+
H -->|Yes| I[Return to relevant agent for fixes]
|
|
68
|
+
H -->|No| J[Move to IDE Environment]
|
|
69
|
+
I --> G
|
|
70
|
+
|
|
71
|
+
B -.-> B1[Optional: brainstorming]
|
|
72
|
+
B -.-> B2[Optional: market research]
|
|
73
|
+
D -.-> D1[Optional: technical research]
|
|
74
|
+
|
|
75
|
+
style J fill:#90EE90
|
|
76
|
+
style B fill:#FFE4B5
|
|
107
77
|
style C fill:#FFE4B5
|
|
108
|
-
style
|
|
109
|
-
style F fill:#FFE4B5
|
|
110
|
-
style D fill:#FFB6C1
|
|
111
|
-
style M fill:#FFB6C1
|
|
78
|
+
style D fill:#FFE4B5
|
|
112
79
|
```
|
|
113
80
|
|
|
114
81
|
decision_guidance:
|
|
115
|
-
|
|
82
|
+
when_to_use:
|
|
116
83
|
- Building production APIs or microservices
|
|
117
84
|
- Multiple endpoints and complex business logic
|
|
118
85
|
- Need comprehensive documentation and testing
|
|
@@ -120,24 +87,11 @@ workflow:
|
|
|
120
87
|
- Long-term maintenance expected
|
|
121
88
|
- Enterprise or external-facing APIs
|
|
122
89
|
|
|
123
|
-
use_simple_sequence_when:
|
|
124
|
-
- Building simple APIs or single-purpose services
|
|
125
|
-
- Few endpoints with straightforward logic
|
|
126
|
-
- Prototyping or proof-of-concept APIs
|
|
127
|
-
- Solo developer or small team
|
|
128
|
-
- Internal tools or utilities
|
|
129
|
-
- Learning or experimental projects
|
|
130
|
-
|
|
131
90
|
handoff_prompts:
|
|
132
|
-
# Complex sequence prompts
|
|
133
91
|
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
|
134
92
|
pm_to_architect: "PRD is ready. Save it as docs/prd.md in your project, then create the service architecture."
|
|
135
93
|
architect_review: "Architecture complete. Save it as docs/architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
|
|
136
94
|
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
|
137
95
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
138
96
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
# Simple sequence prompts
|
|
142
|
-
simple_analyst_to_pm: "Focused project brief complete. Save it as docs/project-brief.md, then create simple epic or story for API development."
|
|
143
|
-
simple_complete: "Simple service defined. Move to IDE environment to begin development."
|
|
97
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|