ai-flow-dev 2.1.3 → 2.1.5
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/README.md +25 -38
- package/dist/cli.js +68 -46
- package/dist/cli.js.map +1 -1
- package/package.json +5 -5
- package/prompts/backend/flow-build-phase-0.md +31 -63
- package/prompts/backend/flow-build-phase-1.md +9 -17
- package/prompts/backend/flow-build-phase-10.md +199 -585
- package/prompts/backend/flow-build-phase-2.md +152 -86
- package/prompts/backend/flow-build-phase-3.md +108 -68
- package/prompts/backend/flow-build-phase-4.md +5 -8
- package/prompts/backend/flow-build-phase-5.md +39 -12
- package/prompts/backend/flow-build-phase-6.md +29 -8
- package/prompts/backend/flow-build-phase-7.md +120 -40
- package/prompts/backend/flow-build-phase-8.md +28 -65
- package/prompts/backend/flow-build-phase-9.md +267 -1298
- package/prompts/backend/flow-build.md +881 -957
- package/prompts/backend/flow-dev-commit.md +27 -50
- package/prompts/backend/flow-dev-feature.md +1929 -2017
- package/prompts/backend/flow-dev-fix.md +936 -964
- package/prompts/backend/flow-dev-refactor.md +672 -701
- package/prompts/backend/flow-dev-review.md +356 -389
- package/prompts/backend/flow-dev-work.md +1066 -1118
- package/prompts/backend/flow-docs-sync.md +20 -196
- package/prompts/frontend/flow-build-phase-0.md +503 -484
- package/prompts/frontend/flow-build-phase-1.md +445 -433
- package/prompts/frontend/flow-build-phase-2.md +910 -957
- package/prompts/frontend/flow-build-phase-3.md +692 -664
- package/prompts/frontend/flow-build-phase-4.md +478 -463
- package/prompts/frontend/flow-build-phase-5.md +488 -467
- package/prompts/frontend/flow-build-phase-6.md +571 -550
- package/prompts/frontend/flow-build-phase-7.md +560 -592
- package/prompts/frontend/flow-build-phase-8.md +17 -42
- package/prompts/frontend/flow-build.md +457 -503
- package/prompts/frontend/flow-docs-sync.md +14 -35
- package/prompts/mobile/flow-build-phase-0.md +104 -97
- package/prompts/mobile/flow-build-phase-1.md +137 -122
- package/prompts/mobile/flow-build-phase-2.md +123 -130
- package/prompts/mobile/flow-build-phase-3.md +144 -149
- package/prompts/mobile/flow-build-phase-4.md +140 -132
- package/prompts/mobile/flow-build-phase-5.md +70 -70
- package/prompts/mobile/flow-build-phase-6.md +136 -134
- package/prompts/mobile/flow-build-phase-7.md +24 -58
- package/prompts/mobile/flow-build-phase-8.md +17 -42
- package/prompts/mobile/flow-build.md +47 -97
- package/prompts/mobile/flow-docs-sync.md +13 -32
- package/prompts/shared/mermaid-guidelines.md +106 -0
- package/prompts/shared/scope-levels.md +126 -0
- package/prompts/shared/story-points.md +65 -0
- package/prompts/shared/task-format.md +86 -0
- package/templates/AGENT.template.md +194 -15
- package/templates/backend/README.template.md +2 -32
- package/templates/backend/ai-instructions.template.md +2 -32
- package/templates/backend/copilot-instructions.template.md +2 -22
- package/templates/backend/docs/api.template.md +89 -20
- package/templates/backend/docs/architecture.template.md +165 -53
- package/templates/backend/docs/business-flows.template.md +7 -14
- package/templates/backend/docs/code-standards.template.md +2 -38
- package/templates/backend/docs/contributing.template.md +2 -16
- package/templates/backend/docs/data-model.template.md +125 -21
- package/templates/backend/docs/operations.template.md +179 -50
- package/templates/backend/docs/testing.template.md +2 -42
- package/templates/backend/project-brief.template.md +2 -28
- package/templates/backend/specs/configuration.template.md +2 -14
- package/templates/backend/specs/security.template.md +2 -32
- package/templates/frontend/README.template.md +2 -18
- package/templates/frontend/ai-instructions.template.md +2 -20
- package/templates/frontend/docs/api-integration.template.md +12 -30
- package/templates/frontend/docs/components.template.md +2 -28
- package/templates/frontend/docs/error-handling.template.md +11 -27
- package/templates/frontend/docs/operations.template.md +8 -18
- package/templates/frontend/docs/performance.template.md +8 -18
- package/templates/frontend/docs/pwa.template.md +8 -18
- package/templates/frontend/docs/state-management.template.md +2 -28
- package/templates/frontend/docs/styling.template.md +2 -26
- package/templates/frontend/docs/testing.template.md +2 -28
- package/templates/frontend/project-brief.template.md +2 -16
- package/templates/frontend/specs/accessibility.template.md +8 -18
- package/templates/frontend/specs/configuration.template.md +2 -24
- package/templates/frontend/specs/security.template.md +10 -24
- package/templates/fullstack/README.template.md +17 -47
- package/templates/fullstack/ai-instructions.template.md +17 -45
- package/templates/fullstack/project-brief.template.md +16 -42
- package/templates/fullstack/specs/configuration.template.md +16 -42
- package/templates/mobile/README.template.md +11 -29
- package/templates/mobile/ai-instructions.template.md +11 -27
- package/templates/mobile/docs/app-store.template.md +11 -29
- package/templates/mobile/docs/architecture.template.md +14 -38
- package/templates/mobile/docs/native-features.template.md +16 -44
- package/templates/mobile/docs/navigation.template.md +9 -23
- package/templates/mobile/docs/offline-strategy.template.md +10 -26
- package/templates/mobile/docs/permissions.template.md +9 -23
- package/templates/mobile/docs/state-management.template.md +12 -32
- package/templates/mobile/docs/testing.template.md +14 -38
- package/templates/mobile/project-brief.template.md +12 -30
- package/templates/mobile/specs/build-configuration.template.md +10 -26
- package/templates/mobile/specs/deployment.template.md +9 -23
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
**Duration:** 15-20 minutes
|
|
4
4
|
**Questions:** ~10 questions
|
|
5
5
|
**Output:** docs/navigation.md, docs/architecture.md, parts of ai-instructions.md
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
6
|
+
---
|
|
9
7
|
## 🎯 Objective
|
|
10
8
|
|
|
11
9
|
Define the **navigation structure and architecture** for your mobile app:
|
|
@@ -14,9 +12,7 @@ Define the **navigation structure and architecture** for your mobile app:
|
|
|
14
12
|
2. How will you organize screens and components?
|
|
15
13
|
3. What architecture pattern will you follow?
|
|
16
14
|
4. How will you structure your codebase?
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
15
|
+
---
|
|
20
16
|
## 📋 Questions
|
|
21
17
|
|
|
22
18
|
### Question 2.1: Navigation Pattern
|
|
@@ -24,6 +20,7 @@ Define the **navigation structure and architecture** for your mobile app:
|
|
|
24
20
|
**What navigation pattern will your app use?**
|
|
25
21
|
|
|
26
22
|
**For React Native:**
|
|
23
|
+
|
|
27
24
|
- A) ⭐ **Stack Navigation** (Recommended)
|
|
28
25
|
- Hierarchical navigation (push/pop)
|
|
29
26
|
- Best for: Most apps, detail screens
|
|
@@ -45,6 +42,7 @@ Define the **navigation structure and architecture** for your mobile app:
|
|
|
45
42
|
- Example: Instagram, Twitter
|
|
46
43
|
|
|
47
44
|
**For Flutter:**
|
|
45
|
+
|
|
48
46
|
- A) ⭐ **Navigator 2.0 / GoRouter** (Recommended)
|
|
49
47
|
- Declarative routing
|
|
50
48
|
- Best for: Modern Flutter apps
|
|
@@ -58,109 +56,118 @@ Define the **navigation structure and architecture** for your mobile app:
|
|
|
58
56
|
- Best for: Simple apps
|
|
59
57
|
|
|
60
58
|
**For Native iOS:**
|
|
59
|
+
|
|
61
60
|
- A) ⭐ **UINavigationController** (Standard)
|
|
62
61
|
- B) **UITabBarController** (Tabs)
|
|
63
62
|
- C) **Coordinator Pattern** (Advanced)
|
|
64
63
|
|
|
65
64
|
**For Native Android:**
|
|
65
|
+
|
|
66
66
|
- A) ⭐ **Navigation Component** (Recommended)
|
|
67
67
|
- B) **Jetpack Compose Navigation** (If using Compose)
|
|
68
68
|
|
|
69
69
|
**Your answer:**
|
|
70
70
|
|
|
71
71
|
**If Combined selected, ask:**
|
|
72
|
+
|
|
72
73
|
- How many bottom tabs? (3-5 recommended)
|
|
73
74
|
- What are the main sections? (e.g., Home, Search, Profile, Settings)
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
75
|
+
---
|
|
77
76
|
### Question 2.2: Screen Organization
|
|
78
77
|
|
|
79
78
|
**How will you organize your screens?**
|
|
80
79
|
|
|
81
80
|
A) ⭐ **Feature-based** (Recommended)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
|
|
82
|
+
- Group by feature/domain
|
|
83
|
+
- Example: `screens/auth/`, `screens/home/`, `screens/profile/`
|
|
84
|
+
- Best for: Medium to large apps
|
|
85
85
|
|
|
86
86
|
B) **Flat Structure**
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
|
|
88
|
+
- All screens in one folder
|
|
89
|
+
- Example: `screens/LoginScreen.tsx`, `screens/HomeScreen.tsx`
|
|
90
|
+
- Best for: Small apps (<10 screens)
|
|
90
91
|
|
|
91
92
|
C) **Domain-driven**
|
|
92
|
-
- Group by business domain
|
|
93
|
-
- Example: `screens/user/`, `screens/product/`, `screens/order/`
|
|
94
|
-
- Best for: Large, complex apps
|
|
95
93
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
- Best for: File-based routing (Expo Router)
|
|
94
|
+
- Group by business domain
|
|
95
|
+
- Example: `screens/user/`, `screens/product/`, `screens/order/`
|
|
96
|
+
- Best for: Large, complex apps
|
|
100
97
|
|
|
101
|
-
**
|
|
98
|
+
D) **Route-based**
|
|
102
99
|
|
|
103
|
-
|
|
100
|
+
- Match folder structure to routes
|
|
101
|
+
- Example: `screens/(tabs)/home/`, `screens/(tabs)/profile/`
|
|
102
|
+
- Best for: File-based routing (Expo Router)
|
|
104
103
|
|
|
104
|
+
**Your answer:**
|
|
105
|
+
---
|
|
105
106
|
### Question 2.3: Component Organization
|
|
106
107
|
|
|
107
108
|
**How will you organize your components?**
|
|
108
109
|
|
|
109
110
|
A) ⭐ **Atomic Design** (Recommended)
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
|
|
112
|
+
- atoms/, molecules/, organisms/, templates/
|
|
113
|
+
- Best for: Design system consistency
|
|
112
114
|
|
|
113
115
|
B) **Feature-based Components**
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
|
|
117
|
+
- components/ shared across features
|
|
118
|
+
- features/[feature]/components/ for feature-specific
|
|
119
|
+
- Best for: Feature isolation
|
|
117
120
|
|
|
118
121
|
C) **Flat Structure**
|
|
119
|
-
- All components in components/
|
|
120
|
-
- Best for: Small apps
|
|
121
122
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- Best for: Component library approach
|
|
123
|
+
- All components in components/
|
|
124
|
+
- Best for: Small apps
|
|
125
125
|
|
|
126
|
-
**
|
|
126
|
+
D) **Type-based**
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
- components/buttons/, components/cards/, components/forms/
|
|
129
|
+
- Best for: Component library approach
|
|
129
130
|
|
|
131
|
+
**Your answer:**
|
|
132
|
+
---
|
|
130
133
|
### Question 2.4: Architecture Pattern
|
|
131
134
|
|
|
132
135
|
**What architecture pattern will you follow?**
|
|
133
136
|
|
|
134
137
|
A) ⭐ **Feature-based Architecture** (Recommended)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
+
|
|
139
|
+
- Each feature is self-contained
|
|
140
|
+
- Example: features/auth/, features/home/
|
|
141
|
+
- Best for: Most React Native/Flutter apps
|
|
138
142
|
|
|
139
143
|
B) 🔥 **Clean Architecture** (Popular)
|
|
140
|
-
|
|
141
|
-
|
|
144
|
+
|
|
145
|
+
- Separation: Presentation / Domain / Data layers
|
|
146
|
+
- Best for: Complex apps, testability
|
|
142
147
|
|
|
143
148
|
C) **MVVM (Model-View-ViewModel)**
|
|
144
|
-
|
|
145
|
-
|
|
149
|
+
|
|
150
|
+
- Common in Flutter and Native
|
|
151
|
+
- Best for: State-heavy apps
|
|
146
152
|
|
|
147
153
|
D) **MVI (Model-View-Intent)**
|
|
148
|
-
- Unidirectional data flow
|
|
149
|
-
- Best for: Predictable state management
|
|
150
154
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
- Best for: Small apps, MVPs
|
|
155
|
+
- Unidirectional data flow
|
|
156
|
+
- Best for: Predictable state management
|
|
154
157
|
|
|
155
|
-
**
|
|
158
|
+
E) **Simple (No strict pattern)**
|
|
156
159
|
|
|
157
|
-
|
|
160
|
+
- Organize as needed
|
|
161
|
+
- Best for: Small apps, MVPs
|
|
158
162
|
|
|
163
|
+
**Your answer:**
|
|
164
|
+
---
|
|
159
165
|
### Question 2.5: Folder Structure
|
|
160
166
|
|
|
161
167
|
**What folder structure will you use?**
|
|
162
168
|
|
|
163
169
|
**Example for Feature-based:**
|
|
170
|
+
|
|
164
171
|
```
|
|
165
172
|
src/
|
|
166
173
|
├── features/
|
|
@@ -179,6 +186,7 @@ src/
|
|
|
179
186
|
```
|
|
180
187
|
|
|
181
188
|
**Example for Clean Architecture:**
|
|
189
|
+
|
|
182
190
|
```
|
|
183
191
|
lib/
|
|
184
192
|
├── presentation/
|
|
@@ -196,14 +204,13 @@ lib/
|
|
|
196
204
|
```
|
|
197
205
|
|
|
198
206
|
**Your preference:** (Describe or select from examples)
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
207
|
+
---
|
|
202
208
|
### Question 2.6: Navigation Library
|
|
203
209
|
|
|
204
210
|
**Which navigation library will you use?**
|
|
205
211
|
|
|
206
212
|
**If React Native:**
|
|
213
|
+
|
|
207
214
|
- A) ⭐ **React Navigation** (Recommended)
|
|
208
215
|
- Most popular, well-maintained
|
|
209
216
|
- Works with Expo and bare React Native
|
|
@@ -215,6 +222,7 @@ lib/
|
|
|
215
222
|
- Best for: Performance-critical apps
|
|
216
223
|
|
|
217
224
|
**If Flutter:**
|
|
225
|
+
|
|
218
226
|
- A) ⭐ **GoRouter** (Recommended)
|
|
219
227
|
- Declarative, type-safe
|
|
220
228
|
- Best for: Modern Flutter apps
|
|
@@ -224,107 +232,108 @@ lib/
|
|
|
224
232
|
- Best for: Complex routing
|
|
225
233
|
|
|
226
234
|
**Your answer:**
|
|
227
|
-
|
|
228
|
-
---
|
|
229
|
-
|
|
235
|
+
---
|
|
230
236
|
### Question 2.7: Deep Linking Strategy
|
|
231
237
|
|
|
232
238
|
**How will you handle deep links?**
|
|
233
239
|
|
|
234
240
|
A) ⭐ **Universal Links (iOS) + App Links (Android)** (Recommended)
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
241
|
+
|
|
242
|
+
- Standard deep linking
|
|
243
|
+
- Opens app directly
|
|
244
|
+
- Best for: Most apps
|
|
238
245
|
|
|
239
246
|
B) **Custom URL Scheme**
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
247
|
+
|
|
248
|
+
- myapp://path/to/screen
|
|
249
|
+
- Simpler but less secure
|
|
250
|
+
- Best for: Internal links
|
|
243
251
|
|
|
244
252
|
C) **No Deep Linking**
|
|
245
|
-
|
|
246
|
-
|
|
253
|
+
|
|
254
|
+
- App only, no external links
|
|
255
|
+
- Best for: Standalone apps
|
|
247
256
|
|
|
248
257
|
**Your answer:**
|
|
249
258
|
|
|
250
259
|
**If deep linking selected, ask:**
|
|
260
|
+
|
|
251
261
|
- What URL scheme? (e.g., `myapp://`, `https://myapp.com`)
|
|
252
262
|
- What screens need deep links? (e.g., product details, user profiles)
|
|
253
|
-
|
|
254
|
-
---
|
|
255
|
-
|
|
263
|
+
---
|
|
256
264
|
### Question 2.8: Navigation State Management
|
|
257
265
|
|
|
258
266
|
**How will you manage navigation state?**
|
|
259
267
|
|
|
260
268
|
A) ⭐ **Navigation Library Built-in** (Recommended)
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
269
|
+
|
|
270
|
+
- React Navigation manages its own state
|
|
271
|
+
- Flutter Navigator manages its own state
|
|
272
|
+
- Best for: Most apps
|
|
264
273
|
|
|
265
274
|
B) **Redux / State Management Library**
|
|
266
|
-
- Centralized navigation state
|
|
267
|
-
- Best for: Complex navigation flows
|
|
268
275
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
- Best for: Advanced use cases
|
|
276
|
+
- Centralized navigation state
|
|
277
|
+
- Best for: Complex navigation flows
|
|
272
278
|
|
|
273
|
-
**
|
|
279
|
+
C) **Custom State Management**
|
|
274
280
|
|
|
275
|
-
|
|
281
|
+
- Your own navigation state
|
|
282
|
+
- Best for: Advanced use cases
|
|
276
283
|
|
|
284
|
+
**Your answer:**
|
|
285
|
+
---
|
|
277
286
|
### Question 2.9: Screen Transitions
|
|
278
287
|
|
|
279
288
|
**What screen transition animations will you use?**
|
|
280
289
|
|
|
281
290
|
A) ⭐ **Default Transitions** (Recommended)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
291
|
+
|
|
292
|
+
- Platform-native transitions
|
|
293
|
+
- iOS: Slide from right
|
|
294
|
+
- Android: Slide up/fade
|
|
295
|
+
- Best for: Most apps
|
|
286
296
|
|
|
287
297
|
B) **Custom Transitions**
|
|
288
|
-
- Fade, scale, slide custom directions
|
|
289
|
-
- Best for: Branded experience
|
|
290
298
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
- Best for: Performance-critical apps
|
|
299
|
+
- Fade, scale, slide custom directions
|
|
300
|
+
- Best for: Branded experience
|
|
294
301
|
|
|
295
|
-
**
|
|
302
|
+
C) **No Animations**
|
|
296
303
|
|
|
297
|
-
|
|
304
|
+
- Instant transitions
|
|
305
|
+
- Best for: Performance-critical apps
|
|
298
306
|
|
|
307
|
+
**Your answer:**
|
|
308
|
+
---
|
|
299
309
|
### Question 2.10: Navigation Guards / Authentication Flow
|
|
300
310
|
|
|
301
311
|
**How will you handle protected routes?**
|
|
302
312
|
|
|
303
313
|
A) ⭐ **Navigation Guards** (Recommended)
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
314
|
+
|
|
315
|
+
- Check auth state before navigation
|
|
316
|
+
- Redirect to login if not authenticated
|
|
317
|
+
- Best for: Most apps
|
|
307
318
|
|
|
308
319
|
B) **Separate Navigation Stacks**
|
|
309
|
-
- Auth stack vs App stack
|
|
310
|
-
- Switch between stacks based on auth state
|
|
311
|
-
- Best for: Clear separation
|
|
312
320
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
- Best for: Simple apps
|
|
321
|
+
- Auth stack vs App stack
|
|
322
|
+
- Switch between stacks based on auth state
|
|
323
|
+
- Best for: Clear separation
|
|
317
324
|
|
|
318
|
-
**
|
|
325
|
+
C) **No Protection**
|
|
319
326
|
|
|
320
|
-
|
|
327
|
+
- All screens accessible
|
|
328
|
+
- Handle auth in components
|
|
329
|
+
- Best for: Simple apps
|
|
321
330
|
|
|
331
|
+
**Your answer:**
|
|
332
|
+
---
|
|
322
333
|
#### 🎨 MERMAID NAVIGATION DIAGRAM FORMATS - CRITICAL
|
|
323
334
|
|
|
324
335
|
**Use these exact formats** for mobile navigation diagrams:
|
|
325
|
-
|
|
326
|
-
---
|
|
327
|
-
|
|
336
|
+
---
|
|
328
337
|
##### 1️⃣ Navigation Structure (Tab + Stack Pattern)
|
|
329
338
|
|
|
330
339
|
Use `graph TD` to show navigation hierarchy:
|
|
@@ -392,9 +401,7 @@ graph TD
|
|
|
392
401
|
```
|
|
393
402
|
|
|
394
403
|
**Use for:** Tab-based apps with nested stacks (Instagram, Twitter pattern)
|
|
395
|
-
|
|
396
|
-
---
|
|
397
|
-
|
|
404
|
+
---
|
|
398
405
|
##### 2️⃣ Authentication Flow
|
|
399
406
|
|
|
400
407
|
Use `graph LR` to show auth-protected navigation:
|
|
@@ -435,9 +442,7 @@ graph LR
|
|
|
435
442
|
```
|
|
436
443
|
|
|
437
444
|
**Use for:** Apps with authentication/onboarding flows
|
|
438
|
-
|
|
439
|
-
---
|
|
440
|
-
|
|
445
|
+
---
|
|
441
446
|
##### 3️⃣ Deep Linking Routes
|
|
442
447
|
|
|
443
448
|
Use `graph TD` to show deep link structure:
|
|
@@ -478,9 +483,7 @@ graph TD
|
|
|
478
483
|
```
|
|
479
484
|
|
|
480
485
|
**Use for:** Apps with universal links/app links
|
|
481
|
-
|
|
482
|
-
---
|
|
483
|
-
|
|
486
|
+
---
|
|
484
487
|
##### 4️⃣ Screen Hierarchy (Feature-based)
|
|
485
488
|
|
|
486
489
|
Use `graph TB` to show folder/screen organization:
|
|
@@ -526,27 +529,23 @@ graph TB
|
|
|
526
529
|
```
|
|
527
530
|
|
|
528
531
|
**Use for:** Documenting folder structure and file organization
|
|
529
|
-
|
|
530
|
-
---
|
|
531
|
-
|
|
532
|
+
---
|
|
532
533
|
**Diagram Guidelines:**
|
|
534
|
+
|
|
533
535
|
- Color code by level (Root=light blue, Tabs=blue, Stacks=orange, Screens=default)
|
|
534
536
|
- Use subgraphs to group related screens
|
|
535
537
|
- Show authentication checks with decision diamonds
|
|
536
538
|
- Include deep link routes with ⚠️ for protected routes
|
|
537
539
|
- Update screen names based on actual app structure
|
|
538
|
-
|
|
539
|
-
---
|
|
540
|
-
|
|
540
|
+
---
|
|
541
541
|
## ✅ Phase 2 Completion
|
|
542
542
|
|
|
543
543
|
After answering all questions, summarize:
|
|
544
544
|
|
|
545
545
|
```
|
|
546
|
-
|
|
546
|
+
---
|
|
547
547
|
✅ Phase 2 Complete: Navigation & Architecture
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
---
|
|
550
549
|
Selected Architecture:
|
|
551
550
|
- Navigation: Tab + Stack Navigation
|
|
552
551
|
- Library: React Navigation 6.0
|
|
@@ -558,9 +557,7 @@ Selected Architecture:
|
|
|
558
557
|
|
|
559
558
|
Proceed to Phase 3 (State & Data Management)? (Y/n)
|
|
560
559
|
```
|
|
561
|
-
|
|
562
|
-
---
|
|
563
|
-
|
|
560
|
+
---
|
|
564
561
|
## 📝 Generated Documents
|
|
565
562
|
|
|
566
563
|
After Phase 2, generate/update:
|
|
@@ -568,15 +565,11 @@ After Phase 2, generate/update:
|
|
|
568
565
|
- `docs/navigation.md` - Navigation patterns and setup guide
|
|
569
566
|
- `docs/architecture.md` - System architecture overview
|
|
570
567
|
- `ai-instructions.md` - Add navigation and architecture rules
|
|
571
|
-
|
|
572
|
-
---
|
|
573
|
-
|
|
568
|
+
---
|
|
574
569
|
**Next Phase:** Phase 3 - State & Data Management
|
|
575
570
|
|
|
576
571
|
Read: `.ai-flow/prompts/mobile/flow-build-phase-3-state.md`
|
|
577
|
-
|
|
578
|
-
---
|
|
579
|
-
|
|
572
|
+
---
|
|
580
573
|
**Last Updated:** 2025-01-XX
|
|
581
574
|
|
|
582
575
|
**Version:** 1.4.0
|