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
|
@@ -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
|
```
|
|
@@ -55,9 +51,7 @@ Found:
|
|
|
55
51
|
|
|
56
52
|
Recommendation: [Next action based on state]
|
|
57
53
|
```
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
54
|
+
---
|
|
61
55
|
## 8.2: Framework Initialization (Optional)
|
|
62
56
|
|
|
63
57
|
**Only if:** Project state = "New Project"
|
|
@@ -222,9 +216,7 @@ You can initialize manually later with:
|
|
|
222
216
|
|
|
223
217
|
Proceeding to documentation generation...
|
|
224
218
|
```
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
219
|
+
---
|
|
228
220
|
## 8.3: Generate Final Documentation
|
|
229
221
|
|
|
230
222
|
```
|
|
@@ -305,9 +297,7 @@ Generating...
|
|
|
305
297
|
```
|
|
306
298
|
โ
Generated: docs/contributing.md
|
|
307
299
|
```
|
|
308
|
-
|
|
309
|
-
---
|
|
310
|
-
|
|
300
|
+
---
|
|
311
301
|
## 8.3.4: Generate .gitignore
|
|
312
302
|
|
|
313
303
|
**IMPORTANT:** Generate a comprehensive `.gitignore` file based on the framework, bundler, and tools selected in previous phases.
|
|
@@ -454,9 +444,7 @@ dist/
|
|
|
454
444
|
โ
Generated: .gitignore
|
|
455
445
|
Patterns included: [Framework] + [Bundler] + Base JavaScript patterns
|
|
456
446
|
```
|
|
457
|
-
|
|
458
|
-
---
|
|
459
|
-
|
|
447
|
+
---
|
|
460
448
|
## 8.4: Generate AGENT.md (Master Index)
|
|
461
449
|
|
|
462
450
|
- **Template:** `.ai-flow/templates/AGENT.template.md`
|
|
@@ -541,9 +529,7 @@ dist/
|
|
|
541
529
|
```
|
|
542
530
|
โ
Generated: .ai-flow/AGENT.md (Master Index)
|
|
543
531
|
```
|
|
544
|
-
|
|
545
|
-
---
|
|
546
|
-
|
|
532
|
+
---
|
|
547
533
|
## 8.5: Generate README.md (Intelligent Merge)
|
|
548
534
|
|
|
549
535
|
- **Template:** `.ai-flow/templates/README.template.md`
|
|
@@ -583,9 +569,7 @@ dist/
|
|
|
583
569
|
โ
Generated: .ai-flow/README.md
|
|
584
570
|
[If merged] Merged with framework's setup instructions
|
|
585
571
|
```
|
|
586
|
-
|
|
587
|
-
---
|
|
588
|
-
|
|
572
|
+
---
|
|
589
573
|
## 8.6: Create Tool-Specific Configs
|
|
590
574
|
|
|
591
575
|
**Based on AI tool selection from Phase 3:**
|
|
@@ -698,9 +682,7 @@ Master index: `.ai-flow/AGENT.md`
|
|
|
698
682
|
โ
Generated tool-specific configs:
|
|
699
683
|
[List generated files based on selection]
|
|
700
684
|
```
|
|
701
|
-
|
|
702
|
-
---
|
|
703
|
-
|
|
685
|
+
---
|
|
704
686
|
## 8.7: Final Validation & Success Message
|
|
705
687
|
|
|
706
688
|
```
|
|
@@ -759,9 +741,7 @@ Phase 8:
|
|
|
759
741
|
|
|
760
742
|
Tool-specific configs:
|
|
761
743
|
โ
[List generated configs]
|
|
762
|
-
|
|
763
|
-
---
|
|
764
|
-
|
|
744
|
+
---
|
|
765
745
|
๐ Project Structure:
|
|
766
746
|
|
|
767
747
|
your-project/
|
|
@@ -787,9 +767,7 @@ your-project/
|
|
|
787
767
|
โโโ .env.example
|
|
788
768
|
โโโ .gitignore
|
|
789
769
|
โโโ [tool configs] # .clauderules, .cursorrules, etc.
|
|
790
|
-
|
|
791
|
-
---
|
|
792
|
-
|
|
770
|
+
---
|
|
793
771
|
Next steps:
|
|
794
772
|
|
|
795
773
|
1. โญ **Read `.ai-flow/AGENT.md`** - Master index of all documentation
|
|
@@ -801,9 +779,7 @@ Next steps:
|
|
|
801
779
|
4. ๐ **Install dependencies** - Run: `npm install` / `yarn install`
|
|
802
780
|
5. ๐พ **Initialize git** (if not done) - `git init && git add . && git commit -m "Initial commit with AI Flow docs"`
|
|
803
781
|
6. ๐งช **Start developing!** - Your AI assistant now has complete project context
|
|
804
|
-
|
|
805
|
-
---
|
|
806
|
-
|
|
782
|
+
---
|
|
807
783
|
๐ก **Remember:**
|
|
808
784
|
- Documents are **living artifacts** - update them as project evolves
|
|
809
785
|
- All AI assistants will reference these docs for future work
|
|
@@ -820,9 +796,7 @@ Your AI assistant (Claude, Cursor, Copilot) will now:
|
|
|
820
796
|
|
|
821
797
|
Happy building! ๐
|
|
822
798
|
```
|
|
823
|
-
|
|
824
|
-
---
|
|
825
|
-
|
|
799
|
+
---
|
|
826
800
|
## EXECUTION CHECKLIST FOR AI ASSISTANT
|
|
827
801
|
|
|
828
802
|
When executing Phase 8:
|
|
@@ -878,9 +852,10 @@ When executing Phase 8:
|
|
|
878
852
|
- [ ] Show success message
|
|
879
853
|
|
|
880
854
|
**ESTIMATED TIME:** 10-15 minutes
|
|
881
|
-
|
|
882
|
-
---
|
|
883
|
-
|
|
855
|
+
---
|
|
884
856
|
**CONTINUE TO:** End (Phase 8 is final phase)
|
|
885
857
|
|
|
886
858
|
**SUCCESS:** Project fully documented and ready for development! ๐
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|