mobile-ai-agents 1.0.23

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 (194) hide show
  1. package/AGENTS.md +228 -0
  2. package/CLAUDE.md +236 -0
  3. package/LICENSE +21 -0
  4. package/README.md +652 -0
  5. package/agents/android/android-crash-analyzer/README.md +134 -0
  6. package/agents/android/android-crash-analyzer/agent.md +206 -0
  7. package/agents/android/android-crash-analyzer/example-input.md +138 -0
  8. package/agents/android/android-crash-analyzer/example-output.md +225 -0
  9. package/agents/android/anr-investigation/README.md +78 -0
  10. package/agents/android/anr-investigation/agent.md +117 -0
  11. package/agents/android/anr-investigation/example-input.md +62 -0
  12. package/agents/android/anr-investigation/example-output.md +103 -0
  13. package/agents/android/axiom/agent.md +197 -0
  14. package/agents/android/code-reviewer/README.md +108 -0
  15. package/agents/android/code-reviewer/agent.md +210 -0
  16. package/agents/android/code-reviewer/example-input.md +116 -0
  17. package/agents/android/code-reviewer/example-output.md +115 -0
  18. package/agents/android/compose-navigation/README.md +76 -0
  19. package/agents/android/compose-navigation/agent.md +121 -0
  20. package/agents/android/compose-navigation/example-input.md +49 -0
  21. package/agents/android/compose-navigation/example-output.md +325 -0
  22. package/agents/android/compose-screen-builder/README.md +95 -0
  23. package/agents/android/compose-screen-builder/agent.md +170 -0
  24. package/agents/android/compose-screen-builder/example-input.md +40 -0
  25. package/agents/android/compose-screen-builder/example-output.md +568 -0
  26. package/agents/android/compose-ui-reviewer/README.md +73 -0
  27. package/agents/android/compose-ui-reviewer/agent.md +253 -0
  28. package/agents/android/compose-ui-reviewer/example-input.md +84 -0
  29. package/agents/android/compose-ui-reviewer/example-output.md +102 -0
  30. package/agents/android/crash-analyzer/README.md +53 -0
  31. package/agents/android/crash-analyzer/agent.md +295 -0
  32. package/agents/android/memory-leak-analyzer/README.md +79 -0
  33. package/agents/android/memory-leak-analyzer/agent.md +116 -0
  34. package/agents/android/memory-leak-analyzer/example-input.md +78 -0
  35. package/agents/android/memory-leak-analyzer/example-output.md +128 -0
  36. package/agents/cross-platform/accessibility-auditor/README.md +47 -0
  37. package/agents/cross-platform/accessibility-auditor/agent.md +268 -0
  38. package/agents/cross-platform/accessibility-auditor/example-input.md +84 -0
  39. package/agents/cross-platform/accessibility-auditor/example-output.md +132 -0
  40. package/agents/cross-platform/appforge/agent.md +303 -0
  41. package/agents/cross-platform/ci-cd-generator/README.md +65 -0
  42. package/agents/cross-platform/ci-cd-generator/agent.md +422 -0
  43. package/agents/cross-platform/ci-cd-generator/example-input.md +69 -0
  44. package/agents/cross-platform/ci-cd-generator/example-output.md +261 -0
  45. package/agents/cross-platform/crasher/agent.md +221 -0
  46. package/agents/cross-platform/figma/agent.md +247 -0
  47. package/agents/cross-platform/launchpad/agent.md +330 -0
  48. package/agents/cross-platform/mobile-harness/agent.md +422 -0
  49. package/agents/cross-platform/mobile-memory/agent.md +429 -0
  50. package/agents/cross-platform/perf/agent.md +261 -0
  51. package/agents/cross-platform/pipeline/agent.md +288 -0
  52. package/agents/cross-platform/release-notes-generator/README.md +63 -0
  53. package/agents/cross-platform/release-notes-generator/agent.md +218 -0
  54. package/agents/cross-platform/release-notes-generator/example-input.md +71 -0
  55. package/agents/cross-platform/release-notes-generator/example-output.md +96 -0
  56. package/agents/cross-platform/scribe/agent.md +180 -0
  57. package/agents/cross-platform/security-scanner/README.md +61 -0
  58. package/agents/cross-platform/security-scanner/agent.md +287 -0
  59. package/agents/cross-platform/security-scanner/example-input.md +77 -0
  60. package/agents/cross-platform/security-scanner/example-output.md +141 -0
  61. package/agents/cross-platform/sentinel/agent.md +217 -0
  62. package/agents/cross-platform/store-listing-writer/README.md +58 -0
  63. package/agents/cross-platform/store-listing-writer/agent.md +380 -0
  64. package/agents/cross-platform/store-listing-writer/example-input.md +67 -0
  65. package/agents/cross-platform/store-listing-writer/example-output.md +131 -0
  66. package/agents/flutter/bloc-feature-builder/README.md +101 -0
  67. package/agents/flutter/bloc-feature-builder/agent.md +225 -0
  68. package/agents/flutter/bloc-feature-builder/example-input.md +47 -0
  69. package/agents/flutter/bloc-feature-builder/example-output.md +838 -0
  70. package/agents/flutter/dart/agent.md +223 -0
  71. package/agents/flutter/widget-generator/README.md +66 -0
  72. package/agents/flutter/widget-generator/agent.md +264 -0
  73. package/agents/flutter/widget-generator/example-input.md +71 -0
  74. package/agents/flutter/widget-generator/example-output.md +163 -0
  75. package/agents/gaming/forge/agent.md +197 -0
  76. package/agents/gaming/unreal/agent.md +200 -0
  77. package/agents/ios/crash-analyzer/README.md +69 -0
  78. package/agents/ios/crash-analyzer/agent.md +300 -0
  79. package/agents/ios/crash-analyzer/example-input.md +83 -0
  80. package/agents/ios/crash-analyzer/example-output.md +126 -0
  81. package/agents/ios/swift/agent.md +206 -0
  82. package/agents/ios/swift-reviewer/README.md +68 -0
  83. package/agents/ios/swift-reviewer/agent.md +231 -0
  84. package/agents/ios/swift-reviewer/example-input.md +100 -0
  85. package/agents/ios/swift-reviewer/example-output.md +127 -0
  86. package/agents/react-native/bridge/agent.md +212 -0
  87. package/agents/react-native/performance-optimizer/README.md +81 -0
  88. package/agents/react-native/performance-optimizer/agent.md +284 -0
  89. package/agents/react-native/performance-optimizer/example-input.md +104 -0
  90. package/agents/react-native/performance-optimizer/example-output.md +132 -0
  91. package/agents/unity/shader-generator/README.md +77 -0
  92. package/agents/unity/shader-generator/agent.md +270 -0
  93. package/agents/unity/shader-generator/example-input.md +70 -0
  94. package/agents/unity/shader-generator/example-output.md +160 -0
  95. package/agents/unreal/blueprint-advisor/README.md +71 -0
  96. package/agents/unreal/blueprint-advisor/agent.md +311 -0
  97. package/agents/unreal/blueprint-advisor/example-input.md +73 -0
  98. package/agents/unreal/blueprint-advisor/example-output.md +217 -0
  99. package/cli/index.js +1091 -0
  100. package/docs/agent-guide.md +138 -0
  101. package/docs/chatgpt-integration.md +219 -0
  102. package/docs/core-loops.md +143 -0
  103. package/docs/cursor-integration.md +143 -0
  104. package/docs/getting-started.md +132 -0
  105. package/docs/index.html +711 -0
  106. package/docs/installation.md +271 -0
  107. package/docs/mobile-harness.md +160 -0
  108. package/docs/mobile-mcp.md +172 -0
  109. package/docs/mobile-memory.md +349 -0
  110. package/docs/release-process.md +85 -0
  111. package/docs/releases/release-v1.0.0.md +165 -0
  112. package/docs/roadmap/github-issues.md +239 -0
  113. package/docs/skill-categories.md +125 -0
  114. package/docs/vscode-copilot-integration.md +104 -0
  115. package/docs/wiki.md +615 -0
  116. package/install.sh +507 -0
  117. package/mobile-karpathy.md +79 -0
  118. package/package.json +57 -0
  119. package/skills/android/README.md +31 -0
  120. package/skills/android/android-tdd.md +89 -0
  121. package/skills/android/anr-investigation.md +251 -0
  122. package/skills/android/code-review.md +98 -0
  123. package/skills/android/compose-migration.md +48 -0
  124. package/skills/android/compose-review.md +78 -0
  125. package/skills/android/kotlin-modernize.md +51 -0
  126. package/skills/android/memory-leak-investigation.md +256 -0
  127. package/skills/android/proguard-rules.md +48 -0
  128. package/skills/cross-platform/accessibility-audit.md +63 -0
  129. package/skills/cross-platform/api-versioning.md +59 -0
  130. package/skills/cross-platform/clean-code-audit.md +239 -0
  131. package/skills/cross-platform/crash-triage.md +53 -0
  132. package/skills/cross-platform/deeplink-debug.md +57 -0
  133. package/skills/cross-platform/feature-slice.md +48 -0
  134. package/skills/cross-platform/grill-mobile.md +64 -0
  135. package/skills/cross-platform/mobile-mcp-qa.md +193 -0
  136. package/skills/cross-platform/mobile-memory-graph.md +179 -0
  137. package/skills/cross-platform/mobile-memory-save.md +210 -0
  138. package/skills/cross-platform/mobile-memory-search.md +154 -0
  139. package/skills/cross-platform/perf-audit.md +61 -0
  140. package/skills/cross-platform/prd-verification.md +324 -0
  141. package/skills/cross-platform/release-prep.md +64 -0
  142. package/skills/cross-platform/security-audit.md +281 -0
  143. package/skills/cross-platform/store-listing.md +75 -0
  144. package/skills/flutter/README.md +32 -0
  145. package/skills/flutter/dart-modernize.md +47 -0
  146. package/skills/flutter/flutter-review.md +59 -0
  147. package/skills/flutter/flutter-tdd.md +73 -0
  148. package/skills/flutter/widget-extract.md +41 -0
  149. package/skills/flutter/widget-gen.md +131 -0
  150. package/skills/gaming/blueprint-to-cpp.md +51 -0
  151. package/skills/gaming/game-perf.md +54 -0
  152. package/skills/gaming/shader-gen.md +44 -0
  153. package/skills/gaming/unity-tdd.md +85 -0
  154. package/skills/ios/README.md +45 -0
  155. package/skills/ios/data-persistence.md +151 -0
  156. package/skills/ios/ios-tdd.md +90 -0
  157. package/skills/ios/networking.md +139 -0
  158. package/skills/ios/performance.md +122 -0
  159. package/skills/ios/swift-concurrency.md +57 -0
  160. package/skills/ios/swift-review.md +124 -0
  161. package/skills/ios/swiftui-review.md +49 -0
  162. package/skills/ios/swiftui-state.md +122 -0
  163. package/skills/ios/unit-testing.md +144 -0
  164. package/skills/ios/xcode-warnings.md +37 -0
  165. package/skills/react-native/README.md +42 -0
  166. package/skills/react-native/bridge-audit.md +104 -0
  167. package/skills/react-native/expo-optimize.md +55 -0
  168. package/skills/react-native/new-arch-migrate.md +53 -0
  169. package/skills/react-native/performance.md +124 -0
  170. package/skills/react-native/rn-review.md +53 -0
  171. package/skills/react-native/rn-tdd.md +76 -0
  172. package/skills/shared/README.md +46 -0
  173. package/skills/shared/accessibility-audit.md +132 -0
  174. package/skills/shared/crash-analysis.md +110 -0
  175. package/skills/shared/security-scan.md +149 -0
  176. package/skills/unity/README.md +31 -0
  177. package/skills/unity/shader-review.md +110 -0
  178. package/templates/agent-template.md +88 -0
  179. package/templates/prompt-template.md +50 -0
  180. package/templates/skill-template.md +64 -0
  181. package/templates/workflow-template.md +48 -0
  182. package/workflows/app-launch.md +66 -0
  183. package/workflows/appforge-workflow.md +232 -0
  184. package/workflows/ci-setup.md +77 -0
  185. package/workflows/crash-to-fix.md +71 -0
  186. package/workflows/feature-ship.md +61 -0
  187. package/workflows/game-level.md +72 -0
  188. package/workflows/mobile-harness.md +319 -0
  189. package/workflows/mobile-mcp-qa.md +228 -0
  190. package/workflows/mobile-memory-workflow.md +243 -0
  191. package/workflows/new-project-setup.md +93 -0
  192. package/workflows/new-screen.md +68 -0
  193. package/workflows/perf-sprint.md +78 -0
  194. package/workflows/release-cycle.md +71 -0
@@ -0,0 +1,239 @@
1
+ # GitHub Roadmap Issues
2
+
3
+ These are the 10 planned issues for the v0.2.0 milestone. Copy each into a GitHub Issue directly.
4
+
5
+ ---
6
+
7
+ ## Issue 1
8
+
9
+ **Title:** `[AGENT] Android APK/AAB Size Analyzer`
10
+ **Labels:** `new-agent`, `android`, `enhancement`
11
+ **Milestone:** v0.2.0
12
+
13
+ ### Description
14
+
15
+ Add a new agent that reviews an Android project's build output and Gradle configuration to identify APK/AAB size reduction opportunities.
16
+
17
+ **What it should analyze:**
18
+ - `build/outputs/mapping/` — detect unused code that R8 is not shrinking
19
+ - `build/outputs/apk/` — identify large resource files (images over 100KB, raw assets)
20
+ - `build.gradle.kts` — detect missing `isShrinkResources`, disabled minification, missing `splits` config
21
+ - `libs.versions.toml` — flag dependencies known for large transitive size (e.g., full Guava instead of the Android-safe subset)
22
+ - ProGuard/R8 keep rules — over-broad `-keep` rules that prevent code shrinking
23
+
24
+ **Input format:**
25
+ - APK analysis output (from `bundletool` or Android Studio's APK Analyzer)
26
+ - `build.gradle.kts` content
27
+ - Optional: `merged-manifest.xml`
28
+
29
+ **Expected output:**
30
+ - Ranked list of size reduction opportunities with estimated savings per item
31
+ - Corrected Gradle config for each optimization
32
+ - ProGuard rule improvements
33
+
34
+ **Reference:** Android docs on [Reduce your app size](https://developer.android.com/topic/performance/reduce-apk-size)
35
+
36
+ ---
37
+
38
+ ## Issue 2
39
+
40
+ **Title:** `[AGENT] iOS App Store Review Guidelines Compliance Checker`
41
+ **Labels:** `new-agent`, `ios`, `enhancement`
42
+ **Milestone:** v0.2.0
43
+
44
+ ### Description
45
+
46
+ Add an agent that reviews an iOS app's code and `Info.plist` against Apple's App Store Review Guidelines to flag likely rejection reasons before submission.
47
+
48
+ **What it should check:**
49
+ - Privacy: `NSLocationWhenInUseUsageDescription` present when `CLLocationManager` is used; no undeclared data collection
50
+ - Permissions: No permissions requested without clear user-facing justification in usage strings
51
+ - In-app purchases: No external payment links (violates guideline 3.1.1)
52
+ - Age rating: Flag adult content, violence, gambling patterns without declared rating
53
+ - Deep links: No URL schemes that conflict with system apps
54
+ - Hidden features: No disabled-by-flag code that activates remotely (guideline 2.5.2)
55
+ - Login requirements: Non-account features gated behind login (guideline 5.1.1)
56
+
57
+ **Input format:** `Info.plist` content + Swift/ObjC source files
58
+
59
+ **Expected output:** Numbered list of potential guideline violations with the specific guideline reference (e.g., 2.1 App Completeness), severity, and corrective action.
60
+
61
+ ---
62
+
63
+ ## Issue 3
64
+
65
+ **Title:** `[AGENT] Flutter State Architecture Advisor`
66
+ **Labels:** `new-agent`, `flutter`, `enhancement`
67
+ **Milestone:** v0.2.0
68
+
69
+ ### Description
70
+
71
+ Add an agent that analyzes a Flutter project description and recommends the right state management approach, with a migration path if they're currently using the wrong one.
72
+
73
+ **Approach matrix to cover:**
74
+
75
+ | Scenario | Recommendation |
76
+ |---|---|
77
+ | Solo dev, small app, no team | `setState` + `ValueNotifier` |
78
+ | Team, complex features, testability required | Riverpod (code gen) or BLoC |
79
+ | Real-time data (WebSocket, Firebase) | BLoC with `StreamSubscription` |
80
+ | Shared state across many unrelated widgets | Riverpod |
81
+ | Feature-scoped state, no global sharing | Cubit |
82
+ | Large team, need strict conventions | BLoC (events enforced) |
83
+
84
+ **Input:** Project description, team size, feature complexity, current state management
85
+ **Output:** Recommendation with rationale, migration plan if switching, and 3 code examples
86
+
87
+ ---
88
+
89
+ ## Issue 4
90
+
91
+ **Title:** `[INTEGRATION] Windsurf IDE Integration Guide`
92
+ **Labels:** `documentation`, `integration`, `enhancement`
93
+ **Milestone:** v0.2.0
94
+
95
+ ### Description
96
+
97
+ Add `docs/windsurf-integration.md` explaining how to use agents in Windsurf (Codeium's AI IDE).
98
+
99
+ **Content to cover:**
100
+ - How Windsurf reads project-level AI instructions (rules files)
101
+ - How to reference agent files in Cascade (Windsurf's AI chat)
102
+ - How to use Windsurf's multi-file context with agents that review multiple files
103
+ - Comparison with Cursor workflow
104
+ - Example session: open a Flutter BLoC feature, run the BLoC Feature Builder agent, apply the output
105
+
106
+ ---
107
+
108
+ ## Issue 5
109
+
110
+ **Title:** `[AGENT] React Native New Architecture Compatibility Auditor`
111
+ **Labels:** `new-agent`, `react-native`, `enhancement`
112
+ **Milestone:** v0.2.0
113
+
114
+ ### Description
115
+
116
+ Add an agent that audits a React Native project for New Architecture (JSI/Fabric/TurboModules) compatibility — beyond the existing migration guide prompt.
117
+
118
+ **What it should audit:**
119
+ - `package.json` — flag community libraries with no New Arch support (check community directory)
120
+ - Native modules — identify which use legacy `ReactContextBaseJavaModule` (Android) or `RCTBridgeModule` (iOS) and need TurboModule migration
121
+ - Native UI components — identify `requireNativeComponent` calls that need Fabric migration
122
+ - `metro.config.js` — check for correct New Arch configuration
123
+ - `gradle.properties` / `Podfile` — verify New Arch enablement flags
124
+
125
+ **Input:** `package.json`, native module list, and RN version
126
+ **Output:** Compatibility report sorted by blocking vs. non-blocking issues, with effort estimates per migration item
127
+
128
+ ---
129
+
130
+ ## Issue 6
131
+
132
+ **Title:** `[AGENT] Unity Mobile Performance Profiler Advisor`
133
+ **Labels:** `new-agent`, `unity`, `enhancement`
134
+ **Milestone:** v0.2.0
135
+
136
+ ### Description
137
+
138
+ Add an agent that analyzes Unity Profiler output (frame data, memory snapshots) for mobile-specific performance issues.
139
+
140
+ **What it should identify:**
141
+ - Draw calls above the mobile budget (>100 on mid-range devices)
142
+ - GC.Alloc spikes in hot paths (Update, coroutines, LINQ in hot code)
143
+ - Texture memory overuse (>150MB VRAM on mobile)
144
+ - Physics.FixedUpdate taking >2ms per frame
145
+ - Shader compilation hitches on first render
146
+ - Audio mixer complexity causing CPU overhead
147
+
148
+ **Input:** Unity Profiler JSON export or frame time summary paste
149
+ **Output:** Ranked findings with specific Unity API or settings change for each
150
+
151
+ ---
152
+
153
+ ## Issue 7
154
+
155
+ **Title:** `[PROMPT] Android Jetpack Compose Animation Prompt Pack`
156
+ **Labels:** `new-prompt`, `android`, `enhancement`
157
+ **Milestone:** v0.2.0
158
+
159
+ ### Description
160
+
161
+ Add a prompt file at `prompts/android/compose-animations.md` covering the most common Compose animation needs:
162
+
163
+ - `AnimatedVisibility` with custom enter/exit transitions
164
+ - `animateContentSize` for expandable cards
165
+ - Shared element transitions (Compose 1.7+)
166
+ - `Crossfade` between loading/content states
167
+ - `AnimatedCounter` (number counting up animation)
168
+ - `ShimmerEffect` loading placeholder
169
+
170
+ Each prompt should produce a complete, self-contained Composable with a `@Preview`.
171
+
172
+ ---
173
+
174
+ ## Issue 8
175
+
176
+ **Title:** `[SKILL] Android Performance Skill Module`
177
+ **Labels:** `new-skill`, `android`, `enhancement`
178
+ **Milestone:** v0.2.0
179
+
180
+ ### Description
181
+
182
+ Add `skills/android/performance.md` covering Android-specific performance patterns beyond what the existing Compose reviewer covers.
183
+
184
+ **Content to include:**
185
+ - Main thread rules: no disk I/O, no network, no heavy computation
186
+ - RecyclerView optimization: `DiffUtil`, `setHasFixedSize`, `setItemViewCacheSize`
187
+ - Bitmap handling: `BitmapFactory.Options.inSampleSize`, `inBitmap` reuse
188
+ - Startup performance: `App Startup library`, lazy initialization, splash screen best practices
189
+ - Tracing: `Trace.beginSection()` for custom Perfetto traces
190
+ - Baseline Profiles: when and how to generate them
191
+
192
+ ---
193
+
194
+ ## Issue 9
195
+
196
+ **Title:** `[WORKFLOW] Multi-File Feature Review Workflow`
197
+ **Labels:** `new-agent`, `cross-platform`, `enhancement`
198
+ **Milestone:** v0.2.0
199
+
200
+ ### Description
201
+
202
+ Add a workflow agent at `agents/cross-platform/feature-reviewer/` that reviews an entire feature folder (multiple files) as a coherent unit, rather than one file at a time.
203
+
204
+ **Why this matters:** Individual file reviewers miss cross-file issues:
205
+ - ViewModel calling Repository directly (should go through UseCase)
206
+ - Fragment receiving a Domain entity (should receive a UI model)
207
+ - Use case importing Android framework classes (Clean Architecture violation)
208
+ - Repository method naming inconsistency across files
209
+
210
+ **Input:** Paste multiple files with `--- FILE: path ---` separators
211
+ **Output:** Cross-file findings that cannot be caught in per-file review, plus a per-file summary
212
+
213
+ ---
214
+
215
+ ## Issue 10
216
+
217
+ **Title:** `[DOCS] Video Walkthrough — Using Agents in a Real Android Project`
218
+ **Labels:** `documentation`, `community`, `enhancement`
219
+ **Milestone:** v0.2.0
220
+
221
+ ### Description
222
+
223
+ Add `docs/video-walkthroughs.md` linking to community-contributed screencasts showing agents used in real projects.
224
+
225
+ **Format for each entry:**
226
+ ```
227
+ ### [Agent Name] in a [Project Type]
228
+ - **Contributor:** @username
229
+ - **Duration:** X minutes
230
+ - **What it covers:** brief description
231
+ - **Link:** [YouTube / Loom]
232
+ ```
233
+
234
+ **Seed content (to be added):**
235
+ - Crash analyzing a production ANR in a ride-sharing app
236
+ - Generating a complete BLoC feature in a Flutter e-commerce app
237
+ - Using the Compose Screen Builder to scaffold an onboarding flow
238
+
239
+ This issue is a call for community contributions — add your own walkthrough by opening a PR to `docs/video-walkthroughs.md`.
@@ -0,0 +1,125 @@
1
+ # Skill Categories
2
+
3
+ This document describes the taxonomy used across agents, skills, and prompts in this repository.
4
+
5
+ ---
6
+
7
+ ## Core Loop Taxonomy
8
+
9
+ Mobile AI Agents groups skills by the core loop they support:
10
+
11
+ | Core Loop | What It Covers |
12
+ |---|---|
13
+ | Planning | Discovery, PRD, roadmap, task breakdown |
14
+ | Architecture | Clean code, module boundaries, model separation |
15
+ | Development | Feature implementation, UI build, refactor, code review |
16
+ | Performance | Startup, ANR, memory, frame, battery, network, app size |
17
+ | Security | OWASP, secrets, auth, storage, deep links, WebView, permissions, release hardening |
18
+ | Testing | Unit tests, UI tests, accessibility, device QA, PRD verification |
19
+ | Release | CI/CD, signing, release notes, rollout, store checklist |
20
+ | Growth | ASO, store listing, screenshots, monetization |
21
+ | Maintenance | Crash triage, context memory, issue-to-agent, regression checks |
22
+
23
+ See [core-loops.md](core-loops.md) for the full product model.
24
+
25
+ ---
26
+
27
+ ## Categories
28
+
29
+ ### Code Quality
30
+
31
+ Reviews, audits, and refactoring suggestions for mobile codebases.
32
+
33
+ **Platforms:** Android, iOS, Flutter, React Native
34
+ **Examples:** Clean Architecture review, idiomatic language checks, dependency injection audit
35
+ **Agents:** Android Code Reviewer, Swift Code Reviewer
36
+
37
+ ---
38
+
39
+ ### Performance & Optimization
40
+
41
+ Identifying and fixing performance bottlenecks — frame drops, excessive memory, slow builds, and over-the-wire inefficiency.
42
+
43
+ **Platforms:** All
44
+ **Examples:** Re-render audit (RN), Compose recomposition, FlatList tuning, APK size reduction, GPU overdraw
45
+ **Agents:** React Native Performance Optimizer
46
+
47
+ ---
48
+
49
+ ### UI & Design
50
+
51
+ Generating, reviewing, and improving UI code — widgets, components, layouts, animations.
52
+
53
+ **Platforms:** Flutter, Android (Compose), iOS (SwiftUI), React Native
54
+ **Examples:** Widget generation, layout from description, animation code, dark mode audit
55
+ **Agents:** Flutter Widget Generator, Unity Shader Generator
56
+
57
+ ---
58
+
59
+ ### Testing & Verification
60
+
61
+ Proving the app matches requirements through tests, device QA, accessibility checks, screenshots, and PRD evidence.
62
+
63
+ **Platforms:** All
64
+
65
+ **Examples:** PRD verification, Mobile MCP QA, accessibility checks, restart persistence tests
66
+
67
+ **Skills:** `/prd-verification`, `/mobile-mcp-qa`, `/accessibility-audit`
68
+
69
+ ---
70
+
71
+ ### Debugging & Crash Analysis
72
+
73
+ Parsing and explaining crash logs, stack traces, ANRs, and error states.
74
+
75
+ **Platforms:** Android, iOS
76
+ **Examples:** NPE root cause, symbolicated iOS crash, ANR main thread analysis, OOM tracing
77
+ **Agents:** Crash Log Analyzer
78
+ **Skills:** Crash Analysis
79
+
80
+ ---
81
+
82
+ ### DevOps & Release
83
+
84
+ CI/CD, deployment pipelines, store submissions, and release management.
85
+
86
+ **Platforms:** All (Cross-Platform)
87
+ **Examples:** GitHub Actions for Android, Fastlane iOS, release notes from git log, ASO copy
88
+ **Agents:** CI/CD Pipeline Generator, Release Notes Generator, Store Listing Writer
89
+
90
+ ---
91
+
92
+ ### Game Development
93
+
94
+ Shader authoring, Blueprint logic, game object architecture, and game-specific performance.
95
+
96
+ **Platforms:** Unity, Unreal Engine
97
+ **Examples:** HLSL/ShaderLab shader generation, Blueprint-to-C++ migration, tick optimization
98
+ **Agents:** Unity Shader Generator, Unreal Blueprint Advisor
99
+
100
+ ---
101
+
102
+ ### Documentation
103
+
104
+ Auto-generating documentation from code — API docs, inline comments, README files, architecture decisions.
105
+
106
+ **Platforms:** All
107
+ **Examples:** KDoc generation, Swift DocC comments, README from project structure
108
+ *(Agents coming soon — contributions welcome)*
109
+
110
+ ---
111
+
112
+ ## Tagging Convention
113
+
114
+ Each agent and skill file uses the following frontmatter tags:
115
+
116
+ ```
117
+ **Platform:** Android | iOS | Flutter | React Native | Unity | Unreal | Cross-Platform
118
+ **Category:** Code Quality | Performance | UI & Design | Testing | Debugging | DevOps | Game Dev | Documentation
119
+ **Complexity:** Low | Medium | High
120
+ ```
121
+
122
+ **Complexity** guide:
123
+ - **Low** — input is simple (plain text, short code), output is focused (one type of result)
124
+ - **Medium** — input requires structured fields, output has multiple sections
125
+ - **High** — input is large or requires domain expertise to fill correctly, output has complex interdependent sections
@@ -0,0 +1,104 @@
1
+ # Using Mobile Dev Skill Agents with GitHub Copilot (VS Code)
2
+
3
+ GitHub Copilot Chat supports custom workspace instructions via `.github/copilot-instructions.md`. When this file exists in your repo, Copilot Chat reads it automatically for every `@workspace` query.
4
+
5
+ This repo includes a pre-built `copilot-instructions.md` that loads the full agent index and platform conventions into Copilot.
6
+
7
+ ---
8
+
9
+ ## Setup (One-Time)
10
+
11
+ The file `.github/copilot-instructions.md` is already in this repo. No configuration needed — open the repo in VS Code with the GitHub Copilot extension installed, and it is active.
12
+
13
+ To verify, open Copilot Chat and ask:
14
+
15
+ > @workspace What agents are available for Android development?
16
+
17
+ Copilot should list the Android Code Reviewer, Android Crash Analyzer, and Android Compose UI Reviewer.
18
+
19
+ ---
20
+
21
+ ## Workflow 1 — Code Review via Copilot Chat
22
+
23
+ Open the file you want reviewed, then in Copilot Chat:
24
+
25
+ ```
26
+ @workspace Review the open file using the Android Code Reviewer agent rules.
27
+ Flag CRITICAL and WARNING issues with the line number and a concrete fix for each.
28
+ ```
29
+
30
+ Or reference the agent directly:
31
+
32
+ ```
33
+ #file:agents/android/code-reviewer/agent.md
34
+ Review #file:app/src/main/java/com/example/ProfileViewModel.kt
35
+ ```
36
+
37
+ ---
38
+
39
+ ## Workflow 2 — Inline Fix with Copilot Edits
40
+
41
+ 1. Select a problematic code block
42
+ 2. Press Cmd+I (or Ctrl+I on Windows) to open the inline chat
43
+ 3. Type:
44
+
45
+ ```
46
+ Fix the coroutine scope leak and dependency injection issues identified by the Android Code Reviewer.
47
+ ```
48
+
49
+ Copilot Edits will propose a diff inline — accept or discard each change.
50
+
51
+ ---
52
+
53
+ ## Workflow 3 — Crash Analysis
54
+
55
+ ```
56
+ @workspace Analyze this crash log using the Android Crash Analyzer rules and return
57
+ the 9-section report (Summary, Root Cause, Why It Happens, Risk Level, Fix, Code,
58
+ Edge Cases, Test Checklist, Prevention Tips):
59
+
60
+ [paste crash log]
61
+ ```
62
+
63
+ ---
64
+
65
+ ## Workflow 4 — Widget / Shader Generation
66
+
67
+ ```
68
+ @workspace Using the Flutter Widget Generator rules, generate a Dart widget for a
69
+ loading skeleton screen that shows placeholder shimmer cards while content loads.
70
+ Flutter 3.27, no external packages.
71
+ ```
72
+
73
+ ---
74
+
75
+ ## Workflow 5 — @workspace for Architecture Questions
76
+
77
+ ```
78
+ @workspace Using the Clean Architecture rules for Android, does this project correctly
79
+ separate domain, data, and presentation layers? List any violations.
80
+ ```
81
+
82
+ Copilot uses `@workspace` to read your actual project files alongside the agent rules from `.github/copilot-instructions.md`.
83
+
84
+ ---
85
+
86
+ ## Limitations
87
+
88
+ - Copilot Chat has a shorter context window than Claude Code or GPT-4o — for very long files, split the review into sections.
89
+ - Copilot cannot read `.cursorrules` — it reads only `.github/copilot-instructions.md`.
90
+ - The `#file:` syntax for referencing agent files requires Copilot Chat version 1.x or later (VS Code extension).
91
+ - Complex structured output (the full 9-section crash report) may be truncated in inline chat — use the Copilot Chat panel instead.
92
+
93
+ ---
94
+
95
+ ## Manually Adding Agent Rules to Any Copilot Session
96
+
97
+ If you want to use a specific agent without `@workspace`:
98
+
99
+ 1. Open the agent file (e.g., `agents/ios/swift-reviewer/agent.md`)
100
+ 2. Copy the `## System Prompt` section
101
+ 3. Paste it at the top of your Copilot Chat message
102
+ 4. Follow it with your code and the input format
103
+
104
+ This works in any Copilot Chat session, even outside this repo.