ai-flow-dev 2.2.0 → 2.2.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 +28 -24
- package/dist/cli.js +228 -418
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/prompts/backend/flow-build-phase-0.md +286 -4
- package/prompts/backend/flow-build-phase-1.md +19 -0
- package/prompts/backend/flow-build-phase-2.md +19 -0
- package/prompts/backend/flow-build-phase-3.md +19 -0
- package/prompts/backend/flow-build-phase-4.md +19 -0
- package/prompts/backend/flow-build-phase-5.md +19 -0
- package/prompts/backend/flow-build-phase-6.md +19 -0
- package/prompts/backend/flow-build-phase-7.md +19 -0
- package/prompts/backend/flow-build-phase-9.md +14 -0
- package/prompts/backend/flow-build.md +2 -0
- package/prompts/backend/flow-check-review.md +20 -0
- package/prompts/backend/flow-check-test.md +14 -0
- package/prompts/backend/flow-check.md +67 -0
- package/prompts/backend/flow-commit.md +53 -0
- package/prompts/backend/flow-docs-sync.md +55 -53
- package/prompts/backend/flow-work-feature.md +42 -0
- package/prompts/backend/flow-work-fix.md +33 -0
- package/prompts/backend/flow-work-refactor.md +32 -0
- package/prompts/backend/flow-work-resume.md +32 -0
- package/prompts/backend/flow-work.md +129 -0
- package/prompts/frontend/flow-build-phase-0.md +363 -35
- package/prompts/frontend/flow-build-phase-1.md +433 -404
- package/prompts/frontend/flow-build-phase-2.md +508 -872
- package/prompts/frontend/flow-build-phase-3.md +629 -562
- package/prompts/frontend/flow-build-phase-4.md +438 -382
- package/prompts/frontend/flow-build-phase-5.md +559 -362
- package/prompts/frontend/flow-build-phase-6.md +383 -452
- package/prompts/frontend/flow-build-phase-7.md +818 -392
- package/prompts/frontend/flow-build-phase-9.md +14 -0
- package/prompts/frontend/flow-build.md +2 -0
- package/prompts/frontend/flow-check-review.md +20 -0
- package/prompts/frontend/flow-check-test.md +14 -0
- package/prompts/frontend/flow-check.md +67 -0
- package/prompts/frontend/flow-commit.md +53 -0
- package/prompts/frontend/flow-docs-sync.md +39 -35
- package/prompts/frontend/flow-work-feature.md +42 -0
- package/prompts/frontend/flow-work-fix.md +33 -0
- package/prompts/frontend/flow-work-refactor.md +32 -0
- package/prompts/frontend/flow-work-resume.md +32 -0
- package/prompts/frontend/flow-work.md +129 -0
- package/prompts/mobile/flow-build-phase-0.md +366 -37
- package/prompts/mobile/flow-build-phase-1.md +438 -493
- package/prompts/mobile/flow-build-phase-2.md +458 -464
- package/prompts/mobile/flow-build-phase-3.md +613 -487
- package/prompts/mobile/flow-build-phase-4.md +439 -258
- package/prompts/mobile/flow-build-phase-5.md +582 -250
- package/prompts/mobile/flow-build-phase-6.md +389 -359
- package/prompts/mobile/flow-build-phase-7.md +871 -285
- package/prompts/mobile/flow-build-phase-9.md +14 -0
- package/prompts/mobile/flow-build.md +2 -0
- package/prompts/mobile/flow-check-review.md +20 -0
- package/prompts/mobile/flow-check-test.md +14 -0
- package/prompts/mobile/flow-check.md +67 -0
- package/prompts/mobile/flow-commit.md +53 -0
- package/prompts/mobile/flow-docs-sync.md +39 -40
- package/prompts/mobile/flow-work-feature.md +42 -0
- package/prompts/mobile/flow-work-fix.md +33 -0
- package/prompts/mobile/flow-work-refactor.md +32 -0
- package/prompts/mobile/flow-work-resume.md +32 -0
- package/prompts/mobile/flow-work.md +129 -0
- package/prompts/shared/smart-skip-preflight.md +214 -0
- package/templates/AGENT.template.md +13 -3
- package/templates/backend/.clauderules.template +5 -4
- package/templates/backend/.cursorrules.template +1 -1
- package/prompts/backend/flow-dev-commit.md +0 -829
- package/prompts/backend/flow-dev-feature.md +0 -1948
- package/prompts/backend/flow-dev-fix.md +0 -952
- package/prompts/backend/flow-dev-refactor.md +0 -690
- package/prompts/backend/flow-dev-review.md +0 -372
- package/prompts/backend/flow-dev-work.md +0 -1081
package/README.md
CHANGED
|
@@ -10,12 +10,14 @@ AI Flow is an interactive CLI that creates comprehensive professional documentat
|
|
|
10
10
|
|
|
11
11
|
**Key Features:**
|
|
12
12
|
|
|
13
|
-
- 🚀 Complete professional documentation (Backend: 17 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack:
|
|
13
|
+
- 🚀 Complete professional documentation (Backend: 17 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack: 30+ docs)
|
|
14
14
|
- 🧠 **Smart Description Refinement:** Detects ambiguity and iteratively guides you to a professional project definition.
|
|
15
15
|
- ⚡ **Two modes:** Interactive (90-120 min, full control) or Smart Auto-Suggest (15-25 min, 6 questions)
|
|
16
16
|
- 🌍 Universal support - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
|
|
17
17
|
- 🤖 Multi-AI support with slash commands
|
|
18
18
|
- 🔍 Smart 3-layer detection for existing projects (50-94% faster)
|
|
19
|
+
- 🎯 **Smart Skip Logic:** Intelligently skips documentation phases for existing projects (15-20 min vs 90 min for ≥95% consistency).
|
|
20
|
+
- 🚀 **Agent Mode Enforcement:** AI assistants now prioritize proactive tool usage and immediate execution for all `/flow-` commands (No more redundant planning).
|
|
19
21
|
- ⏱️ Save 10-20 hours per project
|
|
20
22
|
|
|
21
23
|
**Quick Start:**
|
|
@@ -26,8 +28,8 @@ AI Flow is an interactive CLI that creates comprehensive professional documentat
|
|
|
26
28
|
npm install -g ai-flow-dev
|
|
27
29
|
ai-flow init .
|
|
28
30
|
# Then open your AI tool and run:
|
|
29
|
-
# /flow-build
|
|
30
|
-
# /flow-
|
|
31
|
+
# /flow-build - To generate all documentation
|
|
32
|
+
# /flow-work - To start building features
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
## 📚 **[Complete Guide →](GETTING-STARTED.md)**
|
|
@@ -38,12 +40,13 @@ Transforma tu idea en un proyecto listo para producción y documentado para IA e
|
|
|
38
40
|
|
|
39
41
|
**Características:**
|
|
40
42
|
|
|
41
|
-
- 🚀 Documentación profesional completa (Backend: 17 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack:
|
|
43
|
+
- 🚀 Documentación profesional completa (Backend: 17 docs, Frontend: 15 docs, Mobile: 13 docs, Fullstack: 30+ docs)
|
|
42
44
|
- 🧠 **Refinamiento Inteligente:** Detecta ambigüedad y te guía iterativamente hacia una descripción profesional.
|
|
43
45
|
- ⚡ **Dos modos:** Interactivo (90-120 min, control total) o Auto-Sugerido (15-25 min, 6 preguntas)
|
|
44
46
|
- 🌍 Soporte universal - 12 lenguajes, 60+ frameworks, 35+ ORMs
|
|
45
47
|
- 🤖 Compatible with Claude, Copilot, Cursor, Gemini, Antigravity
|
|
46
48
|
- 🔍 Detección inteligente para proyectos existentes (50-94% más rápido)
|
|
49
|
+
- 🚀 **Modo Agente:** Los asistentes de IA ahora priorizan la ejecución proactiva para todos los comandos `/flow-`.
|
|
47
50
|
- ⏱️ Ahorra 10-20 horas por proyecto
|
|
48
51
|
|
|
49
52
|
**Inicio rápido:**
|
|
@@ -54,8 +57,8 @@ Transforma tu idea en un proyecto listo para producción y documentado para IA e
|
|
|
54
57
|
npm install -g ai-flow-dev
|
|
55
58
|
ai-flow init .
|
|
56
59
|
# Luego en tu herramienta IA:
|
|
57
|
-
# /flow-build
|
|
58
|
-
# /flow-
|
|
60
|
+
# /flow-build - Para generar toda la documentación
|
|
61
|
+
# /flow-work - Para comenzar a construir funcionalidades
|
|
59
62
|
```
|
|
60
63
|
|
|
61
64
|
## 📚 **[Guía Completa →](GETTING-STARTED.md)**
|
|
@@ -65,7 +68,8 @@ ai-flow init .
|
|
|
65
68
|
Transforme sua ideia em um projeto pronto para produção e documentado para IA em minutos.
|
|
66
69
|
**Características:**
|
|
67
70
|
|
|
68
|
-
- 🚀 Documentação profissional completa (Backend: 17, Frontend: 15, Mobile: 13, Fullstack:
|
|
71
|
+
- 🚀 Documentação profissional completa (Backend: 17, Frontend: 15, Mobile: 13, Fullstack: 30+ docs)
|
|
72
|
+
- 🚀 **Modo Agente:** Os assistentes de IA agora priorizam a execução proativa para todos os comandos `/flow-`.
|
|
69
73
|
- 🧠 **Refinamento Inteligente:** Detecta ambiguidade e guia você para uma descrição profissional.
|
|
70
74
|
- ⚡ **Dois modos:** Interactivo (90-120 min, controle total) ou Auto-Sugestão (15-25 min, 6 perguntas)
|
|
71
75
|
- 🌍 Suporte universal - 12 linguagens, 60+ frameworks, 35+ ORMs
|
|
@@ -81,8 +85,8 @@ Transforme sua ideia em um projeto pronto para produção e documentado para IA
|
|
|
81
85
|
npm install -g ai-flow-dev
|
|
82
86
|
ai-flow init .
|
|
83
87
|
# Em seguida, na sua ferramenta de IA:
|
|
84
|
-
# /flow-build
|
|
85
|
-
# /flow-
|
|
88
|
+
# /flow-build - Para gerar toda a documentação
|
|
89
|
+
# /flow-work - Para começar a construir funcionalidades
|
|
86
90
|
```
|
|
87
91
|
|
|
88
92
|
## 📚 **[Guia Completo →](GETTING-STARTED.md)**
|
|
@@ -104,14 +108,15 @@ The result is interconnected documentation that guides AI assistants and human d
|
|
|
104
108
|
|
|
105
109
|
- 🌍 **Universal Support** - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
|
|
106
110
|
- 🤖 **AI-Agnostic** - Claude, Copilot, Cursor, Gemini, Antigravity, any AI tool
|
|
107
|
-
- 📚 **Professional Documentation** - Backend: 17, Frontend: 15, Mobile: 13, Fullstack:
|
|
111
|
+
- 📚 **Professional Documentation** - Backend: 17, Frontend: 15, Mobile: 13, Fullstack: 30+ docs
|
|
108
112
|
- 🧠 **Smart Description Refinement** - AI detects vague inputs and helps you rich the context (WHO, WHAT, WHY).
|
|
109
113
|
- ⚡ **Two Questionnaire Modes:**
|
|
110
114
|
- **Interactive Mode:** Full control, all phases (90-120 min)
|
|
111
115
|
- **Smart Auto-Suggest:** Only 6 critical questions, AI suggests best practices (15-25 min)
|
|
112
116
|
- 🔍 **Smart 3-Layer Detection** - Analyzes existing projects in 15s-5min
|
|
113
117
|
- 💾 **Intelligent Caching** - 0 seconds on re-runs with no changes
|
|
114
|
-
-
|
|
118
|
+
- 🚀 **Agent Mode** - Immediate, proactive execution for all AI workflows
|
|
119
|
+
- 💡 **Slash Commands** - Easy execution with `/flow-build`, `/flow-work`, `/flow-check`, `/flow-commit`
|
|
115
120
|
- ⏱️ **Time Efficient** - Save 10-20 hours per project
|
|
116
121
|
|
|
117
122
|
---
|
|
@@ -135,7 +140,7 @@ Or using uv (Python tool manager):
|
|
|
135
140
|
uv tool install ai-flow-dev
|
|
136
141
|
```
|
|
137
142
|
|
|
138
|
-
## **Current version:** 2.2.
|
|
143
|
+
## **Current version:** 2.2.4
|
|
139
144
|
|
|
140
145
|
## 🚀 Quick Start
|
|
141
146
|
|
|
@@ -171,7 +176,7 @@ $ ai-flow check
|
|
|
171
176
|
|
|
172
177
|
✓ .ai-flow/core/config.json found
|
|
173
178
|
✓ AI tools configured: antigravity
|
|
174
|
-
✓ Project
|
|
179
|
+
✓ Project Type: Backend (backend)
|
|
175
180
|
✓ Documentation complete: 17 files
|
|
176
181
|
✓ Slash commands installed: .agent/workflows/
|
|
177
182
|
|
|
@@ -261,7 +266,7 @@ After initialization, use these slash commands in your AI tool:
|
|
|
261
266
|
|
|
262
267
|
> **Note:** Command prefix may vary by AI tool. Examples use `/flow-` (GitHub Copilot), but Claude may use `/` alone, Cursor may use `@`, etc. Check your tool's documentation.
|
|
263
268
|
|
|
264
|
-
**Backend Projects:**
|
|
269
|
+
**Backend Projects:** 16 commands
|
|
265
270
|
**Frontend Projects:** 13 commands
|
|
266
271
|
**Mobile Projects:** 13 commands
|
|
267
272
|
**Fullstack Projects:** Combined backend + frontend commands
|
|
@@ -270,6 +275,9 @@ After initialization, use these slash commands in your AI tool:
|
|
|
270
275
|
|
|
271
276
|
- `/flow-build` - Flujo completo: todas las fases en orden (11 fases backend, 11 frontend/mobile)
|
|
272
277
|
- `/flow-build fase N` - Ejecutar fase específica (ver lista de fases abajo)
|
|
278
|
+
- `/flow-work` - Development orchestrator (feature, refactor, fix, resume)
|
|
279
|
+
- `/flow-check` - Combined code review & testing workflow
|
|
280
|
+
- `/flow-commit` - Atomic commits (Conventional Commits)
|
|
273
281
|
- `/flow-docs-sync` - Update documentation when code changes
|
|
274
282
|
|
|
275
283
|
**Fases disponibles (Backend):**
|
|
@@ -300,16 +308,12 @@ After initialization, use these slash commands in your AI tool:
|
|
|
300
308
|
- `/flow-build fase 9` - Implementation Roadmap (opcional)
|
|
301
309
|
- `/flow-build fase 10` - User Stories Generation (opcional)
|
|
302
310
|
|
|
303
|
-
**Workflows (
|
|
311
|
+
**Workflows (All project types):**
|
|
304
312
|
|
|
305
|
-
- `/flow-
|
|
306
|
-
- `/flow-
|
|
307
|
-
- `/flow-
|
|
308
|
-
- `/flow-
|
|
309
|
-
- `/flow-dev-review` - Multi-aspect code review (5 min)
|
|
310
|
-
- `/flow-dev-refactor` - Quick refactorings (3-5 min)
|
|
311
|
-
|
|
312
|
-
> **Note:** Frontend and Mobile projects include build commands (`/flow-build`, phases, `/flow-docs-sync`) but not workflow commands.
|
|
313
|
+
- `/flow-work` - **Unified orchestrator** for Features/Refactors/Fixes with smart detection
|
|
314
|
+
- `/flow-check` - **Combined validation**: Tests + Code Review in one command
|
|
315
|
+
- `/flow-commit` - Automate commits with Conventional Commits (3-5 min)
|
|
316
|
+
- `/flow-docs-sync` - **Sync documentation** when code changes occur
|
|
313
317
|
|
|
314
318
|
## **📚 See [GETTING-STARTED.md](GETTING-STARTED.md) for complete command reference**
|
|
315
319
|
|
|
@@ -345,7 +349,7 @@ After initialization, use these slash commands in your AI tool:
|
|
|
345
349
|
|
|
346
350
|
**Mobile** (13 docs): AGENT.md, ai-instructions.md, project-brief.md, plus 10 technical docs/specs.
|
|
347
351
|
|
|
348
|
-
**Fullstack** (
|
|
352
|
+
**Fullstack** (30+ docs): Combined Backend + Frontend documentation structures.
|
|
349
353
|
|
|
350
354
|
### 📁 Generated Structure
|
|
351
355
|
|