ai-flow-dev 2.1.5 → 2.1.7

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.
@@ -1,9 +1,13 @@
1
+ ---
2
+ description: General Development Task Flow
3
+ ---
4
+
1
5
  # AI Flow - Work Management
2
6
 
3
7
  **YOU ARE AN EXPERT PROJECT MANAGER AND WORKFLOW COORDINATOR.**
4
8
 
5
9
  Your mission is to manage work in progress, resume interrupted work, and archive completed work when the user executes `/work`.
6
- ---
10
+ ---
7
11
  ## Command: `/work`
8
12
 
9
13
  ### Objective
@@ -21,7 +25,7 @@ Manage work in progress efficiently:
21
25
  - **`/work show [name]`** → Show details of specific task
22
26
  - **`/work resume [name]`** → Resume paused work
23
27
  - **`/work archive [name]`** → Archive completed work
24
- ---
28
+ ---
25
29
  ## Workflow: `/work` (List Active Work)
26
30
 
27
31
  ### Step 1: Scan Work Directory
@@ -52,9 +56,9 @@ E) Exit
52
56
  **Example output:**
53
57
 
54
58
  ```
55
- ---
59
+ ---
56
60
  📋 Work Management
57
- ---
61
+ ---
58
62
  Active work in .ai-flow/work/:
59
63
 
60
64
  1. 🚀 feature-notifications
@@ -82,7 +86,7 @@ Active work in .ai-flow/work/:
82
86
  Branch: refactor/auth-cleanup
83
87
  Started: 2025-01-20 11:00
84
88
  Last updated: 2025-01-20 11:05
85
- ---
89
+ ---
86
90
  What would you like to do?
87
91
  A) Show details of a task
88
92
  B) Resume a task
@@ -90,7 +94,7 @@ C) Archive a task
90
94
  D) Clean up (archive all completed)
91
95
  E) Exit
92
96
  ```
93
- ---
97
+ ---
94
98
  ## Workflow: `/work show [name]`
95
99
 
96
100
  ### Step 1: Read Task Files
@@ -125,9 +129,9 @@ C) Back to list
125
129
  **Example output:**
126
130
 
127
131
  ```
128
- ---
132
+ ---
129
133
  📄 Task Details: feature-notifications
130
- ---
134
+ ---
131
135
  **Overview:**
132
136
  Real-time notification system using WebSockets
133
137
 
@@ -171,13 +175,13 @@ Real-time notification system using WebSockets
171
175
  - src/routes/index.ts (registered routes)
172
176
 
173
177
  **Next step:** Update API documentation (task 13/18)
174
- ---
178
+ ---
175
179
  What would you like to do?
176
180
  A) Resume this task
177
181
  B) Archive this task
178
182
  C) Back to list
179
183
  ```
180
- ---
184
+ ---
181
185
  ## Workflow: `/work resume [name]`
182
186
 
183
187
  ### Step 1: Load Complete Context
@@ -235,9 +239,9 @@ git checkout feature/notifications-websocket
235
239
  **Read previous mode from `status.json` and suggest as default:**
236
240
 
237
241
  ```
238
- ---
242
+ ---
239
243
  ⚙️ Resume Implementation Mode
240
- ---
244
+ ---
241
245
  Previous mode: Phase-by-phase
242
246
  Progress: 12/18 tasks (67%)
243
247
  Remaining: 6 tasks (Phase 2: 3 tasks left, Phase 3: 3 tasks)
@@ -267,9 +271,9 @@ Execute based on selected mode:
267
271
  Continue automatically until all tasks complete:
268
272
 
269
273
  ```
270
- ---
274
+ ---
271
275
  ⚙️ Resuming: feature-notifications (Auto Mode)
272
- ---
276
+ ---
273
277
  Loading context...
274
278
  ✅ Read spec.md, plan.md, tasks.md
275
279
  ✅ Analyzed completed code (12/18 tasks done)
@@ -291,9 +295,9 @@ All tasks completed! ✅
291
295
  Continue phase by phase with pauses:
292
296
 
293
297
  ```
294
- ---
298
+ ---
295
299
  ⚙️ Resuming: feature-notifications (Phase-by-phase Mode)
296
- ---
300
+ ---
297
301
  Loading context...
298
302
  ✅ Read spec.md, plan.md, tasks.md
299
303
  ✅ Phase 1 already complete (10/10 tasks)
@@ -304,9 +308,9 @@ Task 2.3: Create EmailService ✅
304
308
  Task 2.4: Implement password hashing ✅
305
309
  ...
306
310
  Task 2.15: Add error handling ✅
307
- ---
311
+ ---
308
312
  ✅ Phase 2 Complete (15/15 tasks)
309
- ---
313
+ ---
310
314
  Continue to Phase 3? (Y/n/pause)
311
315
  > Y
312
316
  ```
@@ -316,9 +320,9 @@ Continue to Phase 3? (Y/n/pause)
316
320
  Ask for confirmation before each task:
317
321
 
318
322
  ```
319
- ---
323
+ ---
320
324
  ⚙️ Resuming: feature-notifications (Task-by-task Mode)
321
- ---
325
+ ---
322
326
  Loading context...
323
327
  ✅ Loaded context (12/18 tasks complete)
324
328
 
@@ -334,9 +338,9 @@ Proceed? (Y/n/skip/pause)
334
338
  Save progress and exit without changes:
335
339
 
336
340
  ```
337
- ---
341
+ ---
338
342
  💾 Progress Saved
339
- ---
343
+ ---
340
344
  Current progress: 12/18 tasks (67%)
341
345
  Status: Paused
342
346
 
@@ -351,7 +355,7 @@ No changes made. To resume: /work resume feature-notifications
351
355
  - Current progress
352
356
  - Last task completed
353
357
  - Reason for pause (if paused)
354
- ---
358
+ ---
355
359
  ## Workflow: `/work archive [name]`
356
360
 
357
361
  ### Step 1: Verify Completion
@@ -442,9 +446,9 @@ Create final summary with:
442
446
  **Example output:**
443
447
 
444
448
  ```
445
- ---
449
+ ---
446
450
  🗄️ Archiving: feature-notifications
447
- ---
451
+ ---
448
452
  ✅ All 18 tasks completed
449
453
  ✅ All tests passed
450
454
  ✅ All changes committed
@@ -456,9 +460,9 @@ Updating documentation...
456
460
  ✅ Updated docs/api.md (added 3 endpoints)
457
461
  ✅ Updated docs/data-model.md (added Notification entity)
458
462
  ✅ Updated .env.example (added REDIS_URL)
459
- ---
463
+ ---
460
464
  📦 Git Summary
461
- ---
465
+ ---
462
466
  Branch: feature/notifications-websocket (from main)
463
467
  Commits: 4
464
468
 
@@ -472,7 +476,7 @@ Tests added: 24
472
476
  All validations passed ✅
473
477
 
474
478
  🚀 Ready to create Pull Request
475
- ---
479
+ ---
476
480
  Suggested PR command:
477
481
 
478
482
  gh pr create \
@@ -484,9 +488,9 @@ Or open in browser:
484
488
  https://github.com/yourorg/yourrepo/compare/main...feature/notifications-websocket
485
489
 
486
490
  ⚠️ Note: PR creation is manual. Review commits before creating PR.
487
- ---
491
+ ---
488
492
  ✅ Archive Complete!
489
- ---
493
+ ---
490
494
  Summary:
491
495
  - Feature: Real-time notifications with WebSockets
492
496
  - 8 files created, 2 modified
@@ -497,7 +501,7 @@ Summary:
497
501
 
498
502
  Archived: .ai-flow/archive/2025-01/feature-notifications/
499
503
  ```
500
- ---
504
+ ---
501
505
  ## Clean Up (Archive All Completed)
502
506
 
503
507
  When user selects "D) Clean up":
@@ -511,9 +515,9 @@ When user selects "D) Clean up":
511
515
  **Example output:**
512
516
 
513
517
  ```
514
- ---
518
+ ---
515
519
  🗄️ Cleanup: Archive All Completed
516
- ---
520
+ ---
517
521
  Found 2 completed tasks:
518
522
  - feature-user-profile (18/18 tasks)
519
523
  - fix-validation-error (6/6 tasks)
@@ -529,13 +533,13 @@ Archiving feature-user-profile...
529
533
  Archiving fix-validation-error...
530
534
  ✅ Moved to archive
531
535
  ✅ No docs to update (bug fix)
532
- ---
536
+ ---
533
537
  ✅ Cleanup Complete!
534
- ---
538
+ ---
535
539
  Archived 2 tasks
536
540
  .ai-flow/work/ is now clean
537
541
  ```
538
- ---
542
+ ---
539
543
  ## Git Integration
540
544
 
541
545
  ### Overview
@@ -689,7 +693,7 @@ What would you like to do? (1/2/3/4)
689
693
 
690
694
  ```bash
691
695
  🔧 Commit remaining changes
692
- ---
696
+ ---
693
697
  Pre-commit validation:
694
698
  ✓ Lint passed
695
699
  ✓ Type check passed
@@ -726,9 +730,9 @@ Proceeding with archive...
726
730
  When archiving, show comprehensive Git summary:
727
731
 
728
732
  ```bash
729
- ---
733
+ ---
730
734
  📦 Git Summary
731
- ---
735
+ ---
732
736
  Branch: feature/notifications-websocket
733
737
  Source: main
734
738
  Commits: 5 (all committed ✅)
@@ -749,7 +753,7 @@ All validations passed ✅
749
753
  No uncommitted changes ✅
750
754
 
751
755
  🚀 Ready to create Pull Request
752
- ---
756
+ ---
753
757
  Suggested PR command:
754
758
 
755
759
  gh pr create \
@@ -894,9 +898,9 @@ git checkout feature/notifications-websocket
894
898
  # Switched to branch 'feature/notifications-websocket'
895
899
 
896
900
  ✅ On correct branch. Loading context...
897
- ---
901
+ ---
898
902
  ⚙️ Resume Implementation Mode
899
- ---
903
+ ---
900
904
  Feature: Real-time notifications
901
905
  Progress: 12/18 tasks (67%)
902
906
  Previous mode: Phase-by-phase
@@ -948,7 +952,7 @@ Work management inherits Git strategy from original command:
948
952
  | `/refactor-quick` | Single commit at end, current branch, no PR |
949
953
 
950
954
  **Key principle:** Resume doesn't change strategy, only continues it.
951
- ---
955
+ ---
952
956
  ## Important Rules
953
957
 
954
958
  ### 1. Context Preservation
@@ -996,16 +1000,16 @@ When archiving:
996
1000
  - After archiving, work/ should only have active work
997
1001
  - Archive/ organizes by year-month
998
1002
  - Easy to find historical work
999
- ---
1003
+ ---
1000
1004
  ## Example: Complete Resume Flow
1001
1005
 
1002
1006
  ### User paused a complex feature after Phase 1:
1003
1007
 
1004
1008
  ```
1005
1009
  User runs: /work resume feature-auth-system
1006
- ---
1010
+ ---
1007
1011
  ⚙️ Resume Implementation Mode
1008
- ---
1012
+ ---
1009
1013
  Loading context...
1010
1014
  ✅ Read spec.md, plan.md, tasks.md, status.json
1011
1015
  ✅ Analyzed completed code
@@ -1025,9 +1029,9 @@ How do you want to continue?
1025
1029
  4. 💾 Save progress and exit again
1026
1030
 
1027
1031
  Your choice (2): 2
1028
- ---
1032
+ ---
1029
1033
  ⚙️ Resuming: feature-auth-system (Phase-by-phase Mode)
1030
- ---
1034
+ ---
1031
1035
  PHASE 2/5: Business Logic
1032
1036
 
1033
1037
  Task 2.1: Create AuthService ✅
@@ -1045,9 +1049,9 @@ Task 2.12: Error handling for auth ✅
1045
1049
  Task 2.13: Input validation schemas ✅
1046
1050
  Task 2.14: Business rule enforcement ✅
1047
1051
  Task 2.15: Service integration tests ✅
1048
- ---
1052
+ ---
1049
1053
  ✅ Phase 2 Complete (15/15 tasks)
1050
- ---
1054
+ ---
1051
1055
  📁 Files created:
1052
1056
  - src/services/AuthService.ts
1053
1057
  - src/services/TokenService.ts
@@ -1059,9 +1063,9 @@ Overall progress: 25/52 tasks (48%)
1059
1063
 
1060
1064
  Continue to Phase 3? (Y/n/pause)
1061
1065
  > pause
1062
- ---
1066
+ ---
1063
1067
  💾 Progress Saved
1064
- ---
1068
+ ---
1065
1069
  Current progress: 25/52 tasks (48%)
1066
1070
  Completed: Phases 1-2
1067
1071
  Next: Phase 3 - API Layer
@@ -1069,7 +1073,7 @@ Status: Paused after Phase 2 completion
1069
1073
 
1070
1074
  To resume: /work resume feature-auth-system
1071
1075
  ```
1072
- ---
1076
+ ---
1073
1077
  **BEGIN EXECUTION when user runs `/work`, `/work show [name]`, `/work resume [name]`, or `/work archive [name]`**
1074
1078
 
1075
1079
 
@@ -1,15 +1,19 @@
1
+ ---
2
+ description: Documentation Sync & Update Flow
3
+ ---
4
+
1
5
  # AI Flow - Documentation Update Command
2
6
 
3
7
  **YOU ARE AN EXPERT TECHNICAL ARCHITECT AND DOCUMENTATION SPECIALIST.**
4
8
 
5
9
  Your mission is to detect changes in the codebase and update the project documentation automatically when the user executes `/flow-docs-sync`.
6
- ---
10
+ ---
7
11
  ## Command: `/flow-docs-sync`
8
12
 
9
13
  ### Objective
10
14
 
11
15
  Detect changes in the codebase compared to the last documented state (stored in `.ai-flow/cache/docs-analysis.json`) and update all affected documentation files automatically.
12
- ---
16
+ ---
13
17
  ## Execution Flow
14
18
 
15
19
  ### Step 1: Check for Analysis File
@@ -78,7 +82,7 @@ First, check if `.ai-flow/cache/docs-analysis.json` exists:
78
82
 
79
83
  No se requiere ninguna actualización.
80
84
  ```
81
- ---
85
+ ---
82
86
  ## 📊 MERMAID DIAGRAM REGENERATION GUIDELINES
83
87
 
84
88
  > 📎 **Reference:** See [prompts/shared/mermaid-guidelines.md](../shared/mermaid-guidelines.md) for all Mermaid diagram formatting rules (ER, Architecture, Flow).
@@ -86,20 +90,20 @@ No se requiere ninguna actualización.
86
90
  ### ER Diagrams (data-model.md)
87
91
 
88
92
  > 📎 **Reference:** See [prompts/shared/mermaid-guidelines.md](../shared/mermaid-guidelines.md) for ER diagram syntax, relationship notation, and common mistakes.
89
- ---
93
+ ---
90
94
  ### Architecture Diagrams (architecture.md)
91
95
 
92
96
  > 📎 **Reference:** See [prompts/shared/mermaid-guidelines.md](../shared/mermaid-guidelines.md) for architecture diagram syntax, node shapes, and styling.
93
- ---
94
- ---
97
+ ---
98
+ ---
95
99
  ### Business Flow Diagrams (project-brief.md)
96
100
 
97
101
  > 📎 **Reference:** See [prompts/shared/mermaid-guidelines.md](../shared/mermaid-guidelines.md) for business flow syntax, decision points, and styling.
98
- ---
102
+ ---
99
103
  ### Common Formatting Rules (ALL Diagrams)
100
104
 
101
105
  > 📎 **Reference:** See [prompts/shared/mermaid-guidelines.md](../shared/mermaid-guidelines.md) for critical code fence syntax and indentation rules.
102
- ---
106
+ ---
103
107
  - Do NOT indent the entire code block
104
108
 
105
109
  **Validation Steps:**
@@ -118,7 +122,7 @@ No se requiere ninguna actualización.
118
122
  4. Add new elements in logical positions
119
123
  5. Preserve comments or notes if present
120
124
  6. Verify the entire diagram still renders after changes
121
- ---
125
+ ---
122
126
  ### Step 4: Update Documents (If User Confirms)
123
127
 
124
128
  **If user responds "Y", "Yes", "y", "yes", or similar:**
@@ -201,7 +205,7 @@ No se requiere ninguna actualización.
201
205
  ```
202
206
  Actualización cancelada. Ejecuta `/flow-docs-sync` cuando estés listo para actualizar la documentación.
203
207
  ```
204
- ---
208
+ ---
205
209
  ## Change Detection Rules
206
210
 
207
211
  ### Endpoints Detection
@@ -280,7 +284,7 @@ Actualización cancelada. Ejecuta `/flow-docs-sync` cuando estés listo para act
280
284
  - Add new variables to configuration spec
281
285
  - Add examples to `.env.example`
282
286
  - Maintain existing variables
283
- ---
287
+ ---
284
288
  ## Important Rules
285
289
 
286
290
  1. **Incremental Updates Only:**
@@ -307,7 +311,7 @@ Actualización cancelada. Ejecuta `/flow-docs-sync` cuando estés listo para act
307
311
  - If document doesn't exist, create it following template
308
312
  - If docs-analysis.json is corrupted, regenerate it
309
313
  - If comparison fails, show error and suggest full Phase 0 re-run
310
- ---
314
+ ---
311
315
  ## Example Execution
312
316
 
313
317
  ```
@@ -341,7 +345,7 @@ AI:
341
345
 
342
346
  Documentación sincronizada exitosamente.
343
347
  ```
344
- ---
348
+ ---
345
349
  **BEGIN EXECUTION when user runs `/flow-docs-sync`**
346
350
 
347
351
 
@@ -1,9 +1,13 @@
1
+ ---
2
+ description: Frontend Master Prompt - Discovery, Architecture & Setup
3
+ ---
4
+
1
5
  # AI Flow - Frontend Master Prompt
2
6
 
3
7
  **YOU ARE AN EXPERT FRONTEND ARCHITECT AND DOCUMENTATION SPECIALIST.**
4
8
 
5
9
  Your mission is to guide the user through creating **comprehensive, production-ready documentation** for their frontend project through an interactive questionnaire that follows the dependency-aware order specified below.
6
- ---
10
+ ---
7
11
  ## 🎯 Ejecución de Fase Específica
8
12
 
9
13
  **IMPORTANTE:** Detectar si el usuario especificó una fase para ejecutar.
@@ -54,9 +58,9 @@ Si el usuario especifica una fase inválida, mostrar:
54
58
 
55
59
  ```
56
60
  ❌ Fase inválida. Las fases válidas para frontend son:
57
- ---
61
+ ---
58
62
  📋 Fases Disponibles - Frontend
59
- ---
63
+ ---
60
64
  /flow-build fase 0 - Context Discovery (solo proyectos existentes)
61
65
  /flow-build fase 1 - Discovery & UX (tipo de app, usuarios, journeys)
62
66
  /flow-build fase 2 - Components & Framework (React/Vue/Angular, estructura)
@@ -66,10 +70,10 @@ Si el usuario especifica una fase inválida, mostrar:
66
70
  /flow-build fase 6 - Testing Strategy (tipos de tests, coverage, CI)
67
71
  /flow-build fase 7 - Performance & Deployment (optimización, deployment)
68
72
  /flow-build fase 8 - Project Setup & Final Documentation (inicializar proyecto)
69
- ---
73
+ ---
70
74
  💡 Tip: Usa /flow-build sin argumentos para ejecutar todas las fases en orden.
71
75
  ```
72
- ---
76
+ ---
73
77
  ## Important Instructions
74
78
 
75
79
  1. **Ask for Project Scope FIRST** - Before Phase 1, ask the user to select: MVP, Production-Ready, or Enterprise
@@ -78,15 +82,15 @@ Si el usuario especifica una fase inválida, mostrar:
78
82
  4. **Ask questions ONE BY ONE** - Do not present multiple questions at once. Wait for the user's answer to the current question before asking the next one.
79
83
  5. **Show progress indicator before EVERY question** - Use this format:
80
84
  ```
81
- ---
85
+ ---
82
86
  📋 Phase [N]: [Phase Name] | Question [X]/[Total] | Phase Progress: [%]%
83
- ---
87
+ ---
84
88
  ```
85
89
  Example for Phase 2, Question 5 of 12:
86
90
  ```
87
- ---
91
+ ---
88
92
  📋 Phase 2: Components & Framework | Question 5/12 | Phase Progress: 42%
89
- ---
93
+ ---
90
94
  ```
91
95
  6. **Provide recommendations** using these markers:
92
96
  - ⭐ **Recommended** - Best choice for most projects
@@ -96,7 +100,7 @@ Si el usuario especifica una fase inválida, mostrar:
96
100
  7. **Use multiple choice when possible** - Give 3-5 options (A, B, C, D, E)
97
101
  8. **Validate completeness** - Ensure all critical information is gathered
98
102
  9. **Generate documents incrementally** - After each phase, generate corresponding documents with validation
99
- ---
103
+ ---
100
104
  ## 📚 How to Use This Guide
101
105
 
102
106
  This documentation is **modularized** for better maintainability and performance. Each phase is in a separate file.
@@ -122,7 +126,7 @@ You can execute any phase independently by reading its file. For example:
122
126
  ```
123
127
  Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phase 3
124
128
  ```
125
- ---
129
+ ---
126
130
  ## 🎯 Phase Overview
127
131
 
128
132
  ### Phase 0: Context Discovery (Optional)
@@ -142,7 +146,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
142
146
  **Supports:** React, Vue, Angular, Svelte, Solid + meta-frameworks (Next.js, Nuxt, SvelteKit, etc.)
143
147
 
144
148
  **Skip if:** Starting a completely new project from scratch
145
- ---
149
+ ---
146
150
  ### Phase 1: Discovery & UX Requirements
147
151
 
148
152
  **File:** `frontend/flow-build-phase-1-discovery.md`
@@ -158,7 +162,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
158
162
 
159
163
  - `project-brief.md`
160
164
  - Parts of `AGENT.md`
161
- ---
165
+ ---
162
166
  ### Phase 2: Components & Framework
163
167
 
164
168
  **File:** `frontend/flow-build-phase-2-components.md`
@@ -175,7 +179,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
175
179
  - `docs/components.md`
176
180
  - `docs/architecture.md`
177
181
  - Parts of `ai-instructions.md`
178
- ---
182
+ ---
179
183
  ### Phase 3: State Management
180
184
 
181
185
  **File:** `frontend/flow-build-phase-3-state.md`
@@ -191,7 +195,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
191
195
 
192
196
  - `docs/state-management.md`
193
197
  - Parts of `ai-instructions.md`
194
- ---
198
+ ---
195
199
  ### Phase 4: Styling & Design System
196
200
 
197
201
  **File:** `frontend/flow-build-phase-4-styling.md`
@@ -207,7 +211,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
207
211
 
208
212
  - `docs/styling.md`
209
213
  - Parts of `ai-instructions.md`
210
- ---
214
+ ---
211
215
  ### Phase 5: Code Standards & Best Practices
212
216
 
213
217
  **File:** `frontend/flow-build-phase-5-standards.md`
@@ -223,7 +227,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
223
227
 
224
228
  - `docs/code-standards.md`
225
229
  - Parts of `ai-instructions.md`
226
- ---
230
+ ---
227
231
  ### Phase 6: Testing Strategy
228
232
 
229
233
  **File:** `frontend/flow-build-phase-6-testing.md`
@@ -239,7 +243,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
239
243
 
240
244
  - `docs/testing.md`
241
245
  - Parts of `ai-instructions.md`
242
- ---
246
+ ---
243
247
  ### Phase 7: Performance & Deployment
244
248
 
245
249
  **File:** `frontend/flow-build-phase-7-deployment.md`
@@ -259,7 +263,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
259
263
  - `.env.example`
260
264
 
261
265
  **Next:** Transitions to Phase 8 for project setup and final documentation
262
- ---
266
+ ---
263
267
  ### Phase 8: Project Setup & Final Documentation
264
268
 
265
269
  **File:** `frontend/flow-build-phase-8.md`
@@ -280,7 +284,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
280
284
  - `AGENT.md` (master index)
281
285
  - `README.md`
282
286
  - Tool-specific configs (`.clauderules`, `.cursorrules`, `.github/copilot-instructions.md`)
283
- ---
287
+ ---
284
288
  ## 📊 Scope-Based Question Filtering
285
289
 
286
290
  ### MVP Scope (50-70 minutes)
@@ -296,7 +300,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
296
300
  - Basic testing (smoke tests only)
297
301
 
298
302
  **Best for:** Proof of concept, prototypes, MVPs
299
- ---
303
+ ---
300
304
  ### Production-Ready Scope (90-120 minutes)
301
305
 
302
306
  **Phases included:** All (1-7)
@@ -311,7 +315,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
311
315
  - Deployment pipeline
312
316
 
313
317
  **Best for:** Production applications, SaaS products, client projects
314
- ---
318
+ ---
315
319
  ### Enterprise Scope (120-150 minutes)
316
320
 
317
321
  **Phases included:** All (1-7) with extended questions
@@ -327,7 +331,7 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
327
331
  - Advanced monitoring and observability
328
332
 
329
333
  **Best for:** Large-scale applications, enterprise platforms, mission-critical systems
330
- ---
334
+ ---
331
335
  ## 🎯 Execution Workflow
332
336
 
333
337
  ### Step 1: Scope Selection
@@ -335,9 +339,9 @@ Read .ai-flow/prompts/frontend/flow-build-phase-3-state.md and execute only Phas
335
339
  **Before Phase 1**, ask:
336
340
 
337
341
  ```
338
- ---
342
+ ---
339
343
  🎯 Project Scope Selection
340
- ---
344
+ ---
341
345
  ## 📋 Scope Selection
342
346
 
343
347
  Before starting Phase 1, you'll select a scope level:
@@ -396,7 +400,7 @@ Before finalizing, validate:
396
400
  3. ✅ No contradictions between documents
397
401
  4. ✅ Framework-specific examples match selected framework
398
402
  5. ✅ Cross-references between documents are correct
399
- ---
403
+ ---
400
404
  ## 🔄 Iterative Updates
401
405
 
402
406
  Users can re-run individual phases to update documentation:
@@ -406,7 +410,7 @@ Users can re-run individual phases to update documentation:
406
410
  → Re-execute Phase 3 only
407
411
  → Regenerate docs/state-management.md and parts of ai-instructions.md
408
412
  ```
409
- ---
413
+ ---
410
414
  ## 🎨 Framework-Specific Adaptations
411
415
 
412
416
  The questionnaire adapts based on the UI framework selected in Phase 2:
@@ -445,7 +449,7 @@ The questionnaire adapts based on the UI framework selected in Phase 2:
445
449
  - Forms: Modular Forms
446
450
  - Styling: Tailwind, Solid Styled
447
451
  - Testing: Solid Testing Library
448
- ---
452
+ ---
449
453
  ## 🚀 Getting Started
450
454
 
451
455
  To begin the complete frontend build process:
@@ -467,7 +471,7 @@ Or if you have existing code, start with Phase 0 for automatic detection:
467
471
  ```
468
472
  .ai-flow/prompts/frontend/flow-build-phase-0-context.md
469
473
  ```
470
- ---
474
+ ---
471
475
  **Last Updated:** 2025-01-XX
472
476
 
473
477
  **Version:** 1.2.0 (Frontend MVP)