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
package/README.md ADDED
@@ -0,0 +1,652 @@
1
+ # Mobile AI Agents
2
+
3
+ **The complete AI dev team for mobile engineers.**
4
+
5
+ 19 personality-driven agents · 52 composable skills · 13 end-to-end workflows
6
+ Android · iOS · Flutter · React Native · Kotlin Multiplatform · Unity · Unreal
7
+
8
+ [![npm](https://img.shields.io/npm/v/mobile-ai-agents?color=CB3837&label=npm)](https://www.npmjs.com/package/mobile-ai-agents)
9
+ [![npm downloads](https://img.shields.io/npm/dm/mobile-ai-agents?color=CB3837)](https://www.npmjs.com/package/mobile-ai-agents)
10
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
11
+ [![GitHub Stars](https://img.shields.io/github/stars/salmanashraf/mobile-agency?style=social)](https://github.com/salmanashraf/mobile-agency/stargazers)
12
+ [![Platform](https://img.shields.io/badge/platforms-Android%20%7C%20iOS%20%7C%20Flutter%20%7C%20RN%20%7C%20KMP%20%7C%20Unity%20%7C%20Unreal-brightgreen)](#core-loops-and-platform-plugins)
13
+
14
+ [Installation Guide](docs/installation.md) · [Core Loops](docs/core-loops.md) · [mobile-karpathy](mobile-karpathy.md) · [Wiki](https://github.com/salmanashraf/mobile-agency/wiki) · [Getting Started](docs/getting-started.md) · [Contributing](CONTRIBUTING.md)
15
+
16
+ > AI agents, skills, and Loop Engineering workflows for building, testing, reviewing, and shipping Android, iOS, Flutter, React Native, Unity, and Unreal apps.
17
+
18
+ **What Are Mobile AI Agents?**
19
+
20
+ ![Mobile Harness Loop Engineering preview](https://github.com/user-attachments/assets/3e51426a-d2d9-41d3-b668-48d4c751f20c)
21
+
22
+ Mobile AI Agents is a ready-to-use AI engineering system for mobile apps, hybrid apps, and games. Instead of learning every platform from scratch or writing the same prompts again and again, you install the agents, skills, and workflows, then use them to plan, build, review, test, and ship real Android, iOS, Flutter, React Native, Kotlin Multiplatform, Unity, and Unreal projects.
23
+
24
+ Bring the idea. Mobile AI Agents brings the mobile team: product planning, architecture review, feature development, clean-code audits, security checks, performance analysis, UI verification, device QA, release prep, and store growth.
25
+
26
+ Mobile AI Agents is built around **Loop Engineering** and a **mobile-karpathy** mindset: define the goal once, then let the system keep moving through planning, implementation, code audit, security review, UI verification, device QA, reporting, and context saving. The aim is to reduce manual work and repeated manual prompting so developers can focus on product decisions, architecture tradeoffs, credentials, and final approval.
27
+
28
+ ---
29
+ ## Install
30
+
31
+ New to AI coding tools? Start with the step-by-step [Installation Guide](docs/installation.md).
32
+
33
+ Fast path:
34
+
35
+ ```bash
36
+ npx mobile-ai-agents install
37
+ ```
38
+
39
+ This installs Mobile AI Agents for Claude Code. For Cursor, Windsurf, GitHub Copilot, Codex, platform-only installs, and troubleshooting, see [docs/installation.md](docs/installation.md).
40
+
41
+ Common installs:
42
+
43
+ | I use... | Run this |
44
+ |---|---|
45
+ | Claude Code | `npx mobile-ai-agents install` |
46
+ | Cursor | `npx mobile-ai-agents install --tool cursor` |
47
+ | Windsurf | `npx mobile-ai-agents install --tool windsurf` |
48
+ | GitHub Copilot | `npx mobile-ai-agents install --tool copilot` |
49
+ | Codex / OpenAI | `npx mobile-ai-agents install --tool codex` |
50
+ | All supported tools | `npx mobile-ai-agents install --tool all` |
51
+
52
+ Local clone install:
53
+
54
+ ```bash
55
+ git clone https://github.com/salmanashraf/mobile-agency
56
+ cd mobile-agency
57
+ ./install.sh --platform android
58
+ ./install.sh --platform flutter --tool cursor
59
+ ./install.sh --tool all
60
+ ```
61
+
62
+ Existing users can still run the legacy binary name after install:
63
+
64
+ ```bash
65
+ npx mobile-agency install
66
+ ```
67
+
68
+ ---
69
+ ## How It Works
70
+
71
+ Mobile AI Agents turns AI coding from one-off prompts into a repeatable mobile engineering loop.
72
+
73
+ | Step | What Happens | Command |
74
+ |---|---|---|
75
+ | 1. Install | Add the agents, skills, and workflows to your AI coding tool. | `npx mobile-ai-agents install` |
76
+ | 2. Open your app | Use it inside an Android, iOS, Flutter, React Native, KMP, Unity, or Unreal project. | Claude Code · Cursor · Windsurf · Copilot · Codex |
77
+ | 3. Start the loop | Tell Mobile Harness the app or feature goal once. It asks clarification questions before building. | `/mobile-harness` |
78
+ | 4. Build with gates | The loop plans, implements, reviews architecture, checks security, audits performance, verifies UI, and runs QA. | `@MOBILE-HARNESS` |
79
+ | 5. Continue later | Project context, decisions, reports, and next tasks are saved so work can continue across sessions. | Mobile Memory |
80
+
81
+ For focused work, use a specialist directly:
82
+
83
+ ```text
84
+ //mobile-harness Create Habit Tracker App
85
+ @AXIOM review HomeViewModel.kt
86
+ @CRASHER analyze crash.log
87
+ /flutter-review lib/home_screen.dart
88
+ /perf-audit startup
89
+ /security-audit release
90
+ ```
91
+
92
+ ---
93
+
94
+ ## Who It Helps
95
+
96
+ | Role | How Mobile AI Agents Helps |
97
+ |---|---|
98
+ | Senior developers | Delegates repeatable review, debugging, release, and QA work while keeping output tied to platform-specific standards and evidence. |
99
+ | Architects and tech leads | Turns product goals into PRDs, tasks, architecture checks, security gates, UI verification, and release readiness reports that teams can review. |
100
+ | Fresh joiners and new AI users | Provides a guided path from idea to implementation, with clear questions, examples, checklists, and safe defaults instead of a blank AI chat. |
101
+
102
+ The goal is a practical mobile engineering loop: plan the feature, build one task at a time, audit the code, run tests, verify the UI, test on a simulator or device, save context, and continue later without losing project memory.
103
+
104
+ ---
105
+
106
+ ## Core Loops and Platform Plugins
107
+
108
+ Mobile AI Agents is organized around core engineering loops, then extended with platform-specific plugins. Start with the loop that matches your current problem, then apply the Android, iOS, Flutter, React Native, Kotlin Multiplatform, Unity, or Unreal expertise needed for your app.
109
+
110
+ ```text
111
+ Core Loops: Planning -> Architecture -> Development -> Performance -> Security -> Testing -> Release -> Growth -> Maintenance
112
+ Platform Plugins: Android · iOS · Flutter · React Native · Kotlin Multiplatform · Unity · Unreal
113
+ ```
114
+
115
+ | Core Loop | What It Handles | Best Starting Point |
116
+ |---|---|---|
117
+ | Planning | Idea discovery, PRD, roadmap, task breakdown | `@APPFORGE`, `/grill-mobile`, `/feature-slice` |
118
+ | Architecture | System design, clean code, module boundaries, model separation | `@AXIOM`, `/clean-code-audit`, platform reviewers |
119
+ | Development | Feature implementation, UI build, refactor, code review | `@MOBILE-HARNESS`, `@FIGMA`, platform builders |
120
+ | Performance | Startup, ANR, memory leaks, frame drops, battery, network, app size | `@PERF`, `@FREEZE`, `@RETAINER`, `/perf-audit` |
121
+ | Security | OWASP, secrets, auth, storage, deep links, WebView, permissions | `@SENTINEL`, `/security-audit`, `/security-scan` |
122
+ | Testing | Unit tests, UI tests, accessibility, PRD checks, device QA | `/mobile-mcp-qa`, TDD skills, accessibility audit |
123
+ | Release | CI/CD, signing, release notes, rollout, store checklist | `@PIPELINE`, `@SCRIBE`, `/release-prep` |
124
+ | Growth | ASO, store listing, screenshots, monetization | `@LAUNCHPAD`, `/store-listing` |
125
+ | Maintenance | Crash triage, context memory, issue planning, regression checks | `@CRASHER`, Mobile Memory, issue-to-agent workflow |
126
+
127
+ Security and performance are built into the loop before release. They are not optional cleanup steps.
128
+
129
+ Full guide: [docs/core-loops.md](docs/core-loops.md)
130
+
131
+ ---
132
+
133
+ ## See It In Action
134
+
135
+ `/mobile-harness` running Loop Engineering — one flow for planning, building, testing, UI verification, and release checks:
136
+
137
+ https://github.com/user-attachments/assets/848a0427-8b0d-414a-a48e-79df38238674
138
+
139
+ `/flutter-review` on a real Flutter project — prioritized findings, zero setup:
140
+
141
+ https://github.com/user-attachments/assets/427422db-b6b1-4e93-96d0-ad5dd2843f53
142
+
143
+ `@AXIOM` reviewing Android Kotlin/Compose code — Clean Architecture, lifecycle leaks, coroutine misuse, and Compose anti-patterns:
144
+
145
+ https://github.com/user-attachments/assets/ee8bbd61-9c64-47bf-a9b3-7812cc12412c
146
+
147
+ More context: [AXIOM discussion](https://github.com/salmanashraf/mobile-agency/discussions/5)
148
+
149
+ ---
150
+
151
+ ## Start Here
152
+
153
+ Not sure where to begin? Pick your situation:
154
+
155
+ | I want to… | Use this |
156
+ |---|---|
157
+ | Debug a crash | `@CRASHER` + paste your stacktrace |
158
+ | Review Android code | `@AXIOM` + paste your Kotlin file |
159
+ | Design Compose navigation | `@NAVIGATOR` + list screens and flows |
160
+ | Review Flutter code | `/flutter-review` + paste your Dart file |
161
+ | Optimize a slow screen | `/perf-audit` + describe the screen |
162
+ | Test on a device or emulator | `/mobile-mcp-qa` + provide app id and flow |
163
+ | Build, test, and verify a feature | `@MOBILE-HARNESS` + approved PRD/design/tasks |
164
+ | Prepare a release | `/release-prep` |
165
+ | Generate release notes | `@SCRIBE` + paste your git log |
166
+ | Build an app from idea to store | `@APPFORGE` + answer the discovery questions |
167
+
168
+ ---
169
+
170
+ ## Before vs After
171
+
172
+ ### Android — Memory Leak
173
+
174
+ | | |
175
+ |---|---|
176
+ | **Input** | `HomeViewModel` holding a `Context` reference |
177
+ | **Agent** | `@AXIOM` |
178
+ | **Output** | `CRITICAL: Context leak via ViewModel — replace with ApplicationContext or use WeakReference` |
179
+ | **Result** | Leak eliminated before PR merge |
180
+
181
+ ### Android — ANR
182
+
183
+ | | |
184
+ |---|---|
185
+ | **Input** | Network call on main thread in `onCreate()` |
186
+ | **Agent** | `@AXIOM` |
187
+ | **Output** | `CRITICAL: Blocking IO on main thread — move to viewModelScope.launch(Dispatchers.IO)` |
188
+ | **Result** | ANR fixed with coroutine scope and dispatcher |
189
+
190
+ ### Flutter — Widget Review
191
+
192
+ | | |
193
+ |---|---|
194
+ | **Input** | `HomeScreen` with setState on a 400-line widget |
195
+ | **Agent** | `/flutter-review` |
196
+ | **Output** | 9 ranked findings: draft hydration in build(), ScrollController leak, missing semanticLabels, touch targets below 48dp |
197
+ | **Result** | Findings fixed before merge, accessibility score improved |
198
+
199
+ ---
200
+
201
+ ## Why Mobile AI Agents?
202
+
203
+ | | Generic AI prompt repos | Mobile AI Agents |
204
+ |---|---|---|
205
+ | Platform knowledge | Generic | Android · iOS · Flutter · React Native · Unity · Unreal |
206
+ | Agent personalities | None | 19 named specialists with opinions |
207
+ | Real workflows | No | 13 end-to-end processes |
208
+ | Real examples | Toy pseudocode | Production code input/output pairs |
209
+ | Installable | Copy-paste | `npx mobile-ai-agents install` |
210
+ | Severity levels | None | CRITICAL · WARNING · INFO |
211
+ | Slash commands | No | 52 composable skills |
212
+
213
+ ---
214
+
215
+ ## Agent Roster
216
+
217
+ ### Platform Agents
218
+
219
+ | Agent | Platform | Personality | Mission |
220
+ |---|---|---|---|
221
+ | **AXIOM** | Android | Battle-scarred architect. Zero tolerance for GlobalScope. Has survived 3 Jetpack migrations. | Reviews Kotlin/Compose for Clean Architecture, leaks, and anti-patterns |
222
+ | **NAVIGATOR** | Android | Back-stack cartographer. Every destination has a type and every pop has a reason. | Generates and reviews type-safe Compose navigation, nested graphs, deep links, and bottom navigation |
223
+ | **RETAINER** | Android | Heap detective. Follows every strong reference until the guilty owner confesses. | LeakCanary and heap-retention reports to exact owner, fix, and verification plan |
224
+ | **FREEZE** | Android | Main-thread forensic analyst. Every freeze has a blocking chain. | ANR traces, Play Console clusters, and thread dumps to root cause, fix, and verification |
225
+ | **SWIFT** | iOS | Elegant, memory-safety obsessed. Will shame your retain cycles. | Reviews Swift/SwiftUI for memory safety, concurrency, and idiomatic patterns |
226
+ | **DART** | Flutter | Pixel-perfect widget obsessive. Counts rebuilds like a miser counts coins. | Reviews Flutter for rebuild efficiency, state management, and performance |
227
+ | **BRIDGE** | React Native | JSI evangelist. Tracks every bridge crossing like a border guard. | Finds bridge bottlenecks, re-renders, and New Architecture migration paths |
228
+ | **FORGE** | Unity | Game systems architect. Frame budget is sacred. | Reviews C# for GC pressure, Update() abuse, and draw call inefficiency |
229
+ | **UNREAL** | Unreal Engine | Blueprint-to-C++ enforcer. Every Tick() must earn its place. | Blueprint optimization, C++ migration, and Tick() abuse |
230
+
231
+ ### Cross-Platform Agents
232
+
233
+ | Agent | Personality | Mission |
234
+ |---|---|---|
235
+ | **CRASHER** | Forensic investigator. Nothing escapes. | Crash log → root cause → concrete fix, all platforms |
236
+ | **SENTINEL** | Paranoid by design. Every input is malicious until proven otherwise. | OWASP Mobile Top 10 security audit |
237
+ | **APPFORGE** | End-to-end product lead. Practical, launch-focused, allergic to vague MVPs. | Rough app idea → PRD → tasks → QA → Play Store launch prep |
238
+ | **MOBILE-HARNESS** | Principal delivery lead. Trusts evidence, not vibes. | Autonomous top-level orchestrator for planning, build, memory, tests, UI verification, Mobile MCP QA, and launch |
239
+ | **MOBILE MEMORY** | Project memory that survives sessions. | Mobile knowledge graph + context preservation across any AI tool |
240
+ | **LAUNCHPAD** | ASO-obsessed conversion scientist. | Play Store + App Store copy, keywords, screenshot brief |
241
+ | **PIPELINE** | Automation purist. If it's done manually twice, it's a pipeline waiting to exist. | GitHub Actions / Bitrise / Fastlane configuration |
242
+ | **PERF** | Frame-rate zealot. Carries a stopwatch everywhere. | Profile slow screens → concrete optimization plan |
243
+ | **SCRIBE** | User-first writer. Translates git commits into things humans understand. | Git log → polished release notes |
244
+ | **FIGMA** | Pixel-perfect or it didn't happen. | Figma spec → Compose / SwiftUI / Flutter / RN code |
245
+
246
+ ---
247
+
248
+ ## Skills Library
249
+
250
+ 35 focused prompt modules — use inline or compose with agents.
251
+
252
+ ### Android
253
+ | Skill | What It Does |
254
+ |---|---|
255
+ | `/anr-investigation` | Evidence-first Android ANR classification, root cause, fix, and verification |
256
+ | `/android-tdd` | Red-green-refactor loop for JUnit5 + Compose UI tests |
257
+ | `/compose-review` | Recomposition audit before PR |
258
+ | `/compose-migration` | XML layouts → Jetpack Compose |
259
+ | `/kotlin-modernize` | Old Kotlin → modern idioms |
260
+ | `/memory-leak-investigation` | LeakCanary reference-path and lifecycle ownership analysis |
261
+ | `/proguard-rules` | R8/ProGuard rules from your dependency list |
262
+
263
+ ### iOS
264
+ | Skill | What It Does |
265
+ |---|---|
266
+ | `/ios-tdd` | XCTest TDD loop for Swift/SwiftUI |
267
+ | `/swiftui-review` | View lifecycle + memory audit + unnecessary redraws |
268
+ | `/swift-concurrency` | Completion handlers → async/await safely |
269
+ | `/xcode-warnings` | Explains and fixes Xcode warnings in plain English |
270
+
271
+ ### Flutter
272
+ | Skill | What It Does |
273
+ |---|---|
274
+ | `/flutter-tdd` | Widget test + unit test + Bloc test loop |
275
+ | `/flutter-review` | Widget tree audit, const constructors, state management |
276
+ | `/widget-extract` | Extracts oversized build() into reusable components |
277
+ | `/dart-modernize` | Pre-null-safety Dart → Dart 3.x patterns |
278
+
279
+ ### React Native
280
+ | Skill | What It Does |
281
+ |---|---|
282
+ | `/rn-tdd` | Jest + React Native Testing Library loop |
283
+ | `/rn-review` | Bridge calls audit + re-render profiling |
284
+ | `/new-arch-migrate` | Step-by-step New Architecture migration |
285
+ | `/expo-optimize` | Expo config + OTA + bundle size audit |
286
+
287
+ ### Gaming
288
+ | Skill | What It Does |
289
+ |---|---|
290
+ | `/unity-tdd` | NUnit + Unity Test Runner (EditMode + PlayMode) |
291
+ | `/shader-gen` | Plain English → HLSL/ShaderLab shader |
292
+ | `/game-perf` | Frame budget audit + draw call optimizer |
293
+ | `/blueprint-to-cpp` | Unreal Blueprint → C++ with explanation |
294
+
295
+ ### Cross-Platform
296
+ | Skill | What It Does |
297
+ |---|---|
298
+ | `/grill-mobile` | 20 questions before any mobile code is written |
299
+ | `/crash-triage` | Paste stacktrace → root cause → fix |
300
+ | `/perf-audit` | Slow screen → systematic profiling guide |
301
+ | `/clean-code-audit` | App-wide clean code, model separation, and architecture boundary audit |
302
+ | `/security-audit` | Complete mobile app security audit for release readiness |
303
+ | `/prd-verification` | Check implementation, UI evidence, tests, and reports against PRD/design/tasks |
304
+ | `/store-listing` | Conversation → ASO-optimized listing copy |
305
+ | `/feature-slice` | Epic → independently shippable tickets |
306
+ | `/release-prep` | Full release checklist from freeze to store |
307
+ | `/accessibility-audit` | WCAG 2.1 AA + platform accessibility review |
308
+ | `/api-versioning` | API deprecation strategy for mobile clients |
309
+ | `/deeplink-debug` | Diagnoses broken deep links across Android and iOS |
310
+ | `/mobile-mcp-qa` | Run AI-assisted QA on iOS/Android devices, simulators, and emulators |
311
+ | `/mobile-memory-save` | Checkpoint your session — resume on any AI tool instantly |
312
+ | `/mobile-memory-graph` | Build a mobile knowledge graph from your codebase files |
313
+ | `/mobile-memory-search` | Search local Mobile AI Agents memory and inject relevant context |
314
+
315
+ ---
316
+
317
+ ## Workflows
318
+
319
+ 13 end-to-end processes that chain agents and skills together.
320
+
321
+ | Workflow | What It Covers |
322
+ |---|---|
323
+ | `feature-ship` | Ticket → /grill-mobile → /feature-slice → implement → review → test → PR |
324
+ | `crash-to-fix` | Crash alert → CRASHER → fix → regression test → deploy |
325
+ | `app-launch` | Release build → SENTINEL → PERF → LAUNCHPAD → SCRIBE → /release-prep → store |
326
+ | `new-screen` | Figma spec → FIGMA → implement → review → performance check |
327
+ | `ci-setup` | PIPELINE → generate config → secrets → test → document |
328
+ | `release-cycle` | Feature freeze → CRASHER → SENTINEL → SCRIBE → /release-prep → staged rollout |
329
+ | `perf-sprint` | Baseline → /perf-audit → fix → re-measure → document |
330
+ | `game-level` | Design doc → FORGE/UNREAL → /shader-gen → /game-perf → /unity-tdd → playtest |
331
+ | `new-project-setup` | /grill-mobile → architecture → CI → security baseline → test infrastructure |
332
+ | `mobile-memory-workflow` | Mobile Memory: restore context → capture decisions → generate `MOBILE_MEMORY.md` → hand off across AI tools |
333
+ | `appforge-workflow` | App idea → PRD → design plan → tasks → implementation gates → QA → Play Store |
334
+ | `mobile-mcp-qa` | Install/launch app → inspect UI → run flows → capture screenshots → QA report |
335
+ | `mobile-harness` | Approved task → implementation → tests → UI match → Mobile MCP QA → report |
336
+
337
+ ---
338
+
339
+ ## Release Process
340
+
341
+ npm publishing is handled by GitHub Actions from git tags. Do not run `npm publish` manually.
342
+
343
+ ```bash
344
+ # 1. bump package.json version, for example 1.0.19
345
+ git add package.json
346
+ git commit -m "Release v1.0.19"
347
+
348
+ # 2. create and push the release tag
349
+ git tag v1.0.19
350
+ git push origin main
351
+ git push origin v1.0.19
352
+ ```
353
+
354
+ GitHub Actions publishes npm after the tag push. Full guide: [docs/release-process.md](docs/release-process.md)
355
+
356
+ ---
357
+
358
+ ## APPFORGE — Idea to Store
359
+
360
+ APPFORGE turns a rough mobile app idea into a small, shippable MVP plan and Play Store launch package.
361
+
362
+ ```
363
+ @APPFORGE
364
+ 1. Discovery → refined ideas + best MVP recommendation
365
+ 2. PRD → PRD.md
366
+ 3. Free design plan → screens, wireframes, design system, states
367
+ 4. Task breakdown → TASKS.md + DEPENDENCIES.md + ROADMAP.md
368
+ 5. Implementation → one approved subtask at a time
369
+ 6. UI match review → layout, spacing, colors, accessibility
370
+ 7. Full QA → QA_REPORT.md + launch readiness score
371
+ 8. Store prep → PLAYSTORE_LISTING.md + SCREENSHOT_PLAN.md + RELEASE_CHECKLIST.md
372
+ ```
373
+
374
+ APPFORGE does not write code until the PRD, design plan, and task breakdown are approved. It pairs with AXIOM, SWIFT, DART, and BRIDGE for platform review, then LAUNCHPAD and `/release-prep` for store launch.
375
+
376
+ Mobile MCP fits the QA stage next: use it for emulator, simulator, or real-device automation once the app is ready for flow testing.
377
+
378
+ ---
379
+
380
+ ## Mobile MCP — Device QA Automation
381
+
382
+ Mobile MCP gives Mobile AI Agents a device automation layer for iOS and Android simulators, emulators, and real devices.
383
+
384
+ ```
385
+ /mobile-mcp-qa
386
+ 1. List devices
387
+ 2. Install or launch app
388
+ 3. Capture screenshot + UI elements
389
+ 4. Tap, type, swipe, rotate, restart
390
+ 5. Verify happy path and edge cases
391
+ 6. Produce MOBILE_MCP_QA_REPORT.md
392
+ ```
393
+
394
+ Use it inside APPFORGE Stage 7 Full QA, UI match review, launch readiness checks, and screenshot validation. Full guide: [docs/mobile-mcp.md](docs/mobile-mcp.md)
395
+
396
+ ---
397
+
398
+ ## Mobile Harness — Top-Level Orchestrator
399
+
400
+ Mobile Harness is the Loop Engineering orchestrator for Mobile AI Agents. It can start from a rough app idea or an existing codebase, then coordinate APPFORGE, Mobile Memory, platform reviewers, tests, UI verification, Mobile MCP QA, accessibility, performance, security, release prep, and store/growth work.
401
+
402
+ Use it when you want to define the goal once and have the system keep moving through the app-building loop without repeating the same manual prompts at every stage.
403
+
404
+ ### What It Runs
405
+
406
+ ```text
407
+ Goal
408
+ -> clarify delivery profile and design direction
409
+ -> create or read PRD.md, DESIGN.md, TASKS.md, DEPENDENCIES.md, ROADMAP.md
410
+ -> implement one scoped task
411
+ -> run platform review
412
+ -> run tests
413
+ -> verify PRD and UI match
414
+ -> run device QA when available
415
+ -> run performance/security/accessibility checks when relevant
416
+ -> update MOBILE_MEMORY.md
417
+ -> produce MOBILE_HARNESS_REPORT.md
418
+ ```
419
+
420
+ ### First Questions It Should Ask
421
+
422
+ Mobile Harness now asks the questions that prevent thin or wrong output:
423
+
424
+ ```text
425
+ 1. New app idea or existing codebase?
426
+ 2. Platform and stack?
427
+ 3. Delivery profile?
428
+ A. Smallest MVP
429
+ B. Demo-grade MVP
430
+ C. Production-ready MVP
431
+ 4. Design direction?
432
+ Clean utility, polished consumer, playful gamified, premium wellness,
433
+ dense dashboard, enterprise/admin, kids/education, game-like, or custom reference.
434
+ 5. Existing PRD/design/tasks/dependencies/memory?
435
+ 6. Build/test command?
436
+ 7. Device/emulator/simulator available?
437
+ 8. Done criteria?
438
+ ```
439
+
440
+ For video, marketing, or social demos, choose:
441
+
442
+ ```text
443
+ Delivery Profile: Demo-grade MVP
444
+ Design direction: Playful gamified, polished consumer, or another clear visual style.
445
+ ```
446
+
447
+ Demo-grade mode requires seeded data, multiple visible screens/states, a screenshot plan, and a UI polish pass. It should not stop at a technically correct but boring two-screen app.
448
+
449
+ ### Run It
450
+
451
+ In Claude Code, install Mobile AI Agents, open your app project, then run:
452
+
453
+ ```
454
+ /mobile-harness
455
+ ```
456
+
457
+ For a full explicit prompt, use:
458
+
459
+ ```
460
+ @MOBILE-HARNESS
461
+
462
+ Use Mobile AI Agents Loop Engineering to build this app from idea to verified MVP.
463
+
464
+ App idea: <your app idea>
465
+ Platform: <Android | iOS | Flutter | React Native>
466
+ Tech stack: <your stack>
467
+
468
+ Delivery Profile: Demo-grade MVP
469
+ Design direction: <clean utility | polished consumer | playful gamified | premium wellness | dense dashboard | enterprise/admin | custom reference>
470
+
471
+ Before building, ask only the clarification questions needed to avoid wrong assumptions.
472
+ After clarification, run the full loop:
473
+ 1. Planning
474
+ 2. Architecture
475
+ 3. Development
476
+ 4. Performance review
477
+ 5. Security audit
478
+ 6. Testing plan
479
+ 7. UI/device verification
480
+ 8. Release checklist
481
+ 9. Growth/store listing draft
482
+ 10. Save project context
483
+
484
+ Do not ask me to repeat the idea at each stage.
485
+ Do not skip stages.
486
+ Keep changes scoped.
487
+ Create or update project files as needed.
488
+ At the end, produce MOBILE_HARNESS_REPORT.md with build, tests, PRD verification, UI match, device QA, and next action.
489
+ ```
490
+
491
+ ### Example Demo Prompt
492
+
493
+ ```text
494
+ @MOBILE-HARNESS
495
+
496
+ Use Mobile AI Agents Loop Engineering to build a demo-grade Android app.
497
+
498
+ App idea: Habit Pulse — an offline habit tracker where users add habits, mark today complete, see streaks, and review progress.
499
+ Platform: Android
500
+ Tech stack: Kotlin + Jetpack Compose + Room
501
+ Delivery Profile: Demo-grade MVP
502
+ Design direction: Playful gamified, polished consumer app. Colorful but clean. Streaks, progress, rewards, cards, dashboard, and screenshot-ready seeded data.
503
+
504
+ Ask clarification first if needed, then run the full loop without asking me to repeat the idea.
505
+ ```
506
+
507
+ Full guide: [docs/mobile-harness.md](docs/mobile-harness.md)
508
+
509
+ ---
510
+
511
+ ## Mobile Memory — Never Lose Context
512
+
513
+ When tokens run out or you switch AI tools, your entire session context — architectural decisions, agent findings, code in progress — vanishes. Mobile Memory captures durable project context locally and can generate a portable `MOBILE_MEMORY.md` handoff file.
514
+
515
+ ```
516
+ mobile-ai-agents memory init → creates local project memory
517
+ mobile-ai-agents memory capture → saves decisions, findings, progress, and next actions
518
+ mobile-ai-agents memory search → searches project memory
519
+ mobile-ai-agents memory checkpoint → generates MOBILE_MEMORY.md for handoff
520
+ ```
521
+
522
+ For local persistent memory in a project:
523
+
524
+ ```bash
525
+ npx mobile-ai-agents memory init
526
+ npx mobile-ai-agents memory capture --type decision --text "Use Room for offline persistence"
527
+ npx mobile-ai-agents memory search persistence
528
+ npx mobile-ai-agents memory inject
529
+ npx mobile-ai-agents memory checkpoint
530
+ ```
531
+
532
+ This stores raw local memory in `.mobile-ai-agents/memory/`, keeps sensitive event history out of git by default, and generates `MOBILE_MEMORY.md` when you want a portable handoff.
533
+
534
+ Works across Claude Code, Cursor, Windsurf, ChatGPT, and Gemini. Integrates with every Mobile AI Agents agent — AXIOM findings, CRASHER analysis, and LAUNCHPAD copy are all preserved in the same file.
535
+
536
+ Inspired by Graphify's token reduction approach, built for mobile architecture. Up to 80× token reduction on large mobile projects vs reading raw files.
537
+
538
+ Claude slash commands are now named `/mobile-memory`, `/mobile-memory-save`, `/mobile-memory-graph`, and `/mobile-memory-search`.
539
+
540
+ ### Quick Save With Claude Code
541
+
542
+ Use `/mobile-memory-save` when you are inside a long AI session and want a fast handoff file without setting up the full local memory store.
543
+
544
+ ```text
545
+ /mobile-memory-save
546
+ ```
547
+
548
+ Then provide the current project state:
549
+
550
+ ```text
551
+ PROJECT: Habit Pulse
552
+ PLATFORM: Android
553
+ CURRENT TASK:
554
+ Building habit tracker MVP with list, add habit, streak tracking.
555
+
556
+ DECISIONS:
557
+ - Use Room for offline storage.
558
+ - Use MVVM with StateFlow.
559
+ - Keep UI simple for demo.
560
+
561
+ PROGRESS:
562
+ - Done: habit list screen and add habit dialog.
563
+ - In progress: persistence and restart test.
564
+ - Blocked: none.
565
+
566
+ CODE STATE:
567
+ MainActivity.kt has current UI. Habit data is still in memory.
568
+
569
+ NEXT ACTION:
570
+ Add Room HabitEntity, HabitDao, and repository, then persist created habits across app restart.
571
+ ```
572
+
573
+ The skill returns a compact `MOBILE_MEMORY.md` document. Save it in the app project root, then a future AI session can read it and continue from `NEXT ACTION`.
574
+
575
+ Use this rule of thumb:
576
+
577
+ | Need | Use |
578
+ |---|---|
579
+ | Fast one-time checkpoint inside chat | `/mobile-memory-save` |
580
+ | Searchable project memory over days/weeks | `npx mobile-ai-agents memory init/capture/search/checkpoint` |
581
+ | Resume a new session from saved context | `/mobile-memory` or `Read MOBILE_MEMORY.md and continue` |
582
+
583
+ Full guide: [docs/mobile-memory.md](docs/mobile-memory.md)
584
+
585
+ ---
586
+
587
+ ## The Viral File
588
+
589
+ **[mobile-karpathy.md](mobile-karpathy.md)** — 4 rules that stop AI coding agents shipping broken mobile apps.
590
+
591
+ Add it to your project's `CLAUDE.md`. Share it independently. It's designed to travel.
592
+
593
+ ```
594
+ Rule 1 — Ask the API level before assuming
595
+ Rule 2 — Check for existing platform components first
596
+ Rule 3 — Never touch what wasn't asked
597
+ Rule 4 — Performance is a feature, not an afterthought
598
+ ```
599
+
600
+ ---
601
+
602
+ ## Real Examples
603
+
604
+ Every agent ships with a real worked example — production code in, structured findings out.
605
+
606
+ | Example | Input | Output |
607
+ |---|---|---|
608
+ | Android review | [`examples/android-code-review/input.kt`](examples/android-code-review/input.kt) | [`output.md`](examples/android-code-review/output.md) |
609
+ | Crash triage | [`examples/crash-triage/input.txt`](examples/crash-triage/input.txt) | [`output.md`](examples/crash-triage/output.md) |
610
+ | Flutter review | [`examples/flutter-review/input.dart`](examples/flutter-review/input.dart) | [`output.md`](examples/flutter-review/output.md) |
611
+ | Store listing | [`examples/store-listing/input.md`](examples/store-listing/input.md) | [`output.md`](examples/store-listing/output.md) |
612
+ | New screen workflow | [`examples/new-screen-workflow/figma-spec.md`](examples/new-screen-workflow/figma-spec.md) | [`output.kt`](examples/new-screen-workflow/output.kt) |
613
+ | App idea to store | [`agents/cross-platform/appforge/agent.md`](agents/cross-platform/appforge/agent.md) | Stage-gated discovery, PRD, design, tasks, QA, and store prep |
614
+
615
+ ---
616
+
617
+ ## Multi-Tool Support
618
+
619
+ | Tool | How to Use |
620
+ |---|---|
621
+ | Claude Code | `npx mobile-ai-agents install` |
622
+ | Cursor | `npx mobile-ai-agents install --tool cursor` |
623
+ | Windsurf | `npx mobile-ai-agents install --tool windsurf` |
624
+ | GitHub Copilot | Paste agent system prompt into Copilot instructions |
625
+ | Codex / OpenAI | Use agents as system prompts via API or CLI |
626
+ | Local repo | `git clone` + `./install.sh` |
627
+
628
+ ---
629
+
630
+ ## Contributing
631
+
632
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for the full guide.
633
+
634
+ - Every agent needs a personality, not just a function
635
+ - Every agent needs a real worked example using production code
636
+ - Run your agent against at least 2 real files before submitting
637
+ - Skills must have a slash command name
638
+ - Workflows must list every agent and skill used, step by step
639
+
640
+ ---
641
+
642
+ ## Community
643
+
644
+ - [GitHub Discussions](https://github.com/salmanashraf/mobile-agency/discussions) — share your output, ask questions, show and tell
645
+ - [Issues](https://github.com/salmanashraf/mobile-agency/issues) — bug reports, new agent requests
646
+
647
+ If Mobile AI Agents saved you time, a star helps others find it.
648
+ [![GitHub Stars](https://img.shields.io/github/stars/salmanashraf/mobile-agency?style=social)](https://github.com/salmanashraf/mobile-agency/stargazers)
649
+
650
+ ---
651
+
652
+ *Built for mobile engineers who ship real apps.*