| name | mobiai-review-code |
| description | Use when reviewing mobile code changes — check for lifecycle issues, memory leaks, thread safety, and platform-specific pitfalls. |
| license | MIT |
| compatibility | ["claude-code","cursor","copilot","codex"] |
| platforms | ["android","ios","kmp","flutter","react-native"] |
Review Code
Perform a mobile-specific code review, checking for common issues that static analysis tools miss.
When to Use
- User asks for a code review of mobile code changes
- After applying a fix, to self-review before creating a PR
- User shares a diff or PR and asks for feedback
Pre-flight: check the Graph for code structure
The Graph indexes Kotlin/Swift symbols across the repo, so callers of any symbol modified in the diff can be located instantly. Used during Step 3 (Review Checklist) and Step 4 (Verify Test Coverage) to detect call sites and tests that the diff may have missed.
If <repo>/.mobiai/graph/index.json exists:
mobiai graph status
mobiai graph callers <SymbolFromDiff>
mobiai graph search <OldSymbolName>
You MUST complete this step before reading ANY code or generating ANY diff.
Do NOT skip this. Do NOT assume `main` or `master`. Get the real target branch first.