ai-flow-dev 2.8.1 → 2.9.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 +16 -14
- package/dist/cli.js +8 -0
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/prompts/backend/flow-build-phase-0.md +0 -2
- package/prompts/backend/flow-build-phase-8.md +140 -18
- package/prompts/backend/flow-check.md +73 -39
- package/prompts/backend/flow-finish.md +424 -89
- package/prompts/desktop/flow-build-phase-8.md +72 -3
- package/prompts/desktop/flow-finish.md +430 -89
- package/prompts/frontend/flow-build-phase-0.md +39 -5
- package/prompts/frontend/flow-build-phase-8.md +100 -17
- package/prompts/frontend/flow-finish.md +426 -89
- package/prompts/frontend/flow-work-api.md +6 -4
- package/prompts/frontend/flow-work.md +16 -4
- package/prompts/mobile/flow-build-phase-0.md +39 -5
- package/prompts/mobile/flow-build-phase-8.md +114 -14
- package/prompts/mobile/flow-finish.md +430 -89
- package/prompts/mobile/flow-work-api.md +6 -4
- package/prompts/mobile/flow-work.md +16 -4
- package/prompts/shared/flow-report.md +636 -0
- package/templates/pr-description.template.md +298 -0
|
@@ -3,16 +3,20 @@
|
|
|
3
3
|
> **Order for this phase:** ALWAYS executed FIRST if an existing project is detected. Skip ONLY for new projects.
|
|
4
4
|
|
|
5
5
|
> **📌 Scope-based behavior:**
|
|
6
|
+
>
|
|
6
7
|
> - **Interactive Mode:** Ask user for permission to scan files layer by layer.
|
|
7
8
|
> - **Autonomous Mode:** Scan all layers automatically and present the final report.
|
|
8
9
|
|
|
9
10
|
### Objective
|
|
11
|
+
|
|
10
12
|
Efficiently analyze existing projects using a **layered, incremental approach**.
|
|
11
13
|
|
|
12
14
|
---
|
|
13
15
|
|
|
14
16
|
## 🚫 Critical Exclusion Rules
|
|
17
|
+
|
|
15
18
|
To avoid false-positive detections, **IGNORE** the following folders and files during all detection steps:
|
|
19
|
+
|
|
16
20
|
- `.ai-flow/work/` (contains active development tasks)
|
|
17
21
|
- `.ai-flow/archive/` (contains completed tasks)
|
|
18
22
|
- `.agent/` (contains AI workflows)
|
|
@@ -37,11 +41,13 @@ Proceed to Layer 1.
|
|
|
37
41
|
---
|
|
38
42
|
|
|
39
43
|
// turbo
|
|
44
|
+
|
|
40
45
|
## ⚡ Layer 1: Fast Metadata Scan (10-20 seconds)
|
|
41
46
|
|
|
42
47
|
**Purpose:** Detect framework, language, build tool, and existing AI configurations.
|
|
43
48
|
|
|
44
49
|
⭐ **Context Links:**
|
|
50
|
+
|
|
45
51
|
- Node.js: [package.json](file:///package.json)
|
|
46
52
|
- Python: [requirements.txt](file:///requirements.txt) | [pyproject.toml](file:///pyproject.toml)
|
|
47
53
|
- PHP: [composer.json](file:///composer.json)
|
|
@@ -49,9 +55,11 @@ Proceed to Layer 1.
|
|
|
49
55
|
- Java: [pom.xml](file:///pom.xml) | [build.gradle](file:///build.gradle)
|
|
50
56
|
|
|
51
57
|
### 0.1.1 Universal Tech Stack Detection
|
|
58
|
+
|
|
52
59
|
**Action:** Use your internal knowledge to detect the language and framework by scanning the root configuration files (package.json, pyproject.toml, etc.).
|
|
53
60
|
|
|
54
61
|
**Detect (but don't be limited to):**
|
|
62
|
+
|
|
55
63
|
- **Node.js:** NestJS, Express, Fastify, etc.
|
|
56
64
|
- **Python:** FastAPI, Django, Flask, etc.
|
|
57
65
|
- **PHP:** Laravel, Symfony, etc.
|
|
@@ -60,10 +68,12 @@ Proceed to Layer 1.
|
|
|
60
68
|
- **C#/.NET, Ruby, Rust, Elixir.**
|
|
61
69
|
|
|
62
70
|
### 0.1.2 Find AI & Documentation
|
|
71
|
+
|
|
63
72
|
- Find existing AI configs (`AGENT.md`, `.cursorrules`, etc.)
|
|
64
73
|
- Scan for `README.md` and existing `docs/`.
|
|
65
74
|
|
|
66
75
|
### Layer 1 Output
|
|
76
|
+
|
|
67
77
|
Show a summary of detected Name, Language, Framework, ORM, and Documentation files.
|
|
68
78
|
|
|
69
79
|
---
|
|
@@ -73,11 +83,13 @@ Show a summary of detected Name, Language, Framework, ORM, and Documentation fil
|
|
|
73
83
|
**Purpose:** Analyze directory organization and architecture patterns without reading code line-by-line.
|
|
74
84
|
|
|
75
85
|
### 0.2.1 Pattern Detection
|
|
86
|
+
|
|
76
87
|
1. **Identify Pattern:** Feature-based, Layer-based, Modular Monolith, or Hybrid.
|
|
77
88
|
2. **Entity Detection:** Scan for Schema/Entity files based on the detected ORM (Prisma, TypeORM, Django Models, etc.).
|
|
78
89
|
3. **Maturity Check:** Assess documentation and test coverage ratio.
|
|
79
90
|
|
|
80
91
|
### Layer 2 Output
|
|
92
|
+
|
|
81
93
|
Summary of Architecture Pattern, Code Structure counts (Controllers, Services, etc.), and Recommended Build Scope (MVP/Production/Enterprise).
|
|
82
94
|
|
|
83
95
|
---
|
|
@@ -87,11 +99,13 @@ Summary of Architecture Pattern, Code Structure counts (Controllers, Services, e
|
|
|
87
99
|
**Purpose:** Read and parse representative code files for detailed insights into API endpoints, data relationships, and security patterns.
|
|
88
100
|
|
|
89
101
|
### 0.3.1 Areas of Analysis
|
|
102
|
+
|
|
90
103
|
- **API Endpoints:** Parse routes/controllers.
|
|
91
104
|
- **Data Model:** Map entity relationships.
|
|
92
105
|
- **Security:** Detect auth patterns (JWT, OAuth), validation (Zod, Pydantic), and middleware.
|
|
93
106
|
|
|
94
107
|
### 0.3.2 Sampling Strategy
|
|
108
|
+
|
|
95
109
|
Use stratified sampling to read only the most relevant files (e.g., core controllers and entities) to stay within context limits.
|
|
96
110
|
|
|
97
111
|
---
|
|
@@ -99,11 +113,13 @@ Use stratified sampling to read only the most relevant files (e.g., core control
|
|
|
99
113
|
## ✅ Validation & Synthesis
|
|
100
114
|
|
|
101
115
|
### Present Findings
|
|
116
|
+
|
|
102
117
|
Show the final "🔍 BACKEND STACK DETECTED" report and ask for confirmation.
|
|
103
118
|
|
|
104
119
|
### 💾 Cache & Pre-populate
|
|
105
120
|
|
|
106
121
|
**Create directory structure (if not exists):**
|
|
122
|
+
|
|
107
123
|
```bash
|
|
108
124
|
mkdir -p .ai-flow/cache
|
|
109
125
|
```
|
|
@@ -136,22 +152,23 @@ B) No, skip audit (continue to Phase 1)
|
|
|
136
152
|
### 0.4.2 Parse Existing Documentation
|
|
137
153
|
|
|
138
154
|
**Action:** Extract documented information from:
|
|
155
|
+
|
|
139
156
|
- `docs/architecture.md` → Architecture patterns
|
|
140
157
|
- `docs/data-model.md` → Entities and fields
|
|
141
158
|
- `docs/api.md` → Endpoints and methods
|
|
142
159
|
- `specs/requirements.md` → Business requirements
|
|
143
160
|
|
|
144
|
-
**Save to:** `.ai-flow/cache/docs-snapshot.json`
|
|
145
|
-
|
|
146
161
|
### 0.4.3 Compare Code vs Documentation
|
|
147
162
|
|
|
148
163
|
**Compare:**
|
|
164
|
+
|
|
149
165
|
1. **Entities:** Schema files (Prisma, TypeORM, etc.) vs `docs/data-model.md`
|
|
150
166
|
2. **Endpoints:** Controllers/Routes vs `docs/api.md`
|
|
151
167
|
3. **Architecture:** Code structure vs `docs/architecture.md`
|
|
152
168
|
4. **Tech Stack:** `package.json` vs documented stack
|
|
153
169
|
|
|
154
170
|
**Detect:**
|
|
171
|
+
|
|
155
172
|
- Items in code but not in docs (undocumented features)
|
|
156
173
|
- Items in docs but not in code (missing implementations or obsolete docs)
|
|
157
174
|
- Mismatches in fields, types, or patterns
|
|
@@ -161,14 +178,17 @@ B) No, skip audit (continue to Phase 1)
|
|
|
161
178
|
**Severity Levels:**
|
|
162
179
|
|
|
163
180
|
🔴 **CRITICAL** (Requires user decision):
|
|
181
|
+
|
|
164
182
|
- Documented entity/endpoint not implemented
|
|
165
183
|
- Major architectural mismatch
|
|
166
184
|
|
|
167
185
|
🟡 **MEDIUM** (Auto-correctable with confirmation):
|
|
186
|
+
|
|
168
187
|
- Implemented endpoint not documented
|
|
169
188
|
- Missing fields in docs
|
|
170
189
|
|
|
171
190
|
🟢 **LOW** (Auto-correctable):
|
|
191
|
+
|
|
172
192
|
- Obsolete fields in docs
|
|
173
193
|
- Outdated version numbers
|
|
174
194
|
|
|
@@ -216,10 +236,12 @@ C) Cancel /flow-build (fix manually first)
|
|
|
216
236
|
```
|
|
217
237
|
|
|
218
238
|
**Option A (Recommended):** Continue to Phase 1
|
|
239
|
+
|
|
219
240
|
- Save audit data for Phase 8
|
|
220
241
|
- Phase 8 will offer to apply corrections
|
|
221
242
|
|
|
222
243
|
**Option B:** Interactive review now
|
|
244
|
+
|
|
223
245
|
```
|
|
224
246
|
🔴 Critical Issue 1/2: Entity 'Category'
|
|
225
247
|
Documented in docs/data-model.md but NOT in schema
|
|
@@ -233,21 +255,24 @@ C) Cancel /flow-build (fix manually first)
|
|
|
233
255
|
```
|
|
234
256
|
|
|
235
257
|
**Option C:** Cancel
|
|
258
|
+
|
|
236
259
|
- User fixes issues manually
|
|
237
260
|
- Re-run `/flow-build` later
|
|
238
261
|
|
|
239
262
|
### 0.4.7 Save Audit Data
|
|
240
263
|
|
|
241
264
|
> **📌 IMPORTANT - Phases 9-10 for Existing Projects:**
|
|
242
|
-
>
|
|
265
|
+
>
|
|
243
266
|
> If the project has **substantial functional code already implemented** (detected in Layer 1-3):
|
|
267
|
+
>
|
|
244
268
|
> - Set `phase9.recommendation = "SKIP"` with reason: "Project already implemented - roadmap not needed"
|
|
245
269
|
> - Set `phase10.recommendation = "SKIP"` with reason: "Project already implemented - user stories not needed"
|
|
246
|
-
>
|
|
270
|
+
>
|
|
247
271
|
> **Phases 9-10 are only useful for:**
|
|
272
|
+
>
|
|
248
273
|
> - New projects (no code yet)
|
|
249
274
|
> - Projects in early development (< 30% features implemented)
|
|
250
|
-
>
|
|
275
|
+
>
|
|
251
276
|
> **For existing projects**, focus on Phases 1-8 (documentation sync) instead.
|
|
252
277
|
|
|
253
278
|
**Save to:** `.ai-flow/cache/audit-data.json`
|
|
@@ -350,16 +375,19 @@ C) Cancel /flow-build (fix manually first)
|
|
|
350
375
|
```
|
|
351
376
|
|
|
352
377
|
**Recommendation Logic:**
|
|
378
|
+
|
|
353
379
|
- **SKIP** (≥95%): Phase can be skipped, use existing docs
|
|
354
380
|
- **HYBRID** (80-94%): Ask only missing questions, merge with existing docs
|
|
355
381
|
- **FULL** (<80% or file missing): Execute full phase with pre-filled answers
|
|
356
382
|
|
|
357
383
|
This data will be used in Phases 1-7 to:
|
|
384
|
+
|
|
358
385
|
1. Determine if phase can be skipped
|
|
359
386
|
2. Identify specific gaps to ask about
|
|
360
387
|
3. Merge new answers with existing documentation
|
|
361
388
|
|
|
362
389
|
This data will be used in Phase 8 to:
|
|
390
|
+
|
|
363
391
|
1. Generate detailed audit report
|
|
364
392
|
2. Apply auto-corrections
|
|
365
393
|
3. Update roadmap with "To Implement" items
|
|
@@ -371,6 +399,7 @@ This data will be used in Phase 8 to:
|
|
|
371
399
|
### Present Findings
|
|
372
400
|
|
|
373
401
|
Show the final report including:
|
|
402
|
+
|
|
374
403
|
1. **🔍 BACKEND STACK DETECTED** (from Layers 1-3)
|
|
375
404
|
2. **📊 Documentation Audit Summary** (from Layer 4, if executed)
|
|
376
405
|
|
|
@@ -379,6 +408,7 @@ Ask for confirmation to proceed to Phase 1.
|
|
|
379
408
|
### 💾 Cache & Pre-populate
|
|
380
409
|
|
|
381
410
|
**Create directory structure (if not exists):**
|
|
411
|
+
|
|
382
412
|
```bash
|
|
383
413
|
mkdir -p .ai-flow/cache .ai-flow/work .ai-flow/archive
|
|
384
414
|
```
|
|
@@ -390,6 +420,7 @@ mkdir -p .ai-flow/cache .ai-flow/work .ai-flow/archive
|
|
|
390
420
|
### 🎯 Set Flags for Phase 8
|
|
391
421
|
|
|
392
422
|
If documentation audit was performed:
|
|
423
|
+
|
|
393
424
|
- Set flag: `auditPerformed: true`
|
|
394
425
|
- Phase 8 will:
|
|
395
426
|
- Generate detailed audit report (`docs/audit-report.md`)
|
|
@@ -403,6 +434,7 @@ If documentation audit was performed:
|
|
|
403
434
|
---
|
|
404
435
|
|
|
405
436
|
### Phase Summary
|
|
437
|
+
|
|
406
438
|
- Pre-populated detected tech stack values.
|
|
407
439
|
- Architectural patterns identified.
|
|
408
440
|
- Context cached in `.ai-flow/cache/docs-analysis.json`.
|
|
@@ -414,6 +446,7 @@ If documentation audit was performed:
|
|
|
414
446
|
**Next Phase:** Phase 1 - Discovery & Business Requirements
|
|
415
447
|
|
|
416
448
|
**What happens next:**
|
|
449
|
+
|
|
417
450
|
- Phase 1-7 will use pre-populated answers (40-60% filled)
|
|
418
451
|
- You'll only answer questions that couldn't be auto-detected
|
|
419
452
|
- Phase 8 will offer to resolve documentation inconsistencies
|
|
@@ -421,5 +454,6 @@ If documentation audit was performed:
|
|
|
421
454
|
Read: `.ai-flow/prompts/backend/flow-build-phase-1.md`
|
|
422
455
|
|
|
423
456
|
---
|
|
457
|
+
|
|
424
458
|
_Version: 4.3 (Antigravity Optimized - With Integrated Audit)_
|
|
425
459
|
_Last Updated: 2025-12-22_
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**Duration:** 10-15 minutes
|
|
6
6
|
|
|
7
|
-
**Goal:** Set up the project structure and create comprehensive documentation that consolidates all information from previous phases.
|
|
8
|
-
|
|
7
|
+
## **Goal:** Set up the project structure and create comprehensive documentation that consolidates all information from previous phases.
|
|
8
|
+
|
|
9
9
|
## 📋 Phase 8 Overview
|
|
10
10
|
|
|
11
11
|
This final phase will:
|
|
@@ -16,8 +16,11 @@ This final phase will:
|
|
|
16
16
|
4. **Generate master index** (AGENT.md)
|
|
17
17
|
5. **Generate README.md** (with intelligent merge if needed)
|
|
18
18
|
6. **Create tool-specific configs** (based on AI tool selection)
|
|
19
|
+
|
|
19
20
|
---
|
|
21
|
+
|
|
20
22
|
// turbo
|
|
23
|
+
|
|
21
24
|
## 8.1: Project State Detection
|
|
22
25
|
|
|
23
26
|
```
|
|
@@ -56,7 +59,9 @@ Found:
|
|
|
56
59
|
|
|
57
60
|
Recommendation: [Next action based on state]
|
|
58
61
|
```
|
|
62
|
+
|
|
59
63
|
---
|
|
64
|
+
|
|
60
65
|
## 8.2: Framework Initialization (Optional)
|
|
61
66
|
|
|
62
67
|
**Only if:** Project state = "New Project"
|
|
@@ -221,7 +226,9 @@ You can initialize manually later with:
|
|
|
221
226
|
|
|
222
227
|
Proceeding to documentation generation...
|
|
223
228
|
```
|
|
229
|
+
|
|
224
230
|
---
|
|
231
|
+
|
|
225
232
|
## 8.3: Generate Final Documentation
|
|
226
233
|
|
|
227
234
|
```
|
|
@@ -302,21 +309,25 @@ Generating...
|
|
|
302
309
|
```
|
|
303
310
|
✅ Generated: docs/contributing.md
|
|
304
311
|
```
|
|
312
|
+
|
|
305
313
|
---
|
|
314
|
+
|
|
306
315
|
## 8.3.4: Generate .gitignore
|
|
307
316
|
|
|
308
317
|
**IMPORTANT:** Generate a comprehensive `.gitignore` file based on the framework, bundler, and tools selected in previous phases.
|
|
309
318
|
|
|
310
319
|
```
|
|
311
|
-
📝
|
|
320
|
+
📝 Configuring .gitignore for your frontend stack...
|
|
312
321
|
```
|
|
313
322
|
|
|
314
323
|
**Strategy:**
|
|
315
324
|
|
|
316
|
-
1. **
|
|
317
|
-
2. **Detect
|
|
318
|
-
3. **Detect
|
|
319
|
-
4. **
|
|
325
|
+
1. **Check if .gitignore exists**
|
|
326
|
+
2. **Detect framework from Phase 3** (React, Vue, Angular, etc.)
|
|
327
|
+
3. **Detect bundler/meta-framework** (Vite, Next.js, Create React App, etc.)
|
|
328
|
+
4. **Detect package manager** (npm, yarn, pnpm)
|
|
329
|
+
5. **Combine relevant patterns + AI Flow rules**
|
|
330
|
+
6. **Merge intelligently** (append only missing rules)
|
|
320
331
|
|
|
321
332
|
**Base patterns for JavaScript/TypeScript projects:**
|
|
322
333
|
|
|
@@ -385,6 +396,18 @@ npm-debug.log*
|
|
|
385
396
|
|
|
386
397
|
# Storybook
|
|
387
398
|
storybook-static/
|
|
399
|
+
|
|
400
|
+
# ============================================================
|
|
401
|
+
# AI Flow - Workspace Management
|
|
402
|
+
# ============================================================
|
|
403
|
+
# Ignore temporary cache (regenerable)
|
|
404
|
+
.ai-flow/cache/
|
|
405
|
+
|
|
406
|
+
# Ignore work-in-progress state (personal, deleted on completion)
|
|
407
|
+
.ai-flow/work/
|
|
408
|
+
|
|
409
|
+
# COMMIT .ai-flow/archive/ by default (contains team metrics)
|
|
410
|
+
# ============================================================
|
|
388
411
|
```
|
|
389
412
|
|
|
390
413
|
**Framework-specific additions:**
|
|
@@ -435,21 +458,77 @@ dist/
|
|
|
435
458
|
.cache/
|
|
436
459
|
```
|
|
437
460
|
|
|
438
|
-
**📝 Action
|
|
461
|
+
**📝 Action: Intelligent Merge Strategy**
|
|
439
462
|
|
|
440
|
-
**
|
|
463
|
+
**Step 1: Detect existing .gitignore**
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
if [ -f ".gitignore" ]; then
|
|
467
|
+
echo "📋 Existing .gitignore detected"
|
|
468
|
+
GITIGNORE_EXISTS=true
|
|
469
|
+
else
|
|
470
|
+
echo "📄 Creating new .gitignore"
|
|
471
|
+
GITIGNORE_EXISTS=false
|
|
472
|
+
fi
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
**Step 2: Select base patterns**
|
|
441
476
|
|
|
442
477
|
- If React + Vite → Base + Vite patterns
|
|
443
478
|
- If Next.js → Base + Next.js patterns
|
|
444
479
|
- If Angular → Base + Angular patterns
|
|
445
480
|
- If Vue + Vite → Base + Vite patterns
|
|
446
481
|
- If Nuxt → Base + Nuxt patterns
|
|
482
|
+
- **Always include AI Flow rules** (.ai-flow/cache/, .ai-flow/work/)
|
|
483
|
+
|
|
484
|
+
**Step 3: Merge or Create**
|
|
485
|
+
|
|
486
|
+
**If .gitignore exists (Existing Project):**
|
|
487
|
+
|
|
488
|
+
```bash
|
|
489
|
+
# Check if AI Flow rules already present
|
|
490
|
+
if grep -q ".ai-flow/cache/" .gitignore; then
|
|
491
|
+
echo "✅ AI Flow rules already configured"
|
|
492
|
+
else
|
|
493
|
+
echo "" >> .gitignore
|
|
494
|
+
echo "# ============================================================" >> .gitignore
|
|
495
|
+
echo "# AI Flow - Workspace Management" >> .gitignore
|
|
496
|
+
echo "# ============================================================" >> .gitignore
|
|
497
|
+
echo "# Ignore temporary cache (regenerable)" >> .gitignore
|
|
498
|
+
echo ".ai-flow/cache/" >> .gitignore
|
|
499
|
+
echo "" >> .gitignore
|
|
500
|
+
echo "# Ignore work-in-progress state (personal, deleted on completion)" >> .gitignore
|
|
501
|
+
echo ".ai-flow/work/" >> .gitignore
|
|
502
|
+
echo "" >> .gitignore
|
|
503
|
+
echo "# COMMIT .ai-flow/archive/ by default (contains team metrics)" >> .gitignore
|
|
504
|
+
echo "# ============================================================" >> .gitignore
|
|
505
|
+
|
|
506
|
+
echo "✅ Added AI Flow rules to existing .gitignore"
|
|
507
|
+
fi
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
**If .gitignore does NOT exist (New Project):**
|
|
511
|
+
|
|
512
|
+
```bash
|
|
513
|
+
# Create complete .gitignore with all patterns
|
|
514
|
+
cat > .gitignore << 'EOF'
|
|
515
|
+
[Insert complete template based on framework]
|
|
516
|
+
EOF
|
|
517
|
+
|
|
518
|
+
echo "✅ Created new .gitignore"
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
**Output Summary:**
|
|
447
522
|
|
|
448
523
|
```
|
|
449
|
-
✅
|
|
450
|
-
|
|
524
|
+
✅ .gitignore configured successfully!
|
|
525
|
+
Base patterns: [Framework] + [Bundler]
|
|
526
|
+
AI Flow rules: ✅ Added (.ai-flow/cache/, .ai-flow/work/)
|
|
527
|
+
Status: [Created new | Updated existing]
|
|
451
528
|
```
|
|
529
|
+
|
|
452
530
|
---
|
|
531
|
+
|
|
453
532
|
## 8.4: Generate AGENT.md (Master Index)
|
|
454
533
|
|
|
455
534
|
- **Template:** `.ai-flow/templates/AGENT.template.md`
|
|
@@ -534,7 +613,9 @@ dist/
|
|
|
534
613
|
```
|
|
535
614
|
✅ Generated: .ai-flow/AGENT.md (Master Index)
|
|
536
615
|
```
|
|
616
|
+
|
|
537
617
|
---
|
|
618
|
+
|
|
538
619
|
## 8.5: Generate README.md (Intelligent Merge)
|
|
539
620
|
|
|
540
621
|
- **Template:** `.ai-flow/templates/README.template.md`
|
|
@@ -574,7 +655,9 @@ dist/
|
|
|
574
655
|
✅ Generated: .ai-flow/README.md
|
|
575
656
|
[If merged] Merged with framework's setup instructions
|
|
576
657
|
```
|
|
658
|
+
|
|
577
659
|
---
|
|
660
|
+
|
|
578
661
|
## 8.6: Create Tool-Specific Configs
|
|
579
662
|
|
|
580
663
|
**Based on AI tool selection from Phase 3:**
|
|
@@ -687,7 +770,9 @@ Master index: `.ai-flow/AGENT.md`
|
|
|
687
770
|
✅ Generated tool-specific configs:
|
|
688
771
|
[List generated files based on selection]
|
|
689
772
|
```
|
|
773
|
+
|
|
690
774
|
---
|
|
775
|
+
|
|
691
776
|
## 8.7: Final Validation & Success Message
|
|
692
777
|
|
|
693
778
|
```
|
|
@@ -801,7 +886,9 @@ Your AI assistant (Claude, Cursor, Copilot) will now:
|
|
|
801
886
|
|
|
802
887
|
Happy building! 🎉
|
|
803
888
|
```
|
|
889
|
+
|
|
804
890
|
---
|
|
891
|
+
|
|
805
892
|
## EXECUTION CHECKLIST FOR AI ASSISTANT
|
|
806
893
|
|
|
807
894
|
When executing Phase 8:
|
|
@@ -856,8 +943,8 @@ When executing Phase 8:
|
|
|
856
943
|
- [ ] Validate file references
|
|
857
944
|
- [ ] Show success message
|
|
858
945
|
|
|
859
|
-
**ESTIMATED TIME:** 10-15 minutes
|
|
860
|
-
|
|
946
|
+
## **ESTIMATED TIME:** 10-15 minutes
|
|
947
|
+
|
|
861
948
|
**Next Phase:** Phase 9 - Project Roadmap (Post-Documentation)
|
|
862
949
|
|
|
863
950
|
Read: `.ai-flow/prompts/frontend/flow-build-phase-9.md`
|
|
@@ -866,7 +953,3 @@ Read: `.ai-flow/prompts/frontend/flow-build-phase-9.md`
|
|
|
866
953
|
|
|
867
954
|
**Last Updated:** 2025-12-21
|
|
868
955
|
**Version:** 2.1.9
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|