appiq-solution 1.4.2 → 1.4.4
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/#Tools/APPIQ-METHOD/.cursor/commands/analyze.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/appiq.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/help.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/story.md +1 -1
- package/#Tools/APPIQ-METHOD/bmad-core/agents/init-flow-po.md +219 -0
- package/#Tools/APPIQ-METHOD/commands/analyze.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/appiq.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/help.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/story.md +1 -1
- package/#Tools/APPIQ-METHOD/package.json +1 -1
- package/#Tools/APPIQ-METHOD/tools/appiq-installer.js +196 -104
- package/#Tools/APPIQ-METHOD/tools/cli.js +1 -1
- package/#Tools/APPIQ-METHOD/tools/setup-ide-commands.js +40 -37
- package/#Tools/APPIQ-METHOD/tools/smart-installer.js +16 -13
- package/bmad-core/agent-teams/team-all.yaml +14 -0
- package/bmad-core/agent-teams/team-flutter-mobile.yaml +114 -0
- package/bmad-core/agent-teams/team-fullstack.yaml +28 -0
- package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
- package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
- package/bmad-core/agents/analyst.md +85 -0
- package/bmad-core/agents/architect.md +90 -0
- package/bmad-core/agents/bmad-master.md +108 -0
- package/bmad-core/agents/bmad-orchestrator.md +150 -0
- package/bmad-core/agents/bmad-smart-launcher.md +170 -0
- package/bmad-core/agents/dev.md +95 -0
- package/bmad-core/agents/init-flow-po.md +219 -0
- package/bmad-core/agents/pm.md +85 -0
- package/bmad-core/agents/po.md +76 -0
- package/bmad-core/agents/qa.md +86 -0
- package/bmad-core/agents/sm.md +67 -0
- package/bmad-core/agents/ux-expert.md +71 -0
- package/bmad-core/bmad-core/user-guide.md +0 -0
- package/bmad-core/checklists/architect-checklist.md +443 -0
- package/bmad-core/checklists/change-checklist.md +182 -0
- package/bmad-core/checklists/pm-checklist.md +375 -0
- package/bmad-core/checklists/po-master-checklist.md +441 -0
- package/bmad-core/checklists/security-validation-checklist.md +332 -0
- package/bmad-core/checklists/story-dod-checklist.md +101 -0
- package/bmad-core/checklists/story-draft-checklist.md +156 -0
- package/bmad-core/core-config.yaml +20 -0
- package/bmad-core/core-config.yaml.bak +20 -0
- package/bmad-core/data/backend-services-integration.md +686 -0
- package/bmad-core/data/bmad-kb.md +803 -0
- package/bmad-core/data/brainstorming-techniques.md +36 -0
- package/bmad-core/data/elicitation-methods.md +134 -0
- package/bmad-core/data/shadcn-ui-integration.md +388 -0
- package/bmad-core/data/technical-preferences.md +149 -0
- package/bmad-core/enhanced-ide-development-workflow.md +43 -0
- package/bmad-core/tasks/advanced-elicitation.md +117 -0
- package/bmad-core/tasks/brownfield-create-epic.md +160 -0
- package/bmad-core/tasks/brownfield-create-story.md +147 -0
- package/bmad-core/tasks/correct-course.md +70 -0
- package/bmad-core/tasks/create-brownfield-story.md +304 -0
- package/bmad-core/tasks/create-deep-research-prompt.md +289 -0
- package/bmad-core/tasks/create-flutter-story.md +197 -0
- package/bmad-core/tasks/create-next-story.md +112 -0
- package/bmad-core/tasks/document-project.md +341 -0
- package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
- package/bmad-core/tasks/index-docs.md +179 -0
- package/bmad-core/tasks/intelligent-epic-creation.md +234 -0
- package/bmad-core/tasks/kb-mode-interaction.md +75 -0
- package/bmad-core/tasks/review-story.md +145 -0
- package/bmad-core/tasks/shard-doc.md +187 -0
- package/bmad-core/tasks/smart-project-analysis.md +289 -0
- package/bmad-core/tasks/validate-next-story.md +134 -0
- package/bmad-core/templates/architecture-tmpl.yaml +650 -0
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
- package/bmad-core/templates/flutter-mobile-prd-tmpl.yaml +330 -0
- package/bmad-core/templates/flutter-story-tmpl.yaml +376 -0
- package/bmad-core/templates/flutter-ui-spec-tmpl.yaml +415 -0
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
- package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +812 -0
- package/bmad-core/templates/market-research-tmpl.yaml +252 -0
- package/bmad-core/templates/prd-tmpl.yaml +202 -0
- package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
- package/bmad-core/templates/story-tmpl.yaml +137 -0
- package/bmad-core/user-guide.md +251 -0
- package/bmad-core/workflows/brownfield-fullstack.yaml +311 -0
- package/bmad-core/workflows/brownfield-service.yaml +187 -0
- package/bmad-core/workflows/brownfield-ui.yaml +197 -0
- package/bmad-core/workflows/greenfield-fullstack.yaml +284 -0
- package/bmad-core/workflows/greenfield-service.yaml +206 -0
- package/bmad-core/workflows/greenfield-ui.yaml +235 -0
- package/bmad-core/working-in-the-brownfield.md +373 -0
- package/package.json +1 -1
- package/tools/appiq-installer.js +196 -104
- package/tools/cli.js +1 -1
- package/tools/setup-ide-commands.js +40 -37
- package/tools/smart-installer.js +16 -13
@@ -0,0 +1,187 @@
|
|
1
|
+
workflow:
|
2
|
+
id: brownfield-service
|
3
|
+
name: Brownfield Service/API Enhancement
|
4
|
+
description: >-
|
5
|
+
Agent workflow for enhancing existing backend services and APIs with new features,
|
6
|
+
modernization, or performance improvements. Handles existing system analysis and safe integration.
|
7
|
+
type: brownfield
|
8
|
+
project_types:
|
9
|
+
- service-modernization
|
10
|
+
- api-enhancement
|
11
|
+
- microservice-extraction
|
12
|
+
- performance-optimization
|
13
|
+
- integration-enhancement
|
14
|
+
|
15
|
+
sequence:
|
16
|
+
- step: service_analysis
|
17
|
+
agent: architect
|
18
|
+
action: analyze existing project and use task document-project
|
19
|
+
creates: multiple documents per the document-project template
|
20
|
+
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
21
|
+
|
22
|
+
- agent: pm
|
23
|
+
creates: prd.md
|
24
|
+
uses: brownfield-prd-tmpl
|
25
|
+
requires: existing_service_analysis
|
26
|
+
notes: "Creates comprehensive PRD focused on service enhancement with existing system analysis. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
|
27
|
+
|
28
|
+
- agent: architect
|
29
|
+
creates: architecture.md
|
30
|
+
uses: brownfield-architecture-tmpl
|
31
|
+
requires: prd.md
|
32
|
+
notes: "Creates architecture with service integration strategy and API evolution planning. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
|
33
|
+
|
34
|
+
- agent: po
|
35
|
+
validates: all_artifacts
|
36
|
+
uses: po-master-checklist
|
37
|
+
notes: "Validates all documents for service integration safety and API compatibility. May require updates to any document."
|
38
|
+
|
39
|
+
- agent: various
|
40
|
+
updates: any_flagged_documents
|
41
|
+
condition: po_checklist_issues
|
42
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
43
|
+
|
44
|
+
- agent: po
|
45
|
+
action: shard_documents
|
46
|
+
creates: sharded_docs
|
47
|
+
requires: all_artifacts_in_project
|
48
|
+
notes: |
|
49
|
+
Shard documents for IDE development:
|
50
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
51
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
52
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
53
|
+
|
54
|
+
- agent: sm
|
55
|
+
action: create_story
|
56
|
+
creates: story.md
|
57
|
+
requires: sharded_docs
|
58
|
+
repeats: for_each_epic
|
59
|
+
notes: |
|
60
|
+
Story creation cycle:
|
61
|
+
- SM Agent (New Chat): @sm → *create
|
62
|
+
- Creates next story from sharded docs
|
63
|
+
- Story starts in "Draft" status
|
64
|
+
|
65
|
+
- agent: analyst/pm
|
66
|
+
action: review_draft_story
|
67
|
+
updates: story.md
|
68
|
+
requires: story.md
|
69
|
+
optional: true
|
70
|
+
condition: user_wants_story_review
|
71
|
+
notes: |
|
72
|
+
OPTIONAL: Review and approve draft story
|
73
|
+
- NOTE: story-review task coming soon
|
74
|
+
- Review story completeness and alignment
|
75
|
+
- Update story status: Draft → Approved
|
76
|
+
|
77
|
+
- agent: dev
|
78
|
+
action: implement_story
|
79
|
+
creates: implementation_files
|
80
|
+
requires: story.md
|
81
|
+
notes: |
|
82
|
+
Dev Agent (New Chat): @dev
|
83
|
+
- Implements approved story
|
84
|
+
- Updates File List with all changes
|
85
|
+
- Marks story as "Review" when complete
|
86
|
+
|
87
|
+
- agent: qa
|
88
|
+
action: review_implementation
|
89
|
+
updates: implementation_files
|
90
|
+
requires: implementation_files
|
91
|
+
optional: true
|
92
|
+
notes: |
|
93
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
94
|
+
- Senior dev review with refactoring ability
|
95
|
+
- Fixes small issues directly
|
96
|
+
- Leaves checklist for remaining items
|
97
|
+
- Updates story status (Review → Done or stays Review)
|
98
|
+
|
99
|
+
- agent: dev
|
100
|
+
action: address_qa_feedback
|
101
|
+
updates: implementation_files
|
102
|
+
condition: qa_left_unchecked_items
|
103
|
+
notes: |
|
104
|
+
If QA left unchecked items:
|
105
|
+
- Dev Agent (New Chat): Address remaining items
|
106
|
+
- Return to QA for final approval
|
107
|
+
|
108
|
+
- repeat_development_cycle:
|
109
|
+
action: continue_for_all_stories
|
110
|
+
notes: |
|
111
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
112
|
+
Continue until all stories in PRD are complete
|
113
|
+
|
114
|
+
- agent: po
|
115
|
+
action: epic_retrospective
|
116
|
+
creates: epic-retrospective.md
|
117
|
+
condition: epic_complete
|
118
|
+
optional: true
|
119
|
+
notes: |
|
120
|
+
OPTIONAL: After epic completion
|
121
|
+
- NOTE: epic-retrospective task coming soon
|
122
|
+
- Validate epic was completed correctly
|
123
|
+
- Document learnings and improvements
|
124
|
+
|
125
|
+
- workflow_end:
|
126
|
+
action: project_complete
|
127
|
+
notes: |
|
128
|
+
All stories implemented and reviewed!
|
129
|
+
Project development phase complete.
|
130
|
+
|
131
|
+
Reference: {root}/data/bmad-kb.md#IDE Development Workflow
|
132
|
+
|
133
|
+
flow_diagram: |
|
134
|
+
```mermaid
|
135
|
+
graph TD
|
136
|
+
A[Start: Service Enhancement] --> B[analyst: analyze existing service]
|
137
|
+
B --> C[pm: prd.md]
|
138
|
+
C --> D[architect: architecture.md]
|
139
|
+
D --> E[po: validate with po-master-checklist]
|
140
|
+
E --> F{PO finds issues?}
|
141
|
+
F -->|Yes| G[Return to relevant agent for fixes]
|
142
|
+
F -->|No| H[po: shard documents]
|
143
|
+
G --> E
|
144
|
+
|
145
|
+
H --> I[sm: create story]
|
146
|
+
I --> J{Review draft story?}
|
147
|
+
J -->|Yes| K[analyst/pm: review & approve story]
|
148
|
+
J -->|No| L[dev: implement story]
|
149
|
+
K --> L
|
150
|
+
L --> M{QA review?}
|
151
|
+
M -->|Yes| N[qa: review implementation]
|
152
|
+
M -->|No| O{More stories?}
|
153
|
+
N --> P{QA found issues?}
|
154
|
+
P -->|Yes| Q[dev: address QA feedback]
|
155
|
+
P -->|No| O
|
156
|
+
Q --> N
|
157
|
+
O -->|Yes| I
|
158
|
+
O -->|No| R{Epic retrospective?}
|
159
|
+
R -->|Yes| S[po: epic retrospective]
|
160
|
+
R -->|No| T[Project Complete]
|
161
|
+
S --> T
|
162
|
+
|
163
|
+
style T fill:#90EE90
|
164
|
+
style H fill:#ADD8E6
|
165
|
+
style I fill:#ADD8E6
|
166
|
+
style L fill:#ADD8E6
|
167
|
+
style C fill:#FFE4B5
|
168
|
+
style D fill:#FFE4B5
|
169
|
+
style K fill:#F0E68C
|
170
|
+
style N fill:#F0E68C
|
171
|
+
style S fill:#F0E68C
|
172
|
+
```
|
173
|
+
|
174
|
+
decision_guidance:
|
175
|
+
when_to_use:
|
176
|
+
- Service enhancement requires coordinated stories
|
177
|
+
- API versioning or breaking changes needed
|
178
|
+
- Database schema changes required
|
179
|
+
- Performance or scalability improvements needed
|
180
|
+
- Multiple integration points affected
|
181
|
+
|
182
|
+
handoff_prompts:
|
183
|
+
analyst_to_pm: "Service analysis complete. Create comprehensive PRD with service integration strategy."
|
184
|
+
pm_to_architect: "PRD ready. Save it as docs/prd.md, then create the service architecture."
|
185
|
+
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for service integration safety."
|
186
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
187
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
@@ -0,0 +1,197 @@
|
|
1
|
+
workflow:
|
2
|
+
id: brownfield-ui
|
3
|
+
name: Brownfield UI/Frontend Enhancement
|
4
|
+
description: >-
|
5
|
+
Agent workflow for enhancing existing frontend applications with new features,
|
6
|
+
modernization, or design improvements. Handles existing UI analysis and safe integration.
|
7
|
+
type: brownfield
|
8
|
+
project_types:
|
9
|
+
- ui-modernization
|
10
|
+
- framework-migration
|
11
|
+
- design-refresh
|
12
|
+
- frontend-enhancement
|
13
|
+
|
14
|
+
sequence:
|
15
|
+
- step: ui_analysis
|
16
|
+
agent: architect
|
17
|
+
action: analyze existing project and use task document-project
|
18
|
+
creates: multiple documents per the document-project template
|
19
|
+
notes: "Review existing frontend application, user feedback, analytics data, and identify improvement areas."
|
20
|
+
|
21
|
+
- agent: pm
|
22
|
+
creates: prd.md
|
23
|
+
uses: brownfield-prd-tmpl
|
24
|
+
requires: existing_ui_analysis
|
25
|
+
notes: "Creates comprehensive PRD focused on UI enhancement with existing system analysis. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
|
26
|
+
|
27
|
+
- agent: ux-expert
|
28
|
+
creates: front-end-spec.md
|
29
|
+
uses: front-end-spec-tmpl
|
30
|
+
requires: prd.md
|
31
|
+
notes: "Creates UI/UX specification that integrates with existing design patterns. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
|
32
|
+
|
33
|
+
- agent: architect
|
34
|
+
creates: architecture.md
|
35
|
+
uses: brownfield-architecture-tmpl
|
36
|
+
requires:
|
37
|
+
- prd.md
|
38
|
+
- front-end-spec.md
|
39
|
+
notes: "Creates frontend architecture with component integration strategy and migration planning. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
|
40
|
+
|
41
|
+
- agent: po
|
42
|
+
validates: all_artifacts
|
43
|
+
uses: po-master-checklist
|
44
|
+
notes: "Validates all documents for UI integration safety and design consistency. May require updates to any document."
|
45
|
+
|
46
|
+
- agent: various
|
47
|
+
updates: any_flagged_documents
|
48
|
+
condition: po_checklist_issues
|
49
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
50
|
+
|
51
|
+
- agent: po
|
52
|
+
action: shard_documents
|
53
|
+
creates: sharded_docs
|
54
|
+
requires: all_artifacts_in_project
|
55
|
+
notes: |
|
56
|
+
Shard documents for IDE development:
|
57
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
58
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
59
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
60
|
+
|
61
|
+
- agent: sm
|
62
|
+
action: create_story
|
63
|
+
creates: story.md
|
64
|
+
requires: sharded_docs
|
65
|
+
repeats: for_each_epic
|
66
|
+
notes: |
|
67
|
+
Story creation cycle:
|
68
|
+
- SM Agent (New Chat): @sm → *create
|
69
|
+
- Creates next story from sharded docs
|
70
|
+
- Story starts in "Draft" status
|
71
|
+
|
72
|
+
- agent: analyst/pm
|
73
|
+
action: review_draft_story
|
74
|
+
updates: story.md
|
75
|
+
requires: story.md
|
76
|
+
optional: true
|
77
|
+
condition: user_wants_story_review
|
78
|
+
notes: |
|
79
|
+
OPTIONAL: Review and approve draft story
|
80
|
+
- NOTE: story-review task coming soon
|
81
|
+
- Review story completeness and alignment
|
82
|
+
- Update story status: Draft → Approved
|
83
|
+
|
84
|
+
- agent: dev
|
85
|
+
action: implement_story
|
86
|
+
creates: implementation_files
|
87
|
+
requires: story.md
|
88
|
+
notes: |
|
89
|
+
Dev Agent (New Chat): @dev
|
90
|
+
- Implements approved story
|
91
|
+
- Updates File List with all changes
|
92
|
+
- Marks story as "Review" when complete
|
93
|
+
|
94
|
+
- agent: qa
|
95
|
+
action: review_implementation
|
96
|
+
updates: implementation_files
|
97
|
+
requires: implementation_files
|
98
|
+
optional: true
|
99
|
+
notes: |
|
100
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
101
|
+
- Senior dev review with refactoring ability
|
102
|
+
- Fixes small issues directly
|
103
|
+
- Leaves checklist for remaining items
|
104
|
+
- Updates story status (Review → Done or stays Review)
|
105
|
+
|
106
|
+
- agent: dev
|
107
|
+
action: address_qa_feedback
|
108
|
+
updates: implementation_files
|
109
|
+
condition: qa_left_unchecked_items
|
110
|
+
notes: |
|
111
|
+
If QA left unchecked items:
|
112
|
+
- Dev Agent (New Chat): Address remaining items
|
113
|
+
- Return to QA for final approval
|
114
|
+
|
115
|
+
- repeat_development_cycle:
|
116
|
+
action: continue_for_all_stories
|
117
|
+
notes: |
|
118
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
119
|
+
Continue until all stories in PRD are complete
|
120
|
+
|
121
|
+
- agent: po
|
122
|
+
action: epic_retrospective
|
123
|
+
creates: epic-retrospective.md
|
124
|
+
condition: epic_complete
|
125
|
+
optional: true
|
126
|
+
notes: |
|
127
|
+
OPTIONAL: After epic completion
|
128
|
+
- NOTE: epic-retrospective task coming soon
|
129
|
+
- Validate epic was completed correctly
|
130
|
+
- Document learnings and improvements
|
131
|
+
|
132
|
+
- workflow_end:
|
133
|
+
action: project_complete
|
134
|
+
notes: |
|
135
|
+
All stories implemented and reviewed!
|
136
|
+
Project development phase complete.
|
137
|
+
|
138
|
+
Reference: {root}/data/bmad-kb.md#IDE Development Workflow
|
139
|
+
|
140
|
+
flow_diagram: |
|
141
|
+
```mermaid
|
142
|
+
graph TD
|
143
|
+
A[Start: UI Enhancement] --> B[analyst: analyze existing UI]
|
144
|
+
B --> C[pm: prd.md]
|
145
|
+
C --> D[ux-expert: front-end-spec.md]
|
146
|
+
D --> E[architect: architecture.md]
|
147
|
+
E --> F[po: validate with po-master-checklist]
|
148
|
+
F --> G{PO finds issues?}
|
149
|
+
G -->|Yes| H[Return to relevant agent for fixes]
|
150
|
+
G -->|No| I[po: shard documents]
|
151
|
+
H --> F
|
152
|
+
|
153
|
+
I --> J[sm: create story]
|
154
|
+
J --> K{Review draft story?}
|
155
|
+
K -->|Yes| L[analyst/pm: review & approve story]
|
156
|
+
K -->|No| M[dev: implement story]
|
157
|
+
L --> M
|
158
|
+
M --> N{QA review?}
|
159
|
+
N -->|Yes| O[qa: review implementation]
|
160
|
+
N -->|No| P{More stories?}
|
161
|
+
O --> Q{QA found issues?}
|
162
|
+
Q -->|Yes| R[dev: address QA feedback]
|
163
|
+
Q -->|No| P
|
164
|
+
R --> O
|
165
|
+
P -->|Yes| J
|
166
|
+
P -->|No| S{Epic retrospective?}
|
167
|
+
S -->|Yes| T[po: epic retrospective]
|
168
|
+
S -->|No| U[Project Complete]
|
169
|
+
T --> U
|
170
|
+
|
171
|
+
style U fill:#90EE90
|
172
|
+
style I fill:#ADD8E6
|
173
|
+
style J fill:#ADD8E6
|
174
|
+
style M fill:#ADD8E6
|
175
|
+
style C fill:#FFE4B5
|
176
|
+
style D fill:#FFE4B5
|
177
|
+
style E fill:#FFE4B5
|
178
|
+
style L fill:#F0E68C
|
179
|
+
style O fill:#F0E68C
|
180
|
+
style T fill:#F0E68C
|
181
|
+
```
|
182
|
+
|
183
|
+
decision_guidance:
|
184
|
+
when_to_use:
|
185
|
+
- UI enhancement requires coordinated stories
|
186
|
+
- Design system changes needed
|
187
|
+
- New component patterns required
|
188
|
+
- User research and testing needed
|
189
|
+
- Multiple team members will work on related changes
|
190
|
+
|
191
|
+
handoff_prompts:
|
192
|
+
analyst_to_pm: "UI analysis complete. Create comprehensive PRD with UI integration strategy."
|
193
|
+
pm_to_ux: "PRD ready. Save it as docs/prd.md, then create the UI/UX specification."
|
194
|
+
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md, then create the frontend architecture."
|
195
|
+
architect_to_po: "Architecture complete. Save it as docs/architecture.md. Please validate all artifacts for UI integration safety."
|
196
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
197
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
@@ -0,0 +1,284 @@
|
|
1
|
+
workflow:
|
2
|
+
id: greenfield-fullstack
|
3
|
+
name: Greenfield Full-Stack Application Development
|
4
|
+
description: >-
|
5
|
+
Agent workflow for building full-stack applications from concept to development.
|
6
|
+
Supports both comprehensive planning for complex projects and rapid prototyping for simple ones.
|
7
|
+
type: greenfield
|
8
|
+
project_types:
|
9
|
+
- web-app
|
10
|
+
- saas
|
11
|
+
- enterprise-app
|
12
|
+
- prototype
|
13
|
+
- mvp
|
14
|
+
- flutter-mobile-app
|
15
|
+
|
16
|
+
sequence:
|
17
|
+
- agent: analyst
|
18
|
+
creates: project-brief.md
|
19
|
+
optional_steps:
|
20
|
+
- brainstorming_session
|
21
|
+
- market_research_prompt
|
22
|
+
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."
|
23
|
+
|
24
|
+
- agent: pm
|
25
|
+
creates: prd.md
|
26
|
+
requires: project-brief.md
|
27
|
+
notes: |
|
28
|
+
Creates PRD from project brief using prd-tmpl (or flutter-mobile-prd-tmpl for Flutter projects).
|
29
|
+
|
30
|
+
For Flutter mobile apps:
|
31
|
+
- Use flutter-mobile-prd-tmpl.yaml template
|
32
|
+
- Focus on feature-based architecture requirements
|
33
|
+
- Include Material Design 3 specifications
|
34
|
+
- Define mobile-specific performance criteria
|
35
|
+
- Plan Clean Architecture layers (data/domain/presentation)
|
36
|
+
|
37
|
+
SAVE OUTPUT: Copy final prd.md to your project's docs/ folder.
|
38
|
+
|
39
|
+
- agent: ux-expert
|
40
|
+
creates: front-end-spec.md
|
41
|
+
requires: prd.md
|
42
|
+
optional_steps:
|
43
|
+
- user_research_prompt
|
44
|
+
notes: |
|
45
|
+
Creates UI/UX specification using front-end-spec-tmpl (or flutter-ui-spec-tmpl for Flutter projects).
|
46
|
+
|
47
|
+
For Flutter mobile apps:
|
48
|
+
- Use flutter-ui-spec-tmpl.yaml template
|
49
|
+
- Design with Material Design 3 principles
|
50
|
+
- Plan responsive layouts for phone/tablet
|
51
|
+
- Define custom widget specifications
|
52
|
+
- Include accessibility and localization requirements
|
53
|
+
- Consider mobile-specific user interactions
|
54
|
+
|
55
|
+
SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder.
|
56
|
+
|
57
|
+
- agent: ux-expert
|
58
|
+
creates: v0_prompt (optional)
|
59
|
+
requires: front-end-spec.md
|
60
|
+
condition: user_wants_ai_generation
|
61
|
+
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."
|
62
|
+
|
63
|
+
- agent: architect
|
64
|
+
creates: fullstack-architecture.md
|
65
|
+
requires:
|
66
|
+
- prd.md
|
67
|
+
- front-end-spec.md
|
68
|
+
optional_steps:
|
69
|
+
- technical_research_prompt
|
70
|
+
- review_generated_ui_structure
|
71
|
+
notes: |
|
72
|
+
Creates comprehensive architecture using fullstack-architecture-tmpl (or flutter-mobile-architecture-tmpl for Flutter projects).
|
73
|
+
|
74
|
+
For Flutter mobile apps:
|
75
|
+
- Use flutter-mobile-architecture-tmpl.yaml template
|
76
|
+
- Define Clean Architecture with feature-based structure
|
77
|
+
- Plan Cubit state management architecture
|
78
|
+
- Specify dependency injection setup
|
79
|
+
- Include testing strategy across all layers
|
80
|
+
- Define performance and security considerations
|
81
|
+
|
82
|
+
If user generated UI with v0/Lovable, can incorporate the project structure into architecture.
|
83
|
+
May suggest changes to PRD stories or new stories.
|
84
|
+
|
85
|
+
SAVE OUTPUT: Copy final fullstack-architecture.md to your project's docs/ folder.
|
86
|
+
|
87
|
+
- agent: pm
|
88
|
+
updates: prd.md (if needed)
|
89
|
+
requires: fullstack-architecture.md
|
90
|
+
condition: architecture_suggests_prd_changes
|
91
|
+
notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
|
92
|
+
|
93
|
+
- agent: po
|
94
|
+
validates: all_artifacts
|
95
|
+
uses: po-master-checklist
|
96
|
+
notes: "Validates all documents for consistency and completeness. May require updates to any document."
|
97
|
+
|
98
|
+
- agent: various
|
99
|
+
updates: any_flagged_documents
|
100
|
+
condition: po_checklist_issues
|
101
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
102
|
+
|
103
|
+
- project_setup_guidance:
|
104
|
+
action: guide_project_structure
|
105
|
+
condition: user_has_generated_ui
|
106
|
+
notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
|
107
|
+
|
108
|
+
- development_order_guidance:
|
109
|
+
action: guide_development_sequence
|
110
|
+
notes: "Based on PRD stories: If stories are frontend-heavy, start with frontend project/directory first. If backend-heavy or API-first, start with backend. For tightly coupled features, follow story sequence in monorepo setup. Reference sharded PRD epics for development order."
|
111
|
+
|
112
|
+
- agent: po
|
113
|
+
action: shard_documents
|
114
|
+
creates: sharded_docs
|
115
|
+
requires: all_artifacts_in_project
|
116
|
+
notes: |
|
117
|
+
Shard documents for IDE development:
|
118
|
+
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
119
|
+
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
120
|
+
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
121
|
+
|
122
|
+
- agent: sm
|
123
|
+
action: create_story
|
124
|
+
creates: story.md
|
125
|
+
requires: sharded_docs
|
126
|
+
repeats: for_each_epic
|
127
|
+
notes: |
|
128
|
+
Story creation cycle:
|
129
|
+
- SM Agent (New Chat): @sm → *create (or *create-flutter-story for Flutter projects)
|
130
|
+
- Creates next story from sharded docs
|
131
|
+
- For Flutter: Uses flutter-story-tmpl.yaml with all three architecture layers
|
132
|
+
- Story starts in "Draft" status
|
133
|
+
|
134
|
+
- agent: analyst/pm
|
135
|
+
action: review_draft_story
|
136
|
+
updates: story.md
|
137
|
+
requires: story.md
|
138
|
+
optional: true
|
139
|
+
condition: user_wants_story_review
|
140
|
+
notes: |
|
141
|
+
OPTIONAL: Review and approve draft story
|
142
|
+
- NOTE: story-review task coming soon
|
143
|
+
- Review story completeness and alignment
|
144
|
+
- Update story status: Draft → Approved
|
145
|
+
|
146
|
+
- agent: dev
|
147
|
+
action: implement_story
|
148
|
+
creates: implementation_files
|
149
|
+
requires: story.md
|
150
|
+
notes: |
|
151
|
+
Dev Agent (New Chat): @dev (or Flutter-specific agents for complex features)
|
152
|
+
|
153
|
+
For Flutter projects:
|
154
|
+
- Use @flutter-ui-agent for presentation layer
|
155
|
+
- Use @flutter-cubit-agent for state management
|
156
|
+
- Use @flutter-domain-agent for business logic
|
157
|
+
- Use @flutter-data-agent for data layer
|
158
|
+
- Or use general @dev with Flutter expertise
|
159
|
+
- Implements approved story
|
160
|
+
- Updates File List with all changes
|
161
|
+
- Marks story as "Review" when complete
|
162
|
+
|
163
|
+
- agent: qa
|
164
|
+
action: review_implementation
|
165
|
+
updates: implementation_files
|
166
|
+
requires: implementation_files
|
167
|
+
optional: true
|
168
|
+
notes: |
|
169
|
+
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
170
|
+
- Senior dev review with refactoring ability
|
171
|
+
- Fixes small issues directly
|
172
|
+
- Leaves checklist for remaining items
|
173
|
+
- Updates story status (Review → Done or stays Review)
|
174
|
+
|
175
|
+
- agent: dev
|
176
|
+
action: address_qa_feedback
|
177
|
+
updates: implementation_files
|
178
|
+
condition: qa_left_unchecked_items
|
179
|
+
notes: |
|
180
|
+
If QA left unchecked items:
|
181
|
+
- Dev Agent (New Chat): Address remaining items
|
182
|
+
- Return to QA for final approval
|
183
|
+
|
184
|
+
- repeat_development_cycle:
|
185
|
+
action: continue_for_all_stories
|
186
|
+
notes: |
|
187
|
+
Repeat story cycle (SM → Dev → QA) for all epic stories
|
188
|
+
Continue until all stories in PRD are complete
|
189
|
+
|
190
|
+
- agent: po
|
191
|
+
action: epic_retrospective
|
192
|
+
creates: epic-retrospective.md
|
193
|
+
condition: epic_complete
|
194
|
+
optional: true
|
195
|
+
notes: |
|
196
|
+
OPTIONAL: After epic completion
|
197
|
+
- NOTE: epic-retrospective task coming soon
|
198
|
+
- Validate epic was completed correctly
|
199
|
+
- Document learnings and improvements
|
200
|
+
|
201
|
+
- workflow_end:
|
202
|
+
action: project_complete
|
203
|
+
notes: |
|
204
|
+
All stories implemented and reviewed!
|
205
|
+
Project development phase complete.
|
206
|
+
|
207
|
+
Reference: {root}/data/bmad-kb.md#IDE Development Workflow
|
208
|
+
|
209
|
+
flow_diagram: |
|
210
|
+
```mermaid
|
211
|
+
graph TD
|
212
|
+
A[Start: Greenfield Project] --> B[analyst: project-brief.md]
|
213
|
+
B --> C[pm: prd.md]
|
214
|
+
C --> D[ux-expert: front-end-spec.md]
|
215
|
+
D --> D2{Generate v0 prompt?}
|
216
|
+
D2 -->|Yes| D3[ux-expert: create v0 prompt]
|
217
|
+
D2 -->|No| E[architect: fullstack-architecture.md]
|
218
|
+
D3 --> D4[User: generate UI in v0/Lovable]
|
219
|
+
D4 --> E
|
220
|
+
E --> F{Architecture suggests PRD changes?}
|
221
|
+
F -->|Yes| G[pm: update prd.md]
|
222
|
+
F -->|No| H[po: validate all artifacts]
|
223
|
+
G --> H
|
224
|
+
H --> I{PO finds issues?}
|
225
|
+
I -->|Yes| J[Return to relevant agent for fixes]
|
226
|
+
I -->|No| K[po: shard documents]
|
227
|
+
J --> H
|
228
|
+
|
229
|
+
K --> L[sm: create story]
|
230
|
+
L --> M{Review draft story?}
|
231
|
+
M -->|Yes| N[analyst/pm: review & approve story]
|
232
|
+
M -->|No| O[dev: implement story]
|
233
|
+
N --> O
|
234
|
+
O --> P{QA review?}
|
235
|
+
P -->|Yes| Q[qa: review implementation]
|
236
|
+
P -->|No| R{More stories?}
|
237
|
+
Q --> S{QA found issues?}
|
238
|
+
S -->|Yes| T[dev: address QA feedback]
|
239
|
+
S -->|No| R
|
240
|
+
T --> Q
|
241
|
+
R -->|Yes| L
|
242
|
+
R -->|No| U{Epic retrospective?}
|
243
|
+
U -->|Yes| V[po: epic retrospective]
|
244
|
+
U -->|No| W[Project Complete]
|
245
|
+
V --> W
|
246
|
+
|
247
|
+
B -.-> B1[Optional: brainstorming]
|
248
|
+
B -.-> B2[Optional: market research]
|
249
|
+
D -.-> D1[Optional: user research]
|
250
|
+
E -.-> E1[Optional: technical research]
|
251
|
+
|
252
|
+
style W fill:#90EE90
|
253
|
+
style K fill:#ADD8E6
|
254
|
+
style L fill:#ADD8E6
|
255
|
+
style O fill:#ADD8E6
|
256
|
+
style D3 fill:#E6E6FA
|
257
|
+
style D4 fill:#E6E6FA
|
258
|
+
style B fill:#FFE4B5
|
259
|
+
style C fill:#FFE4B5
|
260
|
+
style D fill:#FFE4B5
|
261
|
+
style E fill:#FFE4B5
|
262
|
+
style N fill:#F0E68C
|
263
|
+
style Q fill:#F0E68C
|
264
|
+
style V fill:#F0E68C
|
265
|
+
```
|
266
|
+
|
267
|
+
decision_guidance:
|
268
|
+
when_to_use:
|
269
|
+
- Building production-ready applications
|
270
|
+
- Multiple team members will be involved
|
271
|
+
- Complex feature requirements
|
272
|
+
- Need comprehensive documentation
|
273
|
+
- Long-term maintenance expected
|
274
|
+
- Enterprise or customer-facing applications
|
275
|
+
|
276
|
+
handoff_prompts:
|
277
|
+
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
278
|
+
pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
|
279
|
+
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
|
280
|
+
architect_review: "Architecture complete. Save it as docs/fullstack-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
|
281
|
+
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
282
|
+
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
283
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
284
|
+
complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|