omgkit 2.11.0 → 2.12.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.
@@ -0,0 +1,356 @@
1
+ name: "Mobile Application"
2
+ id: mobile-app
3
+ description: "Cross-platform mobile app with native features, offline support, and app store deployment"
4
+ estimated_duration: "3-6 weeks"
5
+ icon: "mobile"
6
+
7
+ # Default technology recommendations
8
+ defaults:
9
+ framework: react_native_expo
10
+ state: zustand
11
+ navigation: react_navigation
12
+ storage: async_storage
13
+ api: axios
14
+ testing: jest_detox
15
+ ci: eas_build
16
+
17
+ # Alternative technology stacks
18
+ alternatives:
19
+ framework:
20
+ - id: react_native_expo
21
+ name: "React Native (Expo)"
22
+ description: "Cross-platform with managed workflow, fast development"
23
+ - id: react_native_bare
24
+ name: "React Native (Bare)"
25
+ description: "More control over native code"
26
+ - id: flutter
27
+ name: "Flutter"
28
+ description: "Dart-based, excellent performance, single codebase"
29
+ - id: native_ios
30
+ name: "Native iOS (Swift)"
31
+ description: "Best iOS performance and native feel"
32
+ - id: native_android
33
+ name: "Native Android (Kotlin)"
34
+ description: "Best Android performance and integration"
35
+
36
+ # Phases of development
37
+ phases:
38
+ - id: discovery
39
+ name: "Discovery & App Concept"
40
+ description: "Define app concept, target platforms, and core features"
41
+ order: 1
42
+ checkpoint: true
43
+ checkpoint_message: |
44
+ App discovery is complete. Please review:
45
+ - App concept and value proposition
46
+ - Target platforms (iOS, Android, or both)
47
+ - Offline requirements
48
+ - Native features needed
49
+
50
+ Approve to proceed with design.
51
+
52
+ steps:
53
+ - id: app_concept
54
+ name: "App Concept Definition"
55
+ agent: planner
56
+ description: "Define the app's core purpose and target users"
57
+
58
+ - id: platform_selection
59
+ name: "Platform Selection"
60
+ agent: architect
61
+ description: "Determine target platforms and framework"
62
+
63
+ - id: feature_mapping
64
+ name: "Feature Mapping"
65
+ agent: planner
66
+ description: "Map features to development phases"
67
+
68
+ - id: offline_strategy
69
+ name: "Offline Strategy"
70
+ agent: architect
71
+ description: "Define offline-first architecture if needed"
72
+
73
+ outputs:
74
+ - ".omgkit/generated/app-concept.md"
75
+ - ".omgkit/generated/platform-decision.md"
76
+
77
+ - id: design
78
+ name: "UI/UX Design"
79
+ description: "Design app interface, navigation, and user flows"
80
+ order: 2
81
+ checkpoint: true
82
+ checkpoint_message: |
83
+ Design phase complete. Review:
84
+ - Navigation structure
85
+ - Screen layouts
86
+ - Component library selection
87
+
88
+ Approve to start foundation.
89
+
90
+ steps:
91
+ - id: navigation_design
92
+ name: "Navigation Structure"
93
+ agent: ui-ux-designer
94
+ description: "Design app navigation and screen hierarchy"
95
+
96
+ - id: screen_design
97
+ name: "Screen Design"
98
+ agent: ui-ux-designer
99
+ description: "Design key screens and layouts"
100
+
101
+ - id: component_selection
102
+ name: "Component Library"
103
+ agent: architect
104
+ description: "Select UI component library"
105
+
106
+ - id: theming
107
+ name: "Theme System"
108
+ agent: ui-ux-designer
109
+ description: "Define colors, typography, and spacing"
110
+
111
+ outputs:
112
+ - ".omgkit/generated/navigation-map.md"
113
+ - ".omgkit/generated/design-system.md"
114
+
115
+ - id: foundation
116
+ name: "Project Foundation"
117
+ description: "Set up project, navigation, and base architecture"
118
+ order: 3
119
+ checkpoint: false
120
+
121
+ steps:
122
+ - id: project_setup
123
+ name: "Project Initialization"
124
+ agent: fullstack-developer
125
+ description: "Initialize mobile project with selected framework"
126
+
127
+ - id: navigation_setup
128
+ name: "Navigation Setup"
129
+ agent: fullstack-developer
130
+ description: "Implement navigation structure"
131
+
132
+ - id: state_management
133
+ name: "State Management"
134
+ agent: fullstack-developer
135
+ description: "Set up state management solution"
136
+
137
+ - id: api_layer
138
+ name: "API Layer"
139
+ agent: fullstack-developer
140
+ description: "Create API client and data fetching"
141
+
142
+ - id: storage_setup
143
+ name: "Local Storage"
144
+ agent: fullstack-developer
145
+ description: "Set up local storage for offline data"
146
+
147
+ outputs:
148
+ - "app/"
149
+ - "src/navigation/"
150
+ - "src/store/"
151
+ - "src/api/"
152
+
153
+ - id: core_features
154
+ name: "Core Features"
155
+ description: "Implement main app functionality"
156
+ order: 4
157
+ checkpoint: true
158
+ checkpoint_message: |
159
+ Core features implemented. Review:
160
+ - Main screens functionality
161
+ - API integration
162
+ - Data flow
163
+
164
+ Approve to add native features.
165
+
166
+ steps:
167
+ - id: screens
168
+ name: "Main Screens"
169
+ agent: fullstack-developer
170
+ description: "Implement main app screens"
171
+
172
+ - id: api_integration
173
+ name: "API Integration"
174
+ agent: fullstack-developer
175
+ description: "Connect screens to backend APIs"
176
+
177
+ - id: offline_sync
178
+ name: "Offline Sync"
179
+ agent: fullstack-developer
180
+ description: "Implement offline data sync if required"
181
+
182
+ outputs:
183
+ - "src/screens/"
184
+ - "src/components/"
185
+
186
+ - id: native_features
187
+ name: "Native Features"
188
+ description: "Implement platform-specific native functionality"
189
+ order: 5
190
+ checkpoint: false
191
+
192
+ steps:
193
+ - id: push_notifications
194
+ name: "Push Notifications"
195
+ agent: fullstack-developer
196
+ description: "Set up push notification handling"
197
+
198
+ - id: camera_media
199
+ name: "Camera & Media"
200
+ agent: fullstack-developer
201
+ description: "Implement camera and media access"
202
+
203
+ - id: biometrics
204
+ name: "Biometric Auth"
205
+ agent: fullstack-developer
206
+ description: "Add fingerprint/face ID authentication"
207
+
208
+ - id: deep_linking
209
+ name: "Deep Linking"
210
+ agent: fullstack-developer
211
+ description: "Configure deep linking and universal links"
212
+
213
+ - id: native_permissions
214
+ name: "Permissions"
215
+ agent: fullstack-developer
216
+ description: "Handle native permissions properly"
217
+
218
+ outputs:
219
+ - "src/services/notifications.ts"
220
+ - "src/services/camera.ts"
221
+ - "src/services/biometrics.ts"
222
+
223
+ - id: testing
224
+ name: "Testing"
225
+ description: "Comprehensive testing on simulators and devices"
226
+ order: 6
227
+ checkpoint: true
228
+ checkpoint_message: |
229
+ Testing phase complete. Review:
230
+ - Unit test coverage
231
+ - Integration test results
232
+ - E2E test on simulators
233
+
234
+ Approve to proceed with deployment.
235
+
236
+ steps:
237
+ - id: unit_tests
238
+ name: "Unit Tests"
239
+ agent: tester
240
+ description: "Write unit tests for components and logic"
241
+
242
+ - id: integration_tests
243
+ name: "Integration Tests"
244
+ agent: tester
245
+ description: "Test API integration and data flow"
246
+
247
+ - id: e2e_tests
248
+ name: "E2E Tests"
249
+ agent: tester
250
+ description: "End-to-end tests on simulators"
251
+
252
+ - id: performance
253
+ name: "Performance Testing"
254
+ agent: tester
255
+ description: "Test app performance on low-end devices"
256
+
257
+ outputs:
258
+ - "__tests__/"
259
+ - "e2e/"
260
+
261
+ - id: deployment
262
+ name: "App Store Deployment"
263
+ description: "Prepare and submit to app stores"
264
+ order: 7
265
+ checkpoint: true
266
+ checkpoint_message: |
267
+ Deployment preparation complete. Ready for:
268
+ - iOS App Store submission
269
+ - Google Play Store submission
270
+
271
+ This is the final checkpoint before release.
272
+
273
+ steps:
274
+ - id: app_icons
275
+ name: "App Icons & Splash"
276
+ agent: ui-ux-designer
277
+ description: "Generate app icons and splash screens"
278
+
279
+ - id: store_assets
280
+ name: "Store Assets"
281
+ agent: copywriter
282
+ description: "Create app store screenshots and descriptions"
283
+
284
+ - id: build_config
285
+ name: "Build Configuration"
286
+ agent: cicd-manager
287
+ description: "Configure release builds"
288
+
289
+ - id: store_submission
290
+ name: "Store Submission"
291
+ agent: cicd-manager
292
+ description: "Submit to app stores"
293
+
294
+ outputs:
295
+ - "assets/icons/"
296
+ - "fastlane/"
297
+ - "eas.json"
298
+
299
+ # Autonomy rules for this archetype
300
+ autonomy_rules:
301
+ - pattern: "**/components/**"
302
+ level: 1
303
+ reason: "UI components can be auto-generated with notification"
304
+ - pattern: "**/screens/**"
305
+ level: 2
306
+ reason: "Screens need quick review"
307
+ - pattern: "**/native/**"
308
+ level: 3
309
+ reason: "Native code needs full review"
310
+ - pattern: "**/store/**"
311
+ level: 2
312
+ reason: "State management needs review"
313
+ - pattern: "app.json"
314
+ level: 3
315
+ reason: "App configuration needs review"
316
+ - pattern: "eas.json"
317
+ level: 3
318
+ reason: "Build configuration is critical"
319
+
320
+ # Quality gates
321
+ quality_gates:
322
+ after_feature:
323
+ - "npm test"
324
+ - "npm run lint"
325
+ - "npm run type-check"
326
+ before_checkpoint:
327
+ - "npm run test:coverage"
328
+ - "coverage >= 70%"
329
+ before_deploy:
330
+ - "npm run build:ios"
331
+ - "npm run build:android"
332
+ - "e2e tests pass"
333
+
334
+ # Mobile-specific discovery questions
335
+ discovery_additions:
336
+ - category: "Platform Strategy"
337
+ questions:
338
+ - "Which platforms do you need to support? (iOS, Android, or both)"
339
+ - "Do you need tablet support?"
340
+ - "What's the minimum OS version to support?"
341
+ - "Is a web version also needed?"
342
+
343
+ - category: "Native Features"
344
+ questions:
345
+ - "Do you need push notifications?"
346
+ - "Camera or media access required?"
347
+ - "GPS/location features needed?"
348
+ - "Biometric authentication (Face ID, fingerprint)?"
349
+ - "Offline functionality required?"
350
+ - "Background processing needs?"
351
+
352
+ - category: "App Store"
353
+ questions:
354
+ - "Do you have Apple Developer and Google Play accounts?"
355
+ - "Any in-app purchases or subscriptions?"
356
+ - "Target age rating?"