wrsilva/reis-mobile/mobile-debug

Claude Code and agent skill by wrsilva/reis-mobile

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Diagnoses build and runtime failures across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers pub/Dart, Gradle/AGP, Xcode/CocoaPods, Metro, KMP source sets and iOS frameworks, crashes and deep links. Use for failing builds, app launches, stack traces or /reis-mobile:debug.

Install

npx vskill@latest install wrsilva/reis-mobile/mobile-debug

SKILL.md

The same SKILL.md was published earlier as wrsilva/reis-mobile/mobile-debug.

Mobile Debug

One debugging process for every mobile stack. This file holds how to find a cause; each platform's error signatures and fixes live in its reference.

1. Pick the reference

Choose by the stack and by the layer the error comes from — a Flutter or React Native build often fails inside Gradle or Xcode:

The failure is inRead
A Flutter app: pub, Dart compilation, generated code, widgets, runtime exceptionsreferences/flutter.md
Gradle, the Android build, logcat crashes or ANRs (native Android, or the android/ folder of any app)references/android.md
Xcode, signing, CocoaPods, Swift packages or iOS crash logs (native iOS, or the ios/ folder of any app)references/ios.md
A React Native or Expo app: Metro, native modules, JavaScript errorsreferences/react-native.md
Kotlin Multiplatform compilation, source-set or framework integrationreferences/kotlin-multiplatform.md
A deep link, App Link or Universal Link that opens the browser, the wrong screen or crashes (any stack)references/deep-links.md
Starting the app, an emulator, a simulator or Metro, and knowing when it is ready or why it failed (any stack)references/launching.md

When reis-mobile debug (or /reis-mobile:debug) ran, its area line points at the layer: gradle, manifest, proguard → Android; xcode, signing, cocoapods, spm → iOS; pub → Flutter; metro → React Native.

2. Find the first real error

Build and crash logs bury the cause under cascading failures. Quote the line that starts the failure — the first error:, the What went wrong block, the top of the exception with its Caused by — not the final BUILD FAILED or the last frame. Ask for the full output when the user pasted only the end. When you run the build yourself, reis-mobile run -- <command> isolates those lines and prints the path of the full log for the surrounding context.

3. Collect versions before theorizing

Most build failures after an upgrade are toolchain mismatches. Read the versions that decide the behavior — the SDK and toolchain versions (the doctor report shows them), wrapper and lock files, build scripts, deployment targets — and quote them in the diagnosis. Check compatibility against the official tables named in the reference; do not state compatibility ranges from memory.

4. Reproduce safely

Read-only commands can run: version checks, dependency trees, flutter doctor -v, ./gradlew --version, pod --version, xcodebuild -version. A build that only compiles can run when the user already ran it or agrees, since it takes time and writes build outputs.

Reproducing a launch or runtime failure means running the app, and some of the commands involved never end on their own. Start those with reis-mobile run --background -- <command> so the session gets the first error back instead of hanging until the tool times out; run the others directly:

StackNever ends: reis-mobile run --background -- …Ends on its own: run directly
Flutterflutter run -d <id>, flutter attach, flutter logsflutter run --no-resident -d <id>, flutter build apk --debug, flutter install -d <id>
Native Androidemulator -avd <name>, adb logcat without -d./gradlew :app:installDebug, adb shell am start -n <package>/<activity>, adb logcat -d
Native iOSxcrun simctl spawn booted log stream, xcrun simctl launch --console booted <bundle id>xcrun simctl bootstatus <udid> -b, xcodebuild … build, xcrun simctl install booted <App.app>, xcrun simctl launch booted <bundle id>
React Nativenpx react-native start, npx react-native log-android, npx react-native log-iosnpx react-native run-android, npx react-native run-ios (they open Metro in a separate window unless --no-packager)
Exponpx expo start, npx expo run:android, npx expo run:ios (the dev server starts after the build)npx expo run:android --no-bundler, npx expo run:ios --no-bundler
Kotlin MultiplatformThe Android and iOS host commands above./gradlew :<android app module>:installDebug, xcodebuild -project <iosApp>.xcodeproj -scheme <iosApp> … build

references/launching.md has each command's ready and failure signals. Tell the user what you are starting, on which device or simulator, and what you are waiting for.

5. Confirm the cause

Tie the cause to evidence: file:line, a version, a build setting or a log line. If two causes are plausible, say what evidence would separate them instead of picking one.

6. Propose, then wait

Answer with:

  • Cause — one or two sentences, with the evidence.
  • Fix — the minimal change, as a diff or exact commands, in order.
  • Side effects — what else the fix changes: a higher minimum Android or iOS version, a Gradle or Kotlin upgrade that CI needs too, pods changing version.
  • Verify — the command that failed, run again.

Do not edit files, upgrade dependencies or run commands that change the project, the caches or the machine — flutter clean, pod install, pod repo update, npx expo prebuild --clean, deleting DerivedData, ~/.gradle caches or node_modules — until the user asks you to apply the fix. Then apply it, run the verification and report the result.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
7-day trend score
10

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wrsilva/reis-mobile/mobile-debug/badge)](https://verified-skill.com/skills/wrsilva/reis-mobile/mobile-debug)

Something wrong with this skill or its page? Tell us.