ai-flow-dev 2.6.0 → 2.8.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.
Files changed (33) hide show
  1. package/README.md +24 -21
  2. package/package.json +6 -6
  3. package/prompts/backend/flow-check-review.md +648 -12
  4. package/prompts/backend/flow-check-test.md +520 -8
  5. package/prompts/backend/flow-check.md +687 -29
  6. package/prompts/backend/flow-commit.md +18 -49
  7. package/prompts/backend/flow-finish.md +919 -0
  8. package/prompts/backend/flow-release.md +949 -0
  9. package/prompts/backend/flow-work.md +296 -221
  10. package/prompts/desktop/flow-check-review.md +648 -12
  11. package/prompts/desktop/flow-check-test.md +520 -8
  12. package/prompts/desktop/flow-check.md +687 -29
  13. package/prompts/desktop/flow-commit.md +18 -49
  14. package/prompts/desktop/flow-finish.md +910 -0
  15. package/prompts/desktop/flow-release.md +662 -0
  16. package/prompts/desktop/flow-work.md +398 -219
  17. package/prompts/frontend/flow-check-review.md +648 -12
  18. package/prompts/frontend/flow-check-test.md +520 -8
  19. package/prompts/frontend/flow-check.md +687 -29
  20. package/prompts/frontend/flow-commit.md +18 -49
  21. package/prompts/frontend/flow-finish.md +910 -0
  22. package/prompts/frontend/flow-release.md +519 -0
  23. package/prompts/frontend/flow-work-api.md +1540 -0
  24. package/prompts/frontend/flow-work.md +774 -218
  25. package/prompts/mobile/flow-check-review.md +648 -12
  26. package/prompts/mobile/flow-check-test.md +520 -8
  27. package/prompts/mobile/flow-check.md +687 -29
  28. package/prompts/mobile/flow-commit.md +18 -49
  29. package/prompts/mobile/flow-finish.md +910 -0
  30. package/prompts/mobile/flow-release.md +751 -0
  31. package/prompts/mobile/flow-work-api.md +1493 -0
  32. package/prompts/mobile/flow-work.md +792 -222
  33. package/templates/AGENT.template.md +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ AI Flow is an interactive CLI that creates comprehensive professional documentat
10
10
 
11
11
  **Key Features:**
12
12
 
13
- - 🚀 Complete professional documentation (Backend: 14 files, Frontend: 15 files, Mobile: 13 files, Desktop: 14 files, Fullstack: 30+ files)
13
+ - 🚀 Complete professional documentation (Backend: 17 files, Frontend: 15 files, Mobile: 13 files, Desktop: 16 files, Fullstack: 30+ files)
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)
@@ -108,7 +108,7 @@ The result is interconnected documentation that guides AI assistants and human d
108
108
 
109
109
  - 🌍 **Universal Support** - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
110
110
  - 🤖 **AI-Agnostic** - Claude, Copilot, Cursor, Gemini, Antigravity, any AI tool
111
- - 📚 **Professional Documentation** - Backend: 17 files, Frontend: 15 files, Mobile: 13 files, Desktop: 13 files, Fullstack: 30+ files
111
+ - 📚 **Professional Documentation** - Backend: 14 files, Frontend: 15 files, Mobile: 13 files, Desktop: 14 files, Fullstack: 30+ files
112
112
  - 🧠 **Smart Description Refinement** - AI detects vague inputs and helps you rich the context (WHO, WHAT, WHY).
113
113
  - ⚡ **Two Questionnaire Modes:**
114
114
  - **Interactive Mode:** Full control, all phases (90-120 min)
@@ -116,7 +116,7 @@ The result is interconnected documentation that guides AI assistants and human d
116
116
  - 🔍 **Smart 3-Layer Detection** - Analyzes existing projects in 15s-5min
117
117
  - 💾 **Intelligent Caching** - 0 seconds on re-runs with no changes
118
118
  - 🚀 **Agent Mode** - Immediate, proactive execution for all AI workflows
119
- - 💡 **Slash Commands** - Easy execution with `/flow-build`, `/flow-work`, `/flow-check`, `/flow-commit`
119
+ - 💡 **Slash Commands** - Easy execution with `/flow-build`, `/flow-work`, `/flow-check`, `/flow-commit`, `/flow-finish`, `/flow-release`
120
120
  - ⏱️ **Time Efficient** - Save 10-20 hours per project
121
121
 
122
122
  ---
@@ -140,7 +140,7 @@ Or using uv (Python tool manager):
140
140
  uv tool install ai-flow-dev
141
141
  ```
142
142
 
143
- ## **Current version:** 2.5.1
143
+ ## **Current version:** 2.7.0
144
144
 
145
145
  ## 🚀 Quick Start
146
146
 
@@ -190,7 +190,6 @@ $ ai-flow check
190
190
  --type <type> # backend, frontend, mobile, desktop, fullstack (interactive if omitted)
191
191
  --name <name> # Project name (interactive if omitted)
192
192
  --description <desc> # Project description (interactive if omitted)
193
- --verbose # Detailed logging (init only)
194
193
  --dry-run # Simulate without writing (init only)
195
194
  ```
196
195
 
@@ -218,11 +217,8 @@ ai-flow init . --ai claude --type mobile
218
217
  # Desktop project example (NetBeans/Eclipse)
219
218
  ai-flow init . --ai claude --type desktop
220
219
 
221
- # Enable verbose output (detailed logging) - only for init command
222
- ai-flow init . --verbose
223
-
224
220
  # Simulate initialization without writing files (dry-run)
225
- ai-flow init . --dry-run --verbose
221
+ ai-flow init . --dry-run
226
222
 
227
223
  # Show detailed help with all commands and options
228
224
  ai-flow --help
@@ -269,9 +265,10 @@ After initialization, use these slash commands in your AI tool:
269
265
 
270
266
  > **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.
271
267
 
272
- **Backend Projects:** 22 prompts (/flow-build with phases 0-10, /flow-work, /flow-check, /flow-commit, /flow-docs-sync)
273
- **Frontend Projects:** 22 prompts (same structure tailored for frontend)
274
- **Mobile Projects:** 22 prompts (same structure tailored for mobile apps)
268
+ **Backend Projects:** 24 prompts (/flow-build with phases 0-10, /flow-work, /flow-check, /flow-commit, /flow-finish, /flow-docs-sync, /flow-release)
269
+ **Frontend Projects:** 25 prompts (same structure tailored for frontend)
270
+ **Mobile Projects:** 25 prompts (same structure tailored for mobile apps)
271
+ **Desktop Projects:** 24 prompts (same structure tailored for desktop apps)
275
272
  **Fullstack Projects:** Combined backend + frontend commands
276
273
 
277
274
  **Documentation & Build:**
@@ -281,7 +278,9 @@ After initialization, use these slash commands in your AI tool:
281
278
  - `/flow-work` - Development orchestrator (feature, refactor, fix, resume)
282
279
  - `/flow-check` - Combined code review & testing workflow
283
280
  - `/flow-commit` - Atomic commits (Conventional Commits)
281
+ - `/flow-finish` - Finalize work: archive, generate PR/Jira descriptions with AI, push
284
282
  - `/flow-docs-sync` - Update documentation when code changes
283
+ - `/flow-release` - Semantic versioning automation with Git tags and Swagger UI updates
285
284
 
286
285
  **Fases disponibles (Backend):**
287
286
 
@@ -313,12 +312,14 @@ After initialization, use these slash commands in your AI tool:
313
312
 
314
313
  **Workflows (All project types):**
315
314
 
316
- - `/flow-work` - **Unified orchestrator** for Features/Refactors/Fixes with smart detection, automatic completion tracking, and consolidated planning
315
+ - `/flow-work` - **Development orchestrator** for Features/Refactors/Fixes with smart detection, automatic completion tracking, and consolidated planning. Updates source documentation (roadmap/user stories), then guides you to run `/flow-finish`.
317
316
  - `/flow-check` - **Combined validation**: Tests + Code Review in one command
318
317
  - `/flow-commit` - Automate commits with Conventional Commits (3-5 min)
318
+ - `/flow-finish` - **Finalization workflow**: Smart validation (reuses /flow-check results), work archiving, AI-powered PR/Jira descriptions (~1200 tokens), optional push. Separate from `/flow-work` for better modularity.
319
319
  - `/flow-docs-sync` - **Sync documentation** when code changes occur
320
+ - `/flow-release` - **Version release automation**: Semantic versioning, Git tags, Swagger UI updates, CHANGELOG generation
320
321
 
321
- > **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.
322
+ > **Architecture:** `/flow-work` focuses on development (planning implementation → source docs update), while `/flow-finish` handles finalization (validation → archiving → summaries → push). This separation follows Unix philosophy: one tool, one responsibility. At the end of `/flow-work`, you get an interactive prompt to run `/flow-finish` immediately or handle finalization manually.
322
323
 
323
324
  ## **📚 See [GETTING-STARTED.md](GETTING-STARTED.md) for complete command reference**
324
325
 
@@ -392,21 +393,23 @@ AI Flow organizes your project with clear separation of concerns:
392
393
 
393
394
  ## 🎯 Generated Documentation
394
395
 
395
- **Backend** (17 files): AGENT.md, ai-instructions.md, copilot-instructions.md, project-brief.md, README.md, plus 8 docs (in docs/) and 4 specs/configs.
396
+ **Backend** (14 files): AGENT.md, ai-instructions.md, copilot-instructions.md, project-brief.md, README.md, plus 9 technical docs/specs.
396
397
 
397
398
  **Frontend** (15 files): AGENT.md, ai-instructions.md, project-brief.md, plus 12 technical docs/specs.
398
399
 
399
400
  **Mobile** (13 files): AGENT.md, ai-instructions.md, project-brief.md, plus 10 technical docs/specs.
400
401
 
402
+ **Desktop** (14 files): AGENT.md, ai-instructions.md, copilot-instructions.md, project-brief.md, README.md, plus 9 technical docs/specs.
403
+
401
404
  **Fullstack** (30+ files): Combined Backend + Frontend documentation structures.
402
405
 
403
- **Slash Commands/Prompts** (72 total):
406
+ **Slash Commands/Prompts** (98 total):
404
407
 
405
- - Backend: 22 prompts (/flow-build with phases 0-10, /flow-work variants, /flow-check, /flow-commit, /flow-docs-sync)
406
- - Frontend: 22 prompts (same structure tailored for frontend)
407
- - Mobile: 22 prompts (same structure tailored for mobile apps)
408
- - Shared: 6 prompts (task-format.md, story-points.md, task-summary-template.md, etc.)
409
- - **Total: 72 prompts** across all project types
408
+ - Backend: 24 prompts (/flow-build with phases 0-10, /flow-work variants, /flow-check, /flow-commit, /flow-finish, /flow-docs-sync, /flow-release)
409
+ - Frontend: 25 prompts (same structure tailored for frontend + /flow-work-api + /flow-finish + /flow-release)
410
+ - Mobile: 25 prompts (same structure tailored for mobile apps + /flow-work-api + /flow-finish + /flow-release)
411
+ - Desktop: 24 prompts (same structure tailored for desktop apps + /flow-finish + /flow-release)
412
+ - **Total: 98 prompts** across all project types
410
413
 
411
414
  Each project type gets workflow commands optimized for its technology stack.
412
415
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-flow-dev",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "AI-powered development workflow from idea to production. Generate specs, plan features, and build with AI assistance throughout your project lifecycle.",
5
5
  "type": "module",
6
6
  "main": "dist/cli.js",
@@ -45,7 +45,7 @@
45
45
  "@inquirer/prompts": "^8.1.0",
46
46
  "chalk": "^5.6.2",
47
47
  "commander": "^14.0.2",
48
- "ejs": "^3.1.10",
48
+ "ejs": "^5.0.1",
49
49
  "fs-extra": "^11.2.0",
50
50
  "ora": "^9.0.0"
51
51
  },
@@ -54,9 +54,9 @@
54
54
  "@types/fs-extra": "^11.0.4",
55
55
  "@types/jest": "^30.0.0",
56
56
  "@types/node": "^25.0.0",
57
- "@typescript-eslint/eslint-plugin": "^8.49.0",
58
- "@typescript-eslint/parser": "^8.49.0",
59
- "eslint": "^9.39.1",
57
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
58
+ "@typescript-eslint/parser": "^8.56.1",
59
+ "eslint": "^10.0.3",
60
60
  "eslint-config-prettier": "^10.1.8",
61
61
  "jest": "^30.2.0",
62
62
  "prettier": "^3.4.2",
@@ -71,4 +71,4 @@
71
71
  "README.md",
72
72
  "LICENSE"
73
73
  ]
74
- }
74
+ }