@appiq/flutter-workflow 1.0.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 +123 -0
- package/LICENSE +21 -0
- package/README.md +429 -0
- package/agents/cubit-agent.md +364 -0
- package/agents/data-agent.md +438 -0
- package/agents/domain-agent.md +416 -0
- package/agents/orchestrator.md +254 -0
- package/agents/po-agent.md +314 -0
- package/agents/security-agent.md +410 -0
- package/agents/test-agent.md +439 -0
- package/agents/ui-agent.md +347 -0
- package/bin/cli.js +354 -0
- package/package.json +82 -0
- package/templates/feature-history-template.md +280 -0
- package/templates/feature-template.md +81 -0
package/package.json
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
{
|
2
|
+
"name": "@appiq/flutter-workflow",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "🚀 Professional Flutter development with AI-powered agents following Clean Architecture principles - Automated agent-based feature development system by AppIQ Solutions",
|
5
|
+
"main": "bin/cli.js",
|
6
|
+
"bin": {
|
7
|
+
"appiq-workflow": "bin/cli.js"
|
8
|
+
},
|
9
|
+
"scripts": {
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
11
|
+
"dev": "node bin/cli.js",
|
12
|
+
"build": "echo 'No build needed for CLI tool'",
|
13
|
+
"prepublishOnly": "chmod +x bin/cli.js",
|
14
|
+
"prepare": "chmod +x bin/cli.js"
|
15
|
+
},
|
16
|
+
"keywords": [
|
17
|
+
"flutter",
|
18
|
+
"workflow",
|
19
|
+
"agent",
|
20
|
+
"development",
|
21
|
+
"appiq",
|
22
|
+
"claude",
|
23
|
+
"cursor",
|
24
|
+
"windsurf",
|
25
|
+
"trae",
|
26
|
+
"clean-architecture",
|
27
|
+
"feature-driven",
|
28
|
+
"ai-agents",
|
29
|
+
"coppa-compliance",
|
30
|
+
"testing-pyramid",
|
31
|
+
"mobile-development",
|
32
|
+
"state-management",
|
33
|
+
"cubit",
|
34
|
+
"bloc",
|
35
|
+
"domain-driven-design",
|
36
|
+
"mcp-integration"
|
37
|
+
],
|
38
|
+
"author": {
|
39
|
+
"name": "AppIQ Solutions",
|
40
|
+
"email": "info@appiq-solutions.com",
|
41
|
+
"url": "https://appiq-solutions.com"
|
42
|
+
},
|
43
|
+
"license": "MIT",
|
44
|
+
"dependencies": {
|
45
|
+
"chalk": "^4.1.2",
|
46
|
+
"commander": "^9.4.1",
|
47
|
+
"inquirer": "^8.2.5",
|
48
|
+
"fs-extra": "^11.1.1",
|
49
|
+
"path": "^0.12.7",
|
50
|
+
"ora": "^5.4.1"
|
51
|
+
},
|
52
|
+
"devDependencies": {
|
53
|
+
"eslint": "^8.50.0"
|
54
|
+
},
|
55
|
+
"files": [
|
56
|
+
"bin/",
|
57
|
+
"agents/",
|
58
|
+
"templates/",
|
59
|
+
"README.md",
|
60
|
+
"LICENSE",
|
61
|
+
"CHANGELOG.md"
|
62
|
+
],
|
63
|
+
"engines": {
|
64
|
+
"node": ">=14.0.0"
|
65
|
+
},
|
66
|
+
"repository": {
|
67
|
+
"type": "git",
|
68
|
+
"url": "git+https://github.com/appiq-solutions/flutter-workflow.git"
|
69
|
+
},
|
70
|
+
"bugs": {
|
71
|
+
"url": "https://github.com/appiq-solutions/flutter-workflow/issues"
|
72
|
+
},
|
73
|
+
"homepage": "https://github.com/appiq-solutions/flutter-workflow#readme",
|
74
|
+
"funding": {
|
75
|
+
"type": "paypal",
|
76
|
+
"url": "https://paypal.me/vhermann"
|
77
|
+
},
|
78
|
+
"publishConfig": {
|
79
|
+
"access": "public",
|
80
|
+
"registry": "https://registry.npmjs.org/"
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,280 @@
|
|
1
|
+
# {{FEATURE_NAME}} - Development History
|
2
|
+
|
3
|
+
**Feature:** {{FEATURE_NAME}}
|
4
|
+
**Created:** {{CREATED_DATE}}
|
5
|
+
**Status:** {{CURRENT_STATUS}}
|
6
|
+
**Last Updated:** {{UPDATED_DATE}}
|
7
|
+
|
8
|
+
## Development Timeline
|
9
|
+
|
10
|
+
### Phase 1: Analysis & Planning (PO Agent)
|
11
|
+
**Agent:** Phoenix (PO Agent)
|
12
|
+
**Status:** {{PO_STATUS}}
|
13
|
+
**Start Date:** {{PO_START_DATE}}
|
14
|
+
**End Date:** {{PO_END_DATE}}
|
15
|
+
|
16
|
+
#### Activities Completed:
|
17
|
+
- [ ] Feature requirements analysis
|
18
|
+
- [ ] User story breakdown
|
19
|
+
- [ ] Acceptance criteria definition
|
20
|
+
- [ ] Task planning and estimation
|
21
|
+
- [ ] Risk assessment
|
22
|
+
- [ ] Stakeholder coordination
|
23
|
+
|
24
|
+
#### Key Decisions:
|
25
|
+
- Decision 1: Rationale
|
26
|
+
- Decision 2: Rationale
|
27
|
+
- Decision 3: Rationale
|
28
|
+
|
29
|
+
#### Issues & Resolutions:
|
30
|
+
- Issue 1: Resolution
|
31
|
+
- Issue 2: Resolution
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
### Phase 2: UI/UX Implementation (UI Agent)
|
36
|
+
**Agent:** Maya (UI Agent)
|
37
|
+
**Status:** {{UI_STATUS}}
|
38
|
+
**Start Date:** {{UI_START_DATE}}
|
39
|
+
**End Date:** {{UI_END_DATE}}
|
40
|
+
|
41
|
+
#### Activities Completed:
|
42
|
+
- [ ] UI requirements analysis
|
43
|
+
- [ ] Widget library review
|
44
|
+
- [ ] Responsive design implementation
|
45
|
+
- [ ] Accessibility compliance
|
46
|
+
- [ ] Localization implementation
|
47
|
+
- [ ] Widget testing
|
48
|
+
|
49
|
+
#### Key Decisions:
|
50
|
+
- UI Decision 1: Rationale
|
51
|
+
- UI Decision 2: Rationale
|
52
|
+
|
53
|
+
#### Files Modified/Created:
|
54
|
+
- lib/features/{{FEATURE_FOLDER}}/presentation/pages/
|
55
|
+
- lib/features/{{FEATURE_FOLDER}}/presentation/widgets/
|
56
|
+
- lib/shared/widgets/ (if applicable)
|
57
|
+
|
58
|
+
#### Issues & Resolutions:
|
59
|
+
- UI Issue 1: Resolution
|
60
|
+
- UI Issue 2: Resolution
|
61
|
+
|
62
|
+
---
|
63
|
+
|
64
|
+
### Phase 3: State Management (Cubit Agent)
|
65
|
+
**Agent:** Alex (Cubit Agent)
|
66
|
+
**Status:** {{CUBIT_STATUS}}
|
67
|
+
**Start Date:** {{CUBIT_START_DATE}}
|
68
|
+
**End Date:** {{CUBIT_END_DATE}}
|
69
|
+
|
70
|
+
#### Activities Completed:
|
71
|
+
- [ ] State requirements analysis
|
72
|
+
- [ ] Cubit architecture design
|
73
|
+
- [ ] State classes implementation
|
74
|
+
- [ ] Business logic coordination
|
75
|
+
- [ ] Error handling implementation
|
76
|
+
- [ ] Cubit testing
|
77
|
+
|
78
|
+
#### Key Decisions:
|
79
|
+
- State Decision 1: Rationale
|
80
|
+
- State Decision 2: Rationale
|
81
|
+
|
82
|
+
#### Files Modified/Created:
|
83
|
+
- lib/features/{{FEATURE_FOLDER}}/presentation/cubit/
|
84
|
+
- lib/core/cubit/ (if applicable)
|
85
|
+
|
86
|
+
#### Issues & Resolutions:
|
87
|
+
- Cubit Issue 1: Resolution
|
88
|
+
- Cubit Issue 2: Resolution
|
89
|
+
|
90
|
+
---
|
91
|
+
|
92
|
+
### Phase 4: Domain Layer (Domain Agent)
|
93
|
+
**Agent:** Jordan (Domain Agent)
|
94
|
+
**Status:** {{DOMAIN_STATUS}}
|
95
|
+
**Start Date:** {{DOMAIN_START_DATE}}
|
96
|
+
**End Date:** {{DOMAIN_END_DATE}}
|
97
|
+
|
98
|
+
#### Activities Completed:
|
99
|
+
- [ ] Domain requirements analysis
|
100
|
+
- [ ] Entity design and implementation
|
101
|
+
- [ ] Use case implementation
|
102
|
+
- [ ] Repository interface creation
|
103
|
+
- [ ] Business rule validation
|
104
|
+
- [ ] Domain testing
|
105
|
+
|
106
|
+
#### Key Decisions:
|
107
|
+
- Domain Decision 1: Rationale
|
108
|
+
- Domain Decision 2: Rationale
|
109
|
+
|
110
|
+
#### Files Modified/Created:
|
111
|
+
- lib/features/{{FEATURE_FOLDER}}/domain/entities/
|
112
|
+
- lib/features/{{FEATURE_FOLDER}}/domain/usecases/
|
113
|
+
- lib/features/{{FEATURE_FOLDER}}/domain/repositories/
|
114
|
+
|
115
|
+
#### Issues & Resolutions:
|
116
|
+
- Domain Issue 1: Resolution
|
117
|
+
- Domain Issue 2: Resolution
|
118
|
+
|
119
|
+
---
|
120
|
+
|
121
|
+
### Phase 5: Data Layer (Data Agent)
|
122
|
+
**Agent:** Sam (Data Agent)
|
123
|
+
**Status:** {{DATA_STATUS}}
|
124
|
+
**Start Date:** {{DATA_START_DATE}}
|
125
|
+
**End Date:** {{DATA_END_DATE}}
|
126
|
+
|
127
|
+
#### Activities Completed:
|
128
|
+
- [ ] Data requirements analysis
|
129
|
+
- [ ] Repository implementation
|
130
|
+
- [ ] Data source creation
|
131
|
+
- [ ] API integration
|
132
|
+
- [ ] Local storage implementation
|
133
|
+
- [ ] Caching strategy
|
134
|
+
- [ ] Data testing
|
135
|
+
|
136
|
+
#### Key Decisions:
|
137
|
+
- Data Decision 1: Rationale
|
138
|
+
- Data Decision 2: Rationale
|
139
|
+
|
140
|
+
#### Files Modified/Created:
|
141
|
+
- lib/features/{{FEATURE_FOLDER}}/data/repositories/
|
142
|
+
- lib/features/{{FEATURE_FOLDER}}/data/datasources/
|
143
|
+
- lib/features/{{FEATURE_FOLDER}}/data/models/
|
144
|
+
|
145
|
+
#### MCP Integrations Used:
|
146
|
+
- MCP Service 1: Purpose
|
147
|
+
- MCP Service 2: Purpose
|
148
|
+
|
149
|
+
#### Issues & Resolutions:
|
150
|
+
- Data Issue 1: Resolution
|
151
|
+
- Data Issue 2: Resolution
|
152
|
+
|
153
|
+
---
|
154
|
+
|
155
|
+
### Phase 6: Security Implementation (Security Agent)
|
156
|
+
**Agent:** Cipher (Security Agent)
|
157
|
+
**Status:** {{SECURITY_STATUS}}
|
158
|
+
**Start Date:** {{SECURITY_START_DATE}}
|
159
|
+
**End Date:** {{SECURITY_END_DATE}}
|
160
|
+
|
161
|
+
#### Activities Completed:
|
162
|
+
- [ ] Security requirements analysis
|
163
|
+
- [ ] COPPA compliance validation
|
164
|
+
- [ ] Data encryption implementation
|
165
|
+
- [ ] Authentication/authorization
|
166
|
+
- [ ] Input validation
|
167
|
+
- [ ] Security testing
|
168
|
+
|
169
|
+
#### Key Decisions:
|
170
|
+
- Security Decision 1: Rationale
|
171
|
+
- Security Decision 2: Rationale
|
172
|
+
|
173
|
+
#### Security Measures Implemented:
|
174
|
+
- Measure 1: Implementation details
|
175
|
+
- Measure 2: Implementation details
|
176
|
+
|
177
|
+
#### Compliance Validations:
|
178
|
+
- [ ] COPPA compliance verified
|
179
|
+
- [ ] GDPR compliance verified
|
180
|
+
- [ ] Data protection measures implemented
|
181
|
+
|
182
|
+
#### Issues & Resolutions:
|
183
|
+
- Security Issue 1: Resolution
|
184
|
+
- Security Issue 2: Resolution
|
185
|
+
|
186
|
+
---
|
187
|
+
|
188
|
+
### Phase 7: Testing & Quality Assurance (Test Agent)
|
189
|
+
**Agent:** Trinity (Test Agent)
|
190
|
+
**Status:** {{TEST_STATUS}}
|
191
|
+
**Start Date:** {{TEST_START_DATE}}
|
192
|
+
**End Date:** {{TEST_END_DATE}}
|
193
|
+
|
194
|
+
#### Activities Completed:
|
195
|
+
- [ ] Testing strategy design
|
196
|
+
- [ ] Unit tests implementation (70%)
|
197
|
+
- [ ] Widget tests implementation (20%)
|
198
|
+
- [ ] Integration tests implementation (10%)
|
199
|
+
- [ ] Performance testing
|
200
|
+
- [ ] Security testing
|
201
|
+
- [ ] Accessibility testing
|
202
|
+
|
203
|
+
#### Test Coverage Results:
|
204
|
+
- Overall Coverage: {{TEST_COVERAGE}}%
|
205
|
+
- Unit Test Coverage: {{UNIT_COVERAGE}}%
|
206
|
+
- Widget Test Coverage: {{WIDGET_COVERAGE}}%
|
207
|
+
- Integration Test Coverage: {{INTEGRATION_COVERAGE}}%
|
208
|
+
|
209
|
+
#### Quality Gates Status:
|
210
|
+
- [ ] Minimum 90% test coverage achieved
|
211
|
+
- [ ] All tests passing
|
212
|
+
- [ ] Performance benchmarks met
|
213
|
+
- [ ] Security tests passing
|
214
|
+
- [ ] Accessibility compliance verified
|
215
|
+
|
216
|
+
#### Issues & Resolutions:
|
217
|
+
- Test Issue 1: Resolution
|
218
|
+
- Test Issue 2: Resolution
|
219
|
+
|
220
|
+
---
|
221
|
+
|
222
|
+
## Overall Feature Summary
|
223
|
+
|
224
|
+
### Total Development Time
|
225
|
+
**Start Date:** {{FEATURE_START_DATE}}
|
226
|
+
**End Date:** {{FEATURE_END_DATE}}
|
227
|
+
**Total Duration:** {{TOTAL_DURATION}}
|
228
|
+
|
229
|
+
### Final Status Summary
|
230
|
+
- **UI:** {{FINAL_UI_STATUS}}
|
231
|
+
- **Domain:** {{FINAL_DOMAIN_STATUS}}
|
232
|
+
- **Data:** {{FINAL_DATA_STATUS}}
|
233
|
+
- **Security:** {{FINAL_SECURITY_STATUS}}
|
234
|
+
- **Test:** {{FINAL_TEST_STATUS}}
|
235
|
+
- **Overall:** {{FINAL_STATUS}}
|
236
|
+
|
237
|
+
### Key Achievements
|
238
|
+
- Achievement 1
|
239
|
+
- Achievement 2
|
240
|
+
- Achievement 3
|
241
|
+
|
242
|
+
### Lessons Learned
|
243
|
+
- Lesson 1
|
244
|
+
- Lesson 2
|
245
|
+
- Lesson 3
|
246
|
+
|
247
|
+
### Technical Debt Created
|
248
|
+
- Debt Item 1: Priority and plan
|
249
|
+
- Debt Item 2: Priority and plan
|
250
|
+
|
251
|
+
### Future Enhancements
|
252
|
+
- Enhancement 1: Priority and timeline
|
253
|
+
- Enhancement 2: Priority and timeline
|
254
|
+
|
255
|
+
---
|
256
|
+
|
257
|
+
## Git Commit History
|
258
|
+
```
|
259
|
+
{{GIT_COMMIT_HASH_1}} - {{COMMIT_MESSAGE_1}} ({{COMMIT_DATE_1}})
|
260
|
+
{{GIT_COMMIT_HASH_2}} - {{COMMIT_MESSAGE_2}} ({{COMMIT_DATE_2}})
|
261
|
+
{{GIT_COMMIT_HASH_3}} - {{COMMIT_MESSAGE_3}} ({{COMMIT_DATE_3}})
|
262
|
+
...
|
263
|
+
```
|
264
|
+
|
265
|
+
## Files Created/Modified
|
266
|
+
### New Files
|
267
|
+
- File 1: Purpose
|
268
|
+
- File 2: Purpose
|
269
|
+
|
270
|
+
### Modified Files
|
271
|
+
- File 1: Changes made
|
272
|
+
- File 2: Changes made
|
273
|
+
|
274
|
+
## Dependencies Added
|
275
|
+
- Dependency 1: Version and purpose
|
276
|
+
- Dependency 2: Version and purpose
|
277
|
+
|
278
|
+
---
|
279
|
+
|
280
|
+
*This history is automatically maintained by the AppIQ Flutter Workflow system.*
|
@@ -0,0 +1,81 @@
|
|
1
|
+
---
|
2
|
+
name: {{FEATURE_NAME}}
|
3
|
+
ui: open
|
4
|
+
domain: open
|
5
|
+
data: open
|
6
|
+
security: open
|
7
|
+
test: open
|
8
|
+
status: open
|
9
|
+
created: {{CREATED_DATE}}
|
10
|
+
updated: {{UPDATED_DATE}}
|
11
|
+
---
|
12
|
+
|
13
|
+
# {{FEATURE_NAME}}
|
14
|
+
|
15
|
+
## Description
|
16
|
+
Describe your {{FEATURE_NAME}} feature here. This will be analyzed by the PO Agent to create detailed tasks and planning.
|
17
|
+
|
18
|
+
## User Story
|
19
|
+
As a [user type], I want [functionality] so that [benefit].
|
20
|
+
|
21
|
+
## Requirements
|
22
|
+
- [ ] Functional requirement 1
|
23
|
+
- [ ] Functional requirement 2
|
24
|
+
- [ ] Functional requirement 3
|
25
|
+
- [ ] Non-functional requirement 1
|
26
|
+
- [ ] Non-functional requirement 2
|
27
|
+
|
28
|
+
## Acceptance Criteria
|
29
|
+
- [ ] Given [context], when [action], then [expected result]
|
30
|
+
- [ ] Given [context], when [action], then [expected result]
|
31
|
+
- [ ] Given [context], when [action], then [expected result]
|
32
|
+
|
33
|
+
## Technical Notes
|
34
|
+
- Add any technical considerations
|
35
|
+
- Architecture requirements
|
36
|
+
- Dependencies on other features
|
37
|
+
- Performance requirements
|
38
|
+
- Security considerations
|
39
|
+
|
40
|
+
## UI/UX Requirements
|
41
|
+
- Screen designs and layouts
|
42
|
+
- User interaction patterns
|
43
|
+
- Responsive design requirements
|
44
|
+
- Accessibility requirements
|
45
|
+
- Animation and transition needs
|
46
|
+
|
47
|
+
## Data Requirements
|
48
|
+
- Data models and entities needed
|
49
|
+
- API endpoints required
|
50
|
+
- Local storage needs
|
51
|
+
- Caching strategies
|
52
|
+
- Offline functionality requirements
|
53
|
+
|
54
|
+
## Security Requirements
|
55
|
+
- Authentication needs
|
56
|
+
- Authorization requirements
|
57
|
+
- Data encryption needs
|
58
|
+
- COPPA compliance requirements
|
59
|
+
- Privacy considerations
|
60
|
+
|
61
|
+
## Testing Requirements
|
62
|
+
- Unit test scenarios
|
63
|
+
- Widget test requirements
|
64
|
+
- Integration test flows
|
65
|
+
- Performance test criteria
|
66
|
+
- Security test requirements
|
67
|
+
|
68
|
+
## Definition of Done
|
69
|
+
- [ ] All acceptance criteria met
|
70
|
+
- [ ] UI implementation complete and responsive
|
71
|
+
- [ ] State management implemented
|
72
|
+
- [ ] Domain logic implemented
|
73
|
+
- [ ] Data layer implemented
|
74
|
+
- [ ] Security measures implemented
|
75
|
+
- [ ] Tests implemented and passing (90%+ coverage)
|
76
|
+
- [ ] Documentation updated
|
77
|
+
- [ ] Code reviewed and approved
|
78
|
+
- [ ] Performance requirements met
|
79
|
+
|
80
|
+
## Notes
|
81
|
+
Additional notes, assumptions, or constraints.
|