ai-flow-dev 1.3.0 → 2.0.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 +97 -30
- package/dist/cli.js +94 -110
- 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} +410 -543
- package/prompts/backend/{flow-bootstrap-phase-9.md → flow-build-phase-9.md} +472 -91
- package/prompts/backend/{flow-bootstrap.md → flow-build.md} +212 -140
- package/prompts/backend/flow-dev-feature.md +447 -68
- package/prompts/backend/flow-dev-fix.md +81 -8
- 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/{mobile/AGENT.template.md → AGENT.template.md} +2 -17
- package/templates/backend/.clauderules.template +1 -1
- package/templates/backend/.cursorrules.template +1 -1
- package/templates/shared/AGENT.template.md +0 -252
- /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
|
@@ -514,80 +514,102 @@ Will you integrate with external services?
|
|
|
514
514
|
Select all that apply:
|
|
515
515
|
|
|
516
516
|
💳 Payment Providers:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
517
|
+
A) Stripe - Credit cards, subscriptions ⭐
|
|
518
|
+
B) PayPal - Popular payment method
|
|
519
|
+
C) Square - POS and online payments
|
|
520
|
+
D) Mercado Pago - Latin America
|
|
521
|
+
E) Other: __
|
|
522
|
+
|
|
523
|
+
→ Your selection (e.g., A): __
|
|
522
524
|
|
|
523
525
|
📧 Email Services:
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
526
|
+
A) AWS SES - Cost-effective, scalable ⭐
|
|
527
|
+
B) SendGrid - Feature-rich, analytics
|
|
528
|
+
C) Mailgun - Developer-friendly
|
|
529
|
+
D) Postmark - Transactional focus
|
|
530
|
+
E) Resend - Modern, simple API ⚡
|
|
531
|
+
F) Other: __
|
|
532
|
+
|
|
533
|
+
→ Your selection (e.g., A, B): __
|
|
530
534
|
|
|
531
535
|
📱 SMS/Messaging:
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
+
C) MessageBird - Multi-channel
|
|
537
|
+
D) Other: __
|
|
538
|
+
|
|
539
|
+
→ Your selection (e.g., A): __
|
|
536
540
|
|
|
537
541
|
☁️ Cloud Storage:
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
542
|
+
|
|
543
|
+
D) Cloudflare R2 - S3-compatible, no egress fees ⚡
|
|
544
|
+
E) Other: __
|
|
545
|
+
|
|
546
|
+
→ Your selection (e.g., A): __
|
|
547
|
+
|
|
548
|
+
📊 Analytics: Storage
|
|
549
|
+
D) Cloudflare R2 - S3-compatible, no egress fees ⚡
|
|
550
|
+
E) Other: __
|
|
543
551
|
|
|
544
552
|
📊 Analytics:
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
553
|
+
E) Amplitude - Behavioral analytics
|
|
554
|
+
F) Other: __
|
|
555
|
+
|
|
556
|
+
→ Your selection (e.g., B, C): __
|
|
557
|
+
|
|
558
|
+
🔍 Monitoring/Error Tracking:ytics ⚡
|
|
559
|
+
E) Amplitude - Behavioral analytics
|
|
560
|
+
D) LogRocket - Session replay
|
|
561
|
+
E) Other: __
|
|
562
|
+
|
|
563
|
+
→ Your selection (e.g., A): __
|
|
564
|
+
|
|
565
|
+
🗺️ Maps/Location:tracking ⭐
|
|
566
|
+
B) Datadog - Full observability 🏆
|
|
567
|
+
C) New Relic - APM
|
|
568
|
+
C) OpenStreetMap
|
|
569
|
+
D) Other: __
|
|
570
|
+
|
|
571
|
+
→ Your selection (e.g., A): __
|
|
564
572
|
|
|
565
573
|
🔐 Authentication:
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
574
|
+
A) Google Maps API
|
|
575
|
+
D) Firebase Auth - Google ecosystem
|
|
576
|
+
E) Other: __
|
|
577
|
+
|
|
578
|
+
→ Your selection (e.g., A, B): __
|
|
571
579
|
|
|
572
580
|
🤖 AI/ML Services:
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
📞 Communication
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
581
|
+
🔐 Authentication:
|
|
582
|
+
D) AWS Bedrock - Managed AI
|
|
583
|
+
E) Other: __
|
|
584
|
+
|
|
585
|
+
→ Your selection (e.g., A): __
|
|
586
|
+
|
|
587
|
+
📞 Communication:- Google ecosystem
|
|
588
|
+
E) Other: __
|
|
589
|
+
|
|
590
|
+
C) Webhooks - Custom integrations
|
|
591
|
+
D) Other: __
|
|
592
|
+
|
|
593
|
+
→ Your selection (e.g., A, B): __
|
|
594
|
+
|
|
595
|
+
🔄 Other Integrations:timodal AI
|
|
596
|
+
D) AWS Bedrock - Managed AI
|
|
597
|
+
D) Accounting (QuickBooks, Xero)
|
|
598
|
+
E) Other: __
|
|
599
|
+
|
|
600
|
+
→ Your selection (e.g., A, B, C): __
|
|
601
|
+
|
|
602
|
+
---
|
|
603
|
+
|
|
604
|
+
For each selected, briefly describe the use case:
|
|
605
|
+
D) Other: __
|
|
584
606
|
|
|
585
607
|
🔄 Other Integrations:
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
608
|
+
A) GitHub/GitLab API
|
|
609
|
+
B) Calendar (Google/Outlook)
|
|
610
|
+
C) CRM (Salesforce, HubSpot)
|
|
611
|
+
D) Accounting (QuickBooks, Xero)
|
|
612
|
+
E) Other: __
|
|
591
613
|
|
|
592
614
|
---
|
|
593
615
|
|
|
@@ -681,4 +703,3 @@ Then execute: `read_file()` for both documents to refresh context.
|
|
|
681
703
|
---
|
|
682
704
|
|
|
683
705
|
## PHASE 4: Security & Authentication (15-20 min)
|
|
684
|
-
|
|
@@ -543,14 +543,16 @@ Default log level:
|
|
|
543
543
|
- Production: __
|
|
544
544
|
|
|
545
545
|
Log context to include:
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
546
|
+
A) Request ID (for tracing)
|
|
547
|
+
B) User ID (if authenticated)
|
|
548
|
+
C) IP address
|
|
549
|
+
D) User agent
|
|
550
|
+
E) Request path
|
|
551
|
+
F) Response status
|
|
552
|
+
G) Duration
|
|
553
|
+
H) Error stack traces
|
|
554
|
+
|
|
555
|
+
→ Your selection (e.g., A, B, E, F, G): __
|
|
554
556
|
|
|
555
557
|
Log aggregation tool:
|
|
556
558
|
A) ⭐ CloudWatch (AWS)
|
|
@@ -634,4 +636,3 @@ I'll re-read all files to update my context before continuing.
|
|
|
634
636
|
---
|
|
635
637
|
|
|
636
638
|
## PHASE 6: Testing Strategy (15-25 min)
|
|
637
|
-
|
|
@@ -321,12 +321,14 @@ D) Custom scripts
|
|
|
321
321
|
E) Other: __
|
|
322
322
|
|
|
323
323
|
Chaos experiments to run:
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
324
|
+
A) Network latency injection
|
|
325
|
+
B) Service failures
|
|
326
|
+
C) Database connection failures
|
|
327
|
+
D) CPU/memory exhaustion
|
|
328
|
+
E) Disk space issues
|
|
329
|
+
F) Network partition
|
|
330
|
+
|
|
331
|
+
→ Your selection (e.g., A, B, C): __
|
|
330
332
|
|
|
331
333
|
Safety rules:
|
|
332
334
|
- Run only in: [Staging, Production with approval]
|
|
@@ -462,4 +464,3 @@ I'll re-read all files to update my context before continuing.
|
|
|
462
464
|
|
|
463
465
|
## PHASE 7: Operations & Deployment (10 min)
|
|
464
466
|
````
|
|
465
|
-
|
|
@@ -1043,7 +1043,7 @@ When executing this master prompt:
|
|
|
1043
1043
|
- [ ] If yes, create .ai-flow/analysis.json with complete analysis
|
|
1044
1044
|
- [ ] Let user choose: A) Use detected info, B) Start fresh, C) Review/edit detected info
|
|
1045
1045
|
- [ ] **Handle suggestions:**
|
|
1046
|
-
- [ ] If user selected A (address during
|
|
1046
|
+
- [ ] If user selected A (address during build), integrate suggestions into relevant phases
|
|
1047
1047
|
- [ ] If user selected B (save for later), create suggestions.md file
|
|
1048
1048
|
- [ ] If user selected C (skip), continue without changes
|
|
1049
1049
|
- [ ] Pre-populate answers based on detected information
|
|
@@ -1116,7 +1116,7 @@ This is an investment that will save 10-20 hours over the project lifecycle.
|
|
|
1116
1116
|
|
|
1117
1117
|
**EXECUTION FLOW:**
|
|
1118
1118
|
|
|
1119
|
-
1. **START:** User runs `/flow-
|
|
1119
|
+
1. **START:** User runs `/flow-build`
|
|
1120
1120
|
2. **DETECT:** Check for existing project files (Phase 0)
|
|
1121
1121
|
- If existing files found → Run Phase 0 deep analysis:
|
|
1122
1122
|
- 0.1: Deep Code Analysis (file structure, AST parsing, schema extraction, pattern detection)
|
|
@@ -1132,9 +1132,11 @@ This is an investment that will save 10-20 hours over the project lifecycle.
|
|
|
1132
1132
|
|
|
1133
1133
|
---
|
|
1134
1134
|
|
|
1135
|
-
**BEGIN EXECUTION when user runs `/flow-
|
|
1135
|
+
**BEGIN EXECUTION when user runs `/flow-build`**
|
|
1136
1136
|
|
|
1137
1137
|
```
|
|
1138
1138
|
|
|
1139
1139
|
```
|
|
1140
1140
|
|
|
1141
|
+
|
|
1142
|
+
|