appiq-solution 1.6.4 β 1.7.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 +62 -0
- package/README.md +109 -63
- package/bmad-core/core-config-extended.yaml +39 -0
- package/bmad-core/core-config-smart.yaml +184 -0
- package/bmad-core/core-config.yaml +165 -1
- package/bmad-core/data/mandatory-development-rules.md +170 -0
- package/bmad-core/tasks/auto-detect-prds.md +162 -0
- package/bmad-core/tasks/smart-auto-detect-prds.md +299 -0
- package/bmad-core/tasks/validate-mandatory-rules.md +322 -0
- package/docs/enhanced_prd_template.md +202 -0
- package/docs/livestream_prd_example.md +93 -0
- package/docs/livestream_prd_smart.md +278 -0
- package/docs/onboarding_prd.md +93 -0
- package/expansion-packs/appiq-flutter-mobile-dev/agents/flutter-ui-agent.md +34 -8
- package/expansion-packs/appiq-flutter-mobile-dev/config.yaml +1 -1
- package/expansion-packs/appiq-flutter-mobile-dev/data/flutter-development-guidelines.md +66 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,65 @@
|
|
1
|
+
# [1.5.0] APPIQ Flutter Mobile Dev Extension (2025-07-30)
|
2
|
+
|
3
|
+
## π¨ MAJOR FEATURES - MANDATORY DEVELOPMENT RULES
|
4
|
+
|
5
|
+
### β¨ New Features
|
6
|
+
|
7
|
+
* **π§ Mandatory Development Rules System**: Complete enforcement of development standards
|
8
|
+
- **8-Step Standard Workflow**: THINK β PLAN β VERIFY β WORK β EXPLAIN β SIMPLE β REVIEW β COMMIT
|
9
|
+
- **5 Quality Gates**: DRY, Readable, Maintainable, Performant, Testable (ALL must pass!)
|
10
|
+
- **Automatic Rule Loading**: All agents now automatically load mandatory rules
|
11
|
+
- **Instant Failure Detection**: Static text, code duplication, architecture violations
|
12
|
+
|
13
|
+
* **π€ Enhanced Flutter Agents**: All agents updated with mandatory workflow enforcement
|
14
|
+
- **flutter-ui-agent**: Enhanced with pre-coding checklist and quality gates
|
15
|
+
- **flutter-cubit-agent**: Mandatory state management patterns
|
16
|
+
- **flutter-domain-agent**: Business logic validation rules
|
17
|
+
- **flutter-data-agent**: Repository pattern enforcement
|
18
|
+
- **shared-components-agent**: Component reuse validation
|
19
|
+
|
20
|
+
* **β
Automatic Validation System**: `validate-mandatory-rules.md` task
|
21
|
+
- **Script-based validation**: Automatic checks for all quality criteria
|
22
|
+
- **Comprehensive reporting**: Success/failure reports with specific actions
|
23
|
+
- **Pre-commit validation**: Prevents bad code from being committed
|
24
|
+
- **Architecture compliance**: Clean Architecture layer validation
|
25
|
+
|
26
|
+
* **π Enhanced Development Guidelines**: `flutter-development-guidelines.md`
|
27
|
+
- **MANDATORY sections**: Critical rules that MUST be followed
|
28
|
+
- **Failure conditions**: Clear instant failure scenarios
|
29
|
+
- **Pre-coding checklists**: What to check before writing any code
|
30
|
+
- **Integration rules**: How to work with existing codebase
|
31
|
+
|
32
|
+
* **βοΈ Core Configuration Enhancement**: `core-config-smart.yaml`
|
33
|
+
- **mandatoryRules enforcement**: Automatic rule application
|
34
|
+
- **devLoadAlwaysFiles**: Rules loaded with every agent
|
35
|
+
- **Quality gates configuration**: All 5 criteria enforced
|
36
|
+
- **Failure condition settings**: Configurable instant failures
|
37
|
+
|
38
|
+
### π§ Improvements
|
39
|
+
|
40
|
+
* **Code Reuse Optimization**: Always check existing components before creating new ones
|
41
|
+
* **Pattern Consistency**: Enforce existing architectural patterns
|
42
|
+
* **Localization Enforcement**: NO static text allowed - all text must use AppLocalizations
|
43
|
+
* **Testing Requirements**: Comprehensive test coverage mandatory
|
44
|
+
* **Performance Standards**: Optimized implementations required
|
45
|
+
|
46
|
+
### π₯ Breaking Changes
|
47
|
+
|
48
|
+
* **Static Text**: Now causes instant failure - ALL text must use AppLocalizations
|
49
|
+
* **Code Duplication**: Instant failure when shared components exist
|
50
|
+
* **Pattern Breaking**: Cannot create new patterns without approval
|
51
|
+
* **Missing Tests**: All new features must have comprehensive tests
|
52
|
+
* **Architecture Violations**: Clean Architecture must be followed strictly
|
53
|
+
|
54
|
+
### π― Developer Experience
|
55
|
+
|
56
|
+
* **Consistent Code Quality**: All code looks like it's from a single developer
|
57
|
+
* **Automatic Enforcement**: Rules applied automatically in Cursor, Claude Code, and all IDEs
|
58
|
+
* **Clear Guidelines**: Explicit failure conditions and success criteria
|
59
|
+
* **Validation Feedback**: Detailed reports on what needs to be fixed
|
60
|
+
|
61
|
+
---
|
62
|
+
|
1
63
|
## [4.33.1](https://github.com/bmadcode/BMAD-METHOD/compare/v4.33.0...v4.33.1) (2025-07-29)
|
2
64
|
|
3
65
|
|
package/README.md
CHANGED
@@ -90,61 +90,85 @@ Since you already have documented architecture, this is the perfect starting poi
|
|
90
90
|
- Creates a "Brownfield Analysis" with recommendations
|
91
91
|
- Defines how new features fit into your existing structure
|
92
92
|
|
93
|
-
### 3.
|
93
|
+
### 3. Start the Master Flutter Workflow
|
94
94
|
|
95
|
-
Now the
|
95
|
+
Now use the **Master Flutter Orchestrator** to automatically handle everything:
|
96
96
|
|
97
|
-
```bash
|
98
|
-
@sm
|
99
|
-
```
|
100
|
-
|
101
|
-
**The SM will ask you:**
|
102
|
-
- Which specific livestream functions are needed
|
103
|
-
- Which UI components are required
|
104
|
-
- How the feature integrates into existing navigation
|
105
|
-
- Which backend endpoints are needed
|
106
|
-
|
107
|
-
### 4. Automatic Flutter Workflow Starts
|
108
|
-
|
109
|
-
Once the story is defined, the `flutter-ui-first-development` workflow automatically starts:
|
110
|
-
|
111
|
-
**Phase 1: UI Design (Maya - flutter-ui-agent)**
|
112
97
|
```
|
113
|
-
|
114
|
-
|
115
|
-
|
98
|
+
/flutter-init-agent - Erstelle eine TikTok-Γ€hnliche Livestream-UI mit:
|
99
|
+
- Vertical Video Player (Vollbild)
|
100
|
+
- Like Button mit Animation
|
101
|
+
- Share Button
|
102
|
+
- Kommentar-System (Real-time)
|
103
|
+
- Viewer Counter
|
104
|
+
- Follow Button
|
105
|
+
|
106
|
+
Target Folder: lib/features/livestream/
|
107
|
+
Screenshots: [Optional: FΓΌge Screenshots oder Mockups hinzu]
|
116
108
|
```
|
117
109
|
|
118
|
-
|
119
|
-
|
120
|
-
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
**
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
-
|
144
|
-
-
|
145
|
-
|
146
|
-
|
147
|
-
-
|
110
|
+
### 4. Automatic End-to-End Workflow
|
111
|
+
|
112
|
+
The `flutter-init-agent` will **automatically orchestrate the complete development process**:
|
113
|
+
|
114
|
+
#### **π― Phase 1: Automatic Analysis**
|
115
|
+
- **Scans your existing codebase** using `npx appiq-solution flatten`
|
116
|
+
- **Analyzes architecture patterns** (routing, state management, DI)
|
117
|
+
- **Identifies integration points** with your existing features
|
118
|
+
- **Plans implementation strategy** for the new feature
|
119
|
+
|
120
|
+
#### **ποΈ Phase 2: Team Orchestration**
|
121
|
+
The agent automatically triggers this sequence:
|
122
|
+
|
123
|
+
**2.1 Product Owner (@po)**
|
124
|
+
- Creates user stories, epics, and acceptance criteria
|
125
|
+
- Defines feature breakdown and requirements
|
126
|
+
|
127
|
+
**2.2 Architect (@architect)**
|
128
|
+
- Analyzes existing codebase structure
|
129
|
+
- Plans integration with current architecture
|
130
|
+
- Defines backend requirements (Supabase tables, etc.)
|
131
|
+
- Creates implementation guidelines
|
132
|
+
|
133
|
+
**2.3 UI Development (@flutter-ui-agent)**
|
134
|
+
- Creates pages and navigation integration
|
135
|
+
- Implements custom widgets and animations
|
136
|
+
- Ensures responsive design and accessibility
|
137
|
+
|
138
|
+
**2.4 State Management (@flutter-cubit-agent)**
|
139
|
+
- Implements Cubit/BLoC patterns matching your existing setup
|
140
|
+
- Handles error states and loading management
|
141
|
+
- Integrates with current state management
|
142
|
+
|
143
|
+
**2.5 Business Logic (@flutter-domain-agent)**
|
144
|
+
- Creates entities, use cases, and business rules
|
145
|
+
- Implements validation and business logic
|
146
|
+
- Defines repository interfaces
|
147
|
+
|
148
|
+
**2.6 Data Layer (@flutter-data-agent)**
|
149
|
+
- Implements repository pattern
|
150
|
+
- Creates API integration and caching
|
151
|
+
- Handles data serialization and persistence
|
152
|
+
|
153
|
+
**2.7 Backend Integration (MCP Supabase/Firebase)**
|
154
|
+
- Creates database tables and relationships
|
155
|
+
- Sets up authentication and security rules
|
156
|
+
- Implements real-time features
|
157
|
+
|
158
|
+
**2.8 Quality Assurance (@qa)**
|
159
|
+
- Performs code review against existing patterns
|
160
|
+
- Implements comprehensive testing strategy
|
161
|
+
- Validates architecture consistency
|
162
|
+
|
163
|
+
**2.9 Security Audit (@flutter-security-agent)**
|
164
|
+
- Checks for security vulnerabilities
|
165
|
+
- Validates API key protection
|
166
|
+
- Ensures data privacy compliance
|
167
|
+
|
168
|
+
**2.10 Git Integration**
|
169
|
+
- Commits changes with proper messages
|
170
|
+
- Creates feature branches
|
171
|
+
- Prepares for code review
|
148
172
|
|
149
173
|
### 5. Backend Integration
|
150
174
|
|
@@ -161,27 +185,49 @@ After each phase runs automatically:
|
|
161
185
|
- Testing (Unit, Widget, Integration tests)
|
162
186
|
- Security validation
|
163
187
|
|
164
|
-
## π Your
|
188
|
+
## π Your Complete Workflow
|
165
189
|
|
166
|
-
**One-time setup:**
|
190
|
+
### **One-time setup:**
|
167
191
|
```bash
|
168
192
|
npx appiq-solution # Choose appiq-flutter-mobile-dev
|
169
|
-
@architect # Analyze existing architecture
|
193
|
+
@architect # Analyze existing architecture (optional)
|
170
194
|
```
|
171
195
|
|
172
|
-
**For each new feature:**
|
173
|
-
```bash
|
174
|
-
@sm # "Create story for [Feature-Name]"
|
175
|
-
```
|
176
|
-
- System runs automatically through all agents
|
177
|
-
- You provide input/feedback at respective handoff points
|
178
|
-
- At the end you have a fully implemented feature
|
179
|
-
|
180
|
-
**In your IDE (Cursor, Claude, etc.):**
|
196
|
+
### **For each new feature - Just one command:**
|
181
197
|
```
|
182
|
-
|
198
|
+
/flutter-init-agent - Erstelle ein Instagram-Γ€hnliches Story Feature mit:
|
199
|
+
- Vollbild Story Viewer
|
200
|
+
- Progress Indicators
|
201
|
+
- Swipe Navigation
|
202
|
+
- Story Creation (Foto/Video)
|
203
|
+
- Story Archive
|
204
|
+
- View Analytics
|
205
|
+
|
206
|
+
Target Folder: lib/features/stories/
|
207
|
+
Backend: Supabase (stories table, media storage)
|
208
|
+
Integration: Mit bestehendem User System
|
183
209
|
```
|
184
210
|
|
211
|
+
### **What happens automatically:**
|
212
|
+
β
**Complete codebase analysis** and architecture understanding
|
213
|
+
β
**Automatic team orchestration** through all specialized agents
|
214
|
+
β
**End-to-end implementation** from UI to backend
|
215
|
+
β
**Quality assurance** and security validation
|
216
|
+
β
**Git integration** with proper commits
|
217
|
+
|
218
|
+
**You only need to:**
|
219
|
+
- Provide the initial feature description
|
220
|
+
- Give feedback when agents ask for clarification
|
221
|
+
- Review and approve the final implementation
|
222
|
+
|
223
|
+
### **Available Flutter Agents:**
|
224
|
+
- `/flutter-init-agent` - Master orchestrator for complete features
|
225
|
+
- `/flutter-ui-agent` - UI components and design
|
226
|
+
- `/flutter-cubit-agent` - State management
|
227
|
+
- `/flutter-domain-agent` - Business logic
|
228
|
+
- `/flutter-data-agent` - Data layer and APIs
|
229
|
+
- `/flutter-security-agent` - Security auditing
|
230
|
+
|
185
231
|
## ποΈ Codebase Context Management
|
186
232
|
|
187
233
|
Automatic context export after every feature/milestone:
|
@@ -0,0 +1,39 @@
|
|
1
|
+
markdownExploder: true
|
2
|
+
prd:
|
3
|
+
prdFile: docs/prd.md
|
4
|
+
prdVersion: v4
|
5
|
+
prdSharded: true
|
6
|
+
prdShardedLocation: docs/prd
|
7
|
+
epicFilePattern: epic-{n}*.md
|
8
|
+
# NEUE ERWEITERUNG: PRD Pattern-Erkennung
|
9
|
+
prdFilePattern: "*_prd.md" # Erkennt alle Dateien die mit _prd.md enden
|
10
|
+
autoPrdDetection: true # Aktiviert automatische PRD-Erkennung
|
11
|
+
autoPrdSharding: true # Automatisches Sharding bei Erkennung
|
12
|
+
autoPrdWorkflow: true # Startet automatisch PO β SM β Dev Workflow
|
13
|
+
|
14
|
+
architecture:
|
15
|
+
architectureFile: docs/architecture.md
|
16
|
+
architectureVersion: v4
|
17
|
+
architectureSharded: true
|
18
|
+
architectureShardedLocation: docs/architecture
|
19
|
+
|
20
|
+
# Erweiterte Workflow-Automatisierung
|
21
|
+
autoWorkflow:
|
22
|
+
enabled: true
|
23
|
+
scanDirectories:
|
24
|
+
- "docs/"
|
25
|
+
- "features/"
|
26
|
+
- "./"
|
27
|
+
triggerPatterns:
|
28
|
+
- "*_prd.md"
|
29
|
+
- "*_requirements.md"
|
30
|
+
- "*_feature.md"
|
31
|
+
|
32
|
+
customTechnicalDocuments: null
|
33
|
+
devLoadAlwaysFiles:
|
34
|
+
- docs/architecture/coding-standards.md
|
35
|
+
- docs/architecture/tech-stack.md
|
36
|
+
- docs/architecture/source-tree.md
|
37
|
+
devDebugLog: .ai/debug-log.md
|
38
|
+
devStoryLocation: docs/stories
|
39
|
+
slashPrefix: bmad
|
@@ -0,0 +1,184 @@
|
|
1
|
+
markdownExploder: true
|
2
|
+
|
3
|
+
# Standard PRD Configuration
|
4
|
+
prd:
|
5
|
+
prdFile: docs/prd.md
|
6
|
+
prdVersion: v4
|
7
|
+
prdSharded: true
|
8
|
+
prdShardedLocation: docs/prd
|
9
|
+
epicFilePattern: epic-{n}*.md
|
10
|
+
|
11
|
+
# Enhanced PRD Pattern Recognition
|
12
|
+
prdFilePattern: "*_prd.md"
|
13
|
+
requirementsFilePattern: "*_requirements.md"
|
14
|
+
featureFilePattern: "*_feature.md"
|
15
|
+
|
16
|
+
# Auto-Detection Settings
|
17
|
+
autoPrdDetection: true
|
18
|
+
autoPrdSharding: true
|
19
|
+
autoPrdWorkflow: true
|
20
|
+
|
21
|
+
architecture:
|
22
|
+
architectureFile: docs/architecture.md
|
23
|
+
architectureVersion: v4
|
24
|
+
architectureSharded: true
|
25
|
+
architectureShardedLocation: docs/architecture
|
26
|
+
|
27
|
+
# Smart Analysis Configuration
|
28
|
+
smartAnalysis:
|
29
|
+
enabled: true
|
30
|
+
|
31
|
+
# Codebase Analysis
|
32
|
+
codebaseAnalysis:
|
33
|
+
enabled: true
|
34
|
+
scanDirectories:
|
35
|
+
- "lib/features/"
|
36
|
+
- "lib/shared/"
|
37
|
+
- "lib/core/"
|
38
|
+
|
39
|
+
# Similarity Detection
|
40
|
+
similarityThreshold: 0.6 # 60% similarity to suggest reuse
|
41
|
+
keywordMatching: true
|
42
|
+
patternMatching: true
|
43
|
+
|
44
|
+
# Code Reuse Detection
|
45
|
+
reuseAnalysis:
|
46
|
+
widgets: "lib/shared/widgets/"
|
47
|
+
services: "lib/shared/services/"
|
48
|
+
utils: "lib/shared/utils/"
|
49
|
+
patterns: "lib/features/*/presentation/"
|
50
|
+
|
51
|
+
# UI Reference Processing
|
52
|
+
uiReferenceProcessing:
|
53
|
+
enabled: true
|
54
|
+
assetDirectories:
|
55
|
+
- "assets/images/"
|
56
|
+
- "assets/icons/"
|
57
|
+
- "assets/mockups/"
|
58
|
+
supportedFormats: ["png", "jpg", "svg", "pdf"]
|
59
|
+
autoCreateDirectories: true
|
60
|
+
|
61
|
+
# Architect Consultation
|
62
|
+
architectConsultation:
|
63
|
+
enabled: true
|
64
|
+
triggers:
|
65
|
+
- complexityThreshold: "high"
|
66
|
+
- conflictingPatterns: true
|
67
|
+
- noExistingPatterns: true
|
68
|
+
- crossFeatureDependencies: true
|
69
|
+
|
70
|
+
analysisDepth: "deep" # shallow, medium, deep
|
71
|
+
|
72
|
+
# Integration Analysis
|
73
|
+
integrationAnalysis:
|
74
|
+
enabled: true
|
75
|
+
checkExistingFiles: true
|
76
|
+
validatePaths: true
|
77
|
+
conflictDetection: true
|
78
|
+
dependencyMapping: true
|
79
|
+
|
80
|
+
# Auto-Workflow Configuration
|
81
|
+
autoWorkflow:
|
82
|
+
enabled: true
|
83
|
+
|
84
|
+
# Scan Configuration
|
85
|
+
scanDirectories:
|
86
|
+
- "docs/"
|
87
|
+
- "features/"
|
88
|
+
- "./"
|
89
|
+
- "requirements/"
|
90
|
+
|
91
|
+
# File Pattern Triggers
|
92
|
+
triggerPatterns:
|
93
|
+
- "*_prd.md"
|
94
|
+
- "*_requirements.md"
|
95
|
+
- "*_feature.md"
|
96
|
+
- "*_spec.md"
|
97
|
+
|
98
|
+
# Workflow Automation
|
99
|
+
autoSharding: true
|
100
|
+
autoStoryGeneration: true
|
101
|
+
autoArchitectConsultation: true
|
102
|
+
|
103
|
+
# Flutter-Specific Settings
|
104
|
+
flutterIntegration:
|
105
|
+
enabled: true
|
106
|
+
autoDetectFlutterProject: true
|
107
|
+
applyFlutterPatterns: true
|
108
|
+
useCleanArchitecture: true
|
109
|
+
defaultStateManagement: "cubit"
|
110
|
+
|
111
|
+
# Development Configuration
|
112
|
+
customTechnicalDocuments: null
|
113
|
+
devLoadAlwaysFiles:
|
114
|
+
- docs/architecture/coding-standards.md
|
115
|
+
- docs/architecture/tech-stack.md
|
116
|
+
- docs/architecture/source-tree.md
|
117
|
+
- bmad-core/data/mandatory-development-rules.md
|
118
|
+
- expansion-packs/appiq-flutter-mobile-dev/data/flutter-development-guidelines.md
|
119
|
+
|
120
|
+
devDebugLog: .ai/debug-log.md
|
121
|
+
devStoryLocation: docs/stories
|
122
|
+
|
123
|
+
# Enhanced Development Settings
|
124
|
+
devEnhancements:
|
125
|
+
codeReuseValidation: true
|
126
|
+
existingComponentScan: true
|
127
|
+
architecturalComplianceCheck: true
|
128
|
+
performancePatternValidation: true
|
129
|
+
|
130
|
+
# MANDATORY DEVELOPMENT RULES ENFORCEMENT
|
131
|
+
mandatoryRules:
|
132
|
+
enabled: true
|
133
|
+
enforceStandardWorkflow: true
|
134
|
+
enforceQualityGates: true
|
135
|
+
enforcePreCodingChecklist: true
|
136
|
+
|
137
|
+
# Standard Workflow Enforcement
|
138
|
+
standardWorkflow:
|
139
|
+
requirePlan: true
|
140
|
+
requireVerification: true
|
141
|
+
requireExplanations: true
|
142
|
+
requireSimpleChanges: true
|
143
|
+
requireReview: true
|
144
|
+
requireCommits: true
|
145
|
+
|
146
|
+
# Quality Gates Enforcement (ALL 5 MUST PASS!)
|
147
|
+
qualityGates:
|
148
|
+
DRY: true # No code duplication
|
149
|
+
Readable: true # Self-documenting code
|
150
|
+
Maintainable: true # Clean Architecture
|
151
|
+
Performant: true # Optimized implementation
|
152
|
+
Testable: true # Comprehensive tests
|
153
|
+
|
154
|
+
# Flutter-Specific Rules
|
155
|
+
flutterRules:
|
156
|
+
noStaticText: true # All text must use AppLocalizations
|
157
|
+
cleanArchitecture: true # Presentation β Domain β Data
|
158
|
+
cubitStateManagement: true # Use Cubit patterns
|
159
|
+
repositoryPattern: true # Implement Repository pattern
|
160
|
+
dependencyInjection: true # Use GetIt
|
161
|
+
|
162
|
+
# Code Integration Rules
|
163
|
+
codeIntegration:
|
164
|
+
checkExistingFirst: true # Always check existing code first
|
165
|
+
reuseComponents: true # Reuse shared components
|
166
|
+
followPatterns: true # Follow existing patterns
|
167
|
+
extendNotDuplicate: true # Extend instead of duplicate
|
168
|
+
|
169
|
+
# Failure Conditions (NEVER ALLOWED!)
|
170
|
+
failureConditions:
|
171
|
+
staticTextInUI: true # Instant failure
|
172
|
+
codeDuplication: true # Instant failure
|
173
|
+
patternBreaking: true # Instant failure
|
174
|
+
missingTests: true # Instant failure
|
175
|
+
architectureViolation: true # Instant failure
|
176
|
+
|
177
|
+
# Reporting Configuration
|
178
|
+
reporting:
|
179
|
+
generateAnalysisReports: true
|
180
|
+
reportLocation: "docs/analysis/"
|
181
|
+
includeReuseRecommendations: true
|
182
|
+
includeArchitecturalSuggestions: true
|
183
|
+
|
184
|
+
slashPrefix: bmad
|
@@ -1,20 +1,184 @@
|
|
1
1
|
markdownExploder: true
|
2
|
+
|
3
|
+
# Standard PRD Configuration
|
2
4
|
prd:
|
3
5
|
prdFile: docs/prd.md
|
4
6
|
prdVersion: v4
|
5
7
|
prdSharded: true
|
6
8
|
prdShardedLocation: docs/prd
|
7
9
|
epicFilePattern: epic-{n}*.md
|
10
|
+
|
11
|
+
# Enhanced PRD Pattern Recognition
|
12
|
+
prdFilePattern: "*_prd.md"
|
13
|
+
requirementsFilePattern: "*_requirements.md"
|
14
|
+
featureFilePattern: "*_feature.md"
|
15
|
+
|
16
|
+
# Auto-Detection Settings
|
17
|
+
autoPrdDetection: true
|
18
|
+
autoPrdSharding: true
|
19
|
+
autoPrdWorkflow: true
|
20
|
+
|
8
21
|
architecture:
|
9
22
|
architectureFile: docs/architecture.md
|
10
23
|
architectureVersion: v4
|
11
24
|
architectureSharded: true
|
12
25
|
architectureShardedLocation: docs/architecture
|
26
|
+
|
27
|
+
# Smart Analysis Configuration
|
28
|
+
smartAnalysis:
|
29
|
+
enabled: true
|
30
|
+
|
31
|
+
# Codebase Analysis
|
32
|
+
codebaseAnalysis:
|
33
|
+
enabled: true
|
34
|
+
scanDirectories:
|
35
|
+
- "lib/features/"
|
36
|
+
- "lib/shared/"
|
37
|
+
- "lib/core/"
|
38
|
+
|
39
|
+
# Similarity Detection
|
40
|
+
similarityThreshold: 0.6 # 60% similarity to suggest reuse
|
41
|
+
keywordMatching: true
|
42
|
+
patternMatching: true
|
43
|
+
|
44
|
+
# Code Reuse Detection
|
45
|
+
reuseAnalysis:
|
46
|
+
widgets: "lib/shared/widgets/"
|
47
|
+
services: "lib/shared/services/"
|
48
|
+
utils: "lib/shared/utils/"
|
49
|
+
patterns: "lib/features/*/presentation/"
|
50
|
+
|
51
|
+
# UI Reference Processing
|
52
|
+
uiReferenceProcessing:
|
53
|
+
enabled: true
|
54
|
+
assetDirectories:
|
55
|
+
- "assets/images/"
|
56
|
+
- "assets/icons/"
|
57
|
+
- "assets/mockups/"
|
58
|
+
supportedFormats: ["png", "jpg", "svg", "pdf"]
|
59
|
+
autoCreateDirectories: true
|
60
|
+
|
61
|
+
# Architect Consultation
|
62
|
+
architectConsultation:
|
63
|
+
enabled: true
|
64
|
+
triggers:
|
65
|
+
- complexityThreshold: "high"
|
66
|
+
- conflictingPatterns: true
|
67
|
+
- noExistingPatterns: true
|
68
|
+
- crossFeatureDependencies: true
|
69
|
+
|
70
|
+
analysisDepth: "deep" # shallow, medium, deep
|
71
|
+
|
72
|
+
# Integration Analysis
|
73
|
+
integrationAnalysis:
|
74
|
+
enabled: true
|
75
|
+
checkExistingFiles: true
|
76
|
+
validatePaths: true
|
77
|
+
conflictDetection: true
|
78
|
+
dependencyMapping: true
|
79
|
+
|
80
|
+
# Auto-Workflow Configuration
|
81
|
+
autoWorkflow:
|
82
|
+
enabled: true
|
83
|
+
|
84
|
+
# Scan Configuration
|
85
|
+
scanDirectories:
|
86
|
+
- "docs/"
|
87
|
+
- "features/"
|
88
|
+
- "./"
|
89
|
+
- "requirements/"
|
90
|
+
|
91
|
+
# File Pattern Triggers
|
92
|
+
triggerPatterns:
|
93
|
+
- "*_prd.md"
|
94
|
+
- "*_requirements.md"
|
95
|
+
- "*_feature.md"
|
96
|
+
- "*_spec.md"
|
97
|
+
|
98
|
+
# Workflow Automation
|
99
|
+
autoSharding: true
|
100
|
+
autoStoryGeneration: true
|
101
|
+
autoArchitectConsultation: true
|
102
|
+
|
103
|
+
# Flutter-Specific Settings
|
104
|
+
flutterIntegration:
|
105
|
+
enabled: true
|
106
|
+
autoDetectFlutterProject: true
|
107
|
+
applyFlutterPatterns: true
|
108
|
+
useCleanArchitecture: true
|
109
|
+
defaultStateManagement: "cubit"
|
110
|
+
|
111
|
+
# Development Configuration
|
13
112
|
customTechnicalDocuments: null
|
14
113
|
devLoadAlwaysFiles:
|
15
114
|
- docs/architecture/coding-standards.md
|
16
115
|
- docs/architecture/tech-stack.md
|
17
116
|
- docs/architecture/source-tree.md
|
117
|
+
- bmad-core/data/mandatory-development-rules.md
|
118
|
+
- expansion-packs/appiq-flutter-mobile-dev/data/flutter-development-guidelines.md
|
119
|
+
|
18
120
|
devDebugLog: .ai/debug-log.md
|
19
121
|
devStoryLocation: docs/stories
|
20
|
-
|
122
|
+
|
123
|
+
# Enhanced Development Settings
|
124
|
+
devEnhancements:
|
125
|
+
codeReuseValidation: true
|
126
|
+
existingComponentScan: true
|
127
|
+
architecturalComplianceCheck: true
|
128
|
+
performancePatternValidation: true
|
129
|
+
|
130
|
+
# MANDATORY DEVELOPMENT RULES ENFORCEMENT
|
131
|
+
mandatoryRules:
|
132
|
+
enabled: true
|
133
|
+
enforceStandardWorkflow: true
|
134
|
+
enforceQualityGates: true
|
135
|
+
enforcePreCodingChecklist: true
|
136
|
+
|
137
|
+
# Standard Workflow Enforcement
|
138
|
+
standardWorkflow:
|
139
|
+
requirePlan: true
|
140
|
+
requireVerification: true
|
141
|
+
requireExplanations: true
|
142
|
+
requireSimpleChanges: true
|
143
|
+
requireReview: true
|
144
|
+
requireCommits: true
|
145
|
+
|
146
|
+
# Quality Gates Enforcement (ALL 5 MUST PASS!)
|
147
|
+
qualityGates:
|
148
|
+
DRY: true # No code duplication
|
149
|
+
Readable: true # Self-documenting code
|
150
|
+
Maintainable: true # Clean Architecture
|
151
|
+
Performant: true # Optimized implementation
|
152
|
+
Testable: true # Comprehensive tests
|
153
|
+
|
154
|
+
# Flutter-Specific Rules
|
155
|
+
flutterRules:
|
156
|
+
noStaticText: true # All text must use AppLocalizations
|
157
|
+
cleanArchitecture: true # Presentation β Domain β Data
|
158
|
+
cubitStateManagement: true # Use Cubit patterns
|
159
|
+
repositoryPattern: true # Implement Repository pattern
|
160
|
+
dependencyInjection: true # Use GetIt
|
161
|
+
|
162
|
+
# Code Integration Rules
|
163
|
+
codeIntegration:
|
164
|
+
checkExistingFirst: true # Always check existing code first
|
165
|
+
reuseComponents: true # Reuse shared components
|
166
|
+
followPatterns: true # Follow existing patterns
|
167
|
+
extendNotDuplicate: true # Extend instead of duplicate
|
168
|
+
|
169
|
+
# Failure Conditions (NEVER ALLOWED!)
|
170
|
+
failureConditions:
|
171
|
+
staticTextInUI: true # Instant failure
|
172
|
+
codeDuplication: true # Instant failure
|
173
|
+
patternBreaking: true # Instant failure
|
174
|
+
missingTests: true # Instant failure
|
175
|
+
architectureViolation: true # Instant failure
|
176
|
+
|
177
|
+
# Reporting Configuration
|
178
|
+
reporting:
|
179
|
+
generateAnalysisReports: true
|
180
|
+
reportLocation: "docs/analysis/"
|
181
|
+
includeReuseRecommendations: true
|
182
|
+
includeArchitecturalSuggestions: true
|
183
|
+
|
184
|
+
slashPrefix: bmad
|