ai-flow-dev 2.1.6 → 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.
- package/README.md +11 -8
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/prompts/backend/flow-build.md +58 -54
- package/prompts/backend/flow-dev-commit.md +27 -23
- package/prompts/backend/flow-dev-feature.md +60 -56
- package/prompts/backend/flow-dev-fix.md +29 -25
- package/prompts/backend/flow-dev-refactor.md +28 -24
- package/prompts/backend/flow-dev-review.md +26 -22
- package/prompts/backend/flow-dev-work.md +57 -53
- package/prompts/backend/flow-docs-sync.md +17 -13
- package/prompts/frontend/flow-build.md +33 -29
- package/prompts/frontend/flow-docs-sync.md +16 -12
- package/prompts/mobile/flow-build.md +33 -29
- package/prompts/mobile/flow-docs-sync.md +15 -11
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Documentation Sync & Update Flow
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# AI Flow - Documentation Update Command (Frontend)
|
|
2
6
|
|
|
3
7
|
**YOU ARE AN EXPERT FRONTEND ARCHITECT AND DOCUMENTATION SPECIALIST.**
|
|
4
8
|
|
|
5
9
|
Your mission is to detect changes in the frontend 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 frontend 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
|
|
@@ -182,7 +186,7 @@ No updates required.
|
|
|
182
186
|
```
|
|
183
187
|
Update cancelled. Run `/flow-docs-sync` when you're ready to update the documentation.
|
|
184
188
|
```
|
|
185
|
-
---
|
|
189
|
+
---
|
|
186
190
|
## Change Detection Rules
|
|
187
191
|
|
|
188
192
|
### Components Detection
|
|
@@ -274,7 +278,7 @@ Update cancelled. Run `/flow-docs-sync` when you're ready to update the document
|
|
|
274
278
|
|
|
275
279
|
- Add new variables to configuration spec
|
|
276
280
|
- Maintain existing variables
|
|
277
|
-
---
|
|
281
|
+
---
|
|
278
282
|
## Important Rules
|
|
279
283
|
|
|
280
284
|
1. **Incremental Updates Only:**
|
|
@@ -300,7 +304,7 @@ Update cancelled. Run `/flow-docs-sync` when you're ready to update the document
|
|
|
300
304
|
- Regenerate component architecture diagrams when structure changes
|
|
301
305
|
- Regenerate architecture diagrams when structure changes
|
|
302
306
|
- Use mermaid format for all diagrams
|
|
303
|
-
---
|
|
307
|
+
---
|
|
304
308
|
## 📊 FRONTEND DIAGRAM REGENERATION GUIDELINES
|
|
305
309
|
|
|
306
310
|
When regenerating frontend diagrams, follow these **critical** formatting rules:
|
|
@@ -354,7 +358,7 @@ graph TD
|
|
|
354
358
|
style Btn fill:#fce4ec
|
|
355
359
|
```
|
|
356
360
|
````
|
|
357
|
-
---
|
|
361
|
+
---
|
|
358
362
|
### State Management Diagrams (state-management.md)
|
|
359
363
|
|
|
360
364
|
**Diagram Types:** `graph LR`, `sequenceDiagram`, `graph TD`
|
|
@@ -398,7 +402,7 @@ sequenceDiagram
|
|
|
398
402
|
Component-->>User: UI Updated
|
|
399
403
|
```
|
|
400
404
|
````
|
|
401
|
-
---
|
|
405
|
+
---
|
|
402
406
|
### Routing Diagrams (architecture.md or routing.md)
|
|
403
407
|
|
|
404
408
|
**Diagram Type:** `graph TD`
|
|
@@ -417,7 +421,7 @@ sequenceDiagram
|
|
|
417
421
|
- [ ] Nested routes show parent-child relationships
|
|
418
422
|
- [ ] Route parameters are documented
|
|
419
423
|
- [ ] Diagram matches actual router configuration
|
|
420
|
-
---
|
|
424
|
+
---
|
|
421
425
|
### Application Architecture Diagram (architecture.md)
|
|
422
426
|
|
|
423
427
|
**Diagram Type:** `graph TB`
|
|
@@ -458,7 +462,7 @@ graph TB
|
|
|
458
462
|
````
|
|
459
463
|
|
|
460
464
|
**Use for:** System architecture overview, integration documentation, onboarding
|
|
461
|
-
---
|
|
465
|
+
---
|
|
462
466
|
### Common Formatting Rules (ALL Frontend Diagrams)
|
|
463
467
|
|
|
464
468
|
**CRITICAL - Code Fence Syntax:**
|
|
@@ -492,12 +496,12 @@ graph TB
|
|
|
492
496
|
3. Maintain existing styling and layout patterns
|
|
493
497
|
4. Update relationships based on code changes
|
|
494
498
|
5. Verify entire diagram still renders after changes
|
|
495
|
-
---
|
|
499
|
+
---
|
|
496
500
|
5. **Error Handling:**
|
|
497
501
|
- If document doesn't exist, create it following template
|
|
498
502
|
- If docs-analysis.json is corrupted, regenerate it
|
|
499
503
|
- If comparison fails, show error and suggest full Phase 0 re-run
|
|
500
|
-
---
|
|
504
|
+
---
|
|
501
505
|
## Example Execution
|
|
502
506
|
|
|
503
507
|
```
|
|
@@ -531,7 +535,7 @@ AI:
|
|
|
531
535
|
|
|
532
536
|
Documentation synchronized successfully.
|
|
533
537
|
```
|
|
534
|
-
---
|
|
538
|
+
---
|
|
535
539
|
**BEGIN EXECUTION when user runs `/flow-docs-sync`**
|
|
536
540
|
|
|
537
541
|
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Mobile Master Prompt - Discovery, Architecture & Setup
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# AI Flow - Mobile Master Prompt
|
|
2
6
|
|
|
3
7
|
**YOU ARE AN EXPERT MOBILE ARCHITECT AND DOCUMENTATION SPECIALIST.**
|
|
4
8
|
|
|
5
9
|
Your mission is to guide the user through creating **comprehensive, production-ready documentation** for their mobile application 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 mobile son:
|
|
57
|
-
---
|
|
61
|
+
---
|
|
58
62
|
📋 Fases Disponibles - Mobile
|
|
59
|
-
---
|
|
63
|
+
---
|
|
60
64
|
/flow-build fase 0 - Context Discovery (solo proyectos existentes)
|
|
61
65
|
/flow-build fase 1 - Platform & Framework (iOS/Android, React Native/Flutter)
|
|
62
66
|
/flow-build fase 2 - Navigation & Architecture (navegación, 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 - Store Deployment (App Store, Play Store, signing)
|
|
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: Navigation & Architecture | 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/mobile/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/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
142
146
|
**Supports:** React Native, Flutter, Native iOS (Swift), Native Android (Kotlin), Ionic, Xamarin
|
|
143
147
|
|
|
144
148
|
**Skip if:** Starting a completely new project from scratch
|
|
145
|
-
---
|
|
149
|
+
---
|
|
146
150
|
### Phase 1: Platform & Framework Selection
|
|
147
151
|
|
|
148
152
|
**File:** `mobile/flow-build-phase-1-platform.md`
|
|
@@ -163,7 +167,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
163
167
|
- `project-brief.md`
|
|
164
168
|
- Parts of `AGENT.md`
|
|
165
169
|
- Parts of `ai-instructions.md`
|
|
166
|
-
---
|
|
170
|
+
---
|
|
167
171
|
### Phase 2: Navigation & Architecture
|
|
168
172
|
|
|
169
173
|
**File:** `mobile/flow-build-phase-2-navigation.md`
|
|
@@ -180,7 +184,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
180
184
|
- `docs/navigation.md`
|
|
181
185
|
- `docs/architecture.md`
|
|
182
186
|
- Parts of `ai-instructions.md`
|
|
183
|
-
---
|
|
187
|
+
---
|
|
184
188
|
### Phase 3: State & Data Management
|
|
185
189
|
|
|
186
190
|
**File:** `mobile/flow-build-phase-3-state.md`
|
|
@@ -197,7 +201,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
197
201
|
- `docs/state-management.md`
|
|
198
202
|
- `docs/offline-strategy.md`
|
|
199
203
|
- Parts of `ai-instructions.md`
|
|
200
|
-
---
|
|
204
|
+
---
|
|
201
205
|
### Phase 4: Permissions & Native Features
|
|
202
206
|
|
|
203
207
|
**File:** `mobile/flow-build-phase-4-permissions.md`
|
|
@@ -214,7 +218,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
214
218
|
- `docs/permissions.md`
|
|
215
219
|
- `docs/native-features.md`
|
|
216
220
|
- Parts of `ai-instructions.md`
|
|
217
|
-
---
|
|
221
|
+
---
|
|
218
222
|
### Phase 5: Code Standards & Best Practices
|
|
219
223
|
|
|
220
224
|
**File:** `mobile/flow-build-phase-5-standards.md`
|
|
@@ -230,7 +234,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
230
234
|
|
|
231
235
|
- `docs/code-standards.md`
|
|
232
236
|
- Parts of `ai-instructions.md`
|
|
233
|
-
---
|
|
237
|
+
---
|
|
234
238
|
### Phase 6: Testing Strategy
|
|
235
239
|
|
|
236
240
|
**File:** `mobile/flow-build-phase-6-testing.md`
|
|
@@ -247,7 +251,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
247
251
|
|
|
248
252
|
- `docs/testing.md`
|
|
249
253
|
- Parts of `ai-instructions.md`
|
|
250
|
-
---
|
|
254
|
+
---
|
|
251
255
|
### Phase 7: Store Deployment
|
|
252
256
|
|
|
253
257
|
**File:** `mobile/flow-build-phase-7-deployment.md`
|
|
@@ -268,7 +272,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
268
272
|
- `.env.example`
|
|
269
273
|
|
|
270
274
|
**Next:** Transitions to Phase 8 for project setup and final documentation
|
|
271
|
-
---
|
|
275
|
+
---
|
|
272
276
|
### Phase 8: Project Setup & Final Documentation
|
|
273
277
|
|
|
274
278
|
**File:** `mobile/flow-build-phase-8.md`
|
|
@@ -289,7 +293,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
289
293
|
- `AGENT.md` (master index)
|
|
290
294
|
- `README.md`
|
|
291
295
|
- Tool-specific configs (`.clauderules`, `.cursorrules`, `.github/copilot-instructions.md`)
|
|
292
|
-
---
|
|
296
|
+
---
|
|
293
297
|
## 📊 Scope-Based Question Filtering
|
|
294
298
|
|
|
295
299
|
### MVP Scope (60-80 minutes)
|
|
@@ -307,7 +311,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
307
311
|
- Manual deployment
|
|
308
312
|
|
|
309
313
|
**Best for:** Prototypes, MVPs, proof of concept
|
|
310
|
-
---
|
|
314
|
+
---
|
|
311
315
|
### Production-Ready Scope (100-130 minutes)
|
|
312
316
|
|
|
313
317
|
**Phases included:** All (1-7)
|
|
@@ -324,7 +328,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
324
328
|
- Store deployment configuration
|
|
325
329
|
|
|
326
330
|
**Best for:** Production applications, client projects, published apps
|
|
327
|
-
---
|
|
331
|
+
---
|
|
328
332
|
### Enterprise Scope (130-160 minutes)
|
|
329
333
|
|
|
330
334
|
**Phases included:** All (1-7) with extended questions
|
|
@@ -341,7 +345,7 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
341
345
|
- A/B testing infrastructure
|
|
342
346
|
|
|
343
347
|
**Best for:** Large-scale applications, enterprise platforms, mission-critical apps
|
|
344
|
-
---
|
|
348
|
+
---
|
|
345
349
|
## 🎯 Execution Workflow
|
|
346
350
|
|
|
347
351
|
### Step 1: Scope Selection
|
|
@@ -349,9 +353,9 @@ Read .ai-flow/prompts/mobile/flow-build-phase-3-state.md and execute only Phase
|
|
|
349
353
|
**Before Phase 1**, ask:
|
|
350
354
|
|
|
351
355
|
```
|
|
352
|
-
---
|
|
356
|
+
---
|
|
353
357
|
🎯 Project Scope Selection
|
|
354
|
-
---
|
|
358
|
+
---
|
|
355
359
|
## 📋 Scope Selection
|
|
356
360
|
|
|
357
361
|
Before starting Phase 1, you'll select a scope level:
|
|
@@ -414,7 +418,7 @@ Before finalizing, validate:
|
|
|
414
418
|
4. ✅ Framework-specific examples match selected framework
|
|
415
419
|
5. ✅ Cross-references between documents are correct
|
|
416
420
|
6. ✅ Platform-specific considerations documented (iOS vs Android)
|
|
417
|
-
---
|
|
421
|
+
---
|
|
418
422
|
## 🔄 Iterative Updates
|
|
419
423
|
|
|
420
424
|
Users can re-run individual phases to update documentation:
|
|
@@ -424,7 +428,7 @@ Users can re-run individual phases to update documentation:
|
|
|
424
428
|
→ Re-execute Phase 3 only
|
|
425
429
|
→ Regenerate docs/state-management.md and parts of ai-instructions.md
|
|
426
430
|
```
|
|
427
|
-
---
|
|
431
|
+
---
|
|
428
432
|
## 🎨 Framework-Specific Adaptations
|
|
429
433
|
|
|
430
434
|
The questionnaire adapts based on the framework selected in Phase 1:
|
|
@@ -456,7 +460,7 @@ The questionnaire adapts based on the framework selected in Phase 1:
|
|
|
456
460
|
- Navigation: Navigation Component, Jetpack Compose Navigation
|
|
457
461
|
- Storage: Room, DataStore, SharedPreferences
|
|
458
462
|
- Testing: JUnit, Espresso, UI Automator
|
|
459
|
-
---
|
|
463
|
+
---
|
|
460
464
|
## 🚀 Getting Started
|
|
461
465
|
|
|
462
466
|
To begin the complete mobile build process:
|
|
@@ -478,7 +482,7 @@ Or if you have existing code, start with Phase 0 for automatic detection:
|
|
|
478
482
|
```
|
|
479
483
|
.ai-flow/prompts/mobile/flow-build-phase-0-context.md
|
|
480
484
|
```
|
|
481
|
-
---
|
|
485
|
+
---
|
|
482
486
|
**Last Updated:** 2025-01-XX
|
|
483
487
|
|
|
484
488
|
**Version:** 1.4.0 (Mobile MVP)
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Documentation Sync & Update Flow
|
|
3
|
+
---
|
|
4
|
+
|
|
1
5
|
# AI Flow - Documentation Update Command (Mobile)
|
|
2
6
|
|
|
3
7
|
**YOU ARE AN EXPERT MOBILE ARCHITECT AND DOCUMENTATION SPECIALIST.**
|
|
4
8
|
|
|
5
9
|
Your mission is to detect changes in the mobile 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 mobile 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
|
|
@@ -214,7 +218,7 @@ No updates required.
|
|
|
214
218
|
```
|
|
215
219
|
Update cancelled. Run `/flow-docs-sync` when you're ready to update the documentation.
|
|
216
220
|
```
|
|
217
|
-
---
|
|
221
|
+
---
|
|
218
222
|
## Change Detection Rules
|
|
219
223
|
|
|
220
224
|
### Screens Detection
|
|
@@ -335,7 +339,7 @@ Update cancelled. Run `/flow-docs-sync` when you're ready to update the document
|
|
|
335
339
|
|
|
336
340
|
- Add new variables to configuration spec
|
|
337
341
|
- Maintain existing variables
|
|
338
|
-
---
|
|
342
|
+
---
|
|
339
343
|
## Important Rules
|
|
340
344
|
|
|
341
345
|
1. **Incremental Updates Only:**
|
|
@@ -361,7 +365,7 @@ Update cancelled. Run `/flow-docs-sync` when you're ready to update the document
|
|
|
361
365
|
- Regenerate navigation diagrams when screens change
|
|
362
366
|
- Regenerate architecture diagrams when structure changes
|
|
363
367
|
- Use mermaid format for all diagrams
|
|
364
|
-
---
|
|
368
|
+
---
|
|
365
369
|
## 📊 MOBILE DIAGRAM REGENERATION GUIDELINES
|
|
366
370
|
|
|
367
371
|
When regenerating mobile diagrams, follow these **critical** formatting rules:
|
|
@@ -427,7 +431,7 @@ graph TD
|
|
|
427
431
|
style P1 fill:#fff4e6
|
|
428
432
|
```
|
|
429
433
|
````
|
|
430
|
-
---
|
|
434
|
+
---
|
|
431
435
|
### State Management Diagrams (state-management.md)
|
|
432
436
|
|
|
433
437
|
**Diagram Types:** `graph LR`, `sequenceDiagram`, `graph TD`
|
|
@@ -483,7 +487,7 @@ sequenceDiagram
|
|
|
483
487
|
Note over Cache: Cache valid for 5min
|
|
484
488
|
```
|
|
485
489
|
````
|
|
486
|
-
---
|
|
490
|
+
---
|
|
487
491
|
### Testing Diagrams (testing.md)
|
|
488
492
|
|
|
489
493
|
**Diagram Type:** `graph TB`
|
|
@@ -521,7 +525,7 @@ graph TB
|
|
|
521
525
|
style UNIT fill:#e8f5e9,stroke:#388e3c,stroke-width:3px
|
|
522
526
|
```
|
|
523
527
|
````
|
|
524
|
-
---
|
|
528
|
+
---
|
|
525
529
|
### Common Formatting Rules (ALL Mobile Diagrams)
|
|
526
530
|
|
|
527
531
|
**CRITICAL - Code Fence Syntax:**
|
|
@@ -567,12 +571,12 @@ graph TB
|
|
|
567
571
|
- Show device vs emulator distinction in testing diagrams
|
|
568
572
|
- Include deep linking routes in navigation diagrams
|
|
569
573
|
- Highlight authentication flows and protected routes
|
|
570
|
-
---
|
|
574
|
+
---
|
|
571
575
|
5. **Error Handling:**
|
|
572
576
|
- If document doesn't exist, create it following template
|
|
573
577
|
- If docs-analysis.json is corrupted, regenerate it
|
|
574
578
|
- If comparison fails, show error and suggest full Phase 0 re-run
|
|
575
|
-
---
|
|
579
|
+
---
|
|
576
580
|
## Example Execution
|
|
577
581
|
|
|
578
582
|
```
|
|
@@ -606,7 +610,7 @@ AI:
|
|
|
606
610
|
|
|
607
611
|
Documentation synchronized successfully.
|
|
608
612
|
```
|
|
609
|
-
---
|
|
613
|
+
---
|
|
610
614
|
**BEGIN EXECUTION when user runs `/flow-docs-sync`**
|
|
611
615
|
|
|
612
616
|
|