ai-flow-dev 1.0.1
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/LICENSE +21 -0
- package/README.md +408 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +791 -0
- package/dist/cli.js.map +1 -0
- package/dist/fs-utils.d.ts +2 -0
- package/dist/fs-utils.d.ts.map +1 -0
- package/dist/fs-utils.js +46 -0
- package/dist/fs-utils.js.map +1 -0
- package/package.json +71 -0
- package/prompts/backend/flow-dev-feature.md +1318 -0
- package/prompts/backend/flow-dev-fix.md +903 -0
- package/prompts/backend/flow-dev-refactor.md +715 -0
- package/prompts/backend/flow-dev-review.md +401 -0
- package/prompts/backend/flow-dev-work.md +1129 -0
- package/prompts/backend/flow-docs-gen-phase-0.md +1840 -0
- package/prompts/backend/flow-docs-gen-phase-1.md +435 -0
- package/prompts/backend/flow-docs-gen-phase-2.md +460 -0
- package/prompts/backend/flow-docs-gen-phase-3.md +684 -0
- package/prompts/backend/flow-docs-gen-phase-4.md +516 -0
- package/prompts/backend/flow-docs-gen-phase-5.md +637 -0
- package/prompts/backend/flow-docs-gen-phase-6.md +465 -0
- package/prompts/backend/flow-docs-gen-phase-7.md +1207 -0
- package/prompts/backend/flow-docs-gen.md +820 -0
- package/prompts/backend/flow-docs-sync.md +526 -0
- package/prompts/backend/flow-project-init.md +248 -0
- package/prompts/backend/flow-project-roadmap.md +1159 -0
- package/prompts/frontend/flow-docs-gen-phase-0.md +494 -0
- package/prompts/frontend/flow-docs-gen-phase-1.md +449 -0
- package/prompts/frontend/flow-docs-gen-phase-2.md +983 -0
- package/prompts/frontend/flow-docs-gen-phase-3.md +685 -0
- package/prompts/frontend/flow-docs-gen-phase-4.md +480 -0
- package/prompts/frontend/flow-docs-gen-phase-5.md +483 -0
- package/prompts/frontend/flow-docs-gen-phase-6.md +570 -0
- package/prompts/frontend/flow-docs-gen-phase-7.md +582 -0
- package/prompts/frontend/flow-docs-gen.md +413 -0
- package/prompts/frontend/flow-docs-sync.md +561 -0
- package/prompts/mobile/flow-docs-gen-phase-0.md +387 -0
- package/prompts/mobile/flow-docs-gen-phase-1.md +530 -0
- package/prompts/mobile/flow-docs-gen-phase-2.md +584 -0
- package/prompts/mobile/flow-docs-gen-phase-3.md +659 -0
- package/prompts/mobile/flow-docs-gen-phase-4.md +363 -0
- package/prompts/mobile/flow-docs-gen-phase-5.md +369 -0
- package/prompts/mobile/flow-docs-gen-phase-6.md +490 -0
- package/prompts/mobile/flow-docs-gen-phase-7.md +407 -0
- package/prompts/mobile/flow-docs-gen.md +430 -0
- package/prompts/mobile/flow-docs-sync.md +634 -0
- package/templates/backend/.clauderules.template +111 -0
- package/templates/backend/.cursorrules.template +102 -0
- package/templates/backend/.env.example.template +122 -0
- package/templates/backend/README.template.md +200 -0
- package/templates/backend/ai-instructions.template.md +354 -0
- package/templates/backend/copilot-instructions.template.md +160 -0
- package/templates/backend/docs/api.template.md +251 -0
- package/templates/backend/docs/architecture.template.md +612 -0
- package/templates/backend/docs/business-flows.template.md +109 -0
- package/templates/backend/docs/code-standards.template.md +828 -0
- package/templates/backend/docs/contributing.template.md +163 -0
- package/templates/backend/docs/data-model.template.md +416 -0
- package/templates/backend/docs/operations.template.md +591 -0
- package/templates/backend/docs/testing.template.md +762 -0
- package/templates/backend/project-brief.template.md +176 -0
- package/templates/backend/specs/configuration.template.md +133 -0
- package/templates/backend/specs/security.template.md +422 -0
- package/templates/frontend/README.template.md +121 -0
- package/templates/frontend/ai-instructions.template.md +368 -0
- package/templates/frontend/docs/api-integration.template.md +390 -0
- package/templates/frontend/docs/components.template.md +567 -0
- package/templates/frontend/docs/error-handling.template.md +385 -0
- package/templates/frontend/docs/operations.template.md +123 -0
- package/templates/frontend/docs/performance.template.md +140 -0
- package/templates/frontend/docs/pwa.template.md +135 -0
- package/templates/frontend/docs/state-management.template.md +394 -0
- package/templates/frontend/docs/styling.template.md +779 -0
- package/templates/frontend/docs/testing.template.md +736 -0
- package/templates/frontend/project-brief.template.md +55 -0
- package/templates/frontend/specs/accessibility.template.md +111 -0
- package/templates/frontend/specs/configuration.template.md +520 -0
- package/templates/frontend/specs/security.template.md +197 -0
- package/templates/fullstack/README.template.md +282 -0
- package/templates/fullstack/ai-instructions.template.md +487 -0
- package/templates/fullstack/project-brief.template.md +197 -0
- package/templates/fullstack/specs/configuration.template.md +380 -0
- package/templates/mobile/AGENT.template.md +251 -0
- package/templates/mobile/README.template.md +195 -0
- package/templates/mobile/ai-instructions.template.md +221 -0
- package/templates/mobile/docs/app-store.template.md +163 -0
- package/templates/mobile/docs/architecture.template.md +100 -0
- package/templates/mobile/docs/native-features.template.md +137 -0
- package/templates/mobile/docs/navigation.template.md +81 -0
- package/templates/mobile/docs/offline-strategy.template.md +90 -0
- package/templates/mobile/docs/permissions.template.md +70 -0
- package/templates/mobile/docs/state-management.template.md +116 -0
- package/templates/mobile/docs/testing.template.md +146 -0
- package/templates/mobile/project-brief.template.md +97 -0
- package/templates/mobile/specs/build-configuration.template.md +116 -0
- package/templates/mobile/specs/deployment.template.md +114 -0
- package/templates/shared/AGENT.template.md +252 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Victor Velazquez
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# AI Flow
|
|
2
|
+
|
|
3
|
+
[](https://github.com/victorvelazquez/ai-flow/actions/flow-dev-workflows/nodejs.yml)
|
|
4
|
+
|
|
5
|
+
## English
|
|
6
|
+
|
|
7
|
+
Transform your idea into a production-ready, AI-documented project (backend, frontend, fullstack, or mobile) in minutes.
|
|
8
|
+
|
|
9
|
+
AI Flow is an interactive CLI that creates comprehensive professional documentation and provides an AI-powered development workflow from idea to production. Compatible with Claude, Copilot, Cursor, Gemini, and any AI assistant.
|
|
10
|
+
|
|
11
|
+
**Key Features:**
|
|
12
|
+
|
|
13
|
+
- 🚀 Complete professional documentation (12-17 docs per project type)
|
|
14
|
+
- ⚡ **Two modes:** Interactive (90-120 min, full control) or Smart Auto-Suggest (15-25 min, 6 questions)
|
|
15
|
+
- 🌍 Universal support - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
|
|
16
|
+
- 🤖 Multi-AI support with slash commands
|
|
17
|
+
- 🔍 Smart 3-layer detection for existing projects (50-94% faster)
|
|
18
|
+
- ⏱️ Save 10-20 hours per project
|
|
19
|
+
|
|
20
|
+
**Quick Start:**
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install -g ai-flow
|
|
24
|
+
ai-flow init .
|
|
25
|
+
# Then open your AI tool and run: /flow-docs-gen
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
📚 **[Complete Guide →](GETTING-STARTED.md)**
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Español
|
|
33
|
+
|
|
34
|
+
Transforma tu idea en un proyecto listo para producción y documentado para IA en minutos (backend, frontend, fullstack o mobile).
|
|
35
|
+
|
|
36
|
+
**Características:**
|
|
37
|
+
|
|
38
|
+
- 🚀 Documentación profesional completa (12-17 docs por tipo)
|
|
39
|
+
- ⚡ **Dos modos:** Interactivo (90-120 min, control total) o Auto-Sugerido (15-25 min, 6 preguntas)
|
|
40
|
+
- 🌍 Soporte universal - 12 lenguajes, 60+ frameworks, 35+ ORMs
|
|
41
|
+
- 🤖 Compatible con Claude, Copilot, Cursor, Gemini
|
|
42
|
+
- 🔍 Detección inteligente para proyectos existentes (50-94% más rápido)
|
|
43
|
+
- ⏱️ Ahorra 10-20 horas por proyecto
|
|
44
|
+
|
|
45
|
+
**Inicio rápido:**
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npm install -g ai-flow
|
|
49
|
+
ai-flow init .
|
|
50
|
+
# Luego en tu AI tool: /flow-docs-gen
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
📚 **[Guía Completa →](GETTING-STARTED.md)**
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Português
|
|
58
|
+
|
|
59
|
+
Transforme sua ideia em um projeto pronto para produção e documentado para IA em minutos.
|
|
60
|
+
**Características:**
|
|
61
|
+
|
|
62
|
+
- 🚀 Documentação profissional completa (12-17 docs por tipo)
|
|
63
|
+
- ⚡ **Dois modos:** Interativo (90-120 min, controle total) ou Auto-Sugestão (15-25 min, 6 perguntas)
|
|
64
|
+
- 🌍 Suporte universal - 12 linguagens, 60+ frameworks, 35+ ORMs
|
|
65
|
+
- 🤖 Compatível com Claude, Copilot, Cursor, Gemini
|
|
66
|
+
- 🔍 Detecção inteligente para projetos existentes (50-94% mais rápido)
|
|
67
|
+
- ⏱️ Economize 10-20 horas por projetos existentes (50-94% mais rápido)
|
|
68
|
+
- ⏱️ Economize 10-20 horas por projeto
|
|
69
|
+
|
|
70
|
+
**Início rápido:**
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npm install -g ai-flow
|
|
74
|
+
ai-flow init .
|
|
75
|
+
# Depois na sua ferramenta de IA: /flow-docs-gen
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
📚 **[Guia Completo →](GETTING-STARTED.md)**
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## 🎯 What is AI Flow?
|
|
83
|
+
|
|
84
|
+
AI Flow is an interactive CLI tool that generates comprehensive professional documentation and provides an AI-powered development workflow throughout your project lifecycle (backend, frontend, fullstack, or mobile). It creates the foundation for AI-assisted development with any AI tool, from initial setup to feature development and maintenance.
|
|
85
|
+
|
|
86
|
+
**The Problem:** Starting a project requires hours of documentation setup. Existing projects lack proper AI-ready documentation. Without proper docs, AI assistants work inefficiently.
|
|
87
|
+
**The Solution:**
|
|
88
|
+
|
|
89
|
+
- **Interactive Mode:** Full control, all questions (90-120 min new, 35-70 min existing)
|
|
90
|
+
- **Smart Auto-Suggest Mode:** Only 6 critical questions, AI suggests the rest (15-25 min)
|
|
91
|
+
- **Smart Detection:** Analyzes existing projects to pre-populate answers (50-60% faster)
|
|
92
|
+
|
|
93
|
+
The result is interconnected documentation that guides AI assistants and human developers throughout your project lifecycle.
|
|
94
|
+
The result is interconnected documentation that guides AI assistants and human developers throughout your project lifecycle.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
- 🌍 **Universal Support** - 12 languages, 60+ frameworks, 35+ ORMs (98% coverage)
|
|
99
|
+
- 🤖 **AI-Agnostic** - Claude, Copilot, Cursor, Gemini, any AI tool
|
|
100
|
+
- 📚 **Professional Documentation** - 12-17 docs per project type
|
|
101
|
+
- ⚡ **Two Questionnaire Modes:**
|
|
102
|
+
- **Interactive Mode:** Full control, 71 questions (90-120 min)
|
|
103
|
+
- **Smart Auto-Suggest:** Only 6 critical questions, AI suggests best practices (15-25 min)
|
|
104
|
+
- 🔍 **Smart 3-Layer Detection** - Analyzes existing projects in 15s-5min
|
|
105
|
+
- 💾 **Intelligent Caching** - 0 seconds on re-runs with no changes
|
|
106
|
+
- 💡 **Slash Commands** - Easy execution with `/flow-docs-gen`, `/flow-dev-feature`, `/flow-dev-fix`
|
|
107
|
+
- ⏱️ **Time Efficient** - Save 10-20 hours per projectth no changes
|
|
108
|
+
- 💡 **Slash Commands** - Easy execution with `/flow-docs-gen`, `/flow-dev-feature`, `/flow-dev-fix`
|
|
109
|
+
- ⏱️ **Time Efficient** - Save 10-20 hours per project
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 📋 Prerequisites
|
|
114
|
+
|
|
115
|
+
- **Node.js:** 18.0.0 or higher ([Download](https://nodejs.org/))
|
|
116
|
+
- **npm:** Included with Node.js
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 📦 Installation
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm install -g ai-flow-dev
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Or using uv (Python tool manager):
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
uv tool install ai-flow-dev
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Current version:** 1.0.1
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## 🚀 Quick Start
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# 1. Create project folder
|
|
140
|
+
mkdir my-awesome-project
|
|
141
|
+
cd my-awesome-project
|
|
142
|
+
|
|
143
|
+
# 2. Initialize AI Flow
|
|
144
|
+
ai-flow init .
|
|
145
|
+
|
|
146
|
+
# 3. Open your AI tool and run:
|
|
147
|
+
/flow-docs-gen
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
That's it! The AI will guide you through an interactive questionnaire to generate all documentation.
|
|
151
|
+
|
|
152
|
+
**📚 For detailed tutorials, see [GETTING-STARTED.md](GETTING-STARTED.md)**
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 🛠️ CLI Commands
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
ai-flow init [path] # Initialize project
|
|
160
|
+
ai-flow check # Verify initialization
|
|
161
|
+
ai-flow --version # Show version
|
|
162
|
+
ai-flow --help # Show help
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### Common Flags
|
|
166
|
+
|
|
167
|
+
```bash
|
|
168
|
+
--ai <tool> # claude, cursor, copilot, gemini, all (interactive if omitted)
|
|
169
|
+
--type <type> # backend, frontend, mobile, fullstack (interactive if omitted)
|
|
170
|
+
--name <name> # Project name (interactive if omitted)
|
|
171
|
+
--description <desc> # Project description (interactive if omitted)
|
|
172
|
+
--verbose # Detailed logging
|
|
173
|
+
--dry-run # Simulate without writing
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Examples:**
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
# Non-interactive mode (all flags provided)
|
|
180
|
+
ai-flow init . --ai claude --type backend --name "My API" --description "REST API"
|
|
181
|
+
|
|
182
|
+
# Interactive mode (will prompt for missing values)
|
|
183
|
+
ai-flow init .
|
|
184
|
+
|
|
185
|
+
# Hybrid mode (some flags, some prompts)
|
|
186
|
+
ai-flow init . --ai claude
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## 🤖 AI Tool Support
|
|
192
|
+
|
|
193
|
+
AI Flow works with any AI tool. Select during initialization:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
ai-flow init . --ai claude # Claude Code
|
|
197
|
+
ai-flow init . --ai cursor # Cursor
|
|
198
|
+
ai-flow init . --ai copilot # GitHub Copilot
|
|
199
|
+
ai-flow init . --ai gemini # Gemini
|
|
200
|
+
ai-flow init . --ai all # All tools (maximum compatibility)
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Each tool gets:
|
|
204
|
+
|
|
205
|
+
- Tool-specific configuration files
|
|
206
|
+
- Slash commands optimized for that tool
|
|
207
|
+
- Integration with `AGENT.md` (universal config)
|
|
208
|
+
|
|
209
|
+
**Slash command locations:**
|
|
210
|
+
|
|
211
|
+
- **GitHub Copilot:** `.github/prompts/*.prompt.md`
|
|
212
|
+
- **Claude:** `.claude/commands/*.md`
|
|
213
|
+
- **Cursor:** `.cursor/commands/*.md`
|
|
214
|
+
- **Gemini:** `.gemini/commands/*.md`
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## 📋 Available Commands
|
|
219
|
+
|
|
220
|
+
After initialization, use these slash commands in your AI tool:
|
|
221
|
+
|
|
222
|
+
**Documentation & Bootstrap:**
|
|
223
|
+
|
|
224
|
+
- `/flow-docs-gen` - Full 8-phase documentation generation
|
|
225
|
+
- `/flow-docs-gen-phase-0-context` - Context discovery (existing projects)
|
|
226
|
+
- `/flow-docs-gen-phase-1-business` - Business requirements
|
|
227
|
+
- `/flow-docs-gen-phase-2-data` - Data architecture
|
|
228
|
+
- `/flow-docs-gen-phase-3-architecture` - Technical architecture
|
|
229
|
+
- `/flow-docs-gen-phase-4-security` - Security & compliance
|
|
230
|
+
- `/flow-docs-gen-phase-5-standards` - Code standards
|
|
231
|
+
- `/flow-docs-gen-phase-6-testing` - Testing strategy
|
|
232
|
+
- `/flow-docs-gen-phase-7-operations` - Deployment & operations
|
|
233
|
+
- `/flow-docs-sync` - Update documentation when code changes
|
|
234
|
+
|
|
235
|
+
**Project Setup (Backend only):**
|
|
236
|
+
|
|
237
|
+
- `/flow-project-init` - Initialize project with framework (5-10 min, auto-executed by /flow-docs-gen)
|
|
238
|
+
- `/flow-project-roadmap` - Create implementation roadmap with Story Points (15-30 min)
|
|
239
|
+
|
|
240
|
+
**Workflows (Backend only):**
|
|
241
|
+
|
|
242
|
+
- `/flow-dev-feature` - Create/modify features (15-20 min)
|
|
243
|
+
- `/flow-dev-fix` - Fix bugs (3-15 min, adaptive)
|
|
244
|
+
- `/flow-dev-work` - Manage work in progress
|
|
245
|
+
- `/flow-dev-review` - Multi-aspect code review (5 min)
|
|
246
|
+
- `/flow-dev-refactor-quick` - Quick refactorings (3-5 min)
|
|
247
|
+
|
|
248
|
+
> **Note:** Frontend and Mobile projects include documentation commands (`/flow-docs-gen`, phases, `/flow-docs-sync`) but not workflow commands.
|
|
249
|
+
|
|
250
|
+
**📚 See [GETTING-STARTED.md](GETTING-STARTED.md) for complete command reference**
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## 💡 How It Works
|
|
255
|
+
|
|
256
|
+
1. **Smart Detection** - Analyzes existing projects in 3 layers (15s to 5min)
|
|
257
|
+
2. **Interactive Questionnaire** - Guides you through 8 phases (choose mode)
|
|
258
|
+
3. **Template Generation** - Creates 12-17 professional documents
|
|
259
|
+
4. **AI Integration** - Configures your AI tool with project context
|
|
260
|
+
5. **Slash Command Setup** - Installs prompts to tool-specific paths (.github/prompts/, .claude/commands/, etc.)
|
|
261
|
+
|
|
262
|
+
**For existing projects:**
|
|
263
|
+
|
|
264
|
+
- Layer 0: Cache check (0-5s)
|
|
265
|
+
- Layer 1: Metadata scan (10-20s)
|
|
266
|
+
- Layer 2: Structural analysis (30-90s)
|
|
267
|
+
- Layer 3: Deep analysis (1-5min, optional)
|
|
268
|
+
|
|
269
|
+
**Benefits:**
|
|
270
|
+
|
|
271
|
+
- 50-94% faster for existing projects
|
|
272
|
+
- 40-60% of answers pre-filled
|
|
273
|
+
- Intelligent caching (0s re-runs)
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## 🎯 Generated Documentation
|
|
278
|
+
|
|
279
|
+
**Backend** (17 docs): AGENT.md, ai-instructions.md, project-brief.md, README.md, 9 technical docs, 2 specs, .env.example
|
|
280
|
+
|
|
281
|
+
**Frontend** (15 docs): AGENT.md, ai-instructions.md, project-brief.md, README.md, 9 technical docs, 3 specs
|
|
282
|
+
|
|
283
|
+
**Mobile** (14 docs): AGENT.md, ai-instructions.md, project-brief.md, README.md, 8 technical docs, 2 specs
|
|
284
|
+
|
|
285
|
+
**Fullstack** (~20 docs): Merges backend + frontend templates with priority resolution (fullstack-specific → backend → frontend)
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## 🌍 Supported Languages & Frameworks
|
|
290
|
+
|
|
291
|
+
AI Flow provides **universal support** with automatic detection for 98% of the market:
|
|
292
|
+
|
|
293
|
+
### Languages Supported (12)
|
|
294
|
+
|
|
295
|
+
| Language | Market Share | Frameworks | ORMs | Status |
|
|
296
|
+
| ---------------------- | ------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------- | ------- |
|
|
297
|
+
| **Node.js/TypeScript** | ~35% | NestJS, Express, Fastify, Koa, Hapi, AdonisJS, Next.js, Remix, tRPC | Prisma, TypeORM, Sequelize, Mongoose, Drizzle, MikroORM, Knex | ✅ Full |
|
|
298
|
+
| **Python** | ~25% | FastAPI, Django, Django REST Framework, Flask, Tornado, Sanic, Starlette | SQLAlchemy, Django ORM, Tortoise ORM, Peewee, SQLModel | ✅ Full |
|
|
299
|
+
| **PHP** | ~15% | Laravel, Symfony, CodeIgniter, Slim, Lumen, Yii | Eloquent, Doctrine, Propel | ✅ Full |
|
|
300
|
+
| **Java** | ~15% | Spring Boot, Micronaut, Quarkus, Vert.x, Dropwizard | Hibernate/JPA, MyBatis, jOOQ | ✅ Full |
|
|
301
|
+
| **C#/.NET** | ~8% | ASP.NET Core, Minimal APIs, Nancy | Entity Framework Core, Dapper, NHibernate | ✅ Full |
|
|
302
|
+
| **Go** | ~5% | Gin, Echo, Fiber, Chi, Buffalo | GORM, Ent, sqlx, sqlc | ✅ Full |
|
|
303
|
+
| **Ruby** | ~3% | Ruby on Rails, Sinatra, Hanami, Grape | ActiveRecord, Sequel, ROM | ✅ Full |
|
|
304
|
+
| **Kotlin** | ~2% | Ktor, Spring Boot, Javalin, http4k | Exposed, Hibernate | ✅ Full |
|
|
305
|
+
| **Rust** | ~1% | Actix-web, Rocket, Axum, Warp | Diesel, SeaORM, sqlx | ✅ Full |
|
|
306
|
+
| **Elixir** | <1% | Phoenix | Ecto | ✅ Full |
|
|
307
|
+
| **Scala** | <1% | Play Framework, Akka HTTP | Slick, Quill | ✅ Full |
|
|
308
|
+
| **Swift** | <1% | Vapor | Fluent | ✅ Full |
|
|
309
|
+
|
|
310
|
+
**See [GETTING-STARTED.md](GETTING-STARTED.md) for automatic detection details and examples.**
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## 🎓 Why Use AI Flow?
|
|
315
|
+
|
|
316
|
+
**Without AI Flow:**
|
|
317
|
+
|
|
318
|
+
- ⏱️ 10-20 hours creating docs manually
|
|
319
|
+
- 🤔 AI assistants lack context, make assumptions
|
|
320
|
+
- 🐛 More bugs due to unclear standards
|
|
321
|
+
|
|
322
|
+
**With AI Flow:**
|
|
323
|
+
|
|
324
|
+
- ⏱️ 90-120 min (new) or 35-70 min (existing)
|
|
325
|
+
- 🤖 AI assistants work with full context and continuous workflow
|
|
326
|
+
- ✅ Consistent quality, fewer bugs
|
|
327
|
+
- 💾 Save 10-20 hours per project
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## 📚 Documentation Philosophy
|
|
332
|
+
|
|
333
|
+
AI Flow follows: **Documentation as Executable Code**
|
|
334
|
+
|
|
335
|
+
- Documents guide AI assistants (like config files guide compilers)
|
|
336
|
+
- `AGENT.md` is the universal entry point
|
|
337
|
+
- All documents are interconnected
|
|
338
|
+
- Documents evolve with your project
|
|
339
|
+
- Single source of truth for all AI tools
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
## 🎯 Who Should Use This?
|
|
344
|
+
|
|
345
|
+
**Perfect for:**
|
|
346
|
+
|
|
347
|
+
- ✅ Backend/frontend/mobile developers starting new projects
|
|
348
|
+
- ✅ Teams with existing codebases needing AI-ready documentation
|
|
349
|
+
- ✅ Projects requiring comprehensive documentation
|
|
350
|
+
- ✅ Teams adopting AI-assisted development
|
|
351
|
+
- ✅ Multi-language teams (12 languages supported)
|
|
352
|
+
|
|
353
|
+
**Not ideal for:**
|
|
354
|
+
|
|
355
|
+
- ❌ Projects with zero documentation needs
|
|
356
|
+
- ❌ Quick prototypes that won't be maintained
|
|
357
|
+
|
|
358
|
+
---
|
|
359
|
+
|
|
360
|
+
## 🚀 Roadmap
|
|
361
|
+
|
|
362
|
+
- [x] Backend, frontend, mobile, fullstack support ✅
|
|
363
|
+
- [ ] Template customization
|
|
364
|
+
- [ ] VS Code extension
|
|
365
|
+
- [ ] Interactive web UI
|
|
366
|
+
|
|
367
|
+
---
|
|
368
|
+
|
|
369
|
+
## 🛠️ Troubleshooting
|
|
370
|
+
|
|
371
|
+
**Common issues:**
|
|
372
|
+
|
|
373
|
+
- Node.js version must be ≥18.0.0
|
|
374
|
+
- Check folder permissions if CLI can't write files
|
|
375
|
+
- Verify slash command files exist for your AI tool
|
|
376
|
+
|
|
377
|
+
**📚 See [GETTING-STARTED.md](GETTING-STARTED.md#troubleshooting) for detailed troubleshooting guide**
|
|
378
|
+
|
|
379
|
+
## 🤝 Contributing
|
|
380
|
+
|
|
381
|
+
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
## 📝 License
|
|
386
|
+
|
|
387
|
+
MIT License - See [LICENSE](LICENSE) for details.
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## 💬 Support
|
|
392
|
+
|
|
393
|
+
- **Issues:** [GitHub Issues](https://github.com/victorvelazquez/ai-flow/issues)
|
|
394
|
+
- **Email:** support@ai-flow.dev (if applicable)
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
## 🙏 Acknowledgments
|
|
399
|
+
|
|
400
|
+
- Inspired by [GitHub Spec-Kit](https://github.com/github/spec-kit)
|
|
401
|
+
- Built for the AI-assisted development era
|
|
402
|
+
- Community feedback and contributions
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
**Transform your idea into a production-ready project with AI Flow** 🚀
|
|
407
|
+
|
|
408
|
+
**Made with ❤️ for the developer community**
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
|