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,349 @@
1
+ # Mobile Memory
2
+
3
+ Mobile Memory is a mobile-specific AI memory and knowledge graph system for Mobile AI Agents. It captures project architecture, session decisions, agent findings, health risks, code state, and the next executable action into local project memory and a portable `MOBILE_MEMORY.md` handoff file.
4
+
5
+ The goal is simple: when tokens run out or a developer switches tools, the next AI session can continue without asking for the same explanation again.
6
+
7
+ ---
8
+
9
+ ## Why It Exists
10
+
11
+ Generic AI coding sessions lose context:
12
+
13
+ - Architecture decisions vanish between sessions.
14
+ - Agent findings from AXIOM, CRASHER, DART, SWIFT, and BRIDGE are forgotten.
15
+ - Mid-edit files become risky because the next AI cannot see what was already decided.
16
+ - Large codebases cost too many tokens to reload from scratch.
17
+
18
+ Mobile Memory preserves the mobile-specific parts of context that matter most:
19
+
20
+ - ViewModels, repositories, use cases, widgets, screens, services, APIs, databases, tests
21
+ - Edges like `OBSERVES`, `CALLS`, `INJECTS`, `EMITS`, `NAVIGATES_TO`, and `VIOLATES`
22
+ - CRITICAL/WARNING/DEBT health nodes
23
+ - The exact `NEXT ACTION`
24
+
25
+ ---
26
+
27
+ ## Token Reduction Math
28
+
29
+ Mobile Memory reduces tokens by replacing raw files with a graph and a session state summary.
30
+
31
+ Typical Android feature:
32
+
33
+ | Source | Files | Avg tokens | Total |
34
+ |---|---:|---:|---:|
35
+ | Compose screens | 4 | 2,500 | 10,000 |
36
+ | ViewModels | 3 | 2,000 | 6,000 |
37
+ | Use cases | 5 | 700 | 3,500 |
38
+ | Repositories | 3 | 1,800 | 5,400 |
39
+ | API/DAO/models | 12 | 600 | 7,200 |
40
+ | Tests | 8 | 1,200 | 9,600 |
41
+ | Prior chat context | 1 | 18,000 | 18,000 |
42
+ | Total raw context | 36 | - | 59,700 |
43
+
44
+ A high-quality Mobile Memory checkpoint for the same feature is usually 700-1,200 tokens:
45
+
46
+ ```text
47
+ 59,700 raw tokens / 750 Mobile Memory tokens = 79.6x reduction
48
+ ```
49
+
50
+ That is where the "up to 80x" claim comes from. Smaller snippets reduce less. Large mobile features reduce more because repeated code bodies collapse into graph nodes, edges, health findings, and decisions.
51
+
52
+ ---
53
+
54
+ ## How It Differs From Generic Memory Tools
55
+
56
+ Tools like Recallium, mem0, and agentmemory are useful generic memory layers. Mobile Memory is different because it understands mobile architecture.
57
+
58
+ | Generic memory tools | Mobile Memory |
59
+ |---|---|
60
+ | Store arbitrary facts | Stores mobile architecture state |
61
+ | Remember text snippets | Builds UI/VM/Domain/Data/Net/DB graphs |
62
+ | Need manual meaning | Knows ViewModel, ObservableObject, StateNotifier, Context, MonoBehaviour |
63
+ | Generic links | Mobile edge types: OBSERVES, EMITS, NAVIGATES_TO, VIOLATES |
64
+ | Generic risk | Flags GlobalScope, force unwraps, exposed MutableStateFlow, bridge hot paths, Update() abuse |
65
+ | Session recall | Session recall plus executable NEXT ACTION |
66
+
67
+ Mobile Memory has two layers:
68
+
69
+ | Layer | Storage | Purpose |
70
+ |---|---|---|
71
+ | Local memory | `.mobile-ai-agents/memory/events.jsonl` | Persistent project event history for search, timeline, and context injection |
72
+ | Portable checkpoint | `MOBILE_MEMORY.md` | Tool-agnostic handoff file that any AI can read |
73
+
74
+ Raw local memory stays out of git by default. Commit `MOBILE_MEMORY.md` only when the context is useful for review, handoff, or long-running work.
75
+
76
+ ---
77
+
78
+ ## Local Memory Store
79
+
80
+ Initialize memory inside any app project:
81
+
82
+ ```bash
83
+ npx mobile-ai-agents memory init
84
+ ```
85
+
86
+ This creates:
87
+
88
+ ```text
89
+ .mobile-ai-agents/
90
+ ├── .gitignore
91
+ └── memory/
92
+ ├── config.json
93
+ ├── events.jsonl
94
+ └── index.md
95
+ ```
96
+
97
+ Capture memory events:
98
+
99
+ ```bash
100
+ npx mobile-ai-agents memory capture --type decision --title "Use Room" --text "Persist habits locally with Room."
101
+ npx mobile-ai-agents memory capture --type finding --title "PRD gap" --text "Restart persistence is missing."
102
+ npx mobile-ai-agents memory capture --type next-action --text "Implement HabitDao and restart persistence test."
103
+ ```
104
+
105
+ You can also pipe content:
106
+
107
+ ```bash
108
+ git diff | npx mobile-ai-agents memory capture --type code-state --title "Current diff"
109
+ ```
110
+
111
+ Search and inject context:
112
+
113
+ ```bash
114
+ npx mobile-ai-agents memory search persistence
115
+ npx mobile-ai-agents memory timeline --limit 20
116
+ npx mobile-ai-agents memory inject
117
+ ```
118
+
119
+ Generate the portable checkpoint:
120
+
121
+ ```bash
122
+ npx mobile-ai-agents memory checkpoint
123
+ ```
124
+
125
+ This writes `MOBILE_MEMORY.md` from the captured memory events. Review it before committing.
126
+
127
+ Privacy rule: do not capture secrets, customer data, private logs, tokens, credentials, or proprietary crash payloads. Text inside `<private>...</private>` is removed during capture.
128
+
129
+ ---
130
+
131
+ ## Quick Save Slash Command
132
+
133
+ Use `/mobile-memory-save` when you are inside Claude Code and need a fast checkpoint without setting up the full local memory store.
134
+
135
+ ```text
136
+ /mobile-memory-save
137
+ ```
138
+
139
+ Recommended input:
140
+
141
+ ```text
142
+ PROJECT: Habit Pulse
143
+ PLATFORM: Android
144
+ CURRENT TASK:
145
+ Building habit tracker MVP with list, add habit, streak tracking.
146
+
147
+ DECISIONS:
148
+ - Use Room for offline storage.
149
+ - Use MVVM with StateFlow.
150
+ - Keep UI simple for demo.
151
+
152
+ PROGRESS:
153
+ - Done: habit list screen and add habit dialog.
154
+ - In progress: persistence and restart test.
155
+ - Blocked: none.
156
+
157
+ CODE STATE:
158
+ MainActivity.kt has current UI. Habit data is still in memory.
159
+
160
+ NEXT ACTION:
161
+ Add Room HabitEntity, HabitDao, and repository, then persist created habits across app restart.
162
+ ```
163
+
164
+ The skill returns a compact `MOBILE_MEMORY.md`. Save it in the project root when the handoff should travel with the app. A future session can continue with:
165
+
166
+ ```text
167
+ Read MOBILE_MEMORY.md and continue from NEXT ACTION.
168
+ ```
169
+
170
+ | Need | Use |
171
+ |---|---|
172
+ | Fast one-time checkpoint inside chat | `/mobile-memory-save` |
173
+ | Searchable project memory over days/weeks | `npx mobile-ai-agents memory init/capture/search/checkpoint` |
174
+ | Resume a new session from saved context | `/mobile-memory` or `Read MOBILE_MEMORY.md and continue` |
175
+
176
+ ---
177
+
178
+ ## Graphify Integration
179
+
180
+ Graphify can be used first to create a general graph of a project. Mobile Memory enhances that output with mobile semantics:
181
+
182
+ 1. Run Graphify to discover broad dependency structure.
183
+ 2. Run `/mobile-memory graph` on the relevant mobile files.
184
+ 3. Merge Graphify's broad nodes with Mobile Memory's mobile-specific node types and health labels.
185
+ 4. Save the result in `MOBILE_MEMORY.md`.
186
+
187
+ Mobile Memory uses confidence tags similar to graph-first tools:
188
+
189
+ - `EXTRACTED`: direct code evidence exists
190
+ - `INFERRED`: relationship is strongly implied
191
+ - `AMBIGUOUS`: relationship may exist but needs more code
192
+
193
+ ---
194
+
195
+ ## Portable Checkpoint Format
196
+
197
+ ```markdown
198
+ ---
199
+ # Mobile Memory
200
+ **Project:** [name]
201
+ **Platform:** [Android/iOS/Flutter/RN/Unity/Unreal]
202
+ **Stack:** [language, framework, key libraries]
203
+ **Architecture:** [pattern]
204
+ **Saved:** [date]
205
+ **Compatible:** Claude Code · Cursor · Windsurf · ChatGPT · Gemini · Copilot
206
+ **Token reduction:** [X× vs reading raw files]
207
+
208
+ ---
209
+
210
+ ## ⚡ INSTANT RESUME
211
+ [2-4 sentences. Fully self-contained. No assumed knowledge. What project, what task, what decisions, what to do next.]
212
+
213
+ ---
214
+
215
+ ## 🗺️ Knowledge Graph
216
+
217
+ ### Nodes
218
+ | Node | Type | Layer | Health |
219
+ |---|---|---|---|
220
+ | [ClassName] | [VM/REPO/UI/etc] | [UI/Domain/Data] | [OK/CRITICAL/WARNING] |
221
+
222
+ ### Key Edges
223
+ | From | Edge | To | Note |
224
+ |---|---|---|---|
225
+ | [Node] | OBSERVES | [Node] | [why this matters] |
226
+
227
+ ### God Nodes
228
+ | Node | Connections | Platform Risk | Recommendation |
229
+ |---|---|---|---|
230
+
231
+ ### Architecture Violations
232
+ - [Class] VIOLATES [rule] — [explanation] → [fix]
233
+
234
+ ---
235
+
236
+ ## 🏥 Health Report
237
+ ### 🚨 CRITICAL
238
+ - [Node]: [issue] → [fix]
239
+
240
+ ### ⚠️ WARNING
241
+ - [Node]: [issue] → [fix]
242
+
243
+ ### 🏦 Tech Debt
244
+ - [Node]: [debt] → [migration path]
245
+
246
+ ---
247
+
248
+ ## 🎯 Session Context
249
+
250
+ ### Current Task
251
+ [Exact task in one paragraph]
252
+
253
+ ### Decisions Made
254
+ | Decision | Reason | Rejected |
255
+ |---|---|---|
256
+
257
+ ### Progress
258
+ ✅ Done: [list]
259
+ 🔄 In Progress: [exact state of anything mid-edit]
260
+ ⏭️ NEXT ACTION: [specific, executable, no assumed context]
261
+ 🚧 Blocked: [list or "Nothing"]
262
+
263
+ ### Open Questions
264
+ - [question 1]
265
+ - [question 2]
266
+
267
+ ---
268
+
269
+ ## 🤖 Agent State
270
+ | Agent | Last Action | Finding | Pending |
271
+ |---|---|---|---|
272
+ | AXIOM | [what it reviewed] | [what it found] | [what remains] |
273
+
274
+ ---
275
+
276
+ ## 📄 Code State
277
+ [For any file mid-edit, paste current state here]
278
+
279
+ ---
280
+
281
+ ## 🔄 Resume Instructions
282
+
283
+ **Claude Code:**
284
+ Start new session → paste INSTANT RESUME → paste full MOBILE_MEMORY.md → say "Continue"
285
+
286
+ **Cursor/Windsurf:**
287
+ Save as MOBILE_MEMORY.md in project root → next prompt: "Read MOBILE_MEMORY.md and continue"
288
+
289
+ **ChatGPT/Gemini:**
290
+ Paste full file as first message → "Resume from NEXT ACTION"
291
+
292
+ **Same tool, new session:**
293
+ Paste full file → /mobile-memory restore
294
+ ---
295
+ ```
296
+
297
+ ---
298
+
299
+ ## Commands
300
+
301
+ Preferred CLI:
302
+
303
+ | Command | Use |
304
+ |---|---|
305
+ | `mobile-ai-agents memory init` | Create local project memory |
306
+ | `mobile-ai-agents memory capture` | Save decisions, findings, progress, and next actions |
307
+ | `mobile-ai-agents memory search` | Search local project memory |
308
+ | `mobile-ai-agents memory timeline` | Show recent memory events |
309
+ | `mobile-ai-agents memory inject` | Print compact context for a new AI session |
310
+ | `mobile-ai-agents memory checkpoint` | Generate `MOBILE_MEMORY.md` |
311
+
312
+ Legacy slash aliases:
313
+
314
+ | Command | Use |
315
+ |---|---|
316
+ | `/mobile-memory save` | Produce full `MOBILE_MEMORY.md` |
317
+ | `/mobile-memory restore` | Load a pasted `MOBILE_MEMORY.md` and continue |
318
+ | `/mobile-memory graph` | Build the knowledge graph from code files |
319
+ | `/mobile-memory-search` | Search local `.mobile-ai-agents/memory/` output and continue from relevant context |
320
+ | `/mobile-memory update` | Update an existing checkpoint |
321
+ | `/mobile-memory status` | Print only progress state |
322
+ | `/mobile-memory health` | Print CRITICAL and WARNING nodes |
323
+ | `/mobile-memory next` | Print only NEXT ACTION |
324
+ | `/mobile-memory decisions` | Print decisions from the session |
325
+ | `/mobile-memory diff` | Show changes since last save |
326
+
327
+ ---
328
+
329
+ ## FAQ
330
+
331
+ ### Is Mobile Memory a replacement for reading code?
332
+
333
+ No. It is a resume layer. Use it to restore context quickly, then read the exact files needed for the next action.
334
+
335
+ ### Should MOBILE_MEMORY.md be committed?
336
+
337
+ Commit `MOBILE_MEMORY.md` when the context is useful for handoff, review, or long-lived work. Do not commit `.mobile-ai-agents/memory/events.jsonl` unless your team explicitly wants raw local event history in source control. Do not commit secrets, private logs, customer data, or proprietary crash payloads.
338
+
339
+ ### How often should I capture memory?
340
+
341
+ Capture memory after major architectural decisions, after agent findings, before switching tools, and when the session is long enough that re-explaining would be expensive.
342
+
343
+ ### Why does it include health nodes?
344
+
345
+ Mobile projects fail at boundaries: lifecycle, state ownership, navigation, threading, persistence, and platform APIs. Health nodes preserve those risks so the next AI does not repeat unsafe work.
346
+
347
+ ### Can ChatGPT or Gemini use it?
348
+
349
+ Yes. Paste the full file as the first message and say: "Resume from NEXT ACTION." Mobile Memory checkpoints are plain Markdown and do not depend on a specific AI tool.
@@ -0,0 +1,85 @@
1
+ # Release Process
2
+
3
+ Mobile AI Agents npm releases are published by GitHub Actions from git tags.
4
+
5
+ Do not run `npm publish` manually. Manual publishing can race with the tag workflow and cause npm to reject the workflow with:
6
+
7
+ ```text
8
+ 403 Forbidden - You cannot publish over the previously published versions
9
+ ```
10
+
11
+ ---
12
+
13
+ ## Release Steps
14
+
15
+ 1. Update `package.json`:
16
+
17
+ ```json
18
+ {
19
+ "version": "1.0.19"
20
+ }
21
+ ```
22
+
23
+ 2. Run local checks:
24
+
25
+ ```bash
26
+ git diff --check
27
+ node --check cli/index.js
28
+ bash -n install.sh
29
+ node cli/index.js list
30
+ npm pack --dry-run
31
+ ```
32
+
33
+ 3. Commit the version bump:
34
+
35
+ ```bash
36
+ git add package.json
37
+ git commit -m "Release v1.0.19"
38
+ ```
39
+
40
+ If the release also changes docs, CLI, agents, skills, or workflows, include those files in the same release commit.
41
+
42
+ 4. Create the tag locally:
43
+
44
+ ```bash
45
+ git tag v1.0.19
46
+ ```
47
+
48
+ 5. Push the branch and tag:
49
+
50
+ ```bash
51
+ git push origin main
52
+ git push origin v1.0.19
53
+ ```
54
+
55
+ 6. Let GitHub Actions publish npm.
56
+
57
+ The workflow is `.github/workflows/publish.yml`. It runs on tags matching `v*`, verifies the tag version matches `package.json`, checks whether the version already exists on npm, and publishes only when the version is new.
58
+
59
+ ---
60
+
61
+ ## Verification
62
+
63
+ After the workflow finishes:
64
+
65
+ ```bash
66
+ npm view mobile-ai-agents version dist-tags.latest
67
+ npm view mobile-ai-agents@1.0.19 version dist.tarball dist.shasum
68
+ git ls-remote origin refs/heads/main refs/tags/v1.0.19
69
+ ```
70
+
71
+ Expected:
72
+
73
+ - npm latest equals the released version.
74
+ - GitHub `main` points to the release commit.
75
+ - GitHub tag `v1.0.19` points to the same release commit.
76
+ - GitHub Actions publish workflow is green.
77
+
78
+ ---
79
+
80
+ ## Important Rules
81
+
82
+ - Never run `npm publish` manually for normal releases.
83
+ - Never push a tag before `package.json` is updated and committed.
84
+ - The tag must match the package version exactly: `package.json` `1.0.19` uses tag `v1.0.19`.
85
+ - If a workflow is rerun for an already-published version, it should skip publishing instead of failing.
@@ -0,0 +1,165 @@
1
+ # Release v0.1.0 — Foundation
2
+
3
+ **Released:** 2026-05-29
4
+ **Tag:** `v0.1.0`
5
+ **Type:** Initial public release
6
+
7
+ ---
8
+
9
+ ## Overview
10
+
11
+ v0.1.0 is the foundation release of **Mobile Dev Skill Agents** — an open-source AI productivity toolkit for mobile and game developers.
12
+
13
+ This release ships 14 production-ready agents, 10+ skills, 22 prompts, and tool integration files for Claude Code, Cursor, ChatGPT, and GitHub Copilot. Every agent includes a structured input format, typed output format, and a real worked example verified against at least one major LLM.
14
+
15
+ ---
16
+
17
+ ## What's Included
18
+
19
+ ### Agents (14)
20
+
21
+ #### Android
22
+ | Agent | Description |
23
+ |---|---|
24
+ | Android Code Reviewer | Kotlin/Compose Clean Architecture, coroutines, anti-patterns — CRITICAL/WARNING/INFO findings |
25
+ | Android Crash Analyzer | 9-section crash report: root cause, fix, edge cases, test checklist, prevention tips |
26
+ | Android Compose UI Reviewer | Recomposition scope, `remember`/`derivedStateOf`, `LazyColumn` keys, side effects |
27
+ | Android Compose Screen Builder | Full screen generation: ViewModel, StateFlow, Material 3, Navigation, Hilt |
28
+ | Android BLoC-compatible crash debugging | Detailed coroutine, lifecycle, and RecyclerView crash analysis |
29
+
30
+ #### iOS
31
+ | Agent | Description |
32
+ |---|---|
33
+ | Swift Code Reviewer | ARC, retain cycles, `@MainActor`, async/await, force-unwrap audit |
34
+ | iOS Crash Analyzer | Symbolicated crash reports → 9-section analysis (EXC_BAD_ACCESS, SIGSEGV, watchdog) |
35
+
36
+ #### Flutter
37
+ | Agent | Description |
38
+ |---|---|
39
+ | Flutter Widget Generator | Production Dart widget from plain-English description |
40
+ | Flutter BLoC Feature Builder | Complete layered feature: Cubit/BLoC, Repository, Dio, domain entities, test stubs |
41
+
42
+ #### React Native
43
+ | Agent | Description |
44
+ |---|---|
45
+ | RN Performance Optimizer | Re-renders, `useCallback`/`useMemo`, FlatList config, bridge overhead |
46
+
47
+ #### Game Development
48
+ | Agent | Description |
49
+ |---|---|
50
+ | Unity Shader Generator | Full `.shader` file from visual description (URP, HDRP, Built-in) |
51
+ | Unreal Blueprint Advisor | Blueprint analysis, tick optimization, C++ migration candidates |
52
+
53
+ #### Cross-Platform
54
+ | Agent | Description |
55
+ |---|---|
56
+ | Release Notes Generator | `git log` → App Store copy + developer changelog + QA notes |
57
+ | CI/CD Pipeline Generator | GitHub Actions / Fastlane for Android, iOS, Flutter, React Native |
58
+ | Store Listing Writer | ASO-optimized App Store + Play Store listings with character counts |
59
+ | Mobile Security Scanner | OWASP Mobile Top 10 — exploitability analysis + concrete fix per finding |
60
+ | Accessibility Auditor | WCAG 2.2 audit across Compose, SwiftUI, Flutter, React Native |
61
+
62
+ ---
63
+
64
+ ### Skills (16 composable prompt modules)
65
+
66
+ | Platform | Skills |
67
+ |---|---|
68
+ | Android | Code review (coroutines, Clean Architecture, Compose) |
69
+ | iOS | Swift review, SwiftUI state, Networking, Unit testing, Performance, Data persistence |
70
+ | Flutter | Widget generation rules |
71
+ | React Native | Performance, Bridge audit |
72
+ | Unity | Shader review |
73
+ | Shared | Crash analysis, Accessibility audit, Security scan |
74
+
75
+ ---
76
+
77
+ ### Prompts (22)
78
+
79
+ | Platform | Prompts |
80
+ |---|---|
81
+ | Android | Unit test generation, Migration guide, Compose layout, Gradle dependency audit, Flow explainer |
82
+ | iOS | Swift concurrency explainer, Unit test generation, SwiftUI accessibility audit, Combine → async/await |
83
+ | Flutter | Widget from design, Riverpod migration, Golden test, Performance audit |
84
+ | React Native | Component audit, New Architecture migration, Navigation setup, Detox E2E test |
85
+ | Game Dev | Shader from reference, Blueprint to C++, Game object architecture, Game balance table, Level design review |
86
+
87
+ ---
88
+
89
+ ### Tool Integrations
90
+
91
+ | Tool | File | How |
92
+ |---|---|---|
93
+ | Claude Code | `CLAUDE.md` | Loaded automatically on repo open |
94
+ | Cursor | `.cursorrules` | Loaded automatically — full agent index + platform rules |
95
+ | ChatGPT | `docs/chatgpt-integration.md` | Paste-ready Custom GPT system prompt |
96
+ | GitHub Copilot | `.github/copilot-instructions.md` | Loaded via `@workspace` |
97
+
98
+ ---
99
+
100
+ ### Examples
101
+
102
+ Real code examples paired with agents:
103
+ - `examples/android/ProfileViewModel.kt` — paired with Android Code Reviewer
104
+ - `examples/android/sample-crash-log.txt` — paired with Android Crash Analyzer
105
+ - `examples/ios/ProfileViewModel.swift` — paired with Swift Code Reviewer
106
+ - `examples/flutter/expandable_card.dart` — paired with Flutter Widget Generator
107
+ - `examples/react-native/FeedScreen.tsx` — paired with RN Performance Optimizer
108
+ - `examples/game-dev/HolographicScanline.shader` — paired with Unity Shader Generator
109
+
110
+ ---
111
+
112
+ ## Metrics
113
+
114
+ | Metric | Value |
115
+ |---|---|
116
+ | Agents | 14 |
117
+ | Skills | 16 |
118
+ | Standalone prompts | 22 |
119
+ | Example files | 6 |
120
+ | Lines of markdown / code | ~12,000+ |
121
+ | Platforms covered | 7 (Android, iOS, Flutter, React Native, Unity, Unreal, Cross-Platform) |
122
+ | LLM compatibility | Claude Sonnet 4.6, GPT-4o, Gemini 1.5 Pro |
123
+ | Tool integrations | 4 (Claude Code, Cursor, ChatGPT, GitHub Copilot) |
124
+
125
+ ---
126
+
127
+ ## Known Limitations
128
+
129
+ - Agents are prompt-based — output quality scales with the model. GPT-3.5 and smaller models produce weaker structured output.
130
+ - The iOS Crash Analyzer requires symbolicated crash reports. Unsymbolicated `.crash` files return limited analysis.
131
+ - The CI/CD Pipeline Generator produces starter configs. Secrets management and advanced signing workflows may require manual adaptation.
132
+ - Game Dev agents (Unity, Unreal) are marked `Beta` — coverage for HDRP, Niagara, and GAS is limited in v0.1.0.
133
+
134
+ ---
135
+
136
+ ## Upgrade Notes
137
+
138
+ This is the first public release — no migration needed.
139
+
140
+ ---
141
+
142
+ ## What's Next
143
+
144
+ See [`docs/roadmap/github-issues.md`](../roadmap/github-issues.md) for the full v0.2.0 roadmap.
145
+
146
+ Top priorities for v0.2.0:
147
+ - Android APK/AAB size analyzer agent
148
+ - iOS App Store Review Guidelines compliance checker
149
+ - Flutter state architecture advisor (when to use Riverpod vs BLoC vs setState)
150
+ - Windsurf and VS Code extension integration guides
151
+ - Multi-file review workflow (review entire feature folder, not one file at a time)
152
+
153
+ ---
154
+
155
+ ## Contributors
156
+
157
+ This release was authored by [Salman Ashraf](https://github.com/salmanashraf).
158
+
159
+ Want to contribute? See [CONTRIBUTING.md](../../CONTRIBUTING.md) and open an issue before starting large work.
160
+
161
+ ---
162
+
163
+ ## License
164
+
165
+ [MIT](../../LICENSE) — free to use, modify, and distribute. Attribution appreciated.