ai-flow-dev 1.0.3 → 1.1.1
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 +60 -35
- package/dist/cli.js +201 -232
- package/dist/cli.js.map +1 -1
- package/dist/fs-utils.js +3 -39
- package/dist/fs-utils.js.map +1 -1
- package/package.json +11 -12
- package/prompts/backend/{flow-docs-gen-phase-7.md → flow-bootstrap-phase-7.md} +41 -108
- package/prompts/backend/flow-bootstrap-phase-8.md +911 -0
- package/prompts/backend/{flow-project-roadmap.md → flow-bootstrap-phase-9.md} +255 -344
- package/prompts/backend/{flow-docs-gen.md → flow-bootstrap.md} +102 -37
- package/prompts/frontend/{flow-docs-gen-phase-0.md → flow-bootstrap-phase-0.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-1.md → flow-bootstrap-phase-1.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-3.md → flow-bootstrap-phase-3.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-4.md → flow-bootstrap-phase-4.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-5.md → flow-bootstrap-phase-5.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-6.md → flow-bootstrap-phase-6.md} +2 -1
- package/prompts/frontend/{flow-docs-gen-phase-7.md → flow-bootstrap-phase-7.md} +225 -200
- package/prompts/frontend/flow-bootstrap-phase-8.md +670 -0
- package/prompts/frontend/{flow-docs-gen.md → flow-bootstrap.md} +47 -20
- package/prompts/frontend/flow-docs-sync.md +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-0.md → flow-bootstrap-phase-0.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-1.md → flow-bootstrap-phase-1.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-2.md → flow-bootstrap-phase-2.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-3.md → flow-bootstrap-phase-3.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-4.md → flow-bootstrap-phase-4.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-5.md → flow-bootstrap-phase-5.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-6.md → flow-bootstrap-phase-6.md} +2 -1
- package/prompts/mobile/{flow-docs-gen-phase-7.md → flow-bootstrap-phase-7.md} +174 -132
- package/prompts/mobile/flow-bootstrap-phase-8.md +676 -0
- package/prompts/mobile/{flow-docs-gen.md → flow-bootstrap.md} +47 -20
- package/prompts/mobile/flow-docs-sync.md +2 -1
- package/prompts/backend/flow-project-init.md +0 -332
- /package/prompts/backend/{flow-docs-gen-phase-0.md → flow-bootstrap-phase-0.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-1.md → flow-bootstrap-phase-1.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-2.md → flow-bootstrap-phase-2.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-3.md → flow-bootstrap-phase-3.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-4.md → flow-bootstrap-phase-4.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-5.md → flow-bootstrap-phase-5.md} +0 -0
- /package/prompts/backend/{flow-docs-gen-phase-6.md → flow-bootstrap-phase-6.md} +0 -0
- /package/prompts/frontend/{flow-docs-gen-phase-2.md → flow-bootstrap-phase-2.md} +0 -0
|
@@ -24,30 +24,35 @@ Define performance targets and deployment strategy:
|
|
|
24
24
|
**What performance targets will you aim for?**
|
|
25
25
|
|
|
26
26
|
Core Web Vitals:
|
|
27
|
+
|
|
27
28
|
- **LCP (Largest Contentful Paint):** Largest element render time
|
|
28
29
|
- **FID (First Input Delay):** Time to interactive
|
|
29
30
|
- **CLS (Cumulative Layout Shift):** Visual stability
|
|
30
31
|
|
|
31
32
|
A) ⭐ **"Good" Rating (Recommended)**
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
|
|
34
|
+
- LCP: < 2.5s
|
|
35
|
+
- FID: < 100ms
|
|
36
|
+
- CLS: < 0.1
|
|
37
|
+
- Best for: Most apps, SEO, user experience
|
|
36
38
|
|
|
37
39
|
B) **"Needs Improvement" (Acceptable)**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
|
|
41
|
+
- LCP: < 4.0s
|
|
42
|
+
- FID: < 300ms
|
|
43
|
+
- CLS: < 0.25
|
|
44
|
+
- Best for: MVPs, internal tools
|
|
42
45
|
|
|
43
46
|
C) **Aggressive Targets**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
|
|
48
|
+
- LCP: < 1.5s
|
|
49
|
+
- FID: < 50ms
|
|
50
|
+
- CLS: < 0.05
|
|
51
|
+
- Best for: Performance-critical apps, e-commerce
|
|
48
52
|
|
|
49
53
|
D) **No specific targets**
|
|
50
|
-
|
|
54
|
+
|
|
55
|
+
- Not recommended
|
|
51
56
|
|
|
52
57
|
**Your answer:**
|
|
53
58
|
|
|
@@ -58,16 +63,20 @@ D) **No specific targets**
|
|
|
58
63
|
**What bundle size will you target?**
|
|
59
64
|
|
|
60
65
|
A) ⭐ **< 200KB gzipped (initial load)** (Recommended)
|
|
61
|
-
|
|
66
|
+
|
|
67
|
+
- Best for: Most apps, good mobile experience
|
|
62
68
|
|
|
63
69
|
B) **< 100KB gzipped**
|
|
64
|
-
|
|
70
|
+
|
|
71
|
+
- Best for: Performance-critical apps
|
|
65
72
|
|
|
66
73
|
C) **< 300KB gzipped**
|
|
67
|
-
|
|
74
|
+
|
|
75
|
+
- Best for: Feature-rich apps
|
|
68
76
|
|
|
69
77
|
D) **No target**
|
|
70
|
-
|
|
78
|
+
|
|
79
|
+
- Best for: Internal tools only
|
|
71
80
|
|
|
72
81
|
**Your answer:**
|
|
73
82
|
|
|
@@ -77,6 +86,7 @@ B) Yes - Warn if bundle grows
|
|
|
77
86
|
C) No
|
|
78
87
|
|
|
79
88
|
**Tool for bundle analysis:**
|
|
89
|
+
|
|
80
90
|
- `webpack-bundle-analyzer`
|
|
81
91
|
- `rollup-plugin-visualizer`
|
|
82
92
|
- `vite-plugin-bundle-analyzer`
|
|
@@ -89,29 +99,35 @@ C) No
|
|
|
89
99
|
**How will you split your code?**
|
|
90
100
|
|
|
91
101
|
A) ⭐ **Route-based splitting** (Recommended)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
102
|
+
|
|
103
|
+
- Split by page/route
|
|
104
|
+
- Example: `/dashboard` → `Dashboard.chunk.js`
|
|
105
|
+
- Best for: Multi-page apps, SPAs
|
|
95
106
|
|
|
96
107
|
B) **Component-based splitting**
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
108
|
+
|
|
109
|
+
- Lazy load heavy components
|
|
110
|
+
- Example: Modals, charts, editors
|
|
111
|
+
- Best for: Apps with heavy components
|
|
100
112
|
|
|
101
113
|
C) **Vendor splitting**
|
|
102
|
-
|
|
103
|
-
|
|
114
|
+
|
|
115
|
+
- Separate vendor code from app code
|
|
116
|
+
- Best for: Long-term caching
|
|
104
117
|
|
|
105
118
|
D) **Combined approach**
|
|
106
|
-
|
|
107
|
-
|
|
119
|
+
|
|
120
|
+
- Route + Component + Vendor splitting
|
|
121
|
+
- Best for: Large apps, optimal caching
|
|
108
122
|
|
|
109
123
|
E) **No code splitting**
|
|
110
|
-
|
|
124
|
+
|
|
125
|
+
- Best for: Very small apps (<100KB)
|
|
111
126
|
|
|
112
127
|
**Your answer:**
|
|
113
128
|
|
|
114
129
|
**Dynamic imports for:**
|
|
130
|
+
|
|
115
131
|
- [ ] Routes
|
|
116
132
|
- [ ] Modals/Dialogs
|
|
117
133
|
- [ ] Heavy libraries (charts, editors)
|
|
@@ -125,31 +141,37 @@ E) **No code splitting**
|
|
|
125
141
|
**How will you optimize images?**
|
|
126
142
|
|
|
127
143
|
A) ⭐ **Next-gen formats + Lazy loading** (Recommended)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
144
|
+
|
|
145
|
+
- WebP/AVIF with PNG/JPG fallback
|
|
146
|
+
- Lazy load below-the-fold images
|
|
147
|
+
- Responsive images (srcset)
|
|
148
|
+
- Best for: Image-heavy apps
|
|
132
149
|
|
|
133
150
|
B) **Lazy loading only**
|
|
134
|
-
|
|
135
|
-
|
|
151
|
+
|
|
152
|
+
- Native lazy loading: `<img loading="lazy" />`
|
|
153
|
+
- Best for: Simple optimization
|
|
136
154
|
|
|
137
155
|
C) **CDN + Image service**
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
156
|
+
|
|
157
|
+
- Use Cloudinary, Imgix, etc.
|
|
158
|
+
- Automatic optimization
|
|
159
|
+
- Best for: Large image libraries
|
|
141
160
|
|
|
142
161
|
D) **No optimization**
|
|
143
|
-
|
|
162
|
+
|
|
163
|
+
- Best for: Minimal images
|
|
144
164
|
|
|
145
165
|
**Your answer:**
|
|
146
166
|
|
|
147
167
|
**Image formats supported:**
|
|
168
|
+
|
|
148
169
|
- [ ] WebP
|
|
149
170
|
- [ ] AVIF
|
|
150
171
|
- [ ] PNG/JPG fallback
|
|
151
172
|
|
|
152
173
|
**Image CDN:**
|
|
174
|
+
|
|
153
175
|
- Cloudinary
|
|
154
176
|
- Imgix
|
|
155
177
|
- Vercel Image Optimization
|
|
@@ -163,27 +185,32 @@ D) **No optimization**
|
|
|
163
185
|
**What caching strategy will you use?**
|
|
164
186
|
|
|
165
187
|
A) ⭐ **Cache-first with revalidation** (Recommended)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
188
|
+
|
|
189
|
+
- Service Worker cache assets
|
|
190
|
+
- Revalidate in background
|
|
191
|
+
- Best for: PWAs, fast repeat visits
|
|
169
192
|
|
|
170
193
|
B) **Network-first with cache fallback**
|
|
171
|
-
|
|
172
|
-
|
|
194
|
+
|
|
195
|
+
- Try network, fall back to cache
|
|
196
|
+
- Best for: Dynamic content
|
|
173
197
|
|
|
174
198
|
C) **Browser caching only**
|
|
175
|
-
|
|
176
|
-
|
|
199
|
+
|
|
200
|
+
- Use HTTP cache headers
|
|
201
|
+
- Best for: Static sites, simple apps
|
|
177
202
|
|
|
178
203
|
D) **No caching**
|
|
179
|
-
|
|
204
|
+
|
|
205
|
+
- Best for: Dev environments only
|
|
180
206
|
|
|
181
207
|
**Your answer:**
|
|
182
208
|
|
|
183
209
|
**Cache duration for assets:**
|
|
184
|
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
210
|
+
|
|
211
|
+
- HTML: \_\_\_\_ (e.g., no cache, max-age=3600)
|
|
212
|
+
- CSS/JS (versioned): \_\_\_\_ (e.g., max-age=31536000)
|
|
213
|
+
- Images: \_\_\_\_ (e.g., max-age=86400)
|
|
187
214
|
|
|
188
215
|
---
|
|
189
216
|
|
|
@@ -192,38 +219,45 @@ D) **No caching**
|
|
|
192
219
|
**Where will you deploy?**
|
|
193
220
|
|
|
194
221
|
A) ⭐ **Vercel** (Recommended for Next.js/SPA)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
222
|
+
|
|
223
|
+
- Features: Zero-config, edge functions, preview deployments
|
|
224
|
+
- Best for: Next.js, React, Vue, Svelte
|
|
225
|
+
- Pricing: Free tier available
|
|
198
226
|
|
|
199
227
|
B) 🔥 **Netlify**
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
228
|
+
|
|
229
|
+
- Features: Similar to Vercel, great DX
|
|
230
|
+
- Best for: Static sites, JAMstack
|
|
231
|
+
- Pricing: Free tier available
|
|
203
232
|
|
|
204
233
|
C) **AWS (S3 + CloudFront)**
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
234
|
+
|
|
235
|
+
- Features: Full control, scalable
|
|
236
|
+
- Best for: Enterprise, existing AWS infrastructure
|
|
237
|
+
- Pricing: Pay per use
|
|
208
238
|
|
|
209
239
|
D) **Cloudflare Pages**
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
240
|
+
|
|
241
|
+
- Features: Edge deployment, fast global CDN
|
|
242
|
+
- Best for: Static sites, edge workers
|
|
243
|
+
- Pricing: Free tier generous
|
|
213
244
|
|
|
214
245
|
E) **Firebase Hosting**
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
246
|
+
|
|
247
|
+
- Features: Integrated with Firebase services
|
|
248
|
+
- Best for: Firebase apps
|
|
249
|
+
- Pricing: Free tier available
|
|
218
250
|
|
|
219
251
|
F) **Docker + VPS (DigitalOcean, Linode, etc.)**
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
252
|
+
|
|
253
|
+
- Features: Full control, self-hosted
|
|
254
|
+
- Best for: Custom infrastructure
|
|
255
|
+
- Pricing: $5-$20/month
|
|
223
256
|
|
|
224
257
|
G) **Azure Static Web Apps / Google Cloud Run**
|
|
225
|
-
|
|
226
|
-
|
|
258
|
+
|
|
259
|
+
- Features: Enterprise cloud platforms
|
|
260
|
+
- Best for: Enterprise, existing Azure/GCP infrastructure
|
|
227
261
|
|
|
228
262
|
**Your answer:**
|
|
229
263
|
|
|
@@ -234,28 +268,34 @@ G) **Azure Static Web Apps / Google Cloud Run**
|
|
|
234
268
|
**What CI/CD platform will you use?**
|
|
235
269
|
|
|
236
270
|
A) ⭐ **GitHub Actions** (Recommended)
|
|
237
|
-
|
|
238
|
-
|
|
271
|
+
|
|
272
|
+
- Features: Native GitHub integration, free for public repos
|
|
273
|
+
- Best for: GitHub-hosted projects
|
|
239
274
|
|
|
240
275
|
B) **GitLab CI/CD**
|
|
241
|
-
|
|
242
|
-
|
|
276
|
+
|
|
277
|
+
- Features: Native GitLab integration
|
|
278
|
+
- Best for: GitLab-hosted projects
|
|
243
279
|
|
|
244
280
|
C) **Vercel/Netlify auto-deploy**
|
|
245
|
-
|
|
246
|
-
|
|
281
|
+
|
|
282
|
+
- Features: Zero-config, automatic on git push
|
|
283
|
+
- Best for: Simple deployments
|
|
247
284
|
|
|
248
285
|
D) **CircleCI / Travis CI**
|
|
249
|
-
|
|
250
|
-
|
|
286
|
+
|
|
287
|
+
- Features: Mature platforms, good caching
|
|
288
|
+
- Best for: Complex pipelines
|
|
251
289
|
|
|
252
290
|
E) **No CI/CD**
|
|
253
|
-
|
|
254
|
-
|
|
291
|
+
|
|
292
|
+
- Manual deployments
|
|
293
|
+
- Not recommended
|
|
255
294
|
|
|
256
295
|
**Your answer:**
|
|
257
296
|
|
|
258
297
|
**CI/CD steps:**
|
|
298
|
+
|
|
259
299
|
- [ ] Install dependencies
|
|
260
300
|
- [ ] Lint code
|
|
261
301
|
- [ ] Run unit tests
|
|
@@ -273,22 +313,26 @@ E) **No CI/CD**
|
|
|
273
313
|
**How many environments will you have?**
|
|
274
314
|
|
|
275
315
|
A) ⭐ **3 environments** (Recommended)
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
316
|
+
|
|
317
|
+
- Development (local)
|
|
318
|
+
- Staging (preview.yourapp.com)
|
|
319
|
+
- Production (yourapp.com)
|
|
320
|
+
- Best for: Most apps
|
|
280
321
|
|
|
281
322
|
B) **4+ environments**
|
|
282
|
-
|
|
283
|
-
|
|
323
|
+
|
|
324
|
+
- Development, Staging, QA, Production
|
|
325
|
+
- Best for: Enterprise apps
|
|
284
326
|
|
|
285
327
|
C) **2 environments**
|
|
286
|
-
|
|
287
|
-
|
|
328
|
+
|
|
329
|
+
- Development, Production
|
|
330
|
+
- Best for: Small teams, MVPs
|
|
288
331
|
|
|
289
332
|
**Your answer:**
|
|
290
333
|
|
|
291
334
|
**Environment variables management:**
|
|
335
|
+
|
|
292
336
|
- `.env.local` (gitignored, local overrides)
|
|
293
337
|
- `.env.development`
|
|
294
338
|
- `.env.staging`
|
|
@@ -304,63 +348,75 @@ C) **2 environments**
|
|
|
304
348
|
#### Analytics
|
|
305
349
|
|
|
306
350
|
A) ⭐ **Google Analytics 4**
|
|
307
|
-
|
|
308
|
-
|
|
351
|
+
|
|
352
|
+
- Features: Free, comprehensive, industry standard
|
|
353
|
+
- Best for: Most apps
|
|
309
354
|
|
|
310
355
|
B) **Plausible / Fathom**
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
356
|
+
|
|
357
|
+
- Features: Privacy-focused, simple, no GDPR banner needed
|
|
358
|
+
- Best for: Privacy-conscious apps
|
|
359
|
+
- Pricing: Paid
|
|
314
360
|
|
|
315
361
|
C) **Mixpanel / Amplitude**
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
362
|
+
|
|
363
|
+
- Features: Product analytics, event tracking
|
|
364
|
+
- Best for: SaaS products
|
|
365
|
+
- Pricing: Free tier available
|
|
319
366
|
|
|
320
367
|
D) **No analytics**
|
|
321
|
-
|
|
368
|
+
|
|
369
|
+
- Best for: Internal tools only
|
|
322
370
|
|
|
323
371
|
**Your answer:**
|
|
324
372
|
|
|
325
373
|
#### Error Tracking
|
|
326
374
|
|
|
327
375
|
A) ⭐ **Sentry** (Recommended)
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
376
|
+
|
|
377
|
+
- Features: Error tracking, performance monitoring, releases
|
|
378
|
+
- Best for: Most apps
|
|
379
|
+
- Pricing: Free tier available
|
|
331
380
|
|
|
332
381
|
B) **LogRocket**
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
382
|
+
|
|
383
|
+
- Features: Session replay, error tracking
|
|
384
|
+
- Best for: User behavior analysis
|
|
385
|
+
- Pricing: Paid
|
|
336
386
|
|
|
337
387
|
C) **Datadog / New Relic**
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
388
|
+
|
|
389
|
+
- Features: Full observability platform
|
|
390
|
+
- Best for: Enterprise
|
|
391
|
+
- Pricing: Paid
|
|
341
392
|
|
|
342
393
|
D) **Console only**
|
|
343
|
-
|
|
394
|
+
|
|
395
|
+
- Best for: MVPs, dev environments
|
|
344
396
|
|
|
345
397
|
**Your answer:**
|
|
346
398
|
|
|
347
399
|
#### Performance Monitoring
|
|
348
400
|
|
|
349
401
|
A) ⭐ **Web Vitals + Sentry** (Recommended)
|
|
350
|
-
|
|
351
|
-
|
|
402
|
+
|
|
403
|
+
- Track Core Web Vitals automatically
|
|
404
|
+
- Best for: Most apps
|
|
352
405
|
|
|
353
406
|
B) **Lighthouse CI**
|
|
354
|
-
|
|
355
|
-
|
|
407
|
+
|
|
408
|
+
- Run Lighthouse in CI/CD
|
|
409
|
+
- Best for: Performance budgets
|
|
356
410
|
|
|
357
411
|
C) **SpeedCurve / Calibre**
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
412
|
+
|
|
413
|
+
- Features: Continuous performance monitoring
|
|
414
|
+
- Best for: Performance-critical apps
|
|
415
|
+
- Pricing: Paid
|
|
361
416
|
|
|
362
417
|
D) **No monitoring**
|
|
363
|
-
|
|
418
|
+
|
|
419
|
+
- Not recommended
|
|
364
420
|
|
|
365
421
|
**Your answer:**
|
|
366
422
|
|
|
@@ -371,23 +427,28 @@ D) **No monitoring**
|
|
|
371
427
|
**How will you manage SEO?**
|
|
372
428
|
|
|
373
429
|
A) ⭐ **React Helmet / vue-meta / Angular Meta service**
|
|
374
|
-
|
|
375
|
-
|
|
430
|
+
|
|
431
|
+
- Dynamic meta tags per page
|
|
432
|
+
- Best for: SPAs with SEO needs
|
|
376
433
|
|
|
377
434
|
B) **Next.js / Nuxt / Analog built-in SEO**
|
|
378
|
-
|
|
379
|
-
|
|
435
|
+
|
|
436
|
+
- `<Head>` component, automatic sitemap
|
|
437
|
+
- Best for: SSR frameworks
|
|
380
438
|
|
|
381
439
|
C) **Static meta tags**
|
|
382
|
-
|
|
383
|
-
|
|
440
|
+
|
|
441
|
+
- Hardcoded in index.html
|
|
442
|
+
- Best for: Simple apps, no SEO focus
|
|
384
443
|
|
|
385
444
|
D) **No SEO**
|
|
386
|
-
|
|
445
|
+
|
|
446
|
+
- Best for: Internal tools, auth-protected apps
|
|
387
447
|
|
|
388
448
|
**Your answer:**
|
|
389
449
|
|
|
390
450
|
**SEO requirements:**
|
|
451
|
+
|
|
391
452
|
- [ ] Dynamic meta tags (title, description, OG)
|
|
392
453
|
- [ ] Sitemap.xml generation
|
|
393
454
|
- [ ] Robots.txt
|
|
@@ -483,100 +544,64 @@ Update `ai-instructions.md`:
|
|
|
483
544
|
|
|
484
545
|
---
|
|
485
546
|
|
|
486
|
-
##
|
|
487
|
-
|
|
488
|
-
Now that all 7 phases are complete, generate the **complete documentation set**:
|
|
489
|
-
|
|
490
|
-
### 1. Core Documents
|
|
491
|
-
|
|
492
|
-
- `AGENT.md` - Universal AI assistant configuration
|
|
493
|
-
- `ai-instructions.md` - Complete tech stack and rules
|
|
494
|
-
- `project-brief.md` - Full project overview
|
|
495
|
-
- `README.md` - Quick start guide
|
|
496
|
-
- `.env.example` - Environment variable template
|
|
547
|
+
## ✅ Phase 7 Completion
|
|
497
548
|
|
|
498
|
-
|
|
549
|
+
After answering all questions, summarize:
|
|
499
550
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
- `docs/api-integration.md` - API integration patterns
|
|
505
|
-
- `docs/code-standards.md` - Code conventions
|
|
506
|
-
- `docs/testing.md` - Testing strategy
|
|
507
|
-
- `docs/performance.md` - Performance optimization
|
|
508
|
-
- `docs/operations.md` - Deployment and monitoring
|
|
509
|
-
- `docs/contributing.md` - Contribution guidelines
|
|
510
|
-
|
|
511
|
-
### 3. Specifications
|
|
551
|
+
```
|
|
552
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
553
|
+
✅ Phase 7 Complete: Performance & Deployment
|
|
554
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
512
555
|
|
|
513
|
-
|
|
514
|
-
-
|
|
556
|
+
Selected Performance & Deployment Strategy:
|
|
557
|
+
- Performance: {{CORE_WEB_VITALS_TARGETS}}
|
|
558
|
+
- Optimization: {{OPTIMIZATION_STRATEGIES}}
|
|
559
|
+
- Deployment Platform: {{DEPLOYMENT_PLATFORM}}
|
|
560
|
+
- Monitoring: {{MONITORING_TOOLS}}
|
|
561
|
+
- Analytics: {{ANALYTICS_TOOLS}}
|
|
515
562
|
|
|
516
|
-
|
|
563
|
+
Generated Documents:
|
|
564
|
+
✅ docs/performance.md
|
|
565
|
+
✅ docs/operations.md
|
|
566
|
+
✅ specs/configuration.md
|
|
567
|
+
✅ .env.example
|
|
517
568
|
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
Before finalizing, ensure:
|
|
569
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
521
570
|
|
|
522
|
-
|
|
523
|
-
- [ ] Tech stack consistent across all documents
|
|
524
|
-
- [ ] No contradictions between documents
|
|
525
|
-
- [ ] Framework-specific examples match selected framework
|
|
526
|
-
- [ ] Cross-references correct
|
|
527
|
-
- [ ] AGENT.md references all other documents
|
|
528
|
-
- [ ] ai-instructions.md has NEVER/ALWAYS rules from all phases
|
|
571
|
+
📊 Progress Summary:
|
|
529
572
|
|
|
530
|
-
|
|
573
|
+
Phases 1-7 completed:
|
|
574
|
+
✅ project-brief.md (Phase 1)
|
|
575
|
+
✅ docs/ui-structure.md (Phase 2)
|
|
576
|
+
✅ docs/architecture.md (Phase 3)
|
|
577
|
+
✅ ai-instructions.md (Phase 3)
|
|
578
|
+
✅ docs/code-standards.md (Phase 5)
|
|
579
|
+
✅ docs/testing.md (Phase 6)
|
|
580
|
+
✅ docs/performance.md (Phase 7)
|
|
581
|
+
✅ docs/operations.md (Phase 7)
|
|
582
|
+
✅ specs/configuration.md (Phase 7)
|
|
583
|
+
✅ .env.example (Phase 7)
|
|
531
584
|
|
|
532
|
-
|
|
585
|
+
Remaining:
|
|
586
|
+
⏭️ Phase 8: Project setup & final documentation
|
|
533
587
|
|
|
534
|
-
```
|
|
535
588
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
536
|
-
|
|
589
|
+
🎯 Next: Phase 8 - Project Setup & Final Documentation
|
|
537
590
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
538
591
|
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
✅ .env.example
|
|
547
|
-
|
|
548
|
-
Documentation:
|
|
549
|
-
✅ docs/architecture.md
|
|
550
|
-
✅ docs/components.md
|
|
551
|
-
✅ docs/state-management.md
|
|
552
|
-
✅ docs/styling.md
|
|
553
|
-
✅ docs/api-integration.md
|
|
554
|
-
✅ docs/code-standards.md
|
|
555
|
-
✅ docs/testing.md
|
|
556
|
-
✅ docs/performance.md
|
|
557
|
-
✅ docs/operations.md
|
|
558
|
-
✅ docs/contributing.md
|
|
559
|
-
|
|
560
|
-
Specifications:
|
|
561
|
-
✅ specs/accessibility.md
|
|
562
|
-
✅ specs/configuration.md
|
|
592
|
+
Phase 8 will:
|
|
593
|
+
- 🔍 Detect project state (new vs existing)
|
|
594
|
+
- 🚀 Initialize framework (optional, for new projects)
|
|
595
|
+
- 📝 Generate final docs (components-guide, state-management, contributing)
|
|
596
|
+
- 📖 Generate AGENT.md (master documentation index)
|
|
597
|
+
- 📄 Generate README.md (with intelligent merge if needed)
|
|
598
|
+
- 🤖 Create tool-specific configs (based on AI selection)
|
|
563
599
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
📚 Next Steps:
|
|
567
|
-
|
|
568
|
-
1. Review the generated documentation
|
|
569
|
-
2. Customize templates as needed
|
|
570
|
-
3. Share AGENT.md with your AI assistant
|
|
571
|
-
4. Start building! 🚀
|
|
572
|
-
|
|
573
|
-
💡 Tip: Run /flow-docs-sync to regenerate specific documents later
|
|
574
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
600
|
+
Continue to Phase 8? (yes/no)
|
|
575
601
|
```
|
|
576
602
|
|
|
577
603
|
---
|
|
578
604
|
|
|
579
|
-
**Last Updated:** 2025-
|
|
605
|
+
**Last Updated:** 2025-12-09
|
|
580
606
|
|
|
581
|
-
**Version:**
|
|
582
|
-
|
|
607
|
+
**Version:** 2.0.0 (Unified workflow with Phase 8)
|