ai-flow-dev 2.1.2 โ†’ 2.1.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.
Files changed (96) hide show
  1. package/README.md +28 -40
  2. package/dist/cli.js +69 -47
  3. package/dist/cli.js.map +1 -1
  4. package/package.json +5 -5
  5. package/prompts/backend/flow-build-phase-0.md +96 -84
  6. package/prompts/backend/flow-build-phase-1.md +10 -18
  7. package/prompts/backend/flow-build-phase-10.md +199 -583
  8. package/prompts/backend/flow-build-phase-2.md +152 -86
  9. package/prompts/backend/flow-build-phase-3.md +108 -68
  10. package/prompts/backend/flow-build-phase-4.md +5 -8
  11. package/prompts/backend/flow-build-phase-5.md +39 -12
  12. package/prompts/backend/flow-build-phase-6.md +29 -8
  13. package/prompts/backend/flow-build-phase-7.md +121 -41
  14. package/prompts/backend/flow-build-phase-8.md +28 -65
  15. package/prompts/backend/flow-build-phase-9.md +267 -1298
  16. package/prompts/backend/flow-build.md +881 -957
  17. package/prompts/backend/flow-dev-commit.md +27 -50
  18. package/prompts/backend/flow-dev-feature.md +1929 -2017
  19. package/prompts/backend/flow-dev-fix.md +936 -964
  20. package/prompts/backend/flow-dev-refactor.md +672 -701
  21. package/prompts/backend/flow-dev-review.md +356 -389
  22. package/prompts/backend/flow-dev-work.md +1066 -1118
  23. package/prompts/backend/flow-docs-sync.md +31 -210
  24. package/prompts/frontend/flow-build-phase-0.md +503 -484
  25. package/prompts/frontend/flow-build-phase-1.md +445 -433
  26. package/prompts/frontend/flow-build-phase-2.md +910 -957
  27. package/prompts/frontend/flow-build-phase-3.md +692 -664
  28. package/prompts/frontend/flow-build-phase-4.md +478 -463
  29. package/prompts/frontend/flow-build-phase-5.md +488 -467
  30. package/prompts/frontend/flow-build-phase-6.md +571 -550
  31. package/prompts/frontend/flow-build-phase-7.md +560 -592
  32. package/prompts/frontend/flow-build-phase-8.md +17 -42
  33. package/prompts/frontend/flow-build.md +457 -503
  34. package/prompts/frontend/flow-docs-sync.md +24 -45
  35. package/prompts/mobile/flow-build-phase-0.md +104 -97
  36. package/prompts/mobile/flow-build-phase-1.md +137 -122
  37. package/prompts/mobile/flow-build-phase-2.md +123 -130
  38. package/prompts/mobile/flow-build-phase-3.md +144 -149
  39. package/prompts/mobile/flow-build-phase-4.md +140 -132
  40. package/prompts/mobile/flow-build-phase-5.md +70 -70
  41. package/prompts/mobile/flow-build-phase-6.md +136 -134
  42. package/prompts/mobile/flow-build-phase-7.md +24 -58
  43. package/prompts/mobile/flow-build-phase-8.md +17 -42
  44. package/prompts/mobile/flow-build.md +47 -97
  45. package/prompts/mobile/flow-docs-sync.md +23 -42
  46. package/prompts/shared/mermaid-guidelines.md +106 -0
  47. package/prompts/shared/scope-levels.md +126 -0
  48. package/prompts/shared/story-points.md +65 -0
  49. package/prompts/shared/task-format.md +86 -0
  50. package/templates/AGENT.template.md +194 -15
  51. package/templates/backend/README.template.md +2 -32
  52. package/templates/backend/ai-instructions.template.md +2 -32
  53. package/templates/backend/copilot-instructions.template.md +2 -22
  54. package/templates/backend/docs/api.template.md +89 -20
  55. package/templates/backend/docs/architecture.template.md +165 -53
  56. package/templates/backend/docs/business-flows.template.md +7 -14
  57. package/templates/backend/docs/code-standards.template.md +2 -38
  58. package/templates/backend/docs/contributing.template.md +2 -16
  59. package/templates/backend/docs/data-model.template.md +125 -21
  60. package/templates/backend/docs/operations.template.md +179 -50
  61. package/templates/backend/docs/testing.template.md +2 -42
  62. package/templates/backend/project-brief.template.md +2 -28
  63. package/templates/backend/specs/configuration.template.md +2 -14
  64. package/templates/backend/specs/security.template.md +2 -32
  65. package/templates/frontend/README.template.md +2 -18
  66. package/templates/frontend/ai-instructions.template.md +2 -20
  67. package/templates/frontend/docs/api-integration.template.md +12 -30
  68. package/templates/frontend/docs/components.template.md +2 -28
  69. package/templates/frontend/docs/error-handling.template.md +11 -27
  70. package/templates/frontend/docs/operations.template.md +8 -18
  71. package/templates/frontend/docs/performance.template.md +8 -18
  72. package/templates/frontend/docs/pwa.template.md +8 -18
  73. package/templates/frontend/docs/state-management.template.md +2 -28
  74. package/templates/frontend/docs/styling.template.md +2 -26
  75. package/templates/frontend/docs/testing.template.md +2 -28
  76. package/templates/frontend/project-brief.template.md +2 -16
  77. package/templates/frontend/specs/accessibility.template.md +8 -18
  78. package/templates/frontend/specs/configuration.template.md +2 -24
  79. package/templates/frontend/specs/security.template.md +10 -24
  80. package/templates/fullstack/README.template.md +17 -47
  81. package/templates/fullstack/ai-instructions.template.md +17 -45
  82. package/templates/fullstack/project-brief.template.md +16 -42
  83. package/templates/fullstack/specs/configuration.template.md +16 -42
  84. package/templates/mobile/README.template.md +11 -29
  85. package/templates/mobile/ai-instructions.template.md +11 -27
  86. package/templates/mobile/docs/app-store.template.md +11 -29
  87. package/templates/mobile/docs/architecture.template.md +14 -38
  88. package/templates/mobile/docs/native-features.template.md +16 -44
  89. package/templates/mobile/docs/navigation.template.md +9 -23
  90. package/templates/mobile/docs/offline-strategy.template.md +10 -26
  91. package/templates/mobile/docs/permissions.template.md +9 -23
  92. package/templates/mobile/docs/state-management.template.md +12 -32
  93. package/templates/mobile/docs/testing.template.md +14 -38
  94. package/templates/mobile/project-brief.template.md +12 -30
  95. package/templates/mobile/specs/build-configuration.template.md +10 -26
  96. package/templates/mobile/specs/deployment.template.md +9 -23
@@ -3,9 +3,7 @@
3
3
  > Universal AI Assistant Configuration
4
4
  >
5
5
  > This file provides context for ALL AI development tools (Claude, Copilot, Cursor, Gemini, etc.)
6
-
7
6
  ---
8
-
9
7
  ## ๐Ÿ“‹ About This Project
10
8
 
11
9
  **Project Name:** {{PROJECT_NAME}}
@@ -33,9 +31,7 @@
33
31
 
34
32
  > This project uses AI-assisted development with comprehensive documentation.
35
33
  > All files below provide context to AI assistants for consistent, high-quality code generation.
36
-
37
34
  ---
38
-
39
35
  ## ๐Ÿ—๏ธ Documentation Architecture
40
36
 
41
37
  This project follows **AI-assisted development** with comprehensive documentation.
@@ -113,9 +109,7 @@ All documentation is structured to guide AI assistants in understanding the proj
113
109
  - Required environment variables
114
110
  - Default/local values
115
111
  - Secrets handling guidance
116
-
117
112
  ---
118
-
119
113
  ## โšก Quick Reference
120
114
 
121
115
  ### Tech Stack
@@ -142,9 +136,7 @@ All documentation is structured to guide AI assistants in understanding the proj
142
136
 
143
137
  **โœ… ALWAYS:**
144
138
  {{ALWAYS_RULES}}
145
-
146
139
  ---
147
-
148
140
  ## ๐Ÿค– AI Assistant Workflow
149
141
 
150
142
  When working on this project:
@@ -169,9 +161,7 @@ When working on this project:
169
161
  - Follow procedures in `docs/operations.md`
170
162
  - Update configuration per environment
171
163
  - Check health endpoints
172
-
173
164
  ---
174
-
175
165
  ## ๐Ÿ› ๏ธ Tool-Specific Configurations
176
166
 
177
167
  Different AI tools have specific configuration files that extend this AGENT.md:
@@ -195,9 +185,7 @@ Different AI tools have specific configuration files that extend this AGENT.md:
195
185
  - **References:** This AGENT.md + project docs
196
186
 
197
187
  **All tool-specific configs reference this AGENT.md as the source of truth.**
198
-
199
188
  ---
200
-
201
189
  ## ๐Ÿ“Š Project Status
202
190
 
203
191
  **Current Phase:** {{PROJECT_PHASE}}
@@ -205,9 +193,7 @@ Different AI tools have specific configuration files that extend this AGENT.md:
205
193
  **Architecture:** {{ARCHITECTURE_PATTERN}}
206
194
 
207
195
  **Compliance:** {{COMPLIANCE_REQUIREMENTS}}
208
-
209
196
  ---
210
-
211
197
  ## ๐Ÿš€ Getting Started
212
198
 
213
199
  ### For AI Assistants
@@ -221,9 +207,202 @@ Different AI tools have specific configuration files that extend this AGENT.md:
221
207
  ### For Developers
222
208
 
223
209
  See `README.md` for installation and setup instructions.
210
+ ---
211
+ ## ๐Ÿ“ Document Update Policy
212
+
213
+ - Documents are **living artifacts** - update as project evolves
214
+ - Breaking changes to architecture โ†’ Update `docs/architecture.md`
215
+ **Architecture:** {{ARCHITECTURE_PATTERN}}
216
+ **Primary Language:** {{LANGUAGE}} {{LANGUAGE_VERSION}}
217
+ **Framework:** {{FRAMEWORK}}
218
+ **Database:** {{DATABASE}} with {{ORM}}
219
+
220
+ **Key Characteristics:**
221
+
222
+ - Authentication: {{AUTH_METHOD}}
223
+ - API Style: {{API_STYLE}}
224
+ - Deployment: {{DEPLOYMENT_PLATFORM}}
225
+ - Current Phase: {{PROJECT_PHASE}}
224
226
 
227
+ > This project uses AI-assisted development with comprehensive documentation.
228
+ > All files below provide context to AI assistants for consistent, high-quality code generation.
225
229
  ---
230
+ ## ๐Ÿ—๏ธ Documentation Architecture
231
+
232
+ This project follows **AI-assisted development** with comprehensive documentation.
233
+ All documentation is structured to guide AI assistants in understanding the project deeply.
234
+
235
+ ### ๐Ÿ“š Core Documentation (Read in Order)
236
+
237
+ 1. **`ai-instructions.md`** โญ **START HERE**
238
+ - Tech stack and versions
239
+ - NEVER/ALWAYS rules
240
+ - Development workflow
241
+ - Priorities
242
+
243
+ 2. **`project-brief.md`**
244
+ - Business context
245
+ - Objectives and scope
246
+ - Constraints and success metrics
247
+
248
+ 3. **`README.md`**
249
+ - Quick start
250
+ - Installation and commands
251
+ - Project directory tour
252
+
253
+ 4. **`docs/architecture.md`**
254
+ - System architecture pattern
255
+ - Component structure
256
+ - Request/response flow
257
+
258
+ 5. **`docs/data-model.md`**
259
+ - Database schema
260
+ - Entity relationships
261
+ - Data patterns
262
+
263
+ 6. **`docs/code-standards.md`**
264
+ - Naming conventions
265
+ - Code quality rules
266
+ - Error handling patterns
267
+
268
+ 7. **`docs/testing.md`**
269
+ - Testing strategy
270
+ - Coverage requirements
271
+ - Test patterns
272
+
273
+ 8. **`docs/operations.md`**
274
+ - Deployment procedures
275
+ - Monitoring and alerts
276
+ - Scaling strategy
277
+
278
+ 9. **`docs/business-flows.md`**
279
+ - End-to-end business processes
280
+ - Key actors and systems
281
+ - Flow diagrams
282
+
283
+ 10. **`docs/api.md`**
284
+ - Endpoint conventions
285
+ - Authentication and pagination rules
286
+ - Request/response examples
287
+
288
+ 11. **`docs/contributing.md`**
289
+ - Development setup
290
+ - Contribution guidelines
291
+ - Code review process
292
+
293
+ 12. **`specs/security.md`**
294
+ - Authentication/Authorization
295
+ - Security policies
296
+ - Compliance requirements
297
+
298
+ 13. **`specs/configuration.md`**
299
+ - Environment variables
300
+ - External services
301
+ - Configuration by environment
226
302
 
303
+ 14. **`.env.example`**
304
+ - Required environment variables
305
+ - Default/local values
306
+ - Secrets handling guidance
307
+ ---
308
+ ## โšก Quick Reference
309
+
310
+ ### Tech Stack
311
+
312
+ **Backend:**
313
+
314
+ - Framework: {{FRAMEWORK}}
315
+ - Language: {{LANGUAGE}} {{LANGUAGE_VERSION}}
316
+ - Database: {{DATABASE}}
317
+ - ORM: {{ORM}}
318
+ - Authentication: {{AUTH_METHOD}}
319
+ - Caching: {{CACHE_STRATEGY}}
320
+
321
+ **Infrastructure:**
322
+
323
+ - Deployment: {{DEPLOYMENT_PLATFORM}}
324
+ - CI/CD: {{CICD_PLATFORM}}
325
+ - Monitoring: {{MONITORING_TOOLS}}
326
+
327
+ ### Critical Rules
328
+
329
+ **โŒ NEVER:**
330
+ {{NEVER_RULES}}
331
+
332
+ **โœ… ALWAYS:**
333
+ {{ALWAYS_RULES}}
334
+ ---
335
+ ## ๐Ÿค– AI Assistant Workflow
336
+
337
+ When working on this project:
338
+
339
+ 1. **Before starting ANY task:**
340
+ - Read `ai-instructions.md` for project-wide rules
341
+ - Check relevant documentation for the area you're working on
342
+ - Understand the business context from `project-brief.md`
343
+
344
+ 2. **When implementing features:**
345
+ - Follow architecture patterns from `docs/architecture.md`
346
+ - Respect data models from `docs/data-model.md`
347
+ - Apply code standards from `docs/code-standards.md`
348
+ - Add tests according to `docs/testing.md`
349
+
350
+ 3. **When handling security:**
351
+ - Consult `specs/security.md` for auth/authz
352
+ - Never hardcode secrets (use `specs/configuration.md`)
353
+ - Follow security headers and encryption requirements
354
+
355
+ 4. **When deploying:**
356
+ - Follow procedures in `docs/operations.md`
357
+ - Update configuration per environment
358
+ - Check health endpoints
359
+ ---
360
+ ## ๐Ÿ› ๏ธ Tool-Specific Configurations
361
+
362
+ Different AI tools have specific configuration files that extend this AGENT.md:
363
+
364
+ ### Claude Code
365
+
366
+ - **File:** `.clauderules`
367
+ - **Purpose:** Claude-specific instructions and preferences
368
+ - **References:** This AGENT.md + project docs
369
+
370
+ ### Cursor
371
+
372
+ - **File:** `.cursorrules`
373
+ - **Purpose:** Cursor-specific context and rules
374
+ - **References:** This AGENT.md + project docs
375
+
376
+ ### GitHub Copilot
377
+
378
+ - **File:** `.github/copilot-instructions.md`
379
+ - **Purpose:** Copilot workspace instructions
380
+ - **References:** This AGENT.md + project docs
381
+
382
+ **All tool-specific configs reference this AGENT.md as the source of truth.**
383
+ ---
384
+ ## ๐Ÿ“Š Project Status
385
+
386
+ **Current Phase:** {{PROJECT_PHASE}}
387
+
388
+ **Architecture:** {{ARCHITECTURE_PATTERN}}
389
+
390
+ **Compliance:** {{COMPLIANCE_REQUIREMENTS}}
391
+ ---
392
+ ## ๐Ÿš€ Getting Started
393
+
394
+ ### For AI Assistants
395
+
396
+ 1. Read this AGENT.md completely
397
+ 2. Read `ai-instructions.md` for critical rules
398
+ 3. Familiarize with `docs/architecture.md`
399
+ 4. Review `docs/code-standards.md` for coding patterns
400
+ 5. Check `specs/security.md` before handling auth/sensitive data
401
+
402
+ ### For Developers
403
+
404
+ See `README.md` for installation and setup instructions.
405
+ ---
227
406
  ## ๐Ÿ“ Document Update Policy
228
407
 
229
408
  - Documents are **living artifacts** - update as project evolves
@@ -233,4 +412,4 @@ See `README.md` for installation and setup instructions.
233
412
 
234
413
  **Last Updated:** {{GENERATION_DATE}}
235
414
 
236
- **Generated by:** AI Flow v2.1.2
415
+ **Generated by:** AI Flow v2.1.4
@@ -1,35 +1,27 @@
1
1
  # {{PROJECT_NAME}}
2
2
 
3
3
  > {{PROJECT_DESCRIPTION}}
4
-
5
4
  ---
6
-
7
5
  ## ๐Ÿ“‹ Overview
8
6
 
9
7
  {{PROBLEM_STATEMENT}}
10
8
 
11
9
  **Target Users:** {{TARGET_USERS_SUMMARY}}
12
-
13
10
  ---
14
-
15
11
  ## โœจ Features
16
12
 
17
13
  {{#EACH FEATURE}}
18
14
 
19
15
  - **{{FEATURE_NAME}}**: {{FEATURE_DESCRIPTION}}
20
16
  {{/EACH}}
21
-
22
17
  ---
23
-
24
18
  ## ๐Ÿ—๏ธ Tech Stack
25
19
 
26
20
  - **Framework:** {{FRAMEWORK}} {{FRAMEWORK_VERSION}}
27
21
  - **Language:** {{LANGUAGE}} {{LANGUAGE_VERSION}}
28
22
  - **Database:** {{DATABASE}}
29
23
  - **Authentication:** {{AUTH_METHOD}}
30
-
31
24
  ---
32
-
33
25
  ## ๐Ÿš€ Getting Started
34
26
 
35
27
  ### Prerequisites
@@ -66,9 +58,7 @@ cp .env.example .env
66
58
  ```
67
59
 
68
60
  The application will be available at `{{DEV_URL}}`
69
-
70
61
  ---
71
-
72
62
  ## ๐Ÿงช Testing
73
63
 
74
64
  ```bash
@@ -81,9 +71,7 @@ The application will be available at `{{DEV_URL}}`
81
71
  # Run specific tests
82
72
  {{TEST_SPECIFIC_COMMAND}}
83
73
  ```
84
-
85
74
  ---
86
-
87
75
  ## ๐Ÿ“ฆ Building
88
76
 
89
77
  ```bash
@@ -93,9 +81,7 @@ The application will be available at `{{DEV_URL}}`
93
81
  # Start production server
94
82
  {{PROD_COMMAND}}
95
83
  ```
96
-
97
84
  ---
98
-
99
85
  ## ๐Ÿ”ง Available Scripts
100
86
 
101
87
  ```bash
@@ -105,17 +91,13 @@ The application will be available at `{{DEV_URL}}`
105
91
 
106
92
  {{/EACH}}
107
93
  ```
108
-
109
94
  ---
110
-
111
95
  ## ๐Ÿ“ Project Structure
112
96
 
113
97
  ```
114
98
  {{PROJECT_STRUCTURE}}
115
99
  ```
116
-
117
100
  ---
118
-
119
101
  ## ๐Ÿ“š Documentation
120
102
 
121
103
  - [Architecture](docs/architecture.md) - System architecture and design patterns
@@ -133,9 +115,7 @@ The application will be available at `{{DEV_URL}}`
133
115
 
134
116
  - [AGENT.md](AGENT.md) - Universal AI configuration
135
117
  - [AI Instructions](ai-instructions.md) - AI development rules and workflow
136
-
137
118
  ---
138
-
139
119
  ## ๐Ÿ” Environment Variables
140
120
 
141
121
  See `.env.example` for all required environment variables.
@@ -145,9 +125,7 @@ Critical variables:
145
125
 
146
126
  - `{{VAR_NAME}}` - {{VAR_DESCRIPTION}}
147
127
  {{/EACH}}
148
-
149
128
  ---
150
-
151
129
  ## ๐Ÿš€ Deployment
152
130
 
153
131
  See [docs/operations.md](docs/operations.md) for deployment procedures.
@@ -159,9 +137,7 @@ See [docs/operations.md](docs/operations.md) for deployment procedures.
159
137
  - Development: {{DEV_URL}}
160
138
  - Staging: {{STAGING_URL}}
161
139
  - Production: {{PRODUCTION_URL}}
162
-
163
140
  ---
164
-
165
141
  ## ๐Ÿค Contributing
166
142
 
167
143
  See [docs/contributing.md](docs/contributing.md) for contribution guidelines.
@@ -171,30 +147,24 @@ See [docs/contributing.md](docs/contributing.md) for contribution guidelines.
171
147
  3. Commit changes (`git commit -m 'feat: add amazing feature'`)
172
148
  4. Push to branch (`git push origin feature/amazing-feature`)
173
149
  5. Open Pull Request
174
-
175
150
  ---
176
-
177
151
  ## ๐Ÿ“ License
178
152
 
179
153
  {{LICENSE}}
180
-
181
154
  ---
182
-
183
155
  ## ๐Ÿ‘ฅ Team
184
156
 
185
157
  {{#EACH TEAM_MEMBER}}
186
158
 
187
159
  - **{{MEMBER_NAME}}** - {{MEMBER_ROLE}}
188
160
  {{/EACH}}
189
-
190
161
  ---
191
-
192
162
  ## ๐Ÿ“ž Support
193
163
 
194
164
  {{#IF SUPPORT_EMAIL}}- Email: {{SUPPORT_EMAIL}}{{/IF}}
195
165
  {{#IF SUPPORT_SLACK}}- Slack: {{SUPPORT_SLACK}}{{/IF}}
196
166
  {{#IF ISSUE_TRACKER}}- Issues: {{ISSUE_TRACKER}}{{/IF}}
197
-
198
167
  ---
199
-
200
168
  **Generated with** [AI Flow](https://github.com/victorvelazquez/ai-flow) | `npm i -g ai-flow-dev` ๐Ÿš€
169
+
170
+
@@ -1,9 +1,7 @@
1
1
  # AI Instructions
2
2
 
3
3
  > **CRITICAL:** Every AI assistant MUST read and follow this document before any work.
4
-
5
4
  ---
6
-
7
5
  ## ๐ŸŽฏ Project Overview
8
6
 
9
7
  **Name:** {{PROJECT_NAME}}
@@ -11,9 +9,7 @@
11
9
  **Description:** {{PROJECT_DESCRIPTION}}
12
10
 
13
11
  **Purpose:** {{PROBLEM_STATEMENT}}
14
-
15
12
  ---
16
-
17
13
  ## ๐Ÿ—๏ธ Tech Stack
18
14
 
19
15
  ### Backend
@@ -45,9 +41,7 @@
45
41
  ### Key Libraries
46
42
 
47
43
  {{KEY_LIBRARIES}}
48
-
49
44
  ---
50
-
51
45
  ## ๐Ÿ›๏ธ Architecture
52
46
 
53
47
  **Pattern:** {{ARCHITECTURE_PATTERN}}
@@ -55,9 +49,7 @@
55
49
  {{ARCHITECTURE_DESCRIPTION}}
56
50
 
57
51
  **File Organization:** {{FILE_ORGANIZATION}}
58
-
59
52
  ---
60
-
61
53
  ## โŒ NEVER Rules
62
54
 
63
55
  **YOU MUST NEVER:**
@@ -99,9 +91,7 @@
99
91
  - โŒ Commit failing tests - All tests must pass before commit
100
92
 
101
93
  {{CUSTOM_NEVER_RULES}}
102
-
103
94
  ---
104
-
105
95
  ## โœ… ALWAYS Rules
106
96
 
107
97
  **YOU MUST ALWAYS:**
@@ -157,9 +147,7 @@
157
147
  - โœ… Implement pagination for list endpoints
158
148
 
159
149
  {{CUSTOM_ALWAYS_RULES}}
160
-
161
150
  ---
162
-
163
151
  ## ๐Ÿ”„ Development Workflow
164
152
 
165
153
  ### 1. Before Starting a Task
@@ -196,9 +184,7 @@
196
184
  - Update CHANGELOG.md
197
185
  - Test in staging before production
198
186
  - Monitor logs after deployment
199
-
200
187
  ---
201
-
202
188
  ## ๐ŸŽฏ Priorities
203
189
 
204
190
  When there are trade-offs, prioritize in this order:
@@ -208,17 +194,13 @@ When there are trade-offs, prioritize in this order:
208
194
  3. **{{PRIORITY_3}}** - {{PRIORITY_3_DESCRIPTION}}
209
195
  4. **{{PRIORITY_4}}** - {{PRIORITY_4_DESCRIPTION}}
210
196
  5. **{{PRIORITY_5}}** - {{PRIORITY_5_DESCRIPTION}}
211
-
212
197
  ---
213
-
214
198
  ## ๐Ÿ“ Project Structure
215
199
 
216
200
  ```
217
201
  {{PROJECT_STRUCTURE}}
218
202
  ```
219
-
220
203
  ---
221
-
222
204
  ## ๐Ÿงช Testing Commands
223
205
 
224
206
  ```bash
@@ -237,9 +219,7 @@ When there are trade-offs, prioritize in this order:
237
219
  # Run specific test file
238
220
  {{TEST_SPECIFIC_COMMAND}}
239
221
  ```
240
-
241
222
  ---
242
-
243
223
  ## ๐Ÿš€ Common Commands
244
224
 
245
225
  ```bash
@@ -264,9 +244,7 @@ When there are trade-offs, prioritize in this order:
264
244
  # Create new migration
265
245
  {{MIGRATION_CREATE_COMMAND}}
266
246
  ```
267
-
268
247
  ---
269
-
270
248
  ## ๐Ÿ“š Key Documentation Files
271
249
 
272
250
  - `project-brief.md` - Business context and objectives
@@ -281,18 +259,14 @@ When there are trade-offs, prioritize in this order:
281
259
  - `specs/security.md` - Security policies and compliance
282
260
  - `specs/configuration.md` - Environment configuration
283
261
  - `docs/contributing.md` - Development setup, workflow
284
-
285
262
  ---
286
-
287
263
  ## ๐Ÿ” Environment Variables
288
264
 
289
265
  See `.env.example` for all required environment variables.
290
266
 
291
267
  **Critical variables:**
292
268
  {{CRITICAL_ENV_VARS}}
293
-
294
269
  ---
295
-
296
270
  ## ๐Ÿ›ก๏ธ Security Checklist
297
271
 
298
272
  Before every feature:
@@ -306,9 +280,7 @@ Before every feature:
306
280
  - [ ] SQL injection prevented (parameterized queries)
307
281
  - [ ] XSS prevented (output encoding)
308
282
  - [ ] CSRF protection (if stateful)
309
-
310
283
  ---
311
-
312
284
  ## ๐ŸŽจ Code Style Examples
313
285
 
314
286
  ### Controller Example ({{FRAMEWORK}})
@@ -334,9 +306,7 @@ Before every feature:
334
306
  ```{{LANGUAGE}}
335
307
  {{DTO_EXAMPLE}}
336
308
  ```
337
-
338
309
  ---
339
-
340
310
  ## ๐Ÿ“ž When in Doubt
341
311
 
342
312
  1. Check this document first
@@ -344,11 +314,11 @@ Before every feature:
344
314
  3. Look for similar existing implementations in the codebase
345
315
  4. Ask for clarification before making architectural decisions
346
316
  5. Prioritize security and maintainability over speed
347
-
348
317
  ---
349
-
350
318
  **Remember:** These rules exist to maintain quality, security, and consistency. Following them makes the codebase better for everyone.
351
319
 
352
320
  **Last Updated:** {{GENERATION_DATE}}
353
321
 
354
322
  **Generated by:** AI Flow v1.0.0
323
+
324
+
@@ -7,9 +7,7 @@
7
7
  **Description:** {{PROJECT_DESCRIPTION}}
8
8
 
9
9
  **Stack:** {{FRAMEWORK}} ({{LANGUAGE}}) + {{DATABASE}}
10
-
11
10
  ---
12
-
13
11
  ## ๐Ÿ“š Documentation Reference
14
12
 
15
13
  **โญ CRITICAL:** Always read `AGENT.md` first for complete context.
@@ -30,9 +28,7 @@
30
28
  - [`docs/contributing.md`](../../docs/contributing.md) - Contribution workflow
31
29
  - [`specs/security.md`](../../specs/security.md) - Security policies
32
30
  - [`specs/configuration.md`](../../specs/configuration.md) - Environment configuration
33
-
34
31
  ---
35
-
36
32
  ## ๐ŸŽฏ Quick Rules
37
33
 
38
34
  ### โŒ NEVER
@@ -42,9 +38,7 @@
42
38
  ### โœ… ALWAYS
43
39
 
44
40
  {{ALWAYS_RULES_SUMMARY}}
45
-
46
41
  ---
47
-
48
42
  ## ๐Ÿ—๏ธ Architecture
49
43
 
50
44
  **Pattern:** {{ARCHITECTURE_PATTERN}}
@@ -54,9 +48,7 @@
54
48
  ```
55
49
  {{PROJECT_STRUCTURE_BRIEF}}
56
50
  ```
57
-
58
51
  ---
59
-
60
52
  ## ๐ŸŽจ Code Style
61
53
 
62
54
  | Setting | Value |
@@ -67,9 +59,7 @@
67
59
  | Formatter | {{FORMATTER}} |
68
60
 
69
61
  **Auto-format:** {{AUTO_FORMAT_COMMAND}}
70
-
71
62
  ---
72
-
73
63
  ## ๐Ÿ” Security
74
64
 
75
65
  - **Auth:** {{AUTH_METHOD}}
@@ -77,9 +67,7 @@
77
67
  - **Password:** {{PASSWORD_HASH_ALGORITHM}}
78
68
  - **NEVER** hardcode secrets
79
69
  - **ALWAYS** validate user input
80
-
81
70
  ---
82
-
83
71
  ## ๐Ÿงช Testing
84
72
 
85
73
  - **Framework:** {{TEST_FRAMEWORK}}
@@ -91,17 +79,13 @@
91
79
  ```{{LANGUAGE}}
92
80
  {{TEST_PATTERN_EXAMPLE}}
93
81
  ```
94
-
95
82
  ---
96
-
97
83
  ## ๐Ÿ“ Commit Format
98
84
 
99
85
  ```
100
86
  {{COMMIT_FORMAT_EXAMPLE}}
101
87
  ```
102
-
103
88
  ---
104
-
105
89
  ## ๐Ÿ’ก Copilot Workflow
106
90
 
107
91
  1. Read `AGENT.md` for project context
@@ -109,9 +93,7 @@
109
93
  3. Follow patterns from `docs/code-standards.md`
110
94
  4. Write tests alongside code
111
95
  5. Validate with linter before committing
112
-
113
96
  ---
114
-
115
97
  ## ๐Ÿ”ง Common Commands
116
98
 
117
99
  ```bash
@@ -130,9 +112,7 @@
130
112
  # Build
131
113
  {{BUILD_COMMAND}}
132
114
  ```
133
-
134
115
  ---
135
-
136
116
  ## ๐ŸŽฏ Code Examples
137
117
 
138
118
  ### Controller
@@ -152,9 +132,9 @@
152
132
  ```{{LANGUAGE}}
153
133
  {{REPOSITORY_EXAMPLE_BRIEF}}
154
134
  ```
155
-
156
135
  ---
157
-
158
136
  **For complete context, always reference `AGENT.md` and project documentation.**
159
137
 
160
138
  **Generated by:** AI Flow v1.0.0
139
+
140
+