ai-flow-dev 1.4.0 → 2.1.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/README.md +98 -30
- package/dist/cli.js +83 -108
- package/dist/cli.js.map +1 -1
- package/package.json +6 -2
- package/prompts/backend/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +5 -3
- package/prompts/backend/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +36 -41
- package/prompts/backend/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +80 -68
- package/prompts/backend/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +82 -61
- package/prompts/backend/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +10 -9
- package/prompts/backend/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +8 -7
- package/prompts/backend/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +5 -3
- package/prompts/backend/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +248 -30
- package/prompts/backend/{flow-bootstrap-phase-9.md → flow-build-phase-9.md} +97 -99
- package/prompts/backend/{flow-bootstrap.md → flow-build.md} +105 -34
- package/prompts/backend/flow-dev-commit.md +786 -0
- package/prompts/backend/flow-docs-sync.md +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +3 -2
- package/prompts/frontend/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +4 -2
- package/prompts/frontend/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +238 -22
- package/prompts/frontend/{flow-bootstrap.md → flow-build.md} +108 -25
- package/prompts/frontend/flow-docs-sync.md +3 -2
- package/prompts/mobile/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +3 -2
- package/prompts/mobile/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +249 -23
- package/prompts/mobile/{flow-bootstrap.md → flow-build.md} +107 -26
- package/prompts/mobile/flow-docs-sync.md +3 -2
- package/templates/AGENT.template.md +1 -17
- package/templates/backend/.clauderules.template +1 -1
- package/templates/backend/.cursorrules.template +1 -1
- /package/prompts/backend/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +0 -0
- /package/prompts/frontend/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +0 -0
- /package/prompts/mobile/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +0 -0
|
@@ -464,7 +464,7 @@ Actualización cancelada. Ejecuta `/flow-docs-sync` cuando estés listo para act
|
|
|
464
464
|
2. **Follow Existing Patterns:**
|
|
465
465
|
|
|
466
466
|
- Use same format as existing documentation
|
|
467
|
-
- Follow conventions established in original
|
|
467
|
+
- Follow conventions established in original build
|
|
468
468
|
- Maintain consistency with existing docs
|
|
469
469
|
|
|
470
470
|
3. **Update Analysis File:**
|
|
@@ -524,3 +524,4 @@ Documentación sincronizada exitosamente.
|
|
|
524
524
|
|
|
525
525
|
**BEGIN EXECUTION when user runs `/flow-docs-sync`**
|
|
526
526
|
|
|
527
|
+
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**⚡ AUTOMATED ANALYSIS - Minimal User Input Required**
|
|
4
4
|
|
|
5
|
-
This phase automatically analyzes your existing frontend codebase to pre-populate answers for the
|
|
5
|
+
This phase automatically analyzes your existing frontend codebase to pre-populate answers for the build questionnaire.
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
@@ -483,7 +483,7 @@ After Phase 0 completes:
|
|
|
483
483
|
|
|
484
484
|
Next: Proceed to Phase 1 (Discovery & UX)
|
|
485
485
|
|
|
486
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
486
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-1-discovery.md
|
|
487
487
|
```
|
|
488
488
|
|
|
489
489
|
---
|
|
@@ -493,3 +493,4 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-1-discovery.md
|
|
|
493
493
|
**Version:** 1.2.0
|
|
494
494
|
|
|
495
495
|
|
|
496
|
+
|
|
@@ -438,7 +438,7 @@ Documents Generated:
|
|
|
438
438
|
|
|
439
439
|
Next: Phase 2 - Components & Framework
|
|
440
440
|
|
|
441
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
441
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-2-components.md
|
|
442
442
|
```
|
|
443
443
|
|
|
444
444
|
---
|
|
@@ -448,3 +448,4 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-2-components.md
|
|
|
448
448
|
**Version:** 1.2.0
|
|
449
449
|
|
|
450
450
|
|
|
451
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
## 📋 Context
|
|
9
9
|
|
|
10
|
-
You are in **Phase 2 of 7** of the frontend
|
|
10
|
+
You are in **Phase 2 of 7** of the frontend build process.
|
|
11
11
|
|
|
12
12
|
**What we're defining:**
|
|
13
13
|
- UI Framework selection (React/Vue/Angular/Svelte/Solid)
|
|
@@ -981,3 +981,4 @@ After Phase 2 completion, you will:
|
|
|
981
981
|
**Estimated time:** 15-20 minutes
|
|
982
982
|
**Documents updated:** ai-instructions.md, docs/components.md, docs/architecture.md
|
|
983
983
|
|
|
984
|
+
|
|
@@ -674,7 +674,7 @@ Documents Generated:
|
|
|
674
674
|
|
|
675
675
|
Next: Phase 4 - Styling & Design
|
|
676
676
|
|
|
677
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
677
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-4-styling.md
|
|
678
678
|
```
|
|
679
679
|
|
|
680
680
|
---
|
|
@@ -684,3 +684,4 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-4-styling.md
|
|
|
684
684
|
**Version:** 1.2.0
|
|
685
685
|
|
|
686
686
|
|
|
687
|
+
|
|
@@ -264,7 +264,7 @@ A) ⭐ **Tailwind defaults** (Recommended)
|
|
|
264
264
|
- xl: 1280px
|
|
265
265
|
- 2xl: 1536px
|
|
266
266
|
|
|
267
|
-
B) **
|
|
267
|
+
B) **build-style**
|
|
268
268
|
- xs: 0px
|
|
269
269
|
- sm: 576px
|
|
270
270
|
- md: 768px
|
|
@@ -469,7 +469,7 @@ Documents Generated:
|
|
|
469
469
|
|
|
470
470
|
Next: Phase 5 - Code Standards
|
|
471
471
|
|
|
472
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
472
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-5-standards.md
|
|
473
473
|
```
|
|
474
474
|
|
|
475
475
|
---
|
|
@@ -479,3 +479,5 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-5-standards.md
|
|
|
479
479
|
**Version:** 1.2.0
|
|
480
480
|
|
|
481
481
|
|
|
482
|
+
|
|
483
|
+
|
|
@@ -472,7 +472,7 @@ Documents Generated:
|
|
|
472
472
|
|
|
473
473
|
Next: Phase 6 - Testing Strategy
|
|
474
474
|
|
|
475
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
475
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-6-testing.md
|
|
476
476
|
```
|
|
477
477
|
|
|
478
478
|
---
|
|
@@ -482,3 +482,4 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-6-testing.md
|
|
|
482
482
|
**Version:** 1.2.0
|
|
483
483
|
|
|
484
484
|
|
|
485
|
+
|
|
@@ -559,7 +559,7 @@ Documents Generated:
|
|
|
559
559
|
|
|
560
560
|
Next: Phase 7 - Performance & Deployment
|
|
561
561
|
|
|
562
|
-
Read: .ai-flow/prompts/frontend/flow-
|
|
562
|
+
Read: .ai-flow/prompts/frontend/flow-build-phase-7-deployment.md
|
|
563
563
|
```
|
|
564
564
|
|
|
565
565
|
---
|
|
@@ -569,3 +569,4 @@ Read: .ai-flow/prompts/frontend/flow-bootstrap-phase-7-deployment.md
|
|
|
569
569
|
**Version:** 1.2.0
|
|
570
570
|
|
|
571
571
|
|
|
572
|
+
|
|
@@ -243,13 +243,14 @@ Proceeding to documentation generation...
|
|
|
243
243
|
|
|
244
244
|
✅ Context fully loaded and updated!
|
|
245
245
|
|
|
246
|
-
🎉 Now generating final
|
|
246
|
+
🎉 Now generating final 5 documents:
|
|
247
247
|
|
|
248
248
|
1. docs/components-guide.md - Component architecture and patterns
|
|
249
249
|
2. docs/state-management.md - State management strategy
|
|
250
250
|
3. docs/contributing.md - Contribution guidelines
|
|
251
|
-
4.
|
|
252
|
-
5.
|
|
251
|
+
4. .gitignore - Ignore patterns for your tech stack
|
|
252
|
+
5. AGENT.md - Universal AI configuration (master index)
|
|
253
|
+
6. README.md - Project overview (consolidates all phases)
|
|
253
254
|
|
|
254
255
|
Generating...
|
|
255
256
|
```
|
|
@@ -265,6 +266,12 @@ Generating...
|
|
|
265
266
|
- Add styling approach
|
|
266
267
|
- Link to component library (if using one)
|
|
267
268
|
|
|
269
|
+
**📝 Action:** Write the complete file to `docs/components-guide.md`
|
|
270
|
+
|
|
271
|
+
```
|
|
272
|
+
✅ Generated: docs/components-guide.md
|
|
273
|
+
```
|
|
274
|
+
|
|
268
275
|
### 8.3.2: Generate docs/state-management.md
|
|
269
276
|
|
|
270
277
|
- **Template:** `.ai-flow/templates/docs/state-management.template.md`
|
|
@@ -276,6 +283,12 @@ Generating...
|
|
|
276
283
|
- Document async state handling
|
|
277
284
|
- Add caching strategy
|
|
278
285
|
|
|
286
|
+
**📝 Action:** Write the complete file to `docs/state-management.md`
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
✅ Generated: docs/state-management.md
|
|
290
|
+
```
|
|
291
|
+
|
|
279
292
|
### 8.3.3: Generate docs/contributing.md
|
|
280
293
|
|
|
281
294
|
- **Template:** `.ai-flow/templates/docs/contributing.template.md`
|
|
@@ -287,6 +300,161 @@ Generating...
|
|
|
287
300
|
- Setup instructions from Phase 7
|
|
288
301
|
- Testing requirements from Phase 6
|
|
289
302
|
|
|
303
|
+
**📝 Action:** Write the complete file to `docs/contributing.md`
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
✅ Generated: docs/contributing.md
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## 8.3.4: Generate .gitignore
|
|
312
|
+
|
|
313
|
+
**IMPORTANT:** Generate a comprehensive `.gitignore` file based on the framework, bundler, and tools selected in previous phases.
|
|
314
|
+
|
|
315
|
+
```
|
|
316
|
+
📝 Generating .gitignore for your frontend stack...
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
**Strategy:**
|
|
320
|
+
|
|
321
|
+
1. **Detect framework from Phase 3** (React, Vue, Angular, etc.)
|
|
322
|
+
2. **Detect bundler/meta-framework** (Vite, Next.js, Create React App, etc.)
|
|
323
|
+
3. **Detect package manager** (npm, yarn, pnpm)
|
|
324
|
+
4. **Combine relevant patterns**
|
|
325
|
+
|
|
326
|
+
**Base patterns for JavaScript/TypeScript projects:**
|
|
327
|
+
|
|
328
|
+
```gitignore
|
|
329
|
+
# Dependencies
|
|
330
|
+
node_modules/
|
|
331
|
+
npm-debug.log*
|
|
332
|
+
yarn-debug.log*
|
|
333
|
+
yarn-error.log*
|
|
334
|
+
.pnpm-debug.log*
|
|
335
|
+
.yarn/*
|
|
336
|
+
!.yarn/patches
|
|
337
|
+
!.yarn/plugins
|
|
338
|
+
!.yarn/releases
|
|
339
|
+
!.yarn/sdks
|
|
340
|
+
!.yarn/versions
|
|
341
|
+
|
|
342
|
+
# Production builds
|
|
343
|
+
dist/
|
|
344
|
+
build/
|
|
345
|
+
.next/
|
|
346
|
+
out/
|
|
347
|
+
.nuxt/
|
|
348
|
+
.output/
|
|
349
|
+
.vite/
|
|
350
|
+
*.local
|
|
351
|
+
|
|
352
|
+
# Environment variables
|
|
353
|
+
.env
|
|
354
|
+
.env*.local
|
|
355
|
+
.env.production
|
|
356
|
+
|
|
357
|
+
# IDE
|
|
358
|
+
.vscode/
|
|
359
|
+
!.vscode/extensions.json
|
|
360
|
+
.idea/
|
|
361
|
+
*.swp
|
|
362
|
+
*.swo
|
|
363
|
+
*~
|
|
364
|
+
.DS_Store
|
|
365
|
+
|
|
366
|
+
# OS
|
|
367
|
+
.DS_Store
|
|
368
|
+
Thumbs.db
|
|
369
|
+
|
|
370
|
+
# Testing
|
|
371
|
+
coverage/
|
|
372
|
+
.nyc_output/
|
|
373
|
+
*.lcov
|
|
374
|
+
|
|
375
|
+
# TypeScript
|
|
376
|
+
*.tsbuildinfo
|
|
377
|
+
.tsbuildinfo
|
|
378
|
+
|
|
379
|
+
# Logs
|
|
380
|
+
logs/
|
|
381
|
+
*.log
|
|
382
|
+
npm-debug.log*
|
|
383
|
+
|
|
384
|
+
# Cache
|
|
385
|
+
.cache/
|
|
386
|
+
.parcel-cache/
|
|
387
|
+
.turbo/
|
|
388
|
+
.eslintcache
|
|
389
|
+
.stylelintcache
|
|
390
|
+
|
|
391
|
+
# Storybook
|
|
392
|
+
storybook-static/
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
**Framework-specific additions:**
|
|
396
|
+
|
|
397
|
+
**Next.js:**
|
|
398
|
+
|
|
399
|
+
```gitignore
|
|
400
|
+
# Next.js
|
|
401
|
+
.next/
|
|
402
|
+
out/
|
|
403
|
+
next-env.d.ts
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
**Vite:**
|
|
407
|
+
|
|
408
|
+
```gitignore
|
|
409
|
+
# Vite
|
|
410
|
+
dist/
|
|
411
|
+
.vite/
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
**Angular:**
|
|
415
|
+
|
|
416
|
+
```gitignore
|
|
417
|
+
# Angular
|
|
418
|
+
/dist/
|
|
419
|
+
/tmp/
|
|
420
|
+
/out-tsc/
|
|
421
|
+
/bazel-out/
|
|
422
|
+
.angular/
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
**Vue (with Vite):**
|
|
426
|
+
|
|
427
|
+
```gitignore
|
|
428
|
+
# Vue
|
|
429
|
+
dist/
|
|
430
|
+
.vite/
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
**Nuxt:**
|
|
434
|
+
|
|
435
|
+
```gitignore
|
|
436
|
+
# Nuxt
|
|
437
|
+
.nuxt/
|
|
438
|
+
.output/
|
|
439
|
+
.nitro/
|
|
440
|
+
.cache/
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
**📝 Action:** Generate and write `.gitignore` to project root.
|
|
444
|
+
|
|
445
|
+
**Selection logic:**
|
|
446
|
+
|
|
447
|
+
- If React + Vite → Base + Vite patterns
|
|
448
|
+
- If Next.js → Base + Next.js patterns
|
|
449
|
+
- If Angular → Base + Angular patterns
|
|
450
|
+
- If Vue + Vite → Base + Vite patterns
|
|
451
|
+
- If Nuxt → Base + Nuxt patterns
|
|
452
|
+
|
|
453
|
+
```
|
|
454
|
+
✅ Generated: .gitignore
|
|
455
|
+
Patterns included: [Framework] + [Bundler] + Base JavaScript patterns
|
|
456
|
+
```
|
|
457
|
+
|
|
290
458
|
---
|
|
291
459
|
|
|
292
460
|
## 8.4: Generate AGENT.md (Master Index)
|
|
@@ -347,6 +515,33 @@ Generating...
|
|
|
347
515
|
[From operations.md and contributing.md]
|
|
348
516
|
```
|
|
349
517
|
|
|
518
|
+
**📝 Action:**
|
|
519
|
+
|
|
520
|
+
```
|
|
521
|
+
🔄 Re-reading all generated documents for AGENT.md generation...
|
|
522
|
+
|
|
523
|
+
✅ Reading .ai-flow/project-brief.md
|
|
524
|
+
✅ Reading .ai-flow/ai-instructions.md
|
|
525
|
+
✅ Reading docs/ui-structure.md
|
|
526
|
+
✅ Reading docs/architecture.md
|
|
527
|
+
✅ Reading docs/components-guide.md
|
|
528
|
+
✅ Reading docs/state-management.md
|
|
529
|
+
✅ Reading docs/code-standards.md
|
|
530
|
+
✅ Reading docs/testing.md
|
|
531
|
+
✅ Reading docs/performance.md
|
|
532
|
+
✅ Reading docs/operations.md
|
|
533
|
+
✅ Reading specs/configuration.md
|
|
534
|
+
✅ Reading docs/contributing.md
|
|
535
|
+
|
|
536
|
+
✅ All context loaded!
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
**📝 Action:** Write the complete file to `.ai-flow/AGENT.md`
|
|
540
|
+
|
|
541
|
+
```
|
|
542
|
+
✅ Generated: .ai-flow/AGENT.md (Master Index)
|
|
543
|
+
```
|
|
544
|
+
|
|
350
545
|
---
|
|
351
546
|
|
|
352
547
|
## 8.5: Generate README.md (Intelligent Merge)
|
|
@@ -382,6 +577,13 @@ Generating...
|
|
|
382
577
|
5. **Ensure no duplication**
|
|
383
578
|
6. **Validate all links** work correctly
|
|
384
579
|
|
|
580
|
+
**📝 Action:** Write the complete file to `.ai-flow/README.md`
|
|
581
|
+
|
|
582
|
+
```
|
|
583
|
+
✅ Generated: .ai-flow/README.md
|
|
584
|
+
[If merged] Merged with framework's setup instructions
|
|
585
|
+
```
|
|
586
|
+
|
|
385
587
|
---
|
|
386
588
|
|
|
387
589
|
## 8.6: Create Tool-Specific Configs
|
|
@@ -405,20 +607,20 @@ Read `.ai-flow/AGENT.md` first for complete documentation index.
|
|
|
405
607
|
|
|
406
608
|
- Project overview: `.ai-flow/project-brief.md`
|
|
407
609
|
- AI instructions: `.ai-flow/ai-instructions.md`
|
|
408
|
-
- Architecture:
|
|
409
|
-
- UI Structure:
|
|
410
|
-
- Components:
|
|
411
|
-
- State:
|
|
412
|
-
- Code standards:
|
|
610
|
+
- Architecture: `docs/architecture.md`
|
|
611
|
+
- UI Structure: `docs/ui-structure.md`
|
|
612
|
+
- Components: `docs/components-guide.md`
|
|
613
|
+
- State: `docs/state-management.md`
|
|
614
|
+
- Code standards: `docs/code-standards.md`
|
|
413
615
|
|
|
414
616
|
## Working Instructions
|
|
415
617
|
|
|
416
618
|
When writing code:
|
|
417
619
|
|
|
418
|
-
1. Follow patterns in
|
|
419
|
-
2. Reference component structure in
|
|
420
|
-
3. Follow state management patterns from
|
|
421
|
-
4. Write tests per
|
|
620
|
+
1. Follow patterns in `docs/code-standards.md`
|
|
621
|
+
2. Reference component structure in `docs/ui-structure.md`
|
|
622
|
+
3. Follow state management patterns from `docs/state-management.md`
|
|
623
|
+
4. Write tests per `docs/testing.md`
|
|
422
624
|
|
|
423
625
|
## Critical Rules
|
|
424
626
|
|
|
@@ -441,9 +643,9 @@ See `.ai-flow/AGENT.md` for complete document list.
|
|
|
441
643
|
## Quick Reference
|
|
442
644
|
|
|
443
645
|
- Tech Stack: [from Phase 3]
|
|
444
|
-
- Architecture:
|
|
445
|
-
- Components:
|
|
446
|
-
- Code Standards:
|
|
646
|
+
- Architecture: `docs/architecture.md`
|
|
647
|
+
- Components: `docs/components-guide.md`
|
|
648
|
+
- Code Standards: `docs/code-standards.md`
|
|
447
649
|
|
|
448
650
|
## Code Generation Rules
|
|
449
651
|
|
|
@@ -469,12 +671,12 @@ Master index: `.ai-flow/AGENT.md`
|
|
|
469
671
|
|
|
470
672
|
## Key References
|
|
471
673
|
|
|
472
|
-
- Architecture:
|
|
473
|
-
- UI Structure:
|
|
474
|
-
- Components:
|
|
475
|
-
- State:
|
|
476
|
-
- Code Standards:
|
|
477
|
-
- Testing:
|
|
674
|
+
- Architecture: `docs/architecture.md`
|
|
675
|
+
- UI Structure: `docs/ui-structure.md`
|
|
676
|
+
- Components: `docs/components-guide.md`
|
|
677
|
+
- State: `docs/state-management.md`
|
|
678
|
+
- Code Standards: `docs/code-standards.md`
|
|
679
|
+
- Testing: `docs/testing.md`
|
|
478
680
|
|
|
479
681
|
## Code Generation Guidelines
|
|
480
682
|
|
|
@@ -485,6 +687,18 @@ Master index: `.ai-flow/AGENT.md`
|
|
|
485
687
|
[From Phase 3]
|
|
486
688
|
```
|
|
487
689
|
|
|
690
|
+
**📝 Action:** Generate the tool-specific config files based on selection:
|
|
691
|
+
|
|
692
|
+
- If Claude → Write `.clauderules`
|
|
693
|
+
- If Cursor → Write `.cursorrules`
|
|
694
|
+
- If Copilot → Write `.github/copilot-instructions.md`
|
|
695
|
+
- If "All" → Write all three files
|
|
696
|
+
|
|
697
|
+
```
|
|
698
|
+
✅ Generated tool-specific configs:
|
|
699
|
+
[List generated files based on selection]
|
|
700
|
+
```
|
|
701
|
+
|
|
488
702
|
---
|
|
489
703
|
|
|
490
704
|
## 8.7: Final Validation & Success Message
|
|
@@ -505,7 +719,7 @@ All validations passed!
|
|
|
505
719
|
```
|
|
506
720
|
🎉 AI Flow Complete!
|
|
507
721
|
|
|
508
|
-
Generated
|
|
722
|
+
Generated 15 documents successfully:
|
|
509
723
|
|
|
510
724
|
Phase 1:
|
|
511
725
|
✅ project-brief.md
|
|
@@ -533,6 +747,7 @@ Phase 8:
|
|
|
533
747
|
✅ docs/components-guide.md
|
|
534
748
|
✅ docs/state-management.md
|
|
535
749
|
✅ docs/contributing.md
|
|
750
|
+
✅ .gitignore
|
|
536
751
|
✅ README.md
|
|
537
752
|
✅ AGENT.md
|
|
538
753
|
|
|
@@ -570,6 +785,7 @@ your-project/
|
|
|
570
785
|
├── [framework files] # If initialized
|
|
571
786
|
├── README.md
|
|
572
787
|
├── .env.example
|
|
788
|
+
├── .gitignore
|
|
573
789
|
└── [tool configs] # .clauderules, .cursorrules, etc.
|
|
574
790
|
|
|
575
791
|
---
|