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,205 +1,205 @@
|
|
|
1
|
-
# AI Instructions - Mobile
|
|
2
|
-
|
|
3
|
-
> **CRITICAL:** Every AI assistant MUST read and follow this document before any work.
|
|
1
|
+
# AI Instructions - Mobile
|
|
2
|
+
|
|
3
|
+
> **CRITICAL:** Every AI assistant MUST read and follow this document before any work.
|
|
4
4
|
---
|
|
5
|
-
## 🎯 Project Overview
|
|
6
|
-
|
|
7
|
-
**Name:** {{PROJECT_NAME}}
|
|
8
|
-
|
|
9
|
-
**Description:** {{PROJECT_DESCRIPTION}}
|
|
10
|
-
|
|
11
|
-
**Purpose:** {{PROBLEM_STATEMENT}}
|
|
12
|
-
|
|
13
|
-
**Target Users:** {{TARGET_USERS}}
|
|
5
|
+
## 🎯 Project Overview
|
|
6
|
+
|
|
7
|
+
**Name:** {{PROJECT_NAME}}
|
|
8
|
+
|
|
9
|
+
**Description:** {{PROJECT_DESCRIPTION}}
|
|
10
|
+
|
|
11
|
+
**Purpose:** {{PROBLEM_STATEMENT}}
|
|
12
|
+
|
|
13
|
+
**Target Users:** {{TARGET_USERS}}
|
|
14
14
|
---
|
|
15
|
-
## 🏗️ Tech Stack
|
|
16
|
-
|
|
17
|
-
### Mobile Platform
|
|
18
|
-
|
|
19
|
-
- **Platforms:** {{PLATFORMS}}
|
|
20
|
-
- **Framework:** {{FRAMEWORK}} {{FRAMEWORK_VERSION}}
|
|
21
|
-
- **Language:** {{LANGUAGE}} {{LANGUAGE_VERSION}}
|
|
22
|
-
- **Minimum iOS:** {{MIN_IOS_VERSION}}
|
|
23
|
-
- **Minimum Android:** {{MIN_ANDROID_VERSION}} (API {{MIN_ANDROID_API}})
|
|
24
|
-
|
|
25
|
-
### UI/UX Framework
|
|
26
|
-
|
|
27
|
-
- **UI Framework:** {{UI_FRAMEWORK}}
|
|
28
|
-
- **Dark Mode:** {{DARK_MODE_STRATEGY}}
|
|
29
|
-
- **Internationalization:** {{I18N_STRATEGY}} ({{I18N_LIBRARY}})
|
|
30
|
-
- **Image Management:** {{IMAGE_MANAGEMENT_STRATEGY}} ({{IMAGE_OPTIMIZATION_LIBRARY}})
|
|
31
|
-
|
|
32
|
-
### Navigation
|
|
33
|
-
|
|
34
|
-
- **Navigation Library:** {{NAVIGATION_LIBRARY}}
|
|
35
|
-
- **Navigation Pattern:** {{NAVIGATION_PATTERN}}
|
|
36
|
-
- **Deep Linking:** {{DEEP_LINKING_STRATEGY}}
|
|
37
|
-
|
|
38
|
-
### State Management
|
|
39
|
-
|
|
40
|
-
- **State Solution:** {{STATE_MANAGEMENT}}
|
|
41
|
-
- **HTTP Client:** {{HTTP_CLIENT_LIBRARY}}
|
|
42
|
-
- **Storage:** {{STORAGE_SOLUTION}}
|
|
43
|
-
- **Offline Strategy:** {{OFFLINE_STRATEGY}}
|
|
44
|
-
- **Network Error Handling:** {{NETWORK_ERROR_HANDLING}}
|
|
45
|
-
|
|
46
|
-
### Native Features
|
|
47
|
-
|
|
48
|
-
- **Permissions:** {{PERMISSIONS_LIST}}
|
|
49
|
-
- **Native Modules:** {{NATIVE_MODULES_LIST}}
|
|
50
|
-
- **Third-Party SDKs:** {{THIRD_PARTY_SDKS}}
|
|
51
|
-
|
|
52
|
-
### Testing
|
|
53
|
-
|
|
54
|
-
- **Unit Testing:** {{UNIT_TEST_FRAMEWORK}}
|
|
55
|
-
- **Component Testing:** {{COMPONENT_TEST_LIBRARY}}
|
|
56
|
-
- **E2E Testing:** {{E2E_FRAMEWORK}}
|
|
57
|
-
- **Coverage Target:** {{TEST_COVERAGE_TARGET}}
|
|
58
|
-
|
|
59
|
-
### Build & Deployment
|
|
60
|
-
|
|
61
|
-
- **CI/CD:** {{CICD_PLATFORM}}
|
|
62
|
-
- **Code Signing:** {{CODE_SIGNING_STRATEGY}}
|
|
63
|
-
- **Versioning:** {{VERSIONING_STRATEGY}}
|
|
64
|
-
- **Analytics:** {{ANALYTICS_TOOL}}
|
|
65
|
-
- **Crash Reporting:** {{CRASH_REPORTING_TOOL}}
|
|
15
|
+
## 🏗️ Tech Stack
|
|
16
|
+
|
|
17
|
+
### Mobile Platform
|
|
18
|
+
|
|
19
|
+
- **Platforms:** {{PLATFORMS}}
|
|
20
|
+
- **Framework:** {{FRAMEWORK}} {{FRAMEWORK_VERSION}}
|
|
21
|
+
- **Language:** {{LANGUAGE}} {{LANGUAGE_VERSION}}
|
|
22
|
+
- **Minimum iOS:** {{MIN_IOS_VERSION}}
|
|
23
|
+
- **Minimum Android:** {{MIN_ANDROID_VERSION}} (API {{MIN_ANDROID_API}})
|
|
24
|
+
|
|
25
|
+
### UI/UX Framework
|
|
26
|
+
|
|
27
|
+
- **UI Framework:** {{UI_FRAMEWORK}}
|
|
28
|
+
- **Dark Mode:** {{DARK_MODE_STRATEGY}}
|
|
29
|
+
- **Internationalization:** {{I18N_STRATEGY}} ({{I18N_LIBRARY}})
|
|
30
|
+
- **Image Management:** {{IMAGE_MANAGEMENT_STRATEGY}} ({{IMAGE_OPTIMIZATION_LIBRARY}})
|
|
31
|
+
|
|
32
|
+
### Navigation
|
|
33
|
+
|
|
34
|
+
- **Navigation Library:** {{NAVIGATION_LIBRARY}}
|
|
35
|
+
- **Navigation Pattern:** {{NAVIGATION_PATTERN}}
|
|
36
|
+
- **Deep Linking:** {{DEEP_LINKING_STRATEGY}}
|
|
37
|
+
|
|
38
|
+
### State Management
|
|
39
|
+
|
|
40
|
+
- **State Solution:** {{STATE_MANAGEMENT}}
|
|
41
|
+
- **HTTP Client:** {{HTTP_CLIENT_LIBRARY}}
|
|
42
|
+
- **Storage:** {{STORAGE_SOLUTION}}
|
|
43
|
+
- **Offline Strategy:** {{OFFLINE_STRATEGY}}
|
|
44
|
+
- **Network Error Handling:** {{NETWORK_ERROR_HANDLING}}
|
|
45
|
+
|
|
46
|
+
### Native Features
|
|
47
|
+
|
|
48
|
+
- **Permissions:** {{PERMISSIONS_LIST}}
|
|
49
|
+
- **Native Modules:** {{NATIVE_MODULES_LIST}}
|
|
50
|
+
- **Third-Party SDKs:** {{THIRD_PARTY_SDKS}}
|
|
51
|
+
|
|
52
|
+
### Testing
|
|
53
|
+
|
|
54
|
+
- **Unit Testing:** {{UNIT_TEST_FRAMEWORK}}
|
|
55
|
+
- **Component Testing:** {{COMPONENT_TEST_LIBRARY}}
|
|
56
|
+
- **E2E Testing:** {{E2E_FRAMEWORK}}
|
|
57
|
+
- **Coverage Target:** {{TEST_COVERAGE_TARGET}}
|
|
58
|
+
|
|
59
|
+
### Build & Deployment
|
|
60
|
+
|
|
61
|
+
- **CI/CD:** {{CICD_PLATFORM}}
|
|
62
|
+
- **Code Signing:** {{CODE_SIGNING_STRATEGY}}
|
|
63
|
+
- **Versioning:** {{VERSIONING_STRATEGY}}
|
|
64
|
+
- **Analytics:** {{ANALYTICS_TOOL}}
|
|
65
|
+
- **Crash Reporting:** {{CRASH_REPORTING_TOOL}}
|
|
66
66
|
---
|
|
67
|
-
## 🏛️ Architecture
|
|
68
|
-
|
|
69
|
-
**Architecture Pattern:** {{ARCHITECTURE_PATTERN}}
|
|
70
|
-
|
|
71
|
-
{{ARCHITECTURE_DESCRIPTION}}
|
|
72
|
-
|
|
73
|
-
**File Organization:** {{FILE_ORGANIZATION}}
|
|
74
|
-
|
|
75
|
-
**Folder Structure:**
|
|
76
|
-
```
|
|
77
|
-
{{FOLDER_STRUCTURE}}
|
|
78
|
-
```
|
|
67
|
+
## 🏛️ Architecture
|
|
68
|
+
|
|
69
|
+
**Architecture Pattern:** {{ARCHITECTURE_PATTERN}}
|
|
70
|
+
|
|
71
|
+
{{ARCHITECTURE_DESCRIPTION}}
|
|
72
|
+
|
|
73
|
+
**File Organization:** {{FILE_ORGANIZATION}}
|
|
74
|
+
|
|
75
|
+
**Folder Structure:**
|
|
76
|
+
```
|
|
77
|
+
{{FOLDER_STRUCTURE}}
|
|
78
|
+
```
|
|
79
79
|
---
|
|
80
|
-
## ❌ NEVER Rules
|
|
81
|
-
|
|
82
|
-
**YOU MUST NEVER:**
|
|
83
|
-
|
|
84
|
-
### Performance
|
|
85
|
-
|
|
86
|
-
- ❌ Render large lists without virtualization - Use FlatList (React Native), ListView.builder (Flutter)
|
|
87
|
-
- ❌ Forget to dispose resources - Remove listeners, cancel timers, close streams
|
|
88
|
-
- ❌ Use heavy operations on main thread - Use background threads for heavy work
|
|
89
|
-
- ❌ Load all data at once - Implement pagination and lazy loading
|
|
90
|
-
|
|
91
|
-
### Memory
|
|
92
|
-
|
|
93
|
-
- ❌ Create memory leaks - Always dispose listeners, subscriptions, timers
|
|
94
|
-
- ❌ Hold references to large objects - Use weak references when appropriate
|
|
95
|
-
- ❌ Forget to release native resources - Close cameras, file handles, etc.
|
|
96
|
-
|
|
97
|
-
### Network
|
|
98
|
-
|
|
99
|
-
- ❌ Make requests without error handling - Always handle network errors gracefully
|
|
100
|
-
- ❌ Ignore offline scenarios - Handle offline state, show cached data
|
|
101
|
-
- ❌ Forget to cancel requests - Cancel requests when component unmounts
|
|
102
|
-
|
|
103
|
-
### Permissions
|
|
104
|
-
|
|
105
|
-
- ❌ Request permissions without explanation - Explain why permission is needed
|
|
106
|
-
- ❌ Request all permissions at once - Request just-in-time
|
|
107
|
-
- ❌ Ignore permission denial - Handle gracefully, show alternatives
|
|
108
|
-
|
|
109
|
-
### Platform Differences
|
|
110
|
-
|
|
111
|
-
- ❌ Assume iOS and Android are identical - Handle platform-specific code
|
|
112
|
-
- ❌ Use platform-specific APIs without checks - Check platform before using
|
|
113
|
-
- ❌ Ignore platform guidelines - Follow iOS Human Interface Guidelines and Material Design
|
|
80
|
+
## ❌ NEVER Rules
|
|
81
|
+
|
|
82
|
+
**YOU MUST NEVER:**
|
|
83
|
+
|
|
84
|
+
### Performance
|
|
85
|
+
|
|
86
|
+
- ❌ Render large lists without virtualization - Use FlatList (React Native), ListView.builder (Flutter)
|
|
87
|
+
- ❌ Forget to dispose resources - Remove listeners, cancel timers, close streams
|
|
88
|
+
- ❌ Use heavy operations on main thread - Use background threads for heavy work
|
|
89
|
+
- ❌ Load all data at once - Implement pagination and lazy loading
|
|
90
|
+
|
|
91
|
+
### Memory
|
|
92
|
+
|
|
93
|
+
- ❌ Create memory leaks - Always dispose listeners, subscriptions, timers
|
|
94
|
+
- ❌ Hold references to large objects - Use weak references when appropriate
|
|
95
|
+
- ❌ Forget to release native resources - Close cameras, file handles, etc.
|
|
96
|
+
|
|
97
|
+
### Network
|
|
98
|
+
|
|
99
|
+
- ❌ Make requests without error handling - Always handle network errors gracefully
|
|
100
|
+
- ❌ Ignore offline scenarios - Handle offline state, show cached data
|
|
101
|
+
- ❌ Forget to cancel requests - Cancel requests when component unmounts
|
|
102
|
+
|
|
103
|
+
### Permissions
|
|
104
|
+
|
|
105
|
+
- ❌ Request permissions without explanation - Explain why permission is needed
|
|
106
|
+
- ❌ Request all permissions at once - Request just-in-time
|
|
107
|
+
- ❌ Ignore permission denial - Handle gracefully, show alternatives
|
|
108
|
+
|
|
109
|
+
### Platform Differences
|
|
110
|
+
|
|
111
|
+
- ❌ Assume iOS and Android are identical - Handle platform-specific code
|
|
112
|
+
- ❌ Use platform-specific APIs without checks - Check platform before using
|
|
113
|
+
- ❌ Ignore platform guidelines - Follow iOS Human Interface Guidelines and Material Design
|
|
114
114
|
---
|
|
115
|
-
## ✅ ALWAYS Rules
|
|
116
|
-
|
|
117
|
-
**YOU MUST ALWAYS:**
|
|
118
|
-
|
|
119
|
-
### Code Quality
|
|
120
|
-
|
|
121
|
-
- ✅ Use TypeScript/Dart strict mode
|
|
122
|
-
- ✅ Follow naming conventions: {{FILE_NAMING_CONVENTION}}
|
|
123
|
-
- ✅ Write unit tests for business logic
|
|
124
|
-
- ✅ Handle errors gracefully
|
|
125
|
-
- ✅ Use proper error boundaries (React Native) or error handlers (Flutter)
|
|
126
|
-
|
|
127
|
-
### Performance
|
|
128
|
-
|
|
129
|
-
- ✅ Optimize images - Use appropriate formats and sizes
|
|
130
|
-
- ✅ Implement lazy loading for screens and components
|
|
131
|
-
- ✅ Use memoization for expensive computations
|
|
132
|
-
- ✅ Monitor app performance - Track FPS, memory usage, battery
|
|
133
|
-
|
|
134
|
-
### User Experience
|
|
135
|
-
|
|
136
|
-
- ✅ Show loading states - Use skeleton screens or spinners
|
|
137
|
-
- ✅ Handle offline gracefully - Show cached data, queue updates
|
|
138
|
-
- ✅ Request permissions just-in-time - Explain why needed
|
|
139
|
-
- ✅ Follow platform design guidelines - iOS HIG and Material Design
|
|
140
|
-
|
|
141
|
-
### Security
|
|
142
|
-
|
|
143
|
-
- ✅ Store sensitive data securely - Use secure storage (Keychain/Keystore)
|
|
144
|
-
- ✅ Validate all user input
|
|
145
|
-
- ✅ Use HTTPS for all network requests
|
|
146
|
-
- ✅ Implement certificate pinning for production
|
|
147
|
-
|
|
148
|
-
### Testing
|
|
149
|
-
|
|
150
|
-
- ✅ Test on physical devices - Not just simulators/emulators
|
|
151
|
-
- ✅ Test on multiple screen sizes
|
|
152
|
-
- ✅ Test offline scenarios
|
|
153
|
-
- ✅ Test permission flows
|
|
115
|
+
## ✅ ALWAYS Rules
|
|
116
|
+
|
|
117
|
+
**YOU MUST ALWAYS:**
|
|
118
|
+
|
|
119
|
+
### Code Quality
|
|
120
|
+
|
|
121
|
+
- ✅ Use TypeScript/Dart strict mode
|
|
122
|
+
- ✅ Follow naming conventions: {{FILE_NAMING_CONVENTION}}
|
|
123
|
+
- ✅ Write unit tests for business logic
|
|
124
|
+
- ✅ Handle errors gracefully
|
|
125
|
+
- ✅ Use proper error boundaries (React Native) or error handlers (Flutter)
|
|
126
|
+
|
|
127
|
+
### Performance
|
|
128
|
+
|
|
129
|
+
- ✅ Optimize images - Use appropriate formats and sizes
|
|
130
|
+
- ✅ Implement lazy loading for screens and components
|
|
131
|
+
- ✅ Use memoization for expensive computations
|
|
132
|
+
- ✅ Monitor app performance - Track FPS, memory usage, battery
|
|
133
|
+
|
|
134
|
+
### User Experience
|
|
135
|
+
|
|
136
|
+
- ✅ Show loading states - Use skeleton screens or spinners
|
|
137
|
+
- ✅ Handle offline gracefully - Show cached data, queue updates
|
|
138
|
+
- ✅ Request permissions just-in-time - Explain why needed
|
|
139
|
+
- ✅ Follow platform design guidelines - iOS HIG and Material Design
|
|
140
|
+
|
|
141
|
+
### Security
|
|
142
|
+
|
|
143
|
+
- ✅ Store sensitive data securely - Use secure storage (Keychain/Keystore)
|
|
144
|
+
- ✅ Validate all user input
|
|
145
|
+
- ✅ Use HTTPS for all network requests
|
|
146
|
+
- ✅ Implement certificate pinning for production
|
|
147
|
+
|
|
148
|
+
### Testing
|
|
149
|
+
|
|
150
|
+
- ✅ Test on physical devices - Not just simulators/emulators
|
|
151
|
+
- ✅ Test on multiple screen sizes
|
|
152
|
+
- ✅ Test offline scenarios
|
|
153
|
+
- ✅ Test permission flows
|
|
154
154
|
---
|
|
155
|
-
## 📱 Mobile-Specific Guidelines
|
|
156
|
-
|
|
157
|
-
### iOS
|
|
158
|
-
|
|
159
|
-
- ✅ Follow iOS Human Interface Guidelines
|
|
160
|
-
- ✅ Use native iOS navigation patterns
|
|
161
|
-
- ✅ Support Dark Mode
|
|
162
|
-
- ✅ Handle Safe Area insets
|
|
163
|
-
- ✅ Use SF Symbols for icons
|
|
164
|
-
|
|
165
|
-
### Android
|
|
166
|
-
|
|
167
|
-
- ✅ Follow Material Design guidelines
|
|
168
|
-
- ✅ Use Material Components
|
|
169
|
-
- ✅ Support different screen densities
|
|
170
|
-
- ✅ Handle system bars (status bar, navigation bar)
|
|
171
|
-
- ✅ Use Material Icons
|
|
172
|
-
|
|
173
|
-
### Cross-Platform
|
|
174
|
-
|
|
175
|
-
- ✅ Use platform-specific code when needed
|
|
176
|
-
- ✅ Test on both platforms
|
|
177
|
-
- ✅ Handle platform differences gracefully
|
|
178
|
-
- ✅ Use platform detection utilities
|
|
155
|
+
## 📱 Mobile-Specific Guidelines
|
|
156
|
+
|
|
157
|
+
### iOS
|
|
158
|
+
|
|
159
|
+
- ✅ Follow iOS Human Interface Guidelines
|
|
160
|
+
- ✅ Use native iOS navigation patterns
|
|
161
|
+
- ✅ Support Dark Mode
|
|
162
|
+
- ✅ Handle Safe Area insets
|
|
163
|
+
- ✅ Use SF Symbols for icons
|
|
164
|
+
|
|
165
|
+
### Android
|
|
166
|
+
|
|
167
|
+
- ✅ Follow Material Design guidelines
|
|
168
|
+
- ✅ Use Material Components
|
|
169
|
+
- ✅ Support different screen densities
|
|
170
|
+
- ✅ Handle system bars (status bar, navigation bar)
|
|
171
|
+
- ✅ Use Material Icons
|
|
172
|
+
|
|
173
|
+
### Cross-Platform
|
|
174
|
+
|
|
175
|
+
- ✅ Use platform-specific code when needed
|
|
176
|
+
- ✅ Test on both platforms
|
|
177
|
+
- ✅ Handle platform differences gracefully
|
|
178
|
+
- ✅ Use platform detection utilities
|
|
179
179
|
---
|
|
180
|
-
## 🔄 Development Workflow
|
|
181
|
-
|
|
182
|
-
1. **Read this file first** - Understand tech stack and rules
|
|
183
|
-
2. **Check existing code** - Follow established patterns
|
|
184
|
-
3. **Write tests** - Unit tests for logic, integration tests for flows
|
|
185
|
-
4. **Test on devices** - Not just simulators
|
|
186
|
-
5. **Handle errors** - Graceful error handling
|
|
187
|
-
6. **Optimize performance** - Monitor and optimize
|
|
180
|
+
## 🔄 Development Workflow
|
|
181
|
+
|
|
182
|
+
1. **Read this file first** - Understand tech stack and rules
|
|
183
|
+
2. **Check existing code** - Follow established patterns
|
|
184
|
+
3. **Write tests** - Unit tests for logic, integration tests for flows
|
|
185
|
+
4. **Test on devices** - Not just simulators
|
|
186
|
+
5. **Handle errors** - Graceful error handling
|
|
187
|
+
6. **Optimize performance** - Monitor and optimize
|
|
188
188
|
---
|
|
189
|
-
## 📚 Key Documentation
|
|
190
|
-
|
|
191
|
-
- `AGENT.md` - Universal AI context
|
|
192
|
-
- `docs/architecture.md` - System architecture
|
|
193
|
-
- `docs/navigation.md` - Navigation patterns
|
|
194
|
-
- `docs/state-management.md` - State management
|
|
195
|
-
- `docs/offline-strategy.md` - Offline handling
|
|
196
|
-
- `docs/permissions.md` - Permissions handling
|
|
197
|
-
- `docs/testing.md` - Testing strategy
|
|
198
|
-
- `docs/app-store.md` - App Store deployment
|
|
189
|
+
## 📚 Key Documentation
|
|
190
|
+
|
|
191
|
+
- `AGENT.md` - Universal AI context
|
|
192
|
+
- `docs/architecture.md` - System architecture
|
|
193
|
+
- `docs/navigation.md` - Navigation patterns
|
|
194
|
+
- `docs/state-management.md` - State management
|
|
195
|
+
- `docs/offline-strategy.md` - Offline handling
|
|
196
|
+
- `docs/permissions.md` - Permissions handling
|
|
197
|
+
- `docs/testing.md` - Testing strategy
|
|
198
|
+
- `docs/app-store.md` - App Store deployment
|
|
199
199
|
---
|
|
200
|
-
**Last Updated:** {{LAST_UPDATED}}
|
|
201
|
-
|
|
202
|
-
**Version:** {{PROJECT_VERSION}}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
200
|
+
**Last Updated:** {{LAST_UPDATED}}
|
|
201
|
+
|
|
202
|
+
**Version:** {{PROJECT_VERSION}}
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
# App Store Configuration
|
|
2
|
-
|
|
3
|
-
> App Store and Play Store deployment guide for {{PROJECT_NAME}}
|
|
1
|
+
# App Store Configuration
|
|
2
|
+
|
|
3
|
+
> App Store and Play Store deployment guide for {{PROJECT_NAME}}
|
|
4
4
|
---
|
|
5
|
-
## 📱 App Stores
|
|
6
|
-
|
|
7
|
-
**Target Stores:** {{TARGET_STORES}}
|
|
8
|
-
|
|
9
|
-
- **iOS:** {{IOS_STORE_ENABLED}}
|
|
10
|
-
- **Android:** {{ANDROID_STORE_ENABLED}}
|
|
5
|
+
## 📱 App Stores
|
|
6
|
+
|
|
7
|
+
**Target Stores:** {{TARGET_STORES}}
|
|
8
|
+
|
|
9
|
+
- **iOS:** {{IOS_STORE_ENABLED}}
|
|
10
|
+
- **Android:** {{ANDROID_STORE_ENABLED}}
|
|
11
11
|
---
|
|
12
|
-
## 🍎 Apple App Store
|
|
13
|
-
|
|
14
|
-
### App Store Connect Setup
|
|
15
|
-
|
|
16
|
-
**Bundle ID:** {{IOS_BUNDLE_ID}}
|
|
17
|
-
|
|
18
|
-
**App Name:** {{IOS_APP_NAME}}
|
|
19
|
-
|
|
20
|
-
**Version:** {{IOS_VERSION}}
|
|
21
|
-
|
|
22
|
-
**Build Number:** {{IOS_BUILD_NUMBER}}
|
|
23
|
-
|
|
24
|
-
### Required Metadata
|
|
25
|
-
|
|
26
|
-
- **App Name:** {{IOS_APP_NAME}} (30 characters max)
|
|
27
|
-
- **Subtitle:** {{IOS_SUBTITLE}} (30 characters max)
|
|
28
|
-
- **Description:** {{IOS_DESCRIPTION}} (4000 characters max)
|
|
29
|
-
- **Keywords:** {{IOS_KEYWORDS}}
|
|
30
|
-
- **Privacy Policy URL:** {{PRIVACY_POLICY_URL}}
|
|
31
|
-
|
|
32
|
-
### Screenshots
|
|
33
|
-
|
|
34
|
-
**Required Sizes:**
|
|
35
|
-
{{IOS_SCREENSHOT_SIZES}}
|
|
36
|
-
|
|
37
|
-
### App Icon
|
|
38
|
-
|
|
39
|
-
**Size:** 1024x1024 pixels
|
|
40
|
-
|
|
41
|
-
### Review Information
|
|
42
|
-
|
|
43
|
-
**Demo Account:** {{IOS_DEMO_ACCOUNT}}
|
|
44
|
-
|
|
45
|
-
**Review Notes:** {{IOS_REVIEW_NOTES}}
|
|
12
|
+
## 🍎 Apple App Store
|
|
13
|
+
|
|
14
|
+
### App Store Connect Setup
|
|
15
|
+
|
|
16
|
+
**Bundle ID:** {{IOS_BUNDLE_ID}}
|
|
17
|
+
|
|
18
|
+
**App Name:** {{IOS_APP_NAME}}
|
|
19
|
+
|
|
20
|
+
**Version:** {{IOS_VERSION}}
|
|
21
|
+
|
|
22
|
+
**Build Number:** {{IOS_BUILD_NUMBER}}
|
|
23
|
+
|
|
24
|
+
### Required Metadata
|
|
25
|
+
|
|
26
|
+
- **App Name:** {{IOS_APP_NAME}} (30 characters max)
|
|
27
|
+
- **Subtitle:** {{IOS_SUBTITLE}} (30 characters max)
|
|
28
|
+
- **Description:** {{IOS_DESCRIPTION}} (4000 characters max)
|
|
29
|
+
- **Keywords:** {{IOS_KEYWORDS}}
|
|
30
|
+
- **Privacy Policy URL:** {{PRIVACY_POLICY_URL}}
|
|
31
|
+
|
|
32
|
+
### Screenshots
|
|
33
|
+
|
|
34
|
+
**Required Sizes:**
|
|
35
|
+
{{IOS_SCREENSHOT_SIZES}}
|
|
36
|
+
|
|
37
|
+
### App Icon
|
|
38
|
+
|
|
39
|
+
**Size:** 1024x1024 pixels
|
|
40
|
+
|
|
41
|
+
### Review Information
|
|
42
|
+
|
|
43
|
+
**Demo Account:** {{IOS_DEMO_ACCOUNT}}
|
|
44
|
+
|
|
45
|
+
**Review Notes:** {{IOS_REVIEW_NOTES}}
|
|
46
46
|
---
|
|
47
|
-
## 🤖 Google Play Store
|
|
48
|
-
|
|
49
|
-
### Play Console Setup
|
|
50
|
-
|
|
51
|
-
**Package Name:** {{ANDROID_PACKAGE_NAME}}
|
|
52
|
-
|
|
53
|
-
**App Name:** {{ANDROID_APP_NAME}}
|
|
54
|
-
|
|
55
|
-
**Version Code:** {{ANDROID_VERSION_CODE}}
|
|
56
|
-
|
|
57
|
-
**Version Name:** {{ANDROID_VERSION_NAME}}
|
|
58
|
-
|
|
59
|
-
### Required Metadata
|
|
60
|
-
|
|
61
|
-
- **App Name:** {{ANDROID_APP_NAME}} (50 characters max)
|
|
62
|
-
- **Short Description:** {{ANDROID_SHORT_DESCRIPTION}} (80 characters max)
|
|
63
|
-
- **Full Description:** {{ANDROID_FULL_DESCRIPTION}} (4000 characters max)
|
|
64
|
-
- **Privacy Policy URL:** {{PRIVACY_POLICY_URL}}
|
|
65
|
-
|
|
66
|
-
### Screenshots
|
|
67
|
-
|
|
68
|
-
**Required Sizes:**
|
|
69
|
-
{{ANDROID_SCREENSHOT_SIZES}}
|
|
70
|
-
|
|
71
|
-
### App Icon
|
|
72
|
-
|
|
73
|
-
**Size:** 512x512 pixels
|
|
74
|
-
|
|
75
|
-
### Feature Graphic
|
|
76
|
-
|
|
77
|
-
**Size:** 1024x500 pixels
|
|
47
|
+
## 🤖 Google Play Store
|
|
48
|
+
|
|
49
|
+
### Play Console Setup
|
|
50
|
+
|
|
51
|
+
**Package Name:** {{ANDROID_PACKAGE_NAME}}
|
|
52
|
+
|
|
53
|
+
**App Name:** {{ANDROID_APP_NAME}}
|
|
54
|
+
|
|
55
|
+
**Version Code:** {{ANDROID_VERSION_CODE}}
|
|
56
|
+
|
|
57
|
+
**Version Name:** {{ANDROID_VERSION_NAME}}
|
|
58
|
+
|
|
59
|
+
### Required Metadata
|
|
60
|
+
|
|
61
|
+
- **App Name:** {{ANDROID_APP_NAME}} (50 characters max)
|
|
62
|
+
- **Short Description:** {{ANDROID_SHORT_DESCRIPTION}} (80 characters max)
|
|
63
|
+
- **Full Description:** {{ANDROID_FULL_DESCRIPTION}} (4000 characters max)
|
|
64
|
+
- **Privacy Policy URL:** {{PRIVACY_POLICY_URL}}
|
|
65
|
+
|
|
66
|
+
### Screenshots
|
|
67
|
+
|
|
68
|
+
**Required Sizes:**
|
|
69
|
+
{{ANDROID_SCREENSHOT_SIZES}}
|
|
70
|
+
|
|
71
|
+
### App Icon
|
|
72
|
+
|
|
73
|
+
**Size:** 512x512 pixels
|
|
74
|
+
|
|
75
|
+
### Feature Graphic
|
|
76
|
+
|
|
77
|
+
**Size:** 1024x500 pixels
|
|
78
78
|
---
|
|
79
|
-
## 🚀 Deployment Process
|
|
80
|
-
|
|
81
|
-
### iOS Deployment
|
|
82
|
-
|
|
83
|
-
{{IOS_DEPLOYMENT_PROCESS}}
|
|
84
|
-
|
|
85
|
-
### Android Deployment
|
|
86
|
-
|
|
87
|
-
{{ANDROID_DEPLOYMENT_PROCESS}}
|
|
79
|
+
## 🚀 Deployment Process
|
|
80
|
+
|
|
81
|
+
### iOS Deployment
|
|
82
|
+
|
|
83
|
+
{{IOS_DEPLOYMENT_PROCESS}}
|
|
84
|
+
|
|
85
|
+
### Android Deployment
|
|
86
|
+
|
|
87
|
+
{{ANDROID_DEPLOYMENT_PROCESS}}
|
|
88
88
|
---
|
|
89
|
-
## 🔄 Release Strategy
|
|
90
|
-
|
|
91
|
-
**Release Strategy:** {{RELEASE_STRATEGY}}
|
|
92
|
-
|
|
93
|
-
{{RELEASE_STRATEGY_DESCRIPTION}}
|
|
89
|
+
## 🔄 Release Strategy
|
|
90
|
+
|
|
91
|
+
**Release Strategy:** {{RELEASE_STRATEGY}}
|
|
92
|
+
|
|
93
|
+
{{RELEASE_STRATEGY_DESCRIPTION}}
|
|
94
94
|
---
|
|
95
|
-
## 📊 Beta Testing
|
|
96
|
-
|
|
97
|
-
**Beta Testing Strategy:** {{BETA_TESTING_STRATEGY}}
|
|
98
|
-
|
|
99
|
-
**iOS:** {{IOS_BETA_TESTING}}
|
|
100
|
-
|
|
101
|
-
**Android:** {{ANDROID_BETA_TESTING}}
|
|
95
|
+
## 📊 Beta Testing
|
|
96
|
+
|
|
97
|
+
**Beta Testing Strategy:** {{BETA_TESTING_STRATEGY}}
|
|
98
|
+
|
|
99
|
+
**iOS:** {{IOS_BETA_TESTING}}
|
|
100
|
+
|
|
101
|
+
**Android:** {{ANDROID_BETA_TESTING}}
|
|
102
102
|
---
|
|
103
|
-
## 🔐 Code Signing
|
|
104
|
-
|
|
105
|
-
**Code Signing Strategy:** {{CODE_SIGNING_STRATEGY}}
|
|
106
|
-
|
|
107
|
-
{{CODE_SIGNING_DESCRIPTION}}
|
|
103
|
+
## 🔐 Code Signing
|
|
104
|
+
|
|
105
|
+
**Code Signing Strategy:** {{CODE_SIGNING_STRATEGY}}
|
|
106
|
+
|
|
107
|
+
{{CODE_SIGNING_DESCRIPTION}}
|
|
108
108
|
---
|
|
109
|
-
## 📈 Monitoring
|
|
110
|
-
|
|
111
|
-
**Analytics:** {{ANALYTICS_TOOL}}
|
|
112
|
-
|
|
113
|
-
**Crash Reporting:** {{CRASH_REPORTING_TOOL}}
|
|
114
|
-
|
|
115
|
-
**App Store Analytics:** {{STORE_ANALYTICS_ENABLED}}
|
|
109
|
+
## 📈 Monitoring
|
|
110
|
+
|
|
111
|
+
**Analytics:** {{ANALYTICS_TOOL}}
|
|
112
|
+
|
|
113
|
+
**Crash Reporting:** {{CRASH_REPORTING_TOOL}}
|
|
114
|
+
|
|
115
|
+
**App Store Analytics:** {{STORE_ANALYTICS_ENABLED}}
|
|
116
116
|
---
|
|
117
|
-
## ✅ Checklist
|
|
118
|
-
|
|
119
|
-
### Pre-Release
|
|
120
|
-
|
|
121
|
-
- [ ] All features tested
|
|
122
|
-
- [ ] Screenshots prepared
|
|
123
|
-
- [ ] App metadata complete
|
|
124
|
-
- [ ] Privacy policy published
|
|
125
|
-
- [ ] Demo account ready (if needed)
|
|
126
|
-
- [ ] Beta testing completed
|
|
127
|
-
|
|
128
|
-
### Release
|
|
129
|
-
|
|
130
|
-
- [ ] Build uploaded to stores
|
|
131
|
-
- [ ] Metadata reviewed
|
|
132
|
-
- [ ] Screenshots verified
|
|
133
|
-
- [ ] Submitted for review
|
|
134
|
-
|
|
135
|
-
### Post-Release
|
|
136
|
-
|
|
137
|
-
- [ ] Monitor crash reports
|
|
138
|
-
- [ ] Monitor user reviews
|
|
139
|
-
- [ ] Monitor analytics
|
|
140
|
-
- [ ] Plan updates
|
|
117
|
+
## ✅ Checklist
|
|
118
|
+
|
|
119
|
+
### Pre-Release
|
|
120
|
+
|
|
121
|
+
- [ ] All features tested
|
|
122
|
+
- [ ] Screenshots prepared
|
|
123
|
+
- [ ] App metadata complete
|
|
124
|
+
- [ ] Privacy policy published
|
|
125
|
+
- [ ] Demo account ready (if needed)
|
|
126
|
+
- [ ] Beta testing completed
|
|
127
|
+
|
|
128
|
+
### Release
|
|
129
|
+
|
|
130
|
+
- [ ] Build uploaded to stores
|
|
131
|
+
- [ ] Metadata reviewed
|
|
132
|
+
- [ ] Screenshots verified
|
|
133
|
+
- [ ] Submitted for review
|
|
134
|
+
|
|
135
|
+
### Post-Release
|
|
136
|
+
|
|
137
|
+
- [ ] Monitor crash reports
|
|
138
|
+
- [ ] Monitor user reviews
|
|
139
|
+
- [ ] Monitor analytics
|
|
140
|
+
- [ ] Plan updates
|
|
141
141
|
---
|
|
142
|
-
**Last Updated:** {{LAST_UPDATED}}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
**Last Updated:** {{LAST_UPDATED}}
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|