ai-flow-dev 1.4.0 → 2.1.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 +98 -30
- package/dist/cli.js +83 -108
- package/dist/cli.js.map +1 -1
- package/package.json +6 -2
- package/prompts/backend/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +5 -3
- package/prompts/backend/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +36 -41
- package/prompts/backend/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +80 -68
- package/prompts/backend/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +82 -61
- package/prompts/backend/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +10 -9
- package/prompts/backend/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +8 -7
- package/prompts/backend/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +5 -3
- package/prompts/backend/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +248 -30
- package/prompts/backend/{flow-bootstrap-phase-9.md → flow-build-phase-9.md} +97 -99
- package/prompts/backend/{flow-bootstrap.md → flow-build.md} +105 -34
- package/prompts/backend/flow-dev-commit.md +786 -0
- package/prompts/backend/flow-docs-sync.md +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +3 -2
- package/prompts/frontend/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +4 -2
- package/prompts/frontend/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +2 -1
- package/prompts/frontend/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +238 -22
- package/prompts/frontend/{flow-bootstrap.md → flow-build.md} +108 -25
- package/prompts/frontend/flow-docs-sync.md +3 -2
- package/prompts/mobile/{flow-bootstrap-phase-0.md → flow-build-phase-0.md} +3 -2
- package/prompts/mobile/{flow-bootstrap-phase-1.md → flow-build-phase-1.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-2.md → flow-build-phase-2.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-3.md → flow-build-phase-3.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-5.md → flow-build-phase-5.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-6.md → flow-build-phase-6.md} +2 -1
- package/prompts/mobile/{flow-bootstrap-phase-8.md → flow-build-phase-8.md} +249 -23
- package/prompts/mobile/{flow-bootstrap.md → flow-build.md} +107 -26
- package/prompts/mobile/flow-docs-sync.md +3 -2
- package/templates/AGENT.template.md +1 -17
- package/templates/backend/.clauderules.template +1 -1
- package/templates/backend/.cursorrules.template +1 -1
- /package/prompts/backend/{flow-bootstrap-phase-4.md → flow-build-phase-4.md} +0 -0
- /package/prompts/frontend/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +0 -0
- /package/prompts/mobile/{flow-bootstrap-phase-7.md → flow-build-phase-7.md} +0 -0
|
@@ -44,80 +44,67 @@ All documentation is structured to guide AI assistants in understanding the proj
|
|
|
44
44
|
### 📚 Core Documentation (Read in Order)
|
|
45
45
|
|
|
46
46
|
1. **`ai-instructions.md`** ⭐ **START HERE**
|
|
47
|
-
|
|
48
47
|
- Tech stack and versions
|
|
49
48
|
- NEVER/ALWAYS rules
|
|
50
49
|
- Development workflow
|
|
51
50
|
- Priorities
|
|
52
51
|
|
|
53
52
|
2. **`project-brief.md`**
|
|
54
|
-
|
|
55
53
|
- Business context
|
|
56
54
|
- Objectives and scope
|
|
57
55
|
- Constraints and success metrics
|
|
58
56
|
|
|
59
57
|
3. **`README.md`**
|
|
60
|
-
|
|
61
58
|
- Quick start
|
|
62
59
|
- Installation and commands
|
|
63
60
|
- Project directory tour
|
|
64
61
|
|
|
65
62
|
4. **`docs/architecture.md`**
|
|
66
|
-
|
|
67
63
|
- System architecture pattern
|
|
68
64
|
- Component structure
|
|
69
65
|
- Request/response flow
|
|
70
66
|
|
|
71
67
|
5. **`docs/data-model.md`**
|
|
72
|
-
|
|
73
68
|
- Database schema
|
|
74
69
|
- Entity relationships
|
|
75
70
|
- Data patterns
|
|
76
71
|
|
|
77
72
|
6. **`docs/code-standards.md`**
|
|
78
|
-
|
|
79
73
|
- Naming conventions
|
|
80
74
|
- Code quality rules
|
|
81
75
|
- Error handling patterns
|
|
82
76
|
|
|
83
77
|
7. **`docs/testing.md`**
|
|
84
|
-
|
|
85
78
|
- Testing strategy
|
|
86
79
|
- Coverage requirements
|
|
87
80
|
- Test patterns
|
|
88
81
|
|
|
89
82
|
8. **`docs/operations.md`**
|
|
90
|
-
|
|
91
83
|
- Deployment procedures
|
|
92
84
|
- Monitoring and alerts
|
|
93
85
|
- Scaling strategy
|
|
94
86
|
|
|
95
87
|
9. **`docs/business-flows.md`**
|
|
96
|
-
|
|
97
88
|
- End-to-end business processes
|
|
98
89
|
- Key actors and systems
|
|
99
90
|
- Flow diagrams
|
|
100
91
|
|
|
101
92
|
10. **`docs/api.md`**
|
|
102
|
-
|
|
103
93
|
- Endpoint conventions
|
|
104
94
|
- Authentication and pagination rules
|
|
105
95
|
- Request/response examples
|
|
106
96
|
|
|
107
97
|
11. **`docs/contributing.md`**
|
|
108
|
-
|
|
109
98
|
- Development setup
|
|
110
99
|
- Contribution guidelines
|
|
111
100
|
- Code review process
|
|
112
101
|
|
|
113
102
|
12. **`specs/security.md`**
|
|
114
|
-
|
|
115
103
|
- Authentication/Authorization
|
|
116
104
|
- Security policies
|
|
117
105
|
- Compliance requirements
|
|
118
106
|
|
|
119
107
|
13. **`specs/configuration.md`**
|
|
120
|
-
|
|
121
108
|
- Environment variables
|
|
122
109
|
- External services
|
|
123
110
|
- Configuration by environment
|
|
@@ -163,20 +150,17 @@ All documentation is structured to guide AI assistants in understanding the proj
|
|
|
163
150
|
When working on this project:
|
|
164
151
|
|
|
165
152
|
1. **Before starting ANY task:**
|
|
166
|
-
|
|
167
153
|
- Read `ai-instructions.md` for project-wide rules
|
|
168
154
|
- Check relevant documentation for the area you're working on
|
|
169
155
|
- Understand the business context from `project-brief.md`
|
|
170
156
|
|
|
171
157
|
2. **When implementing features:**
|
|
172
|
-
|
|
173
158
|
- Follow architecture patterns from `docs/architecture.md`
|
|
174
159
|
- Respect data models from `docs/data-model.md`
|
|
175
160
|
- Apply code standards from `docs/code-standards.md`
|
|
176
161
|
- Add tests according to `docs/testing.md`
|
|
177
162
|
|
|
178
163
|
3. **When handling security:**
|
|
179
|
-
|
|
180
164
|
- Consult `specs/security.md` for auth/authz
|
|
181
165
|
- Never hardcode secrets (use `specs/configuration.md`)
|
|
182
166
|
- Follow security headers and encryption requirements
|
|
@@ -249,4 +233,4 @@ See `README.md` for installation and setup instructions.
|
|
|
249
233
|
|
|
250
234
|
**Last Updated:** {{GENERATION_DATE}}
|
|
251
235
|
|
|
252
|
-
**Generated by:** AI Flow
|
|
236
|
+
**Generated by:** AI Flow v2.1.0
|
|
@@ -99,7 +99,7 @@ This file contains Claude Code-specific preferences and workflows.
|
|
|
99
99
|
|
|
100
100
|
## 💡 Claude-Specific Tips
|
|
101
101
|
|
|
102
|
-
- Use `/
|
|
102
|
+
- Use `/flow-build` command for starting documentation generation
|
|
103
103
|
- Use plan mode for architectural decisions
|
|
104
104
|
- Reference `AGENT.md` for any clarifications
|
|
105
105
|
- Ask user before making breaking changes
|
|
@@ -92,7 +92,7 @@ Read these files in order:
|
|
|
92
92
|
|
|
93
93
|
- Use `@AGENT.md` to reference project context
|
|
94
94
|
- Use `@ai-instructions.md` for coding rules
|
|
95
|
-
- Run `/
|
|
95
|
+
- Run `/flow-build` to start documentation generation
|
|
96
96
|
- Check `docs/` folder for detailed specifications
|
|
97
97
|
|
|
98
98
|
---
|
|
File without changes
|
|
File without changes
|
|
File without changes
|