ai-flow-dev 2.1.3 → 2.1.4
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## PHASE 7: Operations & Deployment (10 min)
|
|
2
2
|
|
|
3
|
-
> **Order for this phase:** 7.1 → 7.2 → 7.3 → 7.4 → 7.5 → 7.6 → 7.7 → 7.8 → 7.9 → 7.10 → 7.11
|
|
3
|
+
> **Order for this phase:** 7.1 → 7.2 → 7.3 → 7.4 → 7.4.1 → 7.5 → 7.6 → 7.7 → 7.7.1 → 7.7.2 → 7.8 → 7.9 → 7.9.1 → 7.9.2 → 7.9.3 → 7.9.4 → 7.10 → 7.11
|
|
4
4
|
|
|
5
5
|
> **📌 Scope-based behavior:**
|
|
6
6
|
>
|
|
@@ -149,26 +149,46 @@ C) Manual deploy for all environments
|
|
|
149
149
|
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
**7.4.1 Deployment Strategy**
|
|
152
|
+
**7.4.1 Deployment Strategy** (Production-Ready and Enterprise only)
|
|
153
153
|
|
|
154
154
|
```
|
|
155
|
-
What deployment strategy will you use?
|
|
155
|
+
What deployment strategy will you use for production?
|
|
156
156
|
|
|
157
|
-
A) ⭐
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
A) ⭐ Rolling Deployment - Gradual replacement
|
|
158
|
+
- Replace instances one at a time
|
|
159
|
+
- Zero downtime
|
|
160
|
+
- Easy rollback
|
|
161
|
+
|
|
162
|
+
B) 🔥 Blue-Green Deployment - Instant switch
|
|
163
|
+
- Two identical environments
|
|
164
|
+
- Switch traffic instantly
|
|
165
|
+
- Higher infrastructure cost
|
|
166
|
+
|
|
167
|
+
C) ⚡ Canary Deployment - Progressive rollout
|
|
168
|
+
- Deploy to small percentage first
|
|
169
|
+
- Monitor for issues
|
|
170
|
+
- Gradually increase traffic
|
|
171
|
+
|
|
172
|
+
D) 🏆 Feature Flags - Code-level control
|
|
173
|
+
- Deploy code, toggle features
|
|
174
|
+
- Instant enable/disable
|
|
175
|
+
- Best with: LaunchDarkly, Unleash
|
|
176
|
+
|
|
177
|
+
Your choice: __
|
|
178
|
+
|
|
179
|
+
Rollback plan:
|
|
180
|
+
- How quickly must rollback complete? __ minutes
|
|
181
|
+
- Who can trigger rollback? [DevOps/Tech Lead/Any developer]
|
|
182
|
+
- Rollback trigger criteria? [Error rate > X%, latency > Y ms, manual]
|
|
161
183
|
|
|
162
184
|
If Blue-Green:
|
|
163
185
|
- Traffic switching: [Load balancer, DNS, etc.]
|
|
164
|
-
- Rollback: [Instant switch back to blue]
|
|
165
186
|
- Database migrations: [Strategy for zero-downtime]
|
|
166
187
|
|
|
167
188
|
If Canary:
|
|
168
189
|
- Initial traffic: __%
|
|
169
190
|
- Gradual increase: __% per __ minutes
|
|
170
191
|
- Success criteria: __
|
|
171
|
-
- Rollback trigger: __
|
|
172
192
|
```
|
|
173
193
|
|
|
174
194
|
**7.5 Monitoring & Logging**
|
|
@@ -454,6 +474,88 @@ Services to protect:
|
|
|
454
474
|
{{/EACH}}
|
|
455
475
|
```
|
|
456
476
|
|
|
477
|
+
**7.9.3 Retry & Timeout Policies**
|
|
478
|
+
|
|
479
|
+
```
|
|
480
|
+
Define retry and timeout policies for external dependencies:
|
|
481
|
+
|
|
482
|
+
| Service/Dependency | Timeout | Retries | Backoff Strategy | Notes |
|
|
483
|
+
|--------------------|-----------|---------|----------------------|----------------------|
|
|
484
|
+
| Database queries | 5000ms | 2 | None (fail fast) | Connection pooled |
|
|
485
|
+
| Redis cache | 1000ms | 1 | None | Cache miss = OK |
|
|
486
|
+
| Payment API | 30000ms | 3 | Exponential (1s,2s,4s)| Must complete |
|
|
487
|
+
| Email service | 5000ms | 3 | Fixed (2s) | Queue if fails |
|
|
488
|
+
| External REST APIs | 10000ms | 2 | Exponential | Circuit breaker |
|
|
489
|
+
| File storage (S3) | 15000ms | 3 | Exponential | Large files |
|
|
490
|
+
|
|
491
|
+
Your policies:
|
|
492
|
+
|
|
493
|
+
| Service/Dependency | Timeout | Retries | Backoff Strategy | Notes |
|
|
494
|
+
|--------------------|-----------|---------|----------------------|----------------------|
|
|
495
|
+
| | | | | |
|
|
496
|
+
| | | | | |
|
|
497
|
+
|
|
498
|
+
Global defaults:
|
|
499
|
+
- Default HTTP timeout: __ ms (recommended: 10000)
|
|
500
|
+
- Default retries: __ (recommended: 2)
|
|
501
|
+
- Default backoff: [None/Fixed/Exponential]
|
|
502
|
+
|
|
503
|
+
Non-retryable errors:
|
|
504
|
+
- 400 Bad Request (client error, won't succeed on retry)
|
|
505
|
+
- 401/403 Unauthorized/Forbidden
|
|
506
|
+
- 404 Not Found
|
|
507
|
+
- [Your additions]
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
**7.9.4 Request/Response Logging & Masking**
|
|
511
|
+
|
|
512
|
+
```
|
|
513
|
+
What request/response data will you log?
|
|
514
|
+
|
|
515
|
+
Log levels by environment:
|
|
516
|
+
| Environment | Level | Body Logging | Performance Logging |
|
|
517
|
+
|-------------|----------|--------------|---------------------|
|
|
518
|
+
| Development | debug | Full | Yes |
|
|
519
|
+
| Staging | info | Truncated | Yes |
|
|
520
|
+
| Production | info | Minimal | Yes |
|
|
521
|
+
|
|
522
|
+
Request logging:
|
|
523
|
+
- ✅ HTTP method and URL
|
|
524
|
+
- ✅ Request ID (correlation)
|
|
525
|
+
- ✅ User ID (if authenticated)
|
|
526
|
+
- ✅ IP address (optional, may hash for privacy)
|
|
527
|
+
- ✅ Request duration (ms)
|
|
528
|
+
- ❓ Request body (careful with size and PII)
|
|
529
|
+
- ❓ Query parameters
|
|
530
|
+
|
|
531
|
+
Response logging:
|
|
532
|
+
- ✅ Status code
|
|
533
|
+
- ✅ Response duration (ms)
|
|
534
|
+
- ❓ Response body (careful with size)
|
|
535
|
+
|
|
536
|
+
Sensitive data masking (CRITICAL):
|
|
537
|
+
|
|
538
|
+
| Field Pattern | Masking Strategy |
|
|
539
|
+
|------------------------|----------------------------|
|
|
540
|
+
| password, secret | Completely redact |
|
|
541
|
+
| token, api_key | Show last 4 chars only |
|
|
542
|
+
| email | j***@example.com |
|
|
543
|
+
| phone | ***-***-1234 |
|
|
544
|
+
| credit_card | ****-****-****-1234 |
|
|
545
|
+
| ssn, national_id | Completely redact |
|
|
546
|
+
| [Your patterns] | __ |
|
|
547
|
+
|
|
548
|
+
Log format:
|
|
549
|
+
A) ⭐ Structured JSON (recommended for aggregation)
|
|
550
|
+
B) Plain text with patterns
|
|
551
|
+
C) Framework default
|
|
552
|
+
|
|
553
|
+
Log aggregation:
|
|
554
|
+
A) ⭐ Centralized (ELK, Datadog, CloudWatch)
|
|
555
|
+
B) File-based with rotation
|
|
556
|
+
C) Console only (development)
|
|
557
|
+
```
|
|
558
|
+
|
|
457
559
|
**7.10 Documentation & Runbooks**
|
|
458
560
|
|
|
459
561
|
```
|
|
@@ -507,9 +609,7 @@ C) 📄 Manual
|
|
|
507
609
|
|
|
508
610
|
#### 🎨 MERMAID OPERATIONS DIAGRAM FORMATS - CRITICAL
|
|
509
611
|
|
|
510
|
-
**Use these exact formats** for operational and infrastructure diagrams mentioned in question 7.10:
|
|
511
|
-
|
|
512
|
-
---
|
|
612
|
+
## **Use these exact formats** for operational and infrastructure diagrams mentioned in question 7.10:
|
|
513
613
|
|
|
514
614
|
##### 1️⃣ System Architecture Diagram (Deployment View)
|
|
515
615
|
|
|
@@ -575,9 +675,7 @@ graph TD
|
|
|
575
675
|
```
|
|
576
676
|
````
|
|
577
677
|
|
|
578
|
-
**Use for:** Showing deployed infrastructure, scaling configuration, redundancy, high availability
|
|
579
|
-
|
|
580
|
-
---
|
|
678
|
+
## **Use for:** Showing deployed infrastructure, scaling configuration, redundancy, high availability
|
|
581
679
|
|
|
582
680
|
##### 2️⃣ Data Flow Diagram (Request Flow)
|
|
583
681
|
|
|
@@ -612,9 +710,7 @@ flowchart LR
|
|
|
612
710
|
```
|
|
613
711
|
````
|
|
614
712
|
|
|
615
|
-
**Use for:** Documenting request/response cycles, async processing flows, numbered execution steps
|
|
616
|
-
|
|
617
|
-
---
|
|
713
|
+
## **Use for:** Documenting request/response cycles, async processing flows, numbered execution steps
|
|
618
714
|
|
|
619
715
|
##### 3️⃣ Infrastructure Diagram (Cloud Resources)
|
|
620
716
|
|
|
@@ -685,9 +781,7 @@ graph TB
|
|
|
685
781
|
```
|
|
686
782
|
````
|
|
687
783
|
|
|
688
|
-
**Use for:** Documenting cloud architecture, network topology, AWS/GCP/Azure resources, VPC design
|
|
689
|
-
|
|
690
|
-
---
|
|
784
|
+
## **Use for:** Documenting cloud architecture, network topology, AWS/GCP/Azure resources, VPC design
|
|
691
785
|
|
|
692
786
|
##### 4️⃣ Monitoring & Observability Diagram (Optional)
|
|
693
787
|
|
|
@@ -744,9 +838,7 @@ graph TD
|
|
|
744
838
|
```
|
|
745
839
|
````
|
|
746
840
|
|
|
747
|
-
**Use for:** Documenting observability strategy, monitoring infrastructure, alerting workflows
|
|
748
|
-
|
|
749
|
-
---
|
|
841
|
+
## **Use for:** Documenting observability strategy, monitoring infrastructure, alerting workflows
|
|
750
842
|
|
|
751
843
|
**Best Practices for Operations Diagrams:**
|
|
752
844
|
|
|
@@ -775,9 +867,7 @@ graph TD
|
|
|
775
867
|
- For Serverless: Show Lambda functions, API Gateway, S3 triggers, event sources
|
|
776
868
|
- For VMs: Show instances, security groups, load balancers, auto-scaling groups
|
|
777
869
|
|
|
778
|
-
**Validation:** Test diagrams at https://mermaid.live/ before saving to ensure syntax is correct
|
|
779
|
-
|
|
780
|
-
---
|
|
870
|
+
## **Validation:** Test diagrams at https://mermaid.live/ before saving to ensure syntax is correct
|
|
781
871
|
|
|
782
872
|
### Phase 7 Output
|
|
783
873
|
|
|
@@ -853,9 +943,7 @@ Re-read files to refresh context before continuing.
|
|
|
853
943
|
|
|
854
944
|
---
|
|
855
945
|
|
|
856
|
-
**Proceed to final generation only after documents are validated.**
|
|
857
|
-
|
|
858
|
-
---
|
|
946
|
+
## **Proceed to final generation only after documents are validated.**
|
|
859
947
|
|
|
860
948
|
## FINAL STEP: Generate Remaining Documents & Tool Configs
|
|
861
949
|
|
|
@@ -892,9 +980,7 @@ When you're done, type "ready" and I'll re-read ALL documents
|
|
|
892
980
|
to ensure the final generation uses the most up-to-date information.
|
|
893
981
|
```
|
|
894
982
|
|
|
895
|
-
Then execute `read_file()` for ALL previously generated documents.
|
|
896
|
-
|
|
897
|
-
---
|
|
983
|
+
## Then execute `read_file()` for ALL previously generated documents.
|
|
898
984
|
|
|
899
985
|
### 📖 Loading Complete Context for Final Generation
|
|
900
986
|
|
|
@@ -953,9 +1039,7 @@ Phase 7:
|
|
|
953
1039
|
✅ docs/operations.md
|
|
954
1040
|
✅ specs/configuration.md
|
|
955
1041
|
✅ .env.example
|
|
956
|
-
|
|
957
1042
|
---
|
|
958
|
-
|
|
959
1043
|
📊 Progress Summary:
|
|
960
1044
|
|
|
961
1045
|
Phases 1-7 completed:
|
|
@@ -972,9 +1056,7 @@ Phases 1-7 completed:
|
|
|
972
1056
|
|
|
973
1057
|
Remaining:
|
|
974
1058
|
⏭️ Phase 8: Project setup & final documentation
|
|
975
|
-
|
|
976
1059
|
---
|
|
977
|
-
|
|
978
1060
|
🎯 Next: Phase 8 - Project Setup & Final Documentation
|
|
979
1061
|
|
|
980
1062
|
Phase 8 will:
|
|
@@ -1112,9 +1194,7 @@ When executing this master prompt:
|
|
|
1112
1194
|
- Phases 1-7: 30-60 min (only missing questions)
|
|
1113
1195
|
- **Total: 40-80 minutes** (40-60% time saved!)
|
|
1114
1196
|
|
|
1115
|
-
This is an investment that will save 10-20 hours over the project lifecycle.
|
|
1116
|
-
|
|
1117
|
-
---
|
|
1197
|
+
## This is an investment that will save 10-20 hours over the project lifecycle.
|
|
1118
1198
|
|
|
1119
1199
|
**EXECUTION FLOW:**
|
|
1120
1200
|
|
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|
**Duration:** 10-15 minutes
|
|
6
6
|
|
|
7
7
|
**Goal:** Set up the project structure and create comprehensive documentation that consolidates all information from previous phases.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
8
|
+
---
|
|
11
9
|
## 📋 Phase 8 Overview
|
|
12
10
|
|
|
13
11
|
This final phase will:
|
|
@@ -18,9 +16,7 @@ This final phase will:
|
|
|
18
16
|
4. **Generate master index** (AGENT.md)
|
|
19
17
|
5. **Generate README.md** (with intelligent merge if needed)
|
|
20
18
|
6. **Create tool-specific configs** (based on AI tool selection)
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
19
|
+
---
|
|
24
20
|
## 8.1: Project State Detection
|
|
25
21
|
|
|
26
22
|
> ⚠️ **PRE-REQUISITE CHECK:** Before proceeding, verify that README.md does NOT exist yet (unless it's a framework-generated one from previous initialization). If README.md exists and was NOT generated by a framework, this indicates an error in previous phases.
|
|
@@ -57,9 +53,7 @@ Found:
|
|
|
57
53
|
|
|
58
54
|
Recommendation: [Next action based on state]
|
|
59
55
|
```
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
56
|
+
---
|
|
63
57
|
## 8.2: Framework Initialization (Optional)
|
|
64
58
|
|
|
65
59
|
**Only if:** Project state = "New Project"
|
|
@@ -471,9 +465,7 @@ Next steps:
|
|
|
471
465
|
- ✅ **ONLY** create .env.example, .gitignore, docker-compose (optional), ORM init
|
|
472
466
|
- ✅ **LET** framework CLI handle structure, configs, dependencies
|
|
473
467
|
- ✅ **REFER** to official docs for starter code when needed
|
|
474
|
-
|
|
475
|
-
---
|
|
476
|
-
|
|
468
|
+
---
|
|
477
469
|
## 8.2.7: Generate .gitignore (Always)
|
|
478
470
|
|
|
479
471
|
**IMPORTANT:** This step runs for ALL projects, regardless of framework initialization choice.
|
|
@@ -627,9 +619,7 @@ docker-compose.override.yml
|
|
|
627
619
|
✅ Generated: .gitignore
|
|
628
620
|
Patterns included: [Node.js | Python | Go] + [Prisma] + [Docker]
|
|
629
621
|
```
|
|
630
|
-
|
|
631
|
-
---
|
|
632
|
-
|
|
622
|
+
---
|
|
633
623
|
## 8.3: Generate Final Documentation
|
|
634
624
|
|
|
635
625
|
```
|
|
@@ -696,9 +686,7 @@ Generating...
|
|
|
696
686
|
```
|
|
697
687
|
✅ Generated: docs/business-flows.md
|
|
698
688
|
```
|
|
699
|
-
|
|
700
|
-
---
|
|
701
|
-
|
|
689
|
+
---
|
|
702
690
|
### 8.3.2: Generate docs/api.md
|
|
703
691
|
|
|
704
692
|
- **Template:** `.ai-flow/templates/docs/api.template.md`
|
|
@@ -780,9 +768,7 @@ We use [workflow from Phase 5]
|
|
|
780
768
|
```
|
|
781
769
|
✅ Generated: docs/contributing.md
|
|
782
770
|
```
|
|
783
|
-
|
|
784
|
-
---
|
|
785
|
-
|
|
771
|
+
---
|
|
786
772
|
## 8.4: Generate AGENT.md (Master Index)
|
|
787
773
|
|
|
788
774
|
- **Template:** `.ai-flow/templates/AGENT.template.md`
|
|
@@ -843,9 +829,7 @@ We use [workflow from Phase 5]
|
|
|
843
829
|
|
|
844
830
|
[From operations.md and contributing.md]
|
|
845
831
|
```
|
|
846
|
-
|
|
847
|
-
---
|
|
848
|
-
|
|
832
|
+
---
|
|
849
833
|
## 8.5: Generate README.md (Intelligent Merge)
|
|
850
834
|
|
|
851
835
|
- **Template:** `.ai-flow/templates/README.template.md`
|
|
@@ -938,9 +922,7 @@ The API will be available at `http://localhost:3000`
|
|
|
938
922
|
✅ Generated: .ai-flow/README.md
|
|
939
923
|
[If merged] Merged with framework's setup instructions
|
|
940
924
|
```
|
|
941
|
-
|
|
942
|
-
---
|
|
943
|
-
|
|
925
|
+
---
|
|
944
926
|
## 8.6: Generate AGENT.md (Master Index)
|
|
945
927
|
|
|
946
928
|
**CRITICAL:** Before generating AGENT.md, re-read ALL previously generated documents to have complete context.
|
|
@@ -973,9 +955,7 @@ Now generate AGENT.md with complete information from all documents.
|
|
|
973
955
|
```
|
|
974
956
|
✅ Generated: .ai-flow/AGENT.md (Master Index)
|
|
975
957
|
```
|
|
976
|
-
|
|
977
|
-
---
|
|
978
|
-
|
|
958
|
+
---
|
|
979
959
|
## 8.7: Create Tool-Specific Configs
|
|
980
960
|
|
|
981
961
|
**Based on AI tool selection from Phase 3 (question 3.8):**
|
|
@@ -1093,9 +1073,7 @@ Master index: `.ai-flow/AGENT.md`
|
|
|
1093
1073
|
✅ Generated tool-specific configs:
|
|
1094
1074
|
[List generated files based on selection]
|
|
1095
1075
|
```
|
|
1096
|
-
|
|
1097
|
-
---
|
|
1098
|
-
|
|
1076
|
+
---
|
|
1099
1077
|
## 8.8: Final Validation & Success Message
|
|
1100
1078
|
|
|
1101
1079
|
```
|
|
@@ -1156,9 +1134,7 @@ Phase 8:
|
|
|
1156
1134
|
|
|
1157
1135
|
Tool-specific configs:
|
|
1158
1136
|
✅ [List generated configs: .clauderules, .cursorrules, .github/copilot-instructions.md]
|
|
1159
|
-
|
|
1160
|
-
---
|
|
1161
|
-
|
|
1137
|
+
---
|
|
1162
1138
|
📁 Project Structure:
|
|
1163
1139
|
```
|
|
1164
1140
|
|
|
@@ -1187,9 +1163,7 @@ your-project/
|
|
|
1187
1163
|
└── [tool configs] # .clauderules, .cursorrules, etc.
|
|
1188
1164
|
|
|
1189
1165
|
````
|
|
1190
|
-
|
|
1191
|
-
---
|
|
1192
|
-
|
|
1166
|
+
---
|
|
1193
1167
|
Next steps:
|
|
1194
1168
|
|
|
1195
1169
|
1. ⭐ **Read `.ai-flow/AGENT.md`** - Master index of all documentation
|
|
@@ -1201,9 +1175,7 @@ Next steps:
|
|
|
1201
1175
|
5. 🚀 **Install dependencies** - Run: `[show command from Phase 7]`
|
|
1202
1176
|
6. 💾 **Initialize git** (if not done) - `git init && git add . && git commit -m "Initial commit with AI Flow docs"`
|
|
1203
1177
|
7. 🧪 **Start building!** - Your AI assistant now has complete project context
|
|
1204
|
-
|
|
1205
|
-
---
|
|
1206
|
-
|
|
1178
|
+
---
|
|
1207
1179
|
💡 **Remember:**
|
|
1208
1180
|
|
|
1209
1181
|
- Documents are **living artifacts** - update them as project evolves
|
|
@@ -1223,9 +1195,7 @@ Your AI assistant (Claude, Cursor, Copilot) will now:
|
|
|
1223
1195
|
Happy building! 🎉
|
|
1224
1196
|
|
|
1225
1197
|
```
|
|
1226
|
-
|
|
1227
|
-
---
|
|
1228
|
-
|
|
1198
|
+
---
|
|
1229
1199
|
## EXECUTION CHECKLIST FOR AI ASSISTANT
|
|
1230
1200
|
|
|
1231
1201
|
When executing Phase 8:
|
|
@@ -1308,26 +1278,20 @@ When executing Phase 8:
|
|
|
1308
1278
|
- 8.6: Tool configs - 1 min
|
|
1309
1279
|
- 8.7: Validation - 1 min
|
|
1310
1280
|
- **Total: 10-15 minutes**
|
|
1311
|
-
|
|
1312
|
-
---
|
|
1313
|
-
|
|
1281
|
+
---
|
|
1314
1282
|
**FINAL STEP: Offer Phase 9 (Implementation Roadmap)**
|
|
1315
1283
|
|
|
1316
1284
|
```
|
|
1317
|
-
|
|
1318
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
1285
|
+
---
|
|
1319
1286
|
✅ PHASE 8 COMPLETE: PROJECT READY FOR DEVELOPMENT
|
|
1320
|
-
|
|
1321
|
-
|
|
1287
|
+
---
|
|
1322
1288
|
🎯 All documentation generated and validated!
|
|
1323
1289
|
📁 Project initialized and ready
|
|
1324
1290
|
📖 AGENT.md and README.md created
|
|
1325
1291
|
⚙️ AI tool configurations in place
|
|
1326
|
-
|
|
1327
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
1292
|
+
---
|
|
1328
1293
|
🗺️ Optional: Generate Implementation Roadmap?
|
|
1329
|
-
|
|
1330
|
-
|
|
1294
|
+
---
|
|
1331
1295
|
Phase 9 will analyze all your documentation and generate a complete
|
|
1332
1296
|
implementation roadmap with:
|
|
1333
1297
|
|
|
@@ -1360,11 +1324,9 @@ Your choice (A/B): \_\_
|
|
|
1360
1324
|
**If choice B:** Show completion message:
|
|
1361
1325
|
|
|
1362
1326
|
```
|
|
1363
|
-
|
|
1364
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
1327
|
+
---
|
|
1365
1328
|
✅ DOCUMENTATION COMPLETE - READY TO BUILD
|
|
1366
|
-
|
|
1367
|
-
|
|
1329
|
+
---
|
|
1368
1330
|
Your project is fully documented and initialized! 🎉
|
|
1369
1331
|
|
|
1370
1332
|
📖 Next steps:
|
|
@@ -1374,13 +1336,14 @@ Your project is fully documented and initialized! 🎉
|
|
|
1374
1336
|
3. Generate roadmap anytime by asking "Continue to Phase 9"
|
|
1375
1337
|
|
|
1376
1338
|
Happy coding! 🚀
|
|
1377
|
-
|
|
1378
|
-
|
|
1339
|
+
---
|
|
1379
1340
|
```
|
|
1380
|
-
|
|
1381
|
-
---
|
|
1382
|
-
|
|
1341
|
+
---
|
|
1383
1342
|
**CONTINUE TO:** Phase 9 (optional) or End
|
|
1384
1343
|
|
|
1385
1344
|
**SUCCESS:** Project fully documented and ready for development! 🚀
|
|
1386
1345
|
```
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|