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:** 20-25 minutes
|
|
4
4
|
**Questions:** ~15 questions
|
|
5
5
|
**Output:** project-brief.md, parts of AGENT.md, parts of ai-instructions.md
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
6
|
+
---
|
|
9
7
|
## 🎯 Objective
|
|
10
8
|
|
|
11
9
|
Determine the **technical foundation** for your mobile application:
|
|
@@ -14,9 +12,7 @@ Determine the **technical foundation** for your mobile application:
|
|
|
14
12
|
2. What framework will you use?
|
|
15
13
|
3. What minimum OS versions will you support?
|
|
16
14
|
4. What development tools and languages?
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
15
|
+
---
|
|
20
16
|
## 📋 Questions
|
|
21
17
|
|
|
22
18
|
### Question 1.1: Target Platforms
|
|
@@ -24,46 +20,51 @@ Determine the **technical foundation** for your mobile application:
|
|
|
24
20
|
**What platforms will your app support?**
|
|
25
21
|
|
|
26
22
|
A) ⭐ **iOS Only**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
|
|
24
|
+
- Apple App Store only
|
|
25
|
+
- Swift or React Native iOS
|
|
26
|
+
- Best for: Apple-focused products, faster initial launch
|
|
30
27
|
|
|
31
28
|
B) ⭐ **Android Only**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
|
|
30
|
+
- Google Play Store only
|
|
31
|
+
- Kotlin or React Native Android
|
|
32
|
+
- Best for: Android-focused products, wider market reach
|
|
35
33
|
|
|
36
34
|
C) 🔥 **iOS + Android (Cross-Platform)** (Recommended)
|
|
37
|
-
- Both App Store and Play Store
|
|
38
|
-
- React Native, Flutter, or Ionic
|
|
39
|
-
- Best for: Maximum reach, shared codebase
|
|
40
35
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- Best for: Multi-platform presence
|
|
36
|
+
- Both App Store and Play Store
|
|
37
|
+
- React Native, Flutter, or Ionic
|
|
38
|
+
- Best for: Maximum reach, shared codebase
|
|
45
39
|
|
|
46
|
-
**
|
|
40
|
+
D) **iOS + Android + Web (Universal)**
|
|
47
41
|
|
|
48
|
-
|
|
42
|
+
- Mobile apps + web version
|
|
43
|
+
- React Native Web, Flutter Web, or PWA
|
|
44
|
+
- Best for: Multi-platform presence
|
|
49
45
|
|
|
46
|
+
**Your answer:**
|
|
47
|
+
---
|
|
50
48
|
### Question 1.2: Mobile Framework
|
|
51
49
|
|
|
52
50
|
**What framework will you use to build your mobile app?**
|
|
53
51
|
|
|
54
52
|
**If iOS Only:**
|
|
53
|
+
|
|
55
54
|
- A) ⭐ **Native iOS (Swift)** - Best performance, full native features
|
|
56
55
|
- B) **Native iOS (Objective-C)** - Legacy support
|
|
57
56
|
- C) **React Native** - Cross-platform, JavaScript
|
|
58
57
|
- D) **Flutter** - Cross-platform, Dart
|
|
59
58
|
|
|
60
59
|
**If Android Only:**
|
|
60
|
+
|
|
61
61
|
- A) ⭐ **Native Android (Kotlin)** - Best performance, full native features
|
|
62
62
|
- B) **Native Android (Java)** - Legacy support
|
|
63
63
|
- C) **React Native** - Cross-platform, JavaScript
|
|
64
64
|
- D) **Flutter** - Cross-platform, Dart
|
|
65
65
|
|
|
66
66
|
**If Cross-Platform:**
|
|
67
|
+
|
|
67
68
|
- A) ⭐ **React Native** (Recommended)
|
|
68
69
|
- JavaScript/TypeScript
|
|
69
70
|
- Large ecosystem
|
|
@@ -89,22 +90,23 @@ D) **iOS + Android + Web (Universal)**
|
|
|
89
90
|
**Your answer:**
|
|
90
91
|
|
|
91
92
|
**If React Native selected, ask:**
|
|
93
|
+
|
|
92
94
|
- What React Native version? (Latest stable recommended)
|
|
93
95
|
- Will you use Expo? (Y/n)
|
|
94
96
|
- Expo: Faster development, managed workflow
|
|
95
97
|
- Bare React Native: More control, custom native code
|
|
96
98
|
|
|
97
99
|
**If Flutter selected, ask:**
|
|
100
|
+
|
|
98
101
|
- What Flutter version? (Latest stable recommended)
|
|
99
102
|
- Will you use Flutter for Web/Desktop too? (Y/n)
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
+
---
|
|
103
104
|
### Question 1.3: Minimum OS Versions
|
|
104
105
|
|
|
105
106
|
**What minimum OS versions will you support?**
|
|
106
107
|
|
|
107
108
|
**For iOS:**
|
|
109
|
+
|
|
108
110
|
- A) ⭐ **iOS 15+** (Recommended)
|
|
109
111
|
- Covers ~95% of active devices
|
|
110
112
|
- Modern APIs available
|
|
@@ -126,6 +128,7 @@ D) **iOS + Android + Web (Universal)**
|
|
|
126
128
|
- Best for: Premium apps, latest tech
|
|
127
129
|
|
|
128
130
|
**For Android:**
|
|
131
|
+
|
|
129
132
|
- A) ⭐ **Android 8.0 (API 26)+** (Recommended)
|
|
130
133
|
- Covers ~95% of active devices
|
|
131
134
|
- Modern APIs available
|
|
@@ -147,14 +150,13 @@ D) **iOS + Android + Web (Universal)**
|
|
|
147
150
|
- Best for: Premium apps, latest tech
|
|
148
151
|
|
|
149
152
|
**Your answer:**
|
|
150
|
-
|
|
151
|
-
---
|
|
152
|
-
|
|
153
|
+
---
|
|
153
154
|
### Question 1.4: Programming Language
|
|
154
155
|
|
|
155
156
|
**What programming language will you use?**
|
|
156
157
|
|
|
157
158
|
**If React Native:**
|
|
159
|
+
|
|
158
160
|
- A) ⭐ **TypeScript** (Recommended)
|
|
159
161
|
- Type safety
|
|
160
162
|
- Better IDE support
|
|
@@ -166,9 +168,11 @@ D) **iOS + Android + Web (Universal)**
|
|
|
166
168
|
- Best for: Small projects, rapid prototyping
|
|
167
169
|
|
|
168
170
|
**If Flutter:**
|
|
171
|
+
|
|
169
172
|
- **Dart** (Required - Flutter uses Dart)
|
|
170
173
|
|
|
171
174
|
**If Native iOS:**
|
|
175
|
+
|
|
172
176
|
- A) ⭐ **Swift** (Recommended)
|
|
173
177
|
- Modern, safe language
|
|
174
178
|
- Apple's preferred language
|
|
@@ -178,6 +182,7 @@ D) **iOS + Android + Web (Universal)**
|
|
|
178
182
|
- Best for: Maintaining existing apps
|
|
179
183
|
|
|
180
184
|
**If Native Android:**
|
|
185
|
+
|
|
181
186
|
- A) ⭐ **Kotlin** (Recommended)
|
|
182
187
|
- Modern, concise language
|
|
183
188
|
- Google's preferred language
|
|
@@ -187,93 +192,99 @@ D) **iOS + Android + Web (Universal)**
|
|
|
187
192
|
- Best for: Maintaining existing apps
|
|
188
193
|
|
|
189
194
|
**Your answer:**
|
|
190
|
-
|
|
191
|
-
---
|
|
192
|
-
|
|
195
|
+
---
|
|
193
196
|
### Question 1.5: Development Environment
|
|
194
197
|
|
|
195
198
|
**What development tools will you use?**
|
|
196
199
|
|
|
197
200
|
**For iOS Development:**
|
|
201
|
+
|
|
198
202
|
- A) ⭐ **Xcode** (Required for iOS)
|
|
199
203
|
- Version: Latest stable (15.x)
|
|
200
204
|
- Includes iOS Simulator
|
|
201
205
|
- Interface Builder, Instruments
|
|
202
206
|
|
|
203
207
|
**For Android Development:**
|
|
208
|
+
|
|
204
209
|
- A) ⭐ **Android Studio** (Required for Android)
|
|
205
210
|
- Version: Latest stable
|
|
206
211
|
- Includes Android Emulator
|
|
207
212
|
- Gradle build system
|
|
208
213
|
|
|
209
214
|
**For Cross-Platform:**
|
|
215
|
+
|
|
210
216
|
- **VS Code** or **Android Studio** / **Xcode** (for native modules)
|
|
211
217
|
|
|
212
218
|
**Additional Tools:**
|
|
219
|
+
|
|
213
220
|
- **Flipper** - Debugging tool (React Native)
|
|
214
221
|
- **React Native Debugger** - Debugging (React Native)
|
|
215
222
|
- **Dart DevTools** - Debugging (Flutter)
|
|
216
223
|
|
|
217
224
|
**Your answer:**
|
|
218
|
-
|
|
219
|
-
---
|
|
220
|
-
|
|
225
|
+
---
|
|
221
226
|
### Question 1.6: Package Manager
|
|
222
227
|
|
|
223
228
|
**What package manager will you use?**
|
|
224
229
|
|
|
225
230
|
**If React Native:**
|
|
231
|
+
|
|
226
232
|
- A) ⭐ **npm** (Recommended)
|
|
227
233
|
- B) **yarn**
|
|
228
234
|
- C) **pnpm**
|
|
229
235
|
|
|
230
236
|
**If Flutter:**
|
|
237
|
+
|
|
231
238
|
- **pub** (Flutter's built-in package manager)
|
|
232
239
|
|
|
233
240
|
**If Native iOS:**
|
|
241
|
+
|
|
234
242
|
- **CocoaPods** or **Swift Package Manager**
|
|
235
243
|
|
|
236
244
|
**If Native Android:**
|
|
245
|
+
|
|
237
246
|
- **Gradle** (built-in)
|
|
238
247
|
|
|
239
248
|
**Your answer:**
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
249
|
+
---
|
|
243
250
|
### Question 1.7: Build Tools & CI/CD
|
|
244
251
|
|
|
245
252
|
**What build and deployment tools will you use?**
|
|
246
253
|
|
|
247
254
|
A) ⭐ **Fastlane** (Recommended for iOS/Android)
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
255
|
+
|
|
256
|
+
- Automates builds, screenshots, deployment
|
|
257
|
+
- Works with React Native, Flutter, Native
|
|
258
|
+
- Best for: Most projects
|
|
251
259
|
|
|
252
260
|
B) **Codemagic**
|
|
253
|
-
|
|
254
|
-
|
|
261
|
+
|
|
262
|
+
- Cloud-based CI/CD for Flutter/React Native
|
|
263
|
+
- Easy setup, good for small teams
|
|
255
264
|
|
|
256
265
|
C) **GitHub Actions**
|
|
257
|
-
|
|
258
|
-
|
|
266
|
+
|
|
267
|
+
- Flexible, free for public repos
|
|
268
|
+
- Custom workflows
|
|
259
269
|
|
|
260
270
|
D) **Bitrise**
|
|
261
|
-
- Mobile-focused CI/CD
|
|
262
|
-
- Good for complex workflows
|
|
263
271
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
- Best for: Learning, small projects
|
|
272
|
+
- Mobile-focused CI/CD
|
|
273
|
+
- Good for complex workflows
|
|
267
274
|
|
|
268
|
-
**
|
|
275
|
+
E) **Manual Builds**
|
|
269
276
|
|
|
270
|
-
|
|
277
|
+
- Build locally, upload manually
|
|
278
|
+
- Best for: Learning, small projects
|
|
271
279
|
|
|
280
|
+
**Your answer:**
|
|
281
|
+
---
|
|
272
282
|
### Question 1.8: Code Signing Strategy
|
|
273
283
|
|
|
274
284
|
**How will you handle code signing?**
|
|
275
285
|
|
|
276
286
|
**For iOS:**
|
|
287
|
+
|
|
277
288
|
- A) ⭐ **Automatic Signing** (Recommended)
|
|
278
289
|
- Xcode manages certificates
|
|
279
290
|
- Easier for most developers
|
|
@@ -283,6 +294,7 @@ E) **Manual Builds**
|
|
|
283
294
|
- Required for enterprise apps
|
|
284
295
|
|
|
285
296
|
**For Android:**
|
|
297
|
+
|
|
286
298
|
- A) ⭐ **Automatic Signing** (Recommended)
|
|
287
299
|
- Gradle manages keystores
|
|
288
300
|
- Easier for most developers
|
|
@@ -292,80 +304,83 @@ E) **Manual Builds**
|
|
|
292
304
|
- Required for some enterprise scenarios
|
|
293
305
|
|
|
294
306
|
**Your answer:**
|
|
295
|
-
|
|
296
|
-
---
|
|
297
|
-
|
|
307
|
+
---
|
|
298
308
|
### Question 1.9: App Store Accounts
|
|
299
309
|
|
|
300
310
|
**Do you have App Store accounts set up?**
|
|
301
311
|
|
|
302
312
|
**For iOS:**
|
|
313
|
+
|
|
303
314
|
- A) ✅ **Yes, Apple Developer Account** ($99/year)
|
|
304
315
|
- B) ❌ **No, will set up later**
|
|
305
316
|
- C) **Enterprise Account** ($299/year)
|
|
306
317
|
|
|
307
318
|
**For Android:**
|
|
319
|
+
|
|
308
320
|
- A) ✅ **Yes, Google Play Developer Account** ($25 one-time)
|
|
309
321
|
- B) ❌ **No, will set up later**
|
|
310
322
|
|
|
311
323
|
**Your answer:**
|
|
312
|
-
|
|
313
|
-
---
|
|
314
|
-
|
|
324
|
+
---
|
|
315
325
|
### Question 1.10: Beta Testing Strategy
|
|
316
326
|
|
|
317
327
|
**How will you handle beta testing?**
|
|
318
328
|
|
|
319
329
|
A) ⭐ **TestFlight (iOS) + Firebase App Distribution (Android)**
|
|
320
|
-
|
|
321
|
-
|
|
330
|
+
|
|
331
|
+
- Free, easy to use
|
|
332
|
+
- Best for: Most projects
|
|
322
333
|
|
|
323
334
|
B) **TestFlight (iOS) + Google Play Internal Testing (Android)**
|
|
324
|
-
|
|
325
|
-
|
|
335
|
+
|
|
336
|
+
- Official store channels
|
|
337
|
+
- Best for: Store-focused testing
|
|
326
338
|
|
|
327
339
|
C) **HockeyApp / App Center**
|
|
328
|
-
- Microsoft's solution
|
|
329
|
-
- Good for enterprise
|
|
330
340
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
- Best for: MVPs, internal apps
|
|
341
|
+
- Microsoft's solution
|
|
342
|
+
- Good for enterprise
|
|
334
343
|
|
|
335
|
-
**
|
|
344
|
+
D) **No Beta Testing**
|
|
336
345
|
|
|
337
|
-
|
|
346
|
+
- Direct to production
|
|
347
|
+
- Best for: MVPs, internal apps
|
|
338
348
|
|
|
349
|
+
**Your answer:**
|
|
350
|
+
---
|
|
339
351
|
### Question 1.11: Analytics & Crash Reporting
|
|
340
352
|
|
|
341
353
|
**What analytics and crash reporting will you use?**
|
|
342
354
|
|
|
343
355
|
A) ⭐ **Firebase Analytics + Crashlytics** (Recommended)
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
356
|
+
|
|
357
|
+
- Free, comprehensive
|
|
358
|
+
- Works with iOS and Android
|
|
359
|
+
- Best for: Most projects
|
|
347
360
|
|
|
348
361
|
B) **Sentry**
|
|
349
|
-
|
|
350
|
-
|
|
362
|
+
|
|
363
|
+
- Excellent error tracking
|
|
364
|
+
- Good for: Production apps
|
|
351
365
|
|
|
352
366
|
C) **Mixpanel / Amplitude**
|
|
353
|
-
- Advanced analytics
|
|
354
|
-
- Best for: Product analytics focus
|
|
355
367
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
- Best for: Privacy-critical apps
|
|
368
|
+
- Advanced analytics
|
|
369
|
+
- Best for: Product analytics focus
|
|
359
370
|
|
|
360
|
-
**
|
|
371
|
+
D) **No Analytics**
|
|
361
372
|
|
|
362
|
-
|
|
373
|
+
- Privacy-focused
|
|
374
|
+
- Best for: Privacy-critical apps
|
|
363
375
|
|
|
376
|
+
**Your answer:**
|
|
377
|
+
---
|
|
364
378
|
### Question 1.12: UI/UX Framework
|
|
365
379
|
|
|
366
380
|
**What UI/UX framework or design system will you use?**
|
|
367
381
|
|
|
368
382
|
**If React Native:**
|
|
383
|
+
|
|
369
384
|
- A) ⭐ **React Native Paper** (Material Design)
|
|
370
385
|
- Material Design components
|
|
371
386
|
- Best for: Android-first apps
|
|
@@ -380,6 +395,7 @@ D) **No Analytics**
|
|
|
380
395
|
- Best for: Brand-specific design
|
|
381
396
|
|
|
382
397
|
**If Flutter:**
|
|
398
|
+
|
|
383
399
|
- A) ⭐ **Material Design 3** (Default)
|
|
384
400
|
- Google's Material Design
|
|
385
401
|
- Best for: Most apps
|
|
@@ -391,103 +407,108 @@ D) **No Analytics**
|
|
|
391
407
|
- Best for: Brand-specific design
|
|
392
408
|
|
|
393
409
|
**If Native iOS:**
|
|
410
|
+
|
|
394
411
|
- A) ⭐ **UIKit** (Standard)
|
|
395
412
|
- B) **SwiftUI** (Modern)
|
|
396
413
|
|
|
397
414
|
**If Native Android:**
|
|
415
|
+
|
|
398
416
|
- A) ⭐ **Material Design Components**
|
|
399
417
|
- B) **Jetpack Compose**
|
|
400
418
|
|
|
401
419
|
**Your answer:**
|
|
402
420
|
|
|
403
421
|
**If cross-platform, ask:**
|
|
422
|
+
|
|
404
423
|
- Will you use platform-specific UI? (iOS uses Cupertino, Android uses Material)
|
|
405
424
|
- Or unified design across platforms?
|
|
406
|
-
|
|
407
|
-
---
|
|
408
|
-
|
|
425
|
+
---
|
|
409
426
|
### Question 1.13: Theme & Dark Mode
|
|
410
427
|
|
|
411
428
|
**Will your app support dark mode?**
|
|
412
429
|
|
|
413
430
|
A) ⭐ **Yes - System Theme** (Recommended)
|
|
414
|
-
|
|
415
|
-
|
|
431
|
+
|
|
432
|
+
- Follows system dark/light mode
|
|
433
|
+
- Best for: Most apps
|
|
416
434
|
|
|
417
435
|
B) **Yes - Manual Toggle**
|
|
418
|
-
- User can toggle dark/light mode
|
|
419
|
-
- Best for: Apps with theme customization
|
|
420
436
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
- Best for: Simple apps
|
|
437
|
+
- User can toggle dark/light mode
|
|
438
|
+
- Best for: Apps with theme customization
|
|
424
439
|
|
|
425
|
-
**
|
|
440
|
+
C) **No Dark Mode**
|
|
426
441
|
|
|
427
|
-
|
|
442
|
+
- Light mode only
|
|
443
|
+
- Best for: Simple apps
|
|
428
444
|
|
|
445
|
+
**Your answer:**
|
|
446
|
+
---
|
|
429
447
|
### Question 1.14: Internationalization (i18n)
|
|
430
448
|
|
|
431
449
|
**Will your app support multiple languages?**
|
|
432
450
|
|
|
433
451
|
A) ⭐ **Yes - Multiple Languages** (Recommended)
|
|
434
|
-
|
|
435
|
-
|
|
452
|
+
|
|
453
|
+
- Support 2+ languages
|
|
454
|
+
- Best for: Global apps
|
|
436
455
|
|
|
437
456
|
B) **Yes - English Only (for now)**
|
|
438
|
-
|
|
439
|
-
|
|
457
|
+
|
|
458
|
+
- Single language, but i18n-ready
|
|
459
|
+
- Best for: MVPs planning expansion
|
|
440
460
|
|
|
441
461
|
C) **No Internationalization**
|
|
442
|
-
|
|
443
|
-
|
|
462
|
+
|
|
463
|
+
- Single language only
|
|
464
|
+
- Best for: Local apps
|
|
444
465
|
|
|
445
466
|
**Your answer:**
|
|
446
467
|
|
|
447
468
|
**If multiple languages selected, ask:**
|
|
469
|
+
|
|
448
470
|
- What i18n library?
|
|
449
471
|
- React Native: react-i18next, react-native-localize
|
|
450
472
|
- Flutter: intl, easy_localization
|
|
451
473
|
- Native: NSLocalizedString (iOS), Resources (Android)
|
|
452
|
-
|
|
453
|
-
---
|
|
454
|
-
|
|
474
|
+
---
|
|
455
475
|
### Question 1.15: Image & Asset Management
|
|
456
476
|
|
|
457
477
|
**How will you handle images and assets?**
|
|
458
478
|
|
|
459
479
|
A) ⭐ **Local Assets + Remote Images** (Recommended)
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
480
|
+
|
|
481
|
+
- Local assets for icons/logos
|
|
482
|
+
- Remote images for content
|
|
483
|
+
- Best for: Most apps
|
|
463
484
|
|
|
464
485
|
B) **All Local Assets**
|
|
465
|
-
|
|
466
|
-
|
|
486
|
+
|
|
487
|
+
- All images bundled with app
|
|
488
|
+
- Best for: Small apps, offline-first
|
|
467
489
|
|
|
468
490
|
C) **All Remote Images**
|
|
469
|
-
|
|
470
|
-
|
|
491
|
+
|
|
492
|
+
- All images from CDN/server
|
|
493
|
+
- Best for: Content-heavy apps
|
|
471
494
|
|
|
472
495
|
**Your answer:**
|
|
473
496
|
|
|
474
497
|
**If remote images selected, ask:**
|
|
498
|
+
|
|
475
499
|
- What image optimization library?
|
|
476
500
|
- React Native: react-native-fast-image, react-native-image-caching
|
|
477
501
|
- Flutter: cached_network_image
|
|
478
502
|
- Native: SDWebImage (iOS), Glide (Android)
|
|
479
|
-
|
|
480
|
-
---
|
|
481
|
-
|
|
503
|
+
---
|
|
482
504
|
## ✅ Phase 1 Completion
|
|
483
505
|
|
|
484
506
|
After answering all questions, summarize:
|
|
485
507
|
|
|
486
508
|
```
|
|
487
|
-
|
|
509
|
+
---
|
|
488
510
|
✅ Phase 1 Complete: Platform & Framework Selection
|
|
489
|
-
|
|
490
|
-
|
|
511
|
+
---
|
|
491
512
|
Selected Stack:
|
|
492
513
|
- Platforms: iOS + Android
|
|
493
514
|
- Framework: React Native 0.72.0
|
|
@@ -504,9 +525,7 @@ Selected Stack:
|
|
|
504
525
|
|
|
505
526
|
Proceed to Phase 2 (Navigation & Architecture)? (Y/n)
|
|
506
527
|
```
|
|
507
|
-
|
|
508
|
-
---
|
|
509
|
-
|
|
528
|
+
---
|
|
510
529
|
## 📝 Generated Documents
|
|
511
530
|
|
|
512
531
|
After Phase 1, generate/update:
|
|
@@ -514,15 +533,11 @@ After Phase 1, generate/update:
|
|
|
514
533
|
- `project-brief.md` - Add platform and framework information
|
|
515
534
|
- `AGENT.md` - Update technical context section
|
|
516
535
|
- `ai-instructions.md` - Add framework-specific rules and setup
|
|
517
|
-
|
|
518
|
-
---
|
|
519
|
-
|
|
536
|
+
---
|
|
520
537
|
**Next Phase:** Phase 2 - Navigation & Architecture
|
|
521
538
|
|
|
522
539
|
Read: `.ai-flow/prompts/mobile/flow-build-phase-2-navigation.md`
|
|
523
|
-
|
|
524
|
-
---
|
|
525
|
-
|
|
540
|
+
---
|
|
526
541
|
**Last Updated:** 2025-01-XX
|
|
527
542
|
|
|
528
543
|
**Version:** 1.4.0
|