ai-flow-dev 2.2.1 → 2.4.0
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 +50 -10
- package/dist/cli.js +221 -417
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/prompts/backend/flow-build-phase-0.md +2 -2
- package/prompts/backend/flow-build-phase-10.md +11 -11
- package/prompts/backend/flow-build-phase-9.md +4 -4
- package/prompts/backend/flow-build.md +2 -0
- package/prompts/backend/flow-check.md +2 -0
- package/prompts/backend/flow-commit.md +2 -0
- package/prompts/backend/flow-docs-sync.md +2 -0
- package/prompts/backend/flow-work-feature.md +24 -18
- package/prompts/backend/flow-work-fix.md +14 -11
- package/prompts/backend/flow-work-refactor.md +20 -14
- package/prompts/backend/flow-work-resume.md +11 -9
- package/prompts/backend/flow-work.md +313 -27
- package/prompts/frontend/flow-build-phase-0.md +2 -2
- package/prompts/frontend/flow-build-phase-10.md +3 -3
- package/prompts/frontend/flow-build-phase-9.md +1 -1
- package/prompts/frontend/flow-build.md +2 -0
- package/prompts/frontend/flow-check.md +2 -0
- package/prompts/frontend/flow-commit.md +2 -0
- package/prompts/frontend/flow-docs-sync.md +3 -1
- package/prompts/frontend/flow-work-feature.md +24 -18
- package/prompts/frontend/flow-work-fix.md +14 -11
- package/prompts/frontend/flow-work-refactor.md +20 -14
- package/prompts/frontend/flow-work-resume.md +11 -9
- package/prompts/frontend/flow-work.md +313 -27
- package/prompts/mobile/flow-build-phase-0.md +2 -2
- package/prompts/mobile/flow-build-phase-10.md +2 -2
- package/prompts/mobile/flow-build-phase-9.md +1 -1
- package/prompts/mobile/flow-build.md +2 -0
- package/prompts/mobile/flow-check.md +2 -0
- package/prompts/mobile/flow-commit.md +2 -0
- package/prompts/mobile/flow-docs-sync.md +2 -0
- package/prompts/mobile/flow-work-feature.md +24 -18
- package/prompts/mobile/flow-work-fix.md +14 -11
- package/prompts/mobile/flow-work-refactor.md +20 -14
- package/prompts/mobile/flow-work-resume.md +11 -9
- package/prompts/mobile/flow-work.md +313 -27
- package/templates/AGENT.template.md +13 -3
- package/templates/backend/.clauderules.template +5 -4
- package/templates/backend/.cursorrules.template +1 -1
- package/templates/work.template.md +47 -0
package/README.md
CHANGED
|
@@ -10,13 +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)
|
|
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).
|
|
20
21
|
- ⏱️ Save 10-20 hours per project
|
|
21
22
|
|
|
22
23
|
**Quick Start:**
|
|
@@ -39,12 +40,13 @@ Transforma tu idea en un proyecto listo para producción y documentado para IA e
|
|
|
39
40
|
|
|
40
41
|
**Características:**
|
|
41
42
|
|
|
42
|
-
- 🚀 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)
|
|
43
44
|
- 🧠 **Refinamiento Inteligente:** Detecta ambigüedad y te guía iterativamente hacia una descripción profesional.
|
|
44
45
|
- ⚡ **Dos modos:** Interactivo (90-120 min, control total) o Auto-Sugerido (15-25 min, 6 preguntas)
|
|
45
46
|
- 🌍 Soporte universal - 12 lenguajes, 60+ frameworks, 35+ ORMs
|
|
46
47
|
- 🤖 Compatible with Claude, Copilot, Cursor, Gemini, Antigravity
|
|
47
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-`.
|
|
48
50
|
- ⏱️ Ahorra 10-20 horas por proyecto
|
|
49
51
|
|
|
50
52
|
**Inicio rápido:**
|
|
@@ -66,7 +68,8 @@ ai-flow init .
|
|
|
66
68
|
Transforme sua ideia em um projeto pronto para produção e documentado para IA em minutos.
|
|
67
69
|
**Características:**
|
|
68
70
|
|
|
69
|
-
- 🚀 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-`.
|
|
70
73
|
- 🧠 **Refinamento Inteligente:** Detecta ambiguidade e guia você para uma descrição profissional.
|
|
71
74
|
- ⚡ **Dois modos:** Interactivo (90-120 min, controle total) ou Auto-Sugestão (15-25 min, 6 perguntas)
|
|
72
75
|
- 🌍 Suporte universal - 12 linguagens, 60+ frameworks, 35+ ORMs
|
|
@@ -105,14 +108,15 @@ The result is interconnected documentation that guides AI assistants and human d
|
|
|
105
108
|
|
|
106
109
|
- 🌍 **Universal Support** - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
|
|
107
110
|
- 🤖 **AI-Agnostic** - Claude, Copilot, Cursor, Gemini, Antigravity, any AI tool
|
|
108
|
-
- 📚 **Professional Documentation** - Backend: 17, Frontend: 15, Mobile: 13, Fullstack:
|
|
111
|
+
- 📚 **Professional Documentation** - Backend: 17, Frontend: 15, Mobile: 13, Fullstack: 30+ docs
|
|
109
112
|
- 🧠 **Smart Description Refinement** - AI detects vague inputs and helps you rich the context (WHO, WHAT, WHY).
|
|
110
113
|
- ⚡ **Two Questionnaire Modes:**
|
|
111
114
|
- **Interactive Mode:** Full control, all phases (90-120 min)
|
|
112
115
|
- **Smart Auto-Suggest:** Only 6 critical questions, AI suggests best practices (15-25 min)
|
|
113
116
|
- 🔍 **Smart 3-Layer Detection** - Analyzes existing projects in 15s-5min
|
|
114
117
|
- 💾 **Intelligent Caching** - 0 seconds on re-runs with no changes
|
|
115
|
-
-
|
|
118
|
+
- 🚀 **Agent Mode** - Immediate, proactive execution for all AI workflows
|
|
119
|
+
- 💡 **Slash Commands** - Easy execution with `/flow-build`, `/flow-work`, `/flow-check`, `/flow-commit`
|
|
116
120
|
- ⏱️ **Time Efficient** - Save 10-20 hours per project
|
|
117
121
|
|
|
118
122
|
---
|
|
@@ -136,7 +140,7 @@ Or using uv (Python tool manager):
|
|
|
136
140
|
uv tool install ai-flow-dev
|
|
137
141
|
```
|
|
138
142
|
|
|
139
|
-
## **Current version:** 2.
|
|
143
|
+
## **Current version:** 2.4.0
|
|
140
144
|
|
|
141
145
|
## 🚀 Quick Start
|
|
142
146
|
|
|
@@ -172,7 +176,7 @@ $ ai-flow check
|
|
|
172
176
|
|
|
173
177
|
✓ .ai-flow/core/config.json found
|
|
174
178
|
✓ AI tools configured: antigravity
|
|
175
|
-
✓ Project
|
|
179
|
+
✓ Project Type: Backend (backend)
|
|
176
180
|
✓ Documentation complete: 17 files
|
|
177
181
|
✓ Slash commands installed: .agent/workflows/
|
|
178
182
|
|
|
@@ -271,6 +275,9 @@ After initialization, use these slash commands in your AI tool:
|
|
|
271
275
|
|
|
272
276
|
- `/flow-build` - Flujo completo: todas las fases en orden (11 fases backend, 11 frontend/mobile)
|
|
273
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)
|
|
274
281
|
- `/flow-docs-sync` - Update documentation when code changes
|
|
275
282
|
|
|
276
283
|
**Fases disponibles (Backend):**
|
|
@@ -303,12 +310,45 @@ After initialization, use these slash commands in your AI tool:
|
|
|
303
310
|
|
|
304
311
|
**Workflows (All project types):**
|
|
305
312
|
|
|
306
|
-
- `/flow-work` - **Unified orchestrator** for Features/Refactors/Fixes with smart detection
|
|
313
|
+
- `/flow-work` - **Unified orchestrator** for Features/Refactors/Fixes with smart detection, automatic completion tracking, and consolidated planning
|
|
307
314
|
- `/flow-check` - **Combined validation**: Tests + Code Review in one command
|
|
308
315
|
- `/flow-commit` - Automate commits with Conventional Commits (3-5 min)
|
|
316
|
+
- `/flow-docs-sync` - **Sync documentation** when code changes occur
|
|
317
|
+
|
|
318
|
+
> **Note:** `/flow-work` automatically marks tasks as complete in `planning/roadmap.md` and user story DoD checklists when implementation finishes. It generates a consolidated `work.md` file for efficient planning and context management.
|
|
309
319
|
|
|
310
320
|
## **📚 See [GETTING-STARTED.md](GETTING-STARTED.md) for complete command reference**
|
|
311
321
|
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## 📁 Project Structure
|
|
325
|
+
|
|
326
|
+
AI Flow organizes your project with clear separation of concerns:
|
|
327
|
+
|
|
328
|
+
### Documentation & Specifications
|
|
329
|
+
|
|
330
|
+
- **`docs/`** - Descriptive documentation (WHAT the project IS)
|
|
331
|
+
- `architecture.md` - System architecture and design patterns
|
|
332
|
+
- `data-model.md` - Entities, relationships, database schema
|
|
333
|
+
- `api.md` - Available endpoints and contracts
|
|
334
|
+
- `testing.md` - Testing strategy and guidelines
|
|
335
|
+
|
|
336
|
+
- **`specs/`** - Technical specifications (HOW to IMPLEMENT)
|
|
337
|
+
- `security.md` - Security rules and constraints (MUST/NEVER)
|
|
338
|
+
- `configuration.md` - Environment variables and settings
|
|
339
|
+
|
|
340
|
+
### Planning & Requirements
|
|
341
|
+
|
|
342
|
+
- **`planning/`** - Requirements and roadmap (WHAT to DO)
|
|
343
|
+
- `roadmap.md` - Technical implementation roadmap with Story Points
|
|
344
|
+
- `user-stories/` - Agile user stories with acceptance criteria
|
|
345
|
+
|
|
346
|
+
### Development State
|
|
347
|
+
|
|
348
|
+
- **`.ai-flow/`** - AI workflow state (temporary, can be gitignored)
|
|
349
|
+
- `work/` - Active development tasks
|
|
350
|
+
- `archive/` - Completed tasks (organized by month)
|
|
351
|
+
|
|
312
352
|
## 💡 How It Works
|
|
313
353
|
|
|
314
354
|
1. **Smart Detection** - Analyzes existing projects in 3 layers (15s to 5min)
|
|
@@ -341,7 +381,7 @@ After initialization, use these slash commands in your AI tool:
|
|
|
341
381
|
|
|
342
382
|
**Mobile** (13 docs): AGENT.md, ai-instructions.md, project-brief.md, plus 10 technical docs/specs.
|
|
343
383
|
|
|
344
|
-
**Fullstack** (
|
|
384
|
+
**Fullstack** (30+ docs): Combined Backend + Frontend documentation structures.
|
|
345
385
|
|
|
346
386
|
### 📁 Generated Structure
|
|
347
387
|
|