bmad-method 4.5.1 → 4.6.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/bmad-core/agents/bmad-orchestrator.md +55 -66
  3. package/bmad-core/agents/pm.md +0 -1
  4. package/bmad-core/tasks/doc-migration-task.md +9 -9
  5. package/bmad-core/tasks/index-docs.md +3 -7
  6. package/bmad-core/templates/architecture-tmpl.md +2 -0
  7. package/bmad-core/templates/brownfield-architecture-tmpl.md +2 -0
  8. package/bmad-core/templates/brownfield-prd-tmpl.md +2 -0
  9. package/bmad-core/templates/competitor-analysis-tmpl.md +2 -0
  10. package/bmad-core/templates/front-end-architecture-tmpl.md +2 -0
  11. package/bmad-core/templates/front-end-spec-tmpl.md +3 -1
  12. package/bmad-core/templates/fullstack-architecture-tmpl.md +62 -60
  13. package/bmad-core/templates/market-research-tmpl.md +2 -0
  14. package/bmad-core/templates/prd-tmpl.md +4 -2
  15. package/bmad-core/templates/project-brief-tmpl.md +2 -0
  16. package/bmad-core/workflows/brownfield-fullstack.yml +19 -58
  17. package/bmad-core/workflows/brownfield-service.yml +19 -58
  18. package/bmad-core/workflows/brownfield-ui.yml +20 -59
  19. package/bmad-core/workflows/greenfield-fullstack.yml +31 -77
  20. package/bmad-core/workflows/greenfield-service.yml +22 -68
  21. package/bmad-core/workflows/greenfield-ui.yml +30 -76
  22. package/dist/agents/architect.txt +60 -60
  23. package/dist/agents/bmad-master.txt +66 -70
  24. package/dist/agents/bmad-orchestrator.txt +55 -66
  25. package/dist/agents/pm.txt +2 -467
  26. package/dist/agents/ux-expert.txt +1 -1
  27. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +481 -0
  28. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +100 -0
  29. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +100 -0
  30. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +4757 -2941
  31. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +35 -0
  32. package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +438 -32
  33. package/dist/teams/team-all.txt +368 -1099
  34. package/dist/teams/team-fullstack.txt +286 -1017
  35. package/dist/teams/team-ide-minimal.txt +55 -66
  36. package/dist/teams/team-no-ui.txt +224 -785
  37. package/docs/versioning-and-releases.md +6 -6
  38. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yml +1 -0
  39. package/expansion-packs/expansion-creator/tasks/generate-expansion-pack.md +17 -13
  40. package/package.json +1 -1
  41. package/tools/builders/web-builder.js +189 -20
  42. package/tools/installer/package.json +1 -1
  43. package/bmad-core/templates/simple-project-prd-tmpl.md +0 -461
@@ -11,16 +11,11 @@ workflow:
11
11
  - design-refresh
12
12
  - frontend-enhancement
13
13
 
14
- # For Complex UI Enhancements (Multiple Stories, Design Changes)
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: analyst
23
- action: analyze existing UI
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{Enhancement Complexity?}
79
- B -->|Complex/Significant| C[analyst: analyze existing UI]
80
- B -->|Simple| D{1 Story or 2-3 Stories?}
81
-
82
- C --> E[pm: brownfield-prd.md]
83
- E --> F[ux-expert: front-end-spec.md]
84
- F --> G[architect: brownfield-architecture.md]
85
- G --> H[po: validate with po-master-checklist]
86
- H --> I{PO finds issues?}
87
- I -->|Yes| J[Return to relevant agent for fixes]
88
- I -->|No| K[Move to IDE Environment]
89
- J --> H
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
- use_complex_sequence_when:
107
- - UI enhancement requires multiple coordinated stories (4+)
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
- simple_to_ide: "UI enhancement defined with existing design integration. Move to IDE environment to begin development."
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
- # For Complex Projects (Production-Ready, Multiple Features)
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{Project Complexity?}
107
- B -->|Complex/Production| C[analyst: project-brief.md]
108
- B -->|Simple/Prototype| D[analyst: focused project-brief.md]
109
-
110
- C --> E[pm: prd.md]
111
- E --> F[ux-expert: front-end-spec.md]
112
- F --> F2{Generate v0 prompt?}
113
- F2 -->|Yes| F3[ux-expert: create v0 prompt]
114
- F2 -->|No| G[architect: fullstack-architecture.md]
115
- F3 --> F4[User: generate UI in v0/Lovable]
116
- F4 --> G
117
- G --> H{Architecture suggests PRD changes?}
118
- H -->|Yes| I[pm: update prd.md]
119
- H -->|No| J[po: validate all artifacts]
120
- I --> J
121
- J --> K{PO finds issues?}
122
- K -->|Yes| L[Return to relevant agent for fixes]
123
- K -->|No| M[Move to IDE Environment]
124
- L --> J
125
-
126
- D --> N[pm: simple epic or story]
127
- N --> O[Move to IDE Environment]
128
-
129
- C -.-> C1[Optional: brainstorming]
130
- C -.-> C2[Optional: market research]
131
- F -.-> F1[Optional: user research]
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
- use_complex_sequence_when:
115
+ when_to_use:
149
116
  - Building production-ready applications
150
117
  - Multiple team members will be involved
151
- - Complex feature requirements (4+ stories)
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
- complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
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
- # For Complex Services (Production APIs, Multiple Endpoints)
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{Service Complexity?}
83
- B -->|Complex/Production| C[analyst: project-brief.md]
84
- B -->|Simple/Prototype| D[analyst: focused project-brief.md]
85
-
86
- C --> E[pm: prd.md]
87
- E --> F[architect: architecture.md]
88
- F --> G{Architecture suggests PRD changes?}
89
- G -->|Yes| H[pm: update prd.md]
90
- G -->|No| I[po: validate all artifacts]
91
- H --> I
92
- I --> J{PO finds issues?}
93
- J -->|Yes| K[Return to relevant agent for fixes]
94
- J -->|No| L[Move to IDE Environment]
95
- K --> I
96
-
97
- D --> M[pm: simple epic or story]
98
- M --> N[Move to IDE Environment]
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 E fill:#FFE4B5
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
- use_complex_sequence_when:
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
- complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
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."
@@ -13,8 +13,7 @@ workflow:
13
13
  - ui-prototype
14
14
  - simple-interface
15
15
 
16
- # For Complex UIs (Production Apps, Multiple Views)
17
- complex_ui_sequence:
16
+ sequence:
18
17
  - agent: analyst
19
18
  creates: project-brief.md
20
19
  optional_steps:
@@ -73,74 +72,42 @@ workflow:
73
72
  action: move_to_ide
74
73
  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"
75
74
 
76
- # For Simple UIs (Simple Interfaces, Few Components)
77
- simple_ui_sequence:
78
- - step: ui_scope
79
- action: assess complexity
80
- notes: "First, assess if this needs full planning (use complex_ui_sequence) or can be a simple interface."
81
-
82
- - agent: analyst
83
- creates: project-brief.md
84
- optional_steps:
85
- - brainstorming_session
86
- notes: "Creates focused project brief for simple UI. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
87
-
88
- - agent: ux-expert
89
- creates: simple_wireframes OR quick_spec
90
- uses: create-epic OR create-story
91
- requires: project-brief.md
92
- notes: "Create simple wireframes and component list instead of full UI/UX spec for rapid development."
93
-
94
- - workflow_end:
95
- action: move_to_ide
96
- notes: "Simple UI defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
97
-
98
75
  flow_diagram: |
99
76
  ```mermaid
100
77
  graph TD
101
- A[Start: UI Development] --> B{UI Complexity?}
102
- B -->|Complex/Production| C[analyst: project-brief.md]
103
- B -->|Simple/Prototype| D[analyst: focused project-brief.md]
104
-
105
- C --> E[pm: prd.md]
106
- E --> F[ux-expert: front-end-spec.md]
107
- F --> F2{Generate v0 prompt?}
108
- F2 -->|Yes| F3[ux-expert: create v0 prompt]
109
- F2 -->|No| G[architect: front-end-architecture.md]
110
- F3 --> F4[User: generate UI in v0/Lovable]
111
- F4 --> G
112
- G --> H{Architecture suggests PRD changes?}
113
- H -->|Yes| I[pm: update prd.md]
114
- H -->|No| J[po: validate all artifacts]
115
- I --> J
116
- J --> K{PO finds issues?}
117
- K -->|Yes| L[Return to relevant agent for fixes]
118
- K -->|No| M[Move to IDE Environment]
119
- L --> J
120
-
121
- D --> N[ux-expert: simple wireframes]
122
- N --> O[Move to IDE Environment]
123
-
124
- C -.-> C1[Optional: brainstorming]
125
- C -.-> C2[Optional: market research]
126
- F -.-> F1[Optional: user research]
127
- G -.-> G1[Optional: technical research]
128
- D -.-> D1[Optional: brainstorming]
129
-
130
- style M fill:#90EE90
131
- style O fill:#90EE90
132
- style F3 fill:#E6E6FA
133
- style F4 fill:#E6E6FA
78
+ A[Start: UI Development] --> B[analyst: project-brief.md]
79
+ B --> C[pm: prd.md]
80
+ C --> D[ux-expert: front-end-spec.md]
81
+ D --> D2{Generate v0 prompt?}
82
+ D2 -->|Yes| D3[ux-expert: create v0 prompt]
83
+ D2 -->|No| E[architect: front-end-architecture.md]
84
+ D3 --> D4[User: generate UI in v0/Lovable]
85
+ D4 --> E
86
+ E --> F{Architecture suggests PRD changes?}
87
+ F -->|Yes| G[pm: update prd.md]
88
+ F -->|No| H[po: validate all artifacts]
89
+ G --> H
90
+ H --> I{PO finds issues?}
91
+ I -->|Yes| J[Return to relevant agent for fixes]
92
+ I -->|No| K[Move to IDE Environment]
93
+ J --> H
94
+
95
+ B -.-> B1[Optional: brainstorming]
96
+ B -.-> B2[Optional: market research]
97
+ D -.-> D1[Optional: user research]
98
+ E -.-> E1[Optional: technical research]
99
+
100
+ style K fill:#90EE90
101
+ style D3 fill:#E6E6FA
102
+ style D4 fill:#E6E6FA
103
+ style B fill:#FFE4B5
134
104
  style C fill:#FFE4B5
105
+ style D fill:#FFE4B5
135
106
  style E fill:#FFE4B5
136
- style F fill:#FFE4B5
137
- style G fill:#FFE4B5
138
- style D fill:#FFB6C1
139
- style N fill:#FFB6C1
140
107
  ```
141
108
 
142
109
  decision_guidance:
143
- use_complex_sequence_when:
110
+ when_to_use:
144
111
  - Building production frontend applications
145
112
  - Multiple views/pages with complex interactions
146
113
  - Need comprehensive UI/UX design and testing
@@ -148,16 +115,7 @@ workflow:
148
115
  - Long-term maintenance expected
149
116
  - Customer-facing applications
150
117
 
151
- use_simple_sequence_when:
152
- - Building simple interfaces or prototypes
153
- - Few views with straightforward interactions
154
- - Internal tools or admin interfaces
155
- - Solo developer or small team
156
- - Quick experiments or proof-of-concepts
157
- - Learning or educational projects
158
-
159
118
  handoff_prompts:
160
- # Complex sequence prompts
161
119
  analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
162
120
  pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
163
121
  ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the frontend architecture."
@@ -165,8 +123,4 @@ workflow:
165
123
  architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
166
124
  updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
167
125
  po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
168
- complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
169
-
170
- # Simple sequence prompts
171
- simple_analyst_to_ux: "Focused project brief complete. Save it as docs/project-brief.md, then create simple wireframes for rapid development."
172
- simple_complete: "Simple UI defined. Move to IDE environment to begin development."
126
+ complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."