ai-flow-dev 2.7.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.
- package/LICENSE +21 -21
- package/README.md +573 -570
- package/package.json +74 -74
- package/prompts/backend/flow-build-phase-0.md +535 -535
- package/prompts/backend/flow-build-phase-1.md +626 -626
- package/prompts/backend/flow-build-phase-10.md +340 -340
- package/prompts/backend/flow-build-phase-2.md +573 -573
- package/prompts/backend/flow-build-phase-3.md +834 -834
- package/prompts/backend/flow-build-phase-4.md +554 -554
- package/prompts/backend/flow-build-phase-5.md +703 -703
- package/prompts/backend/flow-build-phase-6.md +524 -524
- package/prompts/backend/flow-build-phase-7.md +1001 -1001
- package/prompts/backend/flow-build-phase-8.md +1407 -1407
- package/prompts/backend/flow-build-phase-9.md +477 -477
- package/prompts/backend/flow-build.md +137 -137
- package/prompts/backend/flow-check-review.md +656 -20
- package/prompts/backend/flow-check-test.md +526 -14
- package/prompts/backend/flow-check.md +725 -67
- package/prompts/backend/flow-commit.md +88 -119
- package/prompts/backend/flow-docs-sync.md +354 -354
- package/prompts/backend/flow-finish.md +919 -0
- package/prompts/backend/flow-release.md +949 -0
- package/prompts/backend/flow-work-feature.md +61 -61
- package/prompts/backend/flow-work-fix.md +46 -46
- package/prompts/backend/flow-work-refactor.md +48 -48
- package/prompts/backend/flow-work-resume.md +34 -34
- package/prompts/backend/flow-work.md +1098 -1286
- package/prompts/desktop/flow-build-phase-0.md +359 -359
- package/prompts/desktop/flow-build-phase-1.md +295 -295
- package/prompts/desktop/flow-build-phase-10.md +357 -357
- package/prompts/desktop/flow-build-phase-2.md +282 -282
- package/prompts/desktop/flow-build-phase-3.md +291 -291
- package/prompts/desktop/flow-build-phase-4.md +308 -308
- package/prompts/desktop/flow-build-phase-5.md +269 -269
- package/prompts/desktop/flow-build-phase-6.md +350 -350
- package/prompts/desktop/flow-build-phase-7.md +297 -297
- package/prompts/desktop/flow-build-phase-8.md +541 -541
- package/prompts/desktop/flow-build-phase-9.md +439 -439
- package/prompts/desktop/flow-build.md +156 -156
- package/prompts/desktop/flow-check-review.md +656 -20
- package/prompts/desktop/flow-check-test.md +526 -14
- package/prompts/desktop/flow-check.md +725 -67
- package/prompts/desktop/flow-commit.md +88 -119
- package/prompts/desktop/flow-docs-sync.md +354 -354
- package/prompts/desktop/flow-finish.md +910 -0
- package/prompts/desktop/flow-release.md +662 -0
- package/prompts/desktop/flow-work-feature.md +61 -61
- package/prompts/desktop/flow-work-fix.md +46 -46
- package/prompts/desktop/flow-work-refactor.md +48 -48
- package/prompts/desktop/flow-work-resume.md +34 -34
- package/prompts/desktop/flow-work.md +1202 -1390
- package/prompts/frontend/flow-build-phase-0.md +425 -425
- package/prompts/frontend/flow-build-phase-1.md +626 -626
- package/prompts/frontend/flow-build-phase-10.md +33 -33
- package/prompts/frontend/flow-build-phase-2.md +573 -573
- package/prompts/frontend/flow-build-phase-3.md +782 -782
- package/prompts/frontend/flow-build-phase-4.md +554 -554
- package/prompts/frontend/flow-build-phase-5.md +703 -703
- package/prompts/frontend/flow-build-phase-6.md +524 -524
- package/prompts/frontend/flow-build-phase-7.md +1001 -1001
- package/prompts/frontend/flow-build-phase-8.md +872 -872
- package/prompts/frontend/flow-build-phase-9.md +94 -94
- package/prompts/frontend/flow-build.md +137 -137
- package/prompts/frontend/flow-check-review.md +656 -20
- package/prompts/frontend/flow-check-test.md +526 -14
- package/prompts/frontend/flow-check.md +725 -67
- package/prompts/frontend/flow-commit.md +88 -119
- package/prompts/frontend/flow-docs-sync.md +550 -550
- package/prompts/frontend/flow-finish.md +910 -0
- package/prompts/frontend/flow-release.md +519 -0
- package/prompts/frontend/flow-work-api.md +1540 -0
- package/prompts/frontend/flow-work-feature.md +61 -61
- package/prompts/frontend/flow-work-fix.md +38 -38
- package/prompts/frontend/flow-work-refactor.md +48 -48
- package/prompts/frontend/flow-work-resume.md +34 -34
- package/prompts/frontend/flow-work.md +1583 -1320
- package/prompts/mobile/flow-build-phase-0.md +425 -425
- package/prompts/mobile/flow-build-phase-1.md +626 -626
- package/prompts/mobile/flow-build-phase-10.md +32 -32
- package/prompts/mobile/flow-build-phase-2.md +573 -573
- package/prompts/mobile/flow-build-phase-3.md +782 -782
- package/prompts/mobile/flow-build-phase-4.md +554 -554
- package/prompts/mobile/flow-build-phase-5.md +703 -703
- package/prompts/mobile/flow-build-phase-6.md +524 -524
- package/prompts/mobile/flow-build-phase-7.md +1001 -1001
- package/prompts/mobile/flow-build-phase-8.md +888 -888
- package/prompts/mobile/flow-build-phase-9.md +90 -90
- package/prompts/mobile/flow-build.md +135 -135
- package/prompts/mobile/flow-check-review.md +656 -20
- package/prompts/mobile/flow-check-test.md +526 -14
- package/prompts/mobile/flow-check.md +725 -67
- package/prompts/mobile/flow-commit.md +88 -119
- package/prompts/mobile/flow-docs-sync.md +620 -620
- package/prompts/mobile/flow-finish.md +910 -0
- package/prompts/mobile/flow-release.md +751 -0
- package/prompts/mobile/flow-work-api.md +1493 -0
- package/prompts/mobile/flow-work-feature.md +61 -61
- package/prompts/mobile/flow-work-fix.md +46 -46
- package/prompts/mobile/flow-work-refactor.md +48 -48
- package/prompts/mobile/flow-work-resume.md +34 -34
- package/prompts/mobile/flow-work.md +1593 -1329
- package/prompts/shared/mermaid-guidelines.md +102 -102
- package/prompts/shared/scope-levels.md +114 -114
- package/prompts/shared/smart-skip-preflight.md +214 -214
- package/prompts/shared/story-points.md +55 -55
- package/prompts/shared/task-format.md +74 -74
- package/prompts/shared/task-summary-template.md +277 -277
- package/templates/AGENT.template.md +443 -443
- package/templates/backend/.clauderules.template +112 -112
- package/templates/backend/.cursorrules.template +102 -102
- package/templates/backend/README.template.md +2 -2
- package/templates/backend/ai-instructions.template.md +2 -2
- package/templates/backend/copilot-instructions.template.md +2 -2
- package/templates/backend/docs/api.template.md +320 -320
- package/templates/backend/docs/business-flows.template.md +97 -97
- package/templates/backend/docs/code-standards.template.md +2 -2
- package/templates/backend/docs/contributing.template.md +3 -3
- package/templates/backend/docs/data-model.template.md +520 -520
- package/templates/backend/docs/testing.template.md +2 -2
- package/templates/backend/project-brief.template.md +2 -2
- package/templates/backend/specs/configuration.template.md +2 -2
- package/templates/backend/specs/security.template.md +2 -2
- package/templates/desktop/.clauderules.template +112 -112
- package/templates/desktop/.cursorrules.template +102 -102
- package/templates/desktop/README.template.md +170 -170
- package/templates/desktop/ai-instructions.template.md +366 -366
- package/templates/desktop/copilot-instructions.template.md +140 -140
- package/templates/desktop/docs/docs/api.template.md +320 -320
- package/templates/desktop/docs/docs/architecture.template.md +724 -724
- package/templates/desktop/docs/docs/business-flows.template.md +102 -102
- package/templates/desktop/docs/docs/code-standards.template.md +792 -792
- package/templates/desktop/docs/docs/contributing.template.md +149 -149
- package/templates/desktop/docs/docs/data-model.template.md +520 -520
- package/templates/desktop/docs/docs/operations.template.md +720 -720
- package/templates/desktop/docs/docs/testing.template.md +722 -722
- package/templates/desktop/project-brief.template.md +150 -150
- package/templates/desktop/specs/specs/configuration.template.md +121 -121
- package/templates/desktop/specs/specs/security.template.md +392 -392
- package/templates/frontend/README.template.md +2 -2
- package/templates/frontend/ai-instructions.template.md +2 -2
- package/templates/frontend/docs/api-integration.template.md +362 -362
- package/templates/frontend/docs/components.template.md +2 -2
- package/templates/frontend/docs/error-handling.template.md +360 -360
- package/templates/frontend/docs/operations.template.md +107 -107
- package/templates/frontend/docs/performance.template.md +124 -124
- package/templates/frontend/docs/pwa.template.md +119 -119
- package/templates/frontend/docs/state-management.template.md +2 -2
- package/templates/frontend/docs/styling.template.md +2 -2
- package/templates/frontend/docs/testing.template.md +2 -2
- package/templates/frontend/project-brief.template.md +2 -2
- package/templates/frontend/specs/accessibility.template.md +95 -95
- package/templates/frontend/specs/configuration.template.md +2 -2
- package/templates/frontend/specs/security.template.md +175 -175
- package/templates/fullstack/README.template.md +252 -252
- package/templates/fullstack/ai-instructions.template.md +444 -444
- package/templates/fullstack/project-brief.template.md +157 -157
- package/templates/fullstack/specs/configuration.template.md +340 -340
- package/templates/mobile/README.template.md +167 -167
- package/templates/mobile/ai-instructions.template.md +196 -196
- package/templates/mobile/docs/app-store.template.md +135 -135
- package/templates/mobile/docs/architecture.template.md +63 -63
- package/templates/mobile/docs/native-features.template.md +94 -94
- package/templates/mobile/docs/navigation.template.md +59 -59
- package/templates/mobile/docs/offline-strategy.template.md +65 -65
- package/templates/mobile/docs/permissions.template.md +56 -56
- package/templates/mobile/docs/state-management.template.md +85 -85
- package/templates/mobile/docs/testing.template.md +109 -109
- package/templates/mobile/project-brief.template.md +69 -69
- package/templates/mobile/specs/build-configuration.template.md +91 -91
- package/templates/mobile/specs/deployment.template.md +92 -92
- package/templates/work.template.md +47 -47
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
# 🎨 Mermaid Diagram Guidelines
|
|
2
|
-
|
|
3
|
-
Follow these critical rules for all Mermaid diagrams to ensure they render correctly in GitHub, VS Code, and other markdown viewers.
|
|
4
|
-
|
|
5
|
-
## 🛠️ General Rules
|
|
6
|
-
|
|
7
|
-
- **Code Fence:** ALWAYS use exactly ` ```mermaid ` (lowercase, no spaces).
|
|
8
|
-
- **NO Indentation:** Do not indent the diagram code with spaces or tabs.
|
|
9
|
-
- **Closing Fence:** Always close with ` ``` `.
|
|
10
|
-
- **Validation:** Preview at [mermaid.live](https://mermaid.live/) if unsure.
|
|
1
|
+
# 🎨 Mermaid Diagram Guidelines
|
|
2
|
+
|
|
3
|
+
Follow these critical rules for all Mermaid diagrams to ensure they render correctly in GitHub, VS Code, and other markdown viewers.
|
|
4
|
+
|
|
5
|
+
## 🛠️ General Rules
|
|
6
|
+
|
|
7
|
+
- **Code Fence:** ALWAYS use exactly ` ```mermaid ` (lowercase, no spaces).
|
|
8
|
+
- **NO Indentation:** Do not indent the diagram code with spaces or tabs.
|
|
9
|
+
- **Closing Fence:** Always close with ` ``` `.
|
|
10
|
+
- **Validation:** Preview at [mermaid.live](https://mermaid.live/) if unsure.
|
|
11
11
|
---
|
|
12
|
-
## 📊 Entity Relationship (ER) Diagrams
|
|
13
|
-
|
|
14
|
-
**Type:** `erDiagram`
|
|
15
|
-
|
|
16
|
-
### Relationship Notation
|
|
17
|
-
|
|
18
|
-
- `||--o{` : One-to-Many (one to zero or more)
|
|
19
|
-
- `||--||` : One-to-One (one to exactly one)
|
|
20
|
-
- `}o--o{` : Many-to-Many (requires junction table)
|
|
21
|
-
- `||--|{` : One-to-Many (one to one or more)
|
|
22
|
-
|
|
23
|
-
### Field Notation
|
|
24
|
-
|
|
25
|
-
- `PK` : Primary Key
|
|
26
|
-
- `FK` : Foreign Key
|
|
27
|
-
- `UK` : Unique Key
|
|
28
|
-
- Add descriptions in quotes: `string email "User email address"`
|
|
29
|
-
|
|
30
|
-
### Example
|
|
31
|
-
|
|
32
|
-
```mermaid
|
|
33
|
-
erDiagram
|
|
34
|
-
USER ||--o{ ORDER : places
|
|
35
|
-
USER {
|
|
36
|
-
string id PK
|
|
37
|
-
string email UK
|
|
38
|
-
string name
|
|
39
|
-
}
|
|
40
|
-
ORDER {
|
|
41
|
-
string id PK
|
|
42
|
-
string userId FK
|
|
43
|
-
decimal total
|
|
44
|
-
}
|
|
45
|
-
```
|
|
12
|
+
## 📊 Entity Relationship (ER) Diagrams
|
|
13
|
+
|
|
14
|
+
**Type:** `erDiagram`
|
|
15
|
+
|
|
16
|
+
### Relationship Notation
|
|
17
|
+
|
|
18
|
+
- `||--o{` : One-to-Many (one to zero or more)
|
|
19
|
+
- `||--||` : One-to-One (one to exactly one)
|
|
20
|
+
- `}o--o{` : Many-to-Many (requires junction table)
|
|
21
|
+
- `||--|{` : One-to-Many (one to one or more)
|
|
22
|
+
|
|
23
|
+
### Field Notation
|
|
24
|
+
|
|
25
|
+
- `PK` : Primary Key
|
|
26
|
+
- `FK` : Foreign Key
|
|
27
|
+
- `UK` : Unique Key
|
|
28
|
+
- Add descriptions in quotes: `string email "User email address"`
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
```mermaid
|
|
33
|
+
erDiagram
|
|
34
|
+
USER ||--o{ ORDER : places
|
|
35
|
+
USER {
|
|
36
|
+
string id PK
|
|
37
|
+
string email UK
|
|
38
|
+
string name
|
|
39
|
+
}
|
|
40
|
+
ORDER {
|
|
41
|
+
string id PK
|
|
42
|
+
string userId FK
|
|
43
|
+
decimal total
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
46
|
---
|
|
47
|
-
## 📐 Architecture & Flow Diagrams
|
|
48
|
-
|
|
49
|
-
**Type:** `graph TD` (Top-Down) or `graph LR` (Left-Right)
|
|
50
|
-
|
|
51
|
-
### Node Shapes
|
|
52
|
-
|
|
53
|
-
- `[Square]` : Services, components, apps
|
|
54
|
-
- `[(Cylinder)]` : Databases, storage
|
|
55
|
-
- `([Rounded])` : Start/End points
|
|
56
|
-
- `{Diamond}` : Decision points
|
|
57
|
-
|
|
58
|
-
### Styling
|
|
59
|
-
|
|
60
|
-
- Use `<br/>` for line breaks in labels.
|
|
61
|
-
- Apply colors: `style NodeName fill:#e1f5ff`
|
|
62
|
-
- Label connections: `A -->|HTTPS| B`
|
|
63
|
-
|
|
64
|
-
### Example
|
|
65
|
-
|
|
66
|
-
```mermaid
|
|
67
|
-
graph TD
|
|
68
|
-
Client[Web App] -->|API Call| API[Node.js API]
|
|
69
|
-
API -->|Query| DB[(PostgreSQL)]
|
|
70
|
-
style Client fill:#e1f5ff
|
|
71
|
-
style API fill:#fff4e1
|
|
72
|
-
style DB fill:#e1ffe1
|
|
73
|
-
```
|
|
47
|
+
## 📐 Architecture & Flow Diagrams
|
|
48
|
+
|
|
49
|
+
**Type:** `graph TD` (Top-Down) or `graph LR` (Left-Right)
|
|
50
|
+
|
|
51
|
+
### Node Shapes
|
|
52
|
+
|
|
53
|
+
- `[Square]` : Services, components, apps
|
|
54
|
+
- `[(Cylinder)]` : Databases, storage
|
|
55
|
+
- `([Rounded])` : Start/End points
|
|
56
|
+
- `{Diamond}` : Decision points
|
|
57
|
+
|
|
58
|
+
### Styling
|
|
59
|
+
|
|
60
|
+
- Use `<br/>` for line breaks in labels.
|
|
61
|
+
- Apply colors: `style NodeName fill:#e1f5ff`
|
|
62
|
+
- Label connections: `A -->|HTTPS| B`
|
|
63
|
+
|
|
64
|
+
### Example
|
|
65
|
+
|
|
66
|
+
```mermaid
|
|
67
|
+
graph TD
|
|
68
|
+
Client[Web App] -->|API Call| API[Node.js API]
|
|
69
|
+
API -->|Query| DB[(PostgreSQL)]
|
|
70
|
+
style Client fill:#e1f5ff
|
|
71
|
+
style API fill:#fff4e1
|
|
72
|
+
style DB fill:#e1ffe1
|
|
73
|
+
```
|
|
74
74
|
---
|
|
75
|
-
## 🔄 Business Flow Diagrams
|
|
76
|
-
|
|
77
|
-
**Type:** `flowchart TD` (or `flowchart LR`)
|
|
78
|
-
|
|
79
|
-
### Requirements
|
|
80
|
-
|
|
81
|
-
- Start/End with `([Terminal Node])`.
|
|
82
|
-
- Use `{Diamond}` for decision points.
|
|
83
|
-
- Label branches: `-->|Yes|` or `-->|No|`.
|
|
84
|
-
- Show error/failure paths.
|
|
85
|
-
|
|
86
|
-
### Example
|
|
87
|
-
|
|
88
|
-
```mermaid
|
|
89
|
-
flowchart TD
|
|
90
|
-
Start([Start]) --> Action[Action]
|
|
91
|
-
Action --> Decision{Success?}
|
|
92
|
-
Decision -->|Yes| End([Success])
|
|
93
|
-
Decision -->|No| Fail([Failed])
|
|
94
|
-
style Start fill:#e1f5ff
|
|
95
|
-
style End fill:#e1ffe1
|
|
96
|
-
style Fail fill:#ffe1e1
|
|
97
|
-
```
|
|
75
|
+
## 🔄 Business Flow Diagrams
|
|
76
|
+
|
|
77
|
+
**Type:** `flowchart TD` (or `flowchart LR`)
|
|
78
|
+
|
|
79
|
+
### Requirements
|
|
80
|
+
|
|
81
|
+
- Start/End with `([Terminal Node])`.
|
|
82
|
+
- Use `{Diamond}` for decision points.
|
|
83
|
+
- Label branches: `-->|Yes|` or `-->|No|`.
|
|
84
|
+
- Show error/failure paths.
|
|
85
|
+
|
|
86
|
+
### Example
|
|
87
|
+
|
|
88
|
+
```mermaid
|
|
89
|
+
flowchart TD
|
|
90
|
+
Start([Start]) --> Action[Action]
|
|
91
|
+
Action --> Decision{Success?}
|
|
92
|
+
Decision -->|Yes| End([Success])
|
|
93
|
+
Decision -->|No| Fail([Failed])
|
|
94
|
+
style Start fill:#e1f5ff
|
|
95
|
+
style End fill:#e1ffe1
|
|
96
|
+
style Fail fill:#ffe1e1
|
|
97
|
+
```
|
|
98
98
|
---
|
|
99
|
-
## ⚠️ Common Mistakes to Avoid
|
|
100
|
-
|
|
101
|
-
- ❌ ` ```Mermaid ` (Capital M)
|
|
102
|
-
- ❌ ` ``` mermaid ` (Extra space)
|
|
103
|
-
- ❌ Using invalid characters in node IDs (use `NodeID[Label]` instead)
|
|
104
|
-
- ❌ Circular dependencies without clear flow
|
|
105
|
-
|
|
106
|
-
|
|
99
|
+
## ⚠️ Common Mistakes to Avoid
|
|
100
|
+
|
|
101
|
+
- ❌ ` ```Mermaid ` (Capital M)
|
|
102
|
+
- ❌ ` ``` mermaid ` (Extra space)
|
|
103
|
+
- ❌ Using invalid characters in node IDs (use `NodeID[Label]` instead)
|
|
104
|
+
- ❌ Circular dependencies without clear flow
|
|
105
|
+
|
|
106
|
+
|
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
# Project Scope Levels
|
|
2
|
-
|
|
3
|
-
> **Canonical definition of MVP, Production-Ready, and Enterprise scope levels.**
|
|
4
|
-
>
|
|
5
|
-
> This file defines how scope affects phase execution, question depth, and technology choices across all AI Flow workflows.
|
|
1
|
+
# Project Scope Levels
|
|
2
|
+
|
|
3
|
+
> **Canonical definition of MVP, Production-Ready, and Enterprise scope levels.**
|
|
4
|
+
>
|
|
5
|
+
> This file defines how scope affects phase execution, question depth, and technology choices across all AI Flow workflows.
|
|
6
6
|
---
|
|
7
|
-
## Scope Level Summary
|
|
7
|
+
## Scope Level Summary
|
|
8
8
|
---
|
|
9
|
-
| Scope | Symbol | Duration (Backend) | Phases | Best For |
|
|
10
|
-
| -------------------- | ------ | ------------------ | --------- | ---------------------------------- |
|
|
11
|
-
| **MVP** | 🚀 | 60-80 min | Core only | Prototypes, proof of concept |
|
|
12
|
-
| **Production-Ready** | ⭐ | 90-120 min | All | Production apps, client projects |
|
|
13
|
-
| **Enterprise** | 🏆 | 120-160 min | Extended | Large-scale, mission-critical apps |
|
|
9
|
+
| Scope | Symbol | Duration (Backend) | Phases | Best For |
|
|
10
|
+
| -------------------- | ------ | ------------------ | --------- | ---------------------------------- |
|
|
11
|
+
| **MVP** | 🚀 | 60-80 min | Core only | Prototypes, proof of concept |
|
|
12
|
+
| **Production-Ready** | ⭐ | 90-120 min | All | Production apps, client projects |
|
|
13
|
+
| **Enterprise** | 🏆 | 120-160 min | Extended | Large-scale, mission-critical apps |
|
|
14
14
|
---
|
|
15
|
-
## MVP Scope 🚀
|
|
15
|
+
## MVP Scope 🚀
|
|
16
16
|
---
|
|
17
|
-
### Characteristics
|
|
18
|
-
|
|
19
|
-
- **Phases included:** Core phases only (Phase 1-4 in backend)
|
|
20
|
-
- **Question depth:** Simplified, essential questions only
|
|
21
|
-
- **Technology choices:** Simple, proven defaults
|
|
22
|
-
|
|
23
|
-
### Technology Defaults
|
|
24
|
-
|
|
25
|
-
| Category | MVP Choice |
|
|
26
|
-
| -------------- | ------------------------------ |
|
|
27
|
-
| Database | PostgreSQL (single instance) |
|
|
28
|
-
| ORM | Framework-idiomatic |
|
|
29
|
-
| Caching | None or in-memory |
|
|
30
|
-
| Search | Database LIKE queries |
|
|
31
|
-
| Architecture | Monolith |
|
|
32
|
-
| API Style | REST only |
|
|
33
|
-
| Authentication | JWT (basic) |
|
|
34
|
-
| Authorization | RBAC (simple roles) |
|
|
35
|
-
| Password | bcrypt, 8+ chars |
|
|
36
|
-
| Git Workflow | GitHub Flow |
|
|
37
|
-
| Test Coverage | 15-25% |
|
|
38
|
-
| Test Types | Unit tests only |
|
|
39
|
-
| Deployment | PaaS (Heroku, Railway, Render) |
|
|
40
|
-
| Monitoring | Basic (health checks, logs) |
|
|
17
|
+
### Characteristics
|
|
18
|
+
|
|
19
|
+
- **Phases included:** Core phases only (Phase 1-4 in backend)
|
|
20
|
+
- **Question depth:** Simplified, essential questions only
|
|
21
|
+
- **Technology choices:** Simple, proven defaults
|
|
22
|
+
|
|
23
|
+
### Technology Defaults
|
|
24
|
+
|
|
25
|
+
| Category | MVP Choice |
|
|
26
|
+
| -------------- | ------------------------------ |
|
|
27
|
+
| Database | PostgreSQL (single instance) |
|
|
28
|
+
| ORM | Framework-idiomatic |
|
|
29
|
+
| Caching | None or in-memory |
|
|
30
|
+
| Search | Database LIKE queries |
|
|
31
|
+
| Architecture | Monolith |
|
|
32
|
+
| API Style | REST only |
|
|
33
|
+
| Authentication | JWT (basic) |
|
|
34
|
+
| Authorization | RBAC (simple roles) |
|
|
35
|
+
| Password | bcrypt, 8+ chars |
|
|
36
|
+
| Git Workflow | GitHub Flow |
|
|
37
|
+
| Test Coverage | 15-25% |
|
|
38
|
+
| Test Types | Unit tests only |
|
|
39
|
+
| Deployment | PaaS (Heroku, Railway, Render) |
|
|
40
|
+
| Monitoring | Basic (health checks, logs) |
|
|
41
41
|
---
|
|
42
|
-
## Production-Ready Scope ⭐
|
|
42
|
+
## Production-Ready Scope ⭐
|
|
43
43
|
---
|
|
44
|
-
### Characteristics
|
|
45
|
-
|
|
46
|
-
- **Phases included:** All phases (1-7/8)
|
|
47
|
-
- **Question depth:** Complete professional coverage
|
|
48
|
-
- **Technology choices:** Robust, scalable defaults
|
|
49
|
-
|
|
50
|
-
### Technology Defaults
|
|
51
|
-
|
|
52
|
-
| Category | Production Choice |
|
|
53
|
-
| -------------- | ----------------------------------- |
|
|
54
|
-
| Database | PostgreSQL (managed) |
|
|
55
|
-
| ORM | Framework-idiomatic |
|
|
56
|
-
| Caching | Redis |
|
|
57
|
-
| Search | PostgreSQL Full-Text or Meilisearch |
|
|
58
|
-
| Architecture | Clean Architecture |
|
|
59
|
-
| API Style | REST + GraphQL (optional) |
|
|
60
|
-
| Authentication | JWT + Refresh Tokens |
|
|
61
|
-
| Authorization | RBAC (granular permissions) |
|
|
62
|
-
| Password | bcrypt 12 rounds, 12+ chars |
|
|
63
|
-
| Git Workflow | Git Flow |
|
|
64
|
-
| Test Coverage | 70% |
|
|
65
|
-
| Test Types | Unit, Integration, E2E |
|
|
66
|
-
| Deployment | Cloud (AWS/GCP/Azure) |
|
|
67
|
-
| Monitoring | APM (Datadog/New Relic) + Sentry |
|
|
44
|
+
### Characteristics
|
|
45
|
+
|
|
46
|
+
- **Phases included:** All phases (1-7/8)
|
|
47
|
+
- **Question depth:** Complete professional coverage
|
|
48
|
+
- **Technology choices:** Robust, scalable defaults
|
|
49
|
+
|
|
50
|
+
### Technology Defaults
|
|
51
|
+
|
|
52
|
+
| Category | Production Choice |
|
|
53
|
+
| -------------- | ----------------------------------- |
|
|
54
|
+
| Database | PostgreSQL (managed) |
|
|
55
|
+
| ORM | Framework-idiomatic |
|
|
56
|
+
| Caching | Redis |
|
|
57
|
+
| Search | PostgreSQL Full-Text or Meilisearch |
|
|
58
|
+
| Architecture | Clean Architecture |
|
|
59
|
+
| API Style | REST + GraphQL (optional) |
|
|
60
|
+
| Authentication | JWT + Refresh Tokens |
|
|
61
|
+
| Authorization | RBAC (granular permissions) |
|
|
62
|
+
| Password | bcrypt 12 rounds, 12+ chars |
|
|
63
|
+
| Git Workflow | Git Flow |
|
|
64
|
+
| Test Coverage | 70% |
|
|
65
|
+
| Test Types | Unit, Integration, E2E |
|
|
66
|
+
| Deployment | Cloud (AWS/GCP/Azure) |
|
|
67
|
+
| Monitoring | APM (Datadog/New Relic) + Sentry |
|
|
68
68
|
---
|
|
69
|
-
## Enterprise Scope 🏆
|
|
69
|
+
## Enterprise Scope 🏆
|
|
70
70
|
---
|
|
71
|
-
### Characteristics
|
|
72
|
-
|
|
73
|
-
- **Phases included:** All phases with extended questions
|
|
74
|
-
- **Question depth:** Advanced, comprehensive
|
|
75
|
-
- **Technology choices:** Enterprise-grade, highly scalable
|
|
76
|
-
|
|
77
|
-
### Technology Defaults
|
|
78
|
-
|
|
79
|
-
| Category | Enterprise Choice |
|
|
80
|
-
| -------------- | -------------------------------------- |
|
|
81
|
-
| Database | PostgreSQL (multi-region/sharded) |
|
|
82
|
-
| ORM | Framework-idiomatic |
|
|
83
|
-
| Caching | Redis Cluster |
|
|
84
|
-
| Search | Elasticsearch |
|
|
85
|
-
| Architecture | Microservices / Domain-Driven Design |
|
|
86
|
-
| API Style | REST + GraphQL + gRPC |
|
|
87
|
-
| Authentication | OAuth2 + SSO + MFA |
|
|
88
|
-
| Authorization | ABAC (Attribute-Based) |
|
|
89
|
-
| Password | bcrypt 14 rounds, 16+ chars, policies |
|
|
90
|
-
| Git Workflow | Git Flow + Release branches |
|
|
91
|
-
| Test Coverage | 85%+ |
|
|
92
|
-
| Test Types | Unit, Integration, E2E, Load, Security |
|
|
93
|
-
| Deployment | Multi-region, Kubernetes |
|
|
94
|
-
| Monitoring | Full observability stack |
|
|
71
|
+
### Characteristics
|
|
72
|
+
|
|
73
|
+
- **Phases included:** All phases with extended questions
|
|
74
|
+
- **Question depth:** Advanced, comprehensive
|
|
75
|
+
- **Technology choices:** Enterprise-grade, highly scalable
|
|
76
|
+
|
|
77
|
+
### Technology Defaults
|
|
78
|
+
|
|
79
|
+
| Category | Enterprise Choice |
|
|
80
|
+
| -------------- | -------------------------------------- |
|
|
81
|
+
| Database | PostgreSQL (multi-region/sharded) |
|
|
82
|
+
| ORM | Framework-idiomatic |
|
|
83
|
+
| Caching | Redis Cluster |
|
|
84
|
+
| Search | Elasticsearch |
|
|
85
|
+
| Architecture | Microservices / Domain-Driven Design |
|
|
86
|
+
| API Style | REST + GraphQL + gRPC |
|
|
87
|
+
| Authentication | OAuth2 + SSO + MFA |
|
|
88
|
+
| Authorization | ABAC (Attribute-Based) |
|
|
89
|
+
| Password | bcrypt 14 rounds, 16+ chars, policies |
|
|
90
|
+
| Git Workflow | Git Flow + Release branches |
|
|
91
|
+
| Test Coverage | 85%+ |
|
|
92
|
+
| Test Types | Unit, Integration, E2E, Load, Security |
|
|
93
|
+
| Deployment | Multi-region, Kubernetes |
|
|
94
|
+
| Monitoring | Full observability stack |
|
|
95
95
|
---
|
|
96
|
-
## Scope Selection Prompt
|
|
96
|
+
## Scope Selection Prompt
|
|
97
97
|
---
|
|
98
|
-
```
|
|
98
|
+
```
|
|
99
99
|
---
|
|
100
|
-
🎯 Project Scope Selection
|
|
100
|
+
🎯 Project Scope Selection
|
|
101
101
|
---
|
|
102
|
-
What scope level do you want for this documentation?
|
|
103
|
-
|
|
104
|
-
A) 🚀 **MVP** (60-80 min) - Core features only, minimal setup
|
|
105
|
-
- Core phases only
|
|
106
|
-
- Simple architecture
|
|
107
|
-
- Basic testing
|
|
108
|
-
- Best for: Prototypes, proof of concept
|
|
109
|
-
|
|
110
|
-
B) ⭐ **Production-Ready** (90-120 min) - Complete professional setup
|
|
111
|
-
- All phases
|
|
112
|
-
- Robust architecture
|
|
113
|
-
- Comprehensive testing + CI/CD
|
|
114
|
-
- Best for: Production apps, client projects
|
|
115
|
-
|
|
116
|
-
C) 🏆 **Enterprise** (120-160 min) - Advanced features and scalability
|
|
117
|
-
- All phases with extended questions
|
|
118
|
-
- Enterprise architecture
|
|
119
|
-
- Full observability + compliance
|
|
120
|
-
- Best for: Large-scale, mission-critical apps
|
|
121
|
-
|
|
122
|
-
Your choice (A/B/C):
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
102
|
+
What scope level do you want for this documentation?
|
|
103
|
+
|
|
104
|
+
A) 🚀 **MVP** (60-80 min) - Core features only, minimal setup
|
|
105
|
+
- Core phases only
|
|
106
|
+
- Simple architecture
|
|
107
|
+
- Basic testing
|
|
108
|
+
- Best for: Prototypes, proof of concept
|
|
109
|
+
|
|
110
|
+
B) ⭐ **Production-Ready** (90-120 min) - Complete professional setup
|
|
111
|
+
- All phases
|
|
112
|
+
- Robust architecture
|
|
113
|
+
- Comprehensive testing + CI/CD
|
|
114
|
+
- Best for: Production apps, client projects
|
|
115
|
+
|
|
116
|
+
C) 🏆 **Enterprise** (120-160 min) - Advanced features and scalability
|
|
117
|
+
- All phases with extended questions
|
|
118
|
+
- Enterprise architecture
|
|
119
|
+
- Full observability + compliance
|
|
120
|
+
- Best for: Large-scale, mission-critical apps
|
|
121
|
+
|
|
122
|
+
Your choice (A/B/C):
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|