agentleFS
wrsilvawrsilva/reis-mobile/skills/mobile-code-review/SKILL.md

mobile-code-review

Skill8 starsChanged 58 days agoMITView on GitHub

Reviews mobile code for production bugs across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including KMP source-set and host API contracts. Covers lifecycle, concurrency, UI state and native boundaries with file:line evidence. Use for a code review, PR, project audit, quality check or /reis-mobile:review.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Whole project: start at the entry points (app startup, navigation, dependency setup), then the data layer, authentication and the most …

    line 29
  2. Very specific:

    Do not invent APIs, versions or lint rules.

    line 34
  3. Distinctive:

    Do not report style that a configured linter already enforces.

    line 35
  4. Distinctive:

    When the project deliberately does something differently and it is coherent, say so instead of flagging it.

    line 36
  5. Distinctive:

    Write "No findings." in a section with nothing to report.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Mobile Code Review

One review process for every mobile stack. This file holds how to review and what always matters; each platform's checklist lives in its reference.

1. Pick the checklists

Detect the stack first, then apply the platform checklist to the files in scope:

ProjectRead
Flutter / Dartreferences/flutter.md, which orders the Flutter checklists in references/flutter/
Native Android (Kotlin/Java), or the Android side of Kotlin Multiplatformreferences/android.md
Native iOS (Swift/Objective-C)references/ios.md
React Native or Exporeferences/react-native.md
Kotlin Multiplatform shared and target changesreferences/kotlin-multiplatform.md

In a cross-platform app, native code in android/, ios/ or native modules gets the native checklist too. Security findings follow mobile-security when it is loaded.

2. Scope

  • Changes (diff or pull request): review what changed, reading the whole file when the hunk is not enough to understand it. New untracked files are not in the diff; read them.
  • Whole project: start at the entry points (app startup, navigation, dependency setup), then the data layer, authentication and the most complex screens.

3. Evidence before findings

  • Open the code and confirm every suspicion. A finding without evidence at file:line does not go in the report.
  • Do not invent APIs, versions or lint rules. Check the lock files and build files (pubspec.lock, version catalog, Package.resolved, package.json) before claiming something is missing, deprecated or unavailable.
  • Do not report style that a configured linter already enforces.
  • When the project deliberately does something differently and it is coherent, say so instead of flagging it.

4. What always matters, on any stack

  • Lifecycle: async work that outlives its screen; listeners, subscriptions, timers and controllers never released.
  • Threading: I/O or heavy parsing on the main/UI thread; UI updated off it.
  • State: impossible states that can be represented; loading and error handled; state lost on rotation, backgrounding or process death.
  • Network: timeouts, retries without backoff, offline handling, unvalidated responses.
  • Credentials: tokens in insecure storage, secrets in code or the bundle, sensitive data in logs.
  • Platform: permissions requested without handling denial; manifest, Info.plist, entitlements or config changes that affect store publishing.
  • Tests: new logic without tests when the project already has a suite.

5. Severity

Rank by real impact on users: crash or data loss, credential leak, store rejection, then noticeable degradation, then maintainability. Say why each finding matters, not only what rule it breaks.

Report

Unless an agent defines its own format, answer with:

## Summary
Stack, scope (diff or project), verdict: approve | approve-with-changes | request-changes.

## Critical
## Bugs
## Architecture
## Security
## Performance
## Maintainability

## Suggested changes
Prioritized list. For each item: file:line, problem, why it matters, fix.

Write "No findings." in a section with nothing to report.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.