siesa-agents 2.1.2 → 2.1.3

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 (111) hide show
  1. package/README.md +83 -83
  2. package/bin/install.js +400 -400
  3. package/bin/prepare-publish.js +26 -26
  4. package/bin/restore-folders.js +26 -26
  5. package/bmad-core/agent-teams/team-all.yaml +15 -15
  6. package/bmad-core/agent-teams/team-fullstack.yaml +19 -19
  7. package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -11
  8. package/bmad-core/agent-teams/team-no-ui.yaml +14 -14
  9. package/bmad-core/agents/analyst.md +84 -84
  10. package/bmad-core/agents/architect.md +94 -94
  11. package/bmad-core/agents/backend-agent.md +189 -189
  12. package/bmad-core/agents/bmad-master.md +110 -110
  13. package/bmad-core/agents/bmad-orchestrator.md +147 -147
  14. package/bmad-core/agents/dev.md +81 -81
  15. package/bmad-core/agents/frontend-agent.md +168 -168
  16. package/bmad-core/agents/pm.md +84 -84
  17. package/bmad-core/agents/po.md +79 -79
  18. package/bmad-core/agents/qa.md +91 -91
  19. package/bmad-core/agents/sm.md +65 -65
  20. package/bmad-core/agents/ux-expert.md +69 -69
  21. package/bmad-core/checklists/architect-checklist.md +440 -440
  22. package/bmad-core/checklists/backend-checklist.md +142 -142
  23. package/bmad-core/checklists/change-checklist.md +184 -184
  24. package/bmad-core/checklists/frontend-checklist.md +105 -105
  25. package/bmad-core/checklists/pm-checklist.md +372 -372
  26. package/bmad-core/checklists/po-master-checklist.md +434 -434
  27. package/bmad-core/checklists/story-dod-checklist.md +96 -96
  28. package/bmad-core/checklists/story-draft-checklist.md +155 -155
  29. package/bmad-core/core-config.yaml +22 -22
  30. package/bmad-core/data/backend-standards.md +439 -439
  31. package/bmad-core/data/bmad-kb.md +809 -809
  32. package/bmad-core/data/brainstorming-techniques.md +38 -38
  33. package/bmad-core/data/elicitation-methods.md +156 -156
  34. package/bmad-core/data/frontend-standards.md +323 -323
  35. package/bmad-core/data/technical-preferences.md +5 -5
  36. package/bmad-core/data/test-levels-framework.md +148 -148
  37. package/bmad-core/data/test-priorities-matrix.md +174 -174
  38. package/bmad-core/enhanced-ide-development-workflow.md +248 -248
  39. package/bmad-core/install-manifest.yaml +230 -230
  40. package/bmad-core/tasks/advanced-elicitation.md +119 -119
  41. package/bmad-core/tasks/apply-qa-fixes.md +150 -150
  42. package/bmad-core/tasks/brownfield-create-epic.md +162 -162
  43. package/bmad-core/tasks/brownfield-create-story.md +149 -149
  44. package/bmad-core/tasks/correct-course.md +72 -72
  45. package/bmad-core/tasks/create-brownfield-story.md +314 -314
  46. package/bmad-core/tasks/create-component.md +102 -102
  47. package/bmad-core/tasks/create-deep-research-prompt.md +280 -280
  48. package/bmad-core/tasks/create-doc.md +103 -103
  49. package/bmad-core/tasks/create-entity.md +132 -132
  50. package/bmad-core/tasks/create-feature.md +90 -90
  51. package/bmad-core/tasks/create-next-story.md +114 -114
  52. package/bmad-core/tasks/create-service.md +117 -117
  53. package/bmad-core/tasks/create-use-case.md +140 -140
  54. package/bmad-core/tasks/document-project.md +345 -345
  55. package/bmad-core/tasks/execute-checklist.md +88 -88
  56. package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -138
  57. package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -53
  58. package/bmad-core/tasks/index-docs.md +175 -175
  59. package/bmad-core/tasks/kb-mode-interaction.md +77 -77
  60. package/bmad-core/tasks/nfr-assess.md +345 -345
  61. package/bmad-core/tasks/qa-gate.md +163 -163
  62. package/bmad-core/tasks/review-story.md +316 -316
  63. package/bmad-core/tasks/risk-profile.md +355 -355
  64. package/bmad-core/tasks/scaffold-backend.md +110 -110
  65. package/bmad-core/tasks/scaffold-frontend.md +78 -78
  66. package/bmad-core/tasks/shard-doc.md +187 -187
  67. package/bmad-core/tasks/test-design.md +176 -176
  68. package/bmad-core/tasks/trace-requirements.md +266 -266
  69. package/bmad-core/tasks/validate-next-story.md +136 -136
  70. package/bmad-core/templates/architecture-tmpl.yaml +662 -662
  71. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -156
  72. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -477
  73. package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -281
  74. package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -307
  75. package/bmad-core/templates/front-end-architecture-tmpl.yaml +258 -258
  76. package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -350
  77. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -824
  78. package/bmad-core/templates/market-research-tmpl.yaml +253 -253
  79. package/bmad-core/templates/prd-tmpl.yaml +203 -203
  80. package/bmad-core/templates/project-brief-tmpl.yaml +222 -222
  81. package/bmad-core/templates/qa-gate-tmpl.yaml +103 -103
  82. package/bmad-core/templates/story-tmpl.yaml +138 -138
  83. package/bmad-core/user-guide.md +530 -530
  84. package/bmad-core/utils/bmad-doc-template.md +327 -327
  85. package/bmad-core/utils/workflow-management.md +71 -71
  86. package/bmad-core/workflows/brownfield-fullstack.yaml +298 -298
  87. package/bmad-core/workflows/brownfield-service.yaml +188 -188
  88. package/bmad-core/workflows/brownfield-ui.yaml +198 -198
  89. package/bmad-core/workflows/greenfield-fullstack.yaml +241 -241
  90. package/bmad-core/workflows/greenfield-service.yaml +207 -207
  91. package/bmad-core/workflows/greenfield-ui.yaml +236 -236
  92. package/bmad-core/working-in-the-brownfield.md +606 -606
  93. package/claude/commands/BMad/agents/backend.md +187 -187
  94. package/claude/commands/BMad/agents/frontend.md +150 -150
  95. package/github/b-mad-expert.md +742 -742
  96. package/github/chatmodes/analyst.chatmode.md +89 -89
  97. package/github/chatmodes/architect.chatmode.md +97 -97
  98. package/github/chatmodes/backend.chatmode.md +194 -194
  99. package/github/chatmodes/bmad-master.chatmode.md +115 -115
  100. package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
  101. package/github/chatmodes/dev.chatmode.md +86 -86
  102. package/github/chatmodes/frontend.chatmode.md +157 -157
  103. package/github/chatmodes/pm.chatmode.md +89 -89
  104. package/github/chatmodes/po.chatmode.md +84 -84
  105. package/github/chatmodes/qa.chatmode.md +96 -96
  106. package/github/chatmodes/sm.chatmode.md +70 -70
  107. package/github/chatmodes/ux-expert.chatmode.md +74 -74
  108. package/index.js +9 -9
  109. package/package.json +37 -37
  110. package/vscode/mcp.json +11 -11
  111. package/vscode/settings.json +12 -12
@@ -1,236 +1,236 @@
1
- # <!-- Powered by BMAD™ Core -->
2
- workflow:
3
- id: greenfield-ui
4
- name: Greenfield UI/Frontend Development
5
- description: >-
6
- Agent workflow for building frontend applications from concept to development.
7
- Supports both comprehensive planning for complex UIs and rapid prototyping for simple interfaces.
8
- type: greenfield
9
- project_types:
10
- - spa
11
- - mobile-app
12
- - micro-frontend
13
- - static-site
14
- - ui-prototype
15
- - simple-interface
16
-
17
- sequence:
18
- - agent: analyst
19
- creates: project-brief.md
20
- optional_steps:
21
- - brainstorming_session
22
- - market_research_prompt
23
- notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
24
-
25
- - agent: pm
26
- creates: prd.md
27
- requires: project-brief.md
28
- notes: "Creates PRD from project brief using prd-tmpl, focused on UI/frontend requirements. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
29
-
30
- - agent: ux-expert
31
- creates: front-end-spec.md
32
- requires: prd.md
33
- optional_steps:
34
- - user_research_prompt
35
- notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
36
-
37
- - agent: ux-expert
38
- creates: v0_prompt (optional)
39
- requires: front-end-spec.md
40
- condition: user_wants_ai_generation
41
- notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
42
-
43
- - agent: architect
44
- creates: front-end-architecture.md
45
- requires: front-end-spec.md
46
- optional_steps:
47
- - technical_research_prompt
48
- - review_generated_ui_structure
49
- notes: "Creates frontend architecture using front-end-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final front-end-architecture.md to your project's docs/ folder."
50
-
51
- - agent: pm
52
- updates: prd.md (if needed)
53
- requires: front-end-architecture.md
54
- condition: architecture_suggests_prd_changes
55
- notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
56
-
57
- - agent: po
58
- validates: all_artifacts
59
- uses: po-master-checklist
60
- notes: "Validates all documents for consistency and completeness. May require updates to any document."
61
-
62
- - agent: various
63
- updates: any_flagged_documents
64
- condition: po_checklist_issues
65
- notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
66
-
67
- - step: project_setup_guidance
68
- action: guide_project_structure
69
- condition: user_has_generated_ui
70
- notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
71
-
72
- - agent: po
73
- action: shard_documents
74
- creates: sharded_docs
75
- requires: all_artifacts_in_project
76
- notes: |
77
- Shard documents for IDE development:
78
- - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
79
- - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
80
- - Creates docs/prd/ and docs/architecture/ folders with sharded content
81
-
82
- - agent: sm
83
- action: create_story
84
- creates: story.md
85
- requires: sharded_docs
86
- repeats: for_each_epic
87
- notes: |
88
- Story creation cycle:
89
- - SM Agent (New Chat): @sm → *create
90
- - Creates next story from sharded docs
91
- - Story starts in "Draft" status
92
-
93
- - agent: analyst/pm
94
- action: review_draft_story
95
- updates: story.md
96
- requires: story.md
97
- optional: true
98
- condition: user_wants_story_review
99
- notes: |
100
- OPTIONAL: Review and approve draft story
101
- - NOTE: story-review task coming soon
102
- - Review story completeness and alignment
103
- - Update story status: Draft → Approved
104
-
105
- - agent: dev
106
- action: implement_story
107
- creates: implementation_files
108
- requires: story.md
109
- notes: |
110
- Dev Agent (New Chat): @dev
111
- - Implements approved story
112
- - Updates File List with all changes
113
- - Marks story as "Review" when complete
114
-
115
- - agent: qa
116
- action: review_implementation
117
- updates: implementation_files
118
- requires: implementation_files
119
- optional: true
120
- notes: |
121
- OPTIONAL: QA Agent (New Chat): @qa → review-story
122
- - Senior dev review with refactoring ability
123
- - Fixes small issues directly
124
- - Leaves checklist for remaining items
125
- - Updates story status (Review → Done or stays Review)
126
-
127
- - agent: dev
128
- action: address_qa_feedback
129
- updates: implementation_files
130
- condition: qa_left_unchecked_items
131
- notes: |
132
- If QA left unchecked items:
133
- - Dev Agent (New Chat): Address remaining items
134
- - Return to QA for final approval
135
-
136
- - step: repeat_development_cycle
137
- action: continue_for_all_stories
138
- notes: |
139
- Repeat story cycle (SM → Dev → QA) for all epic stories
140
- Continue until all stories in PRD are complete
141
-
142
- - agent: po
143
- action: epic_retrospective
144
- creates: epic-retrospective.md
145
- condition: epic_complete
146
- optional: true
147
- notes: |
148
- OPTIONAL: After epic completion
149
- - NOTE: epic-retrospective task coming soon
150
- - Validate epic was completed correctly
151
- - Document learnings and improvements
152
-
153
- - step: workflow_end
154
- action: project_complete
155
- notes: |
156
- All stories implemented and reviewed!
157
- Project development phase complete.
158
-
159
- Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
160
-
161
- flow_diagram: |
162
- ```mermaid
163
- graph TD
164
- A[Start: UI Development] --> B[analyst: project-brief.md]
165
- B --> C[pm: prd.md]
166
- C --> D[ux-expert: front-end-spec.md]
167
- D --> D2{Generate v0 prompt?}
168
- D2 -->|Yes| D3[ux-expert: create v0 prompt]
169
- D2 -->|No| E[architect: front-end-architecture.md]
170
- D3 --> D4[User: generate UI in v0/Lovable]
171
- D4 --> E
172
- E --> F{Architecture suggests PRD changes?}
173
- F -->|Yes| G[pm: update prd.md]
174
- F -->|No| H[po: validate all artifacts]
175
- G --> H
176
- H --> I{PO finds issues?}
177
- I -->|Yes| J[Return to relevant agent for fixes]
178
- I -->|No| K[po: shard documents]
179
- J --> H
180
-
181
- K --> L[sm: create story]
182
- L --> M{Review draft story?}
183
- M -->|Yes| N[analyst/pm: review & approve story]
184
- M -->|No| O[dev: implement story]
185
- N --> O
186
- O --> P{QA review?}
187
- P -->|Yes| Q[qa: review implementation]
188
- P -->|No| R{More stories?}
189
- Q --> S{QA found issues?}
190
- S -->|Yes| T[dev: address QA feedback]
191
- S -->|No| R
192
- T --> Q
193
- R -->|Yes| L
194
- R -->|No| U{Epic retrospective?}
195
- U -->|Yes| V[po: epic retrospective]
196
- U -->|No| W[Project Complete]
197
- V --> W
198
-
199
- B -.-> B1[Optional: brainstorming]
200
- B -.-> B2[Optional: market research]
201
- D -.-> D1[Optional: user research]
202
- E -.-> E1[Optional: technical research]
203
-
204
- style W fill:#90EE90
205
- style K fill:#ADD8E6
206
- style L fill:#ADD8E6
207
- style O fill:#ADD8E6
208
- style D3 fill:#E6E6FA
209
- style D4 fill:#E6E6FA
210
- style B fill:#FFE4B5
211
- style C fill:#FFE4B5
212
- style D fill:#FFE4B5
213
- style E fill:#FFE4B5
214
- style N fill:#F0E68C
215
- style Q fill:#F0E68C
216
- style V fill:#F0E68C
217
- ```
218
-
219
- decision_guidance:
220
- when_to_use:
221
- - Building production frontend applications
222
- - Multiple views/pages with complex interactions
223
- - Need comprehensive UI/UX design and testing
224
- - Multiple team members will be involved
225
- - Long-term maintenance expected
226
- - Customer-facing applications
227
-
228
- handoff_prompts:
229
- analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
230
- pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
231
- ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the frontend architecture."
232
- architect_review: "Frontend architecture complete. Save it as docs/front-end-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
233
- architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
234
- updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
235
- po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
236
- complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
1
+ # <!-- Powered by BMAD™ Core -->
2
+ workflow:
3
+ id: greenfield-ui
4
+ name: Greenfield UI/Frontend Development
5
+ description: >-
6
+ Agent workflow for building frontend applications from concept to development.
7
+ Supports both comprehensive planning for complex UIs and rapid prototyping for simple interfaces.
8
+ type: greenfield
9
+ project_types:
10
+ - spa
11
+ - mobile-app
12
+ - micro-frontend
13
+ - static-site
14
+ - ui-prototype
15
+ - simple-interface
16
+
17
+ sequence:
18
+ - agent: analyst
19
+ creates: project-brief.md
20
+ optional_steps:
21
+ - brainstorming_session
22
+ - market_research_prompt
23
+ notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
24
+
25
+ - agent: pm
26
+ creates: prd.md
27
+ requires: project-brief.md
28
+ notes: "Creates PRD from project brief using prd-tmpl, focused on UI/frontend requirements. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
29
+
30
+ - agent: ux-expert
31
+ creates: front-end-spec.md
32
+ requires: prd.md
33
+ optional_steps:
34
+ - user_research_prompt
35
+ notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
36
+
37
+ - agent: ux-expert
38
+ creates: v0_prompt (optional)
39
+ requires: front-end-spec.md
40
+ condition: user_wants_ai_generation
41
+ notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
42
+
43
+ - agent: architect
44
+ creates: front-end-architecture.md
45
+ requires: front-end-spec.md
46
+ optional_steps:
47
+ - technical_research_prompt
48
+ - review_generated_ui_structure
49
+ notes: "Creates frontend architecture using front-end-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final front-end-architecture.md to your project's docs/ folder."
50
+
51
+ - agent: pm
52
+ updates: prd.md (if needed)
53
+ requires: front-end-architecture.md
54
+ condition: architecture_suggests_prd_changes
55
+ notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
56
+
57
+ - agent: po
58
+ validates: all_artifacts
59
+ uses: po-master-checklist
60
+ notes: "Validates all documents for consistency and completeness. May require updates to any document."
61
+
62
+ - agent: various
63
+ updates: any_flagged_documents
64
+ condition: po_checklist_issues
65
+ notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
66
+
67
+ - step: project_setup_guidance
68
+ action: guide_project_structure
69
+ condition: user_has_generated_ui
70
+ notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo. For monorepo, place in apps/web or frontend/ directory. Review architecture document for specific guidance."
71
+
72
+ - agent: po
73
+ action: shard_documents
74
+ creates: sharded_docs
75
+ requires: all_artifacts_in_project
76
+ notes: |
77
+ Shard documents for IDE development:
78
+ - Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
79
+ - Option B: Manual: Drag shard-doc task + docs/prd.md into chat
80
+ - Creates docs/prd/ and docs/architecture/ folders with sharded content
81
+
82
+ - agent: sm
83
+ action: create_story
84
+ creates: story.md
85
+ requires: sharded_docs
86
+ repeats: for_each_epic
87
+ notes: |
88
+ Story creation cycle:
89
+ - SM Agent (New Chat): @sm → *create
90
+ - Creates next story from sharded docs
91
+ - Story starts in "Draft" status
92
+
93
+ - agent: analyst/pm
94
+ action: review_draft_story
95
+ updates: story.md
96
+ requires: story.md
97
+ optional: true
98
+ condition: user_wants_story_review
99
+ notes: |
100
+ OPTIONAL: Review and approve draft story
101
+ - NOTE: story-review task coming soon
102
+ - Review story completeness and alignment
103
+ - Update story status: Draft → Approved
104
+
105
+ - agent: dev
106
+ action: implement_story
107
+ creates: implementation_files
108
+ requires: story.md
109
+ notes: |
110
+ Dev Agent (New Chat): @dev
111
+ - Implements approved story
112
+ - Updates File List with all changes
113
+ - Marks story as "Review" when complete
114
+
115
+ - agent: qa
116
+ action: review_implementation
117
+ updates: implementation_files
118
+ requires: implementation_files
119
+ optional: true
120
+ notes: |
121
+ OPTIONAL: QA Agent (New Chat): @qa → review-story
122
+ - Senior dev review with refactoring ability
123
+ - Fixes small issues directly
124
+ - Leaves checklist for remaining items
125
+ - Updates story status (Review → Done or stays Review)
126
+
127
+ - agent: dev
128
+ action: address_qa_feedback
129
+ updates: implementation_files
130
+ condition: qa_left_unchecked_items
131
+ notes: |
132
+ If QA left unchecked items:
133
+ - Dev Agent (New Chat): Address remaining items
134
+ - Return to QA for final approval
135
+
136
+ - step: repeat_development_cycle
137
+ action: continue_for_all_stories
138
+ notes: |
139
+ Repeat story cycle (SM → Dev → QA) for all epic stories
140
+ Continue until all stories in PRD are complete
141
+
142
+ - agent: po
143
+ action: epic_retrospective
144
+ creates: epic-retrospective.md
145
+ condition: epic_complete
146
+ optional: true
147
+ notes: |
148
+ OPTIONAL: After epic completion
149
+ - NOTE: epic-retrospective task coming soon
150
+ - Validate epic was completed correctly
151
+ - Document learnings and improvements
152
+
153
+ - step: workflow_end
154
+ action: project_complete
155
+ notes: |
156
+ All stories implemented and reviewed!
157
+ Project development phase complete.
158
+
159
+ Reference: .bmad-core/data/bmad-kb.md#IDE Development Workflow
160
+
161
+ flow_diagram: |
162
+ ```mermaid
163
+ graph TD
164
+ A[Start: UI Development] --> B[analyst: project-brief.md]
165
+ B --> C[pm: prd.md]
166
+ C --> D[ux-expert: front-end-spec.md]
167
+ D --> D2{Generate v0 prompt?}
168
+ D2 -->|Yes| D3[ux-expert: create v0 prompt]
169
+ D2 -->|No| E[architect: front-end-architecture.md]
170
+ D3 --> D4[User: generate UI in v0/Lovable]
171
+ D4 --> E
172
+ E --> F{Architecture suggests PRD changes?}
173
+ F -->|Yes| G[pm: update prd.md]
174
+ F -->|No| H[po: validate all artifacts]
175
+ G --> H
176
+ H --> I{PO finds issues?}
177
+ I -->|Yes| J[Return to relevant agent for fixes]
178
+ I -->|No| K[po: shard documents]
179
+ J --> H
180
+
181
+ K --> L[sm: create story]
182
+ L --> M{Review draft story?}
183
+ M -->|Yes| N[analyst/pm: review & approve story]
184
+ M -->|No| O[dev: implement story]
185
+ N --> O
186
+ O --> P{QA review?}
187
+ P -->|Yes| Q[qa: review implementation]
188
+ P -->|No| R{More stories?}
189
+ Q --> S{QA found issues?}
190
+ S -->|Yes| T[dev: address QA feedback]
191
+ S -->|No| R
192
+ T --> Q
193
+ R -->|Yes| L
194
+ R -->|No| U{Epic retrospective?}
195
+ U -->|Yes| V[po: epic retrospective]
196
+ U -->|No| W[Project Complete]
197
+ V --> W
198
+
199
+ B -.-> B1[Optional: brainstorming]
200
+ B -.-> B2[Optional: market research]
201
+ D -.-> D1[Optional: user research]
202
+ E -.-> E1[Optional: technical research]
203
+
204
+ style W fill:#90EE90
205
+ style K fill:#ADD8E6
206
+ style L fill:#ADD8E6
207
+ style O fill:#ADD8E6
208
+ style D3 fill:#E6E6FA
209
+ style D4 fill:#E6E6FA
210
+ style B fill:#FFE4B5
211
+ style C fill:#FFE4B5
212
+ style D fill:#FFE4B5
213
+ style E fill:#FFE4B5
214
+ style N fill:#F0E68C
215
+ style Q fill:#F0E68C
216
+ style V fill:#F0E68C
217
+ ```
218
+
219
+ decision_guidance:
220
+ when_to_use:
221
+ - Building production frontend applications
222
+ - Multiple views/pages with complex interactions
223
+ - Need comprehensive UI/UX design and testing
224
+ - Multiple team members will be involved
225
+ - Long-term maintenance expected
226
+ - Customer-facing applications
227
+
228
+ handoff_prompts:
229
+ analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
230
+ pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
231
+ ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the frontend architecture."
232
+ architect_review: "Frontend architecture complete. Save it as docs/front-end-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
233
+ architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
234
+ updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
235
+ po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
236
+ complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."