Command Palette

Search for a command to run...

Back to skills
skill № 80949

mobile-dev

Build, run, and debug mobile apps - Expo, React Native, Flutter, native Android (Kotlin/Java, Gradle, Jetpack Compose) and native iOS (Swift, Xcode). Detect…

FreeNo executable scripts
Navinspire-iaby Navinspire-ia★ 37 GitHub stars

Install mobile-dev in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Mobile Developer (Expo / React Native / Flutter / Kotlin / Swift)

Work like a senior mobile engineer inside the workspace. Prefer the mobile tool over raw shell guesses for setup and packager lifecycle.

When to use

  • The workspace is (or should become) an Expo, React Native, Flutter, native Android (Kotlin) or native iOS (Swift) app.
  • The user asks to run on an emulator/device, fix Metro/Gradle/redbox errors, add screens, restyle UI, or make the layout responsive.
  • Flutter (pubspec.yaml): mobile(action=run target=android|ios|web) runs flutter run -d <device> with a resolved device id (never -d ios). Scaffold with flutter create --org com.example app; check with flutter analyze and flutter test.
  • Native Android (settings.gradle(.kts) + app/build.gradle(.kts) with com.android.application): mobile(action=run target=android) runs ./gradlew installDebug on the device, then launches the app id. Checks: ./gradlew test, ./gradlew lint. Kotlin + Jetpack Compose is the default for new native apps; always commit the Gradle wrapper. JDK 17 required.
  • Native iOS (*.xcodeproj / *.xcworkspace): mobile(action=run target=ios) builds with xcodebuild for the Simulator. Only on macOS; on Linux/Windows say so and propose a macOS CI runner instead of guessing.
  • Store release: Android ./gradlew bundleRelease or flutter build appbundle (signing config in key.properties, never committed); iOS via Xcode Archive or flutter build ipa (team required).

Operating loop

Stay in Agent execution. Do not switch to Plan mode for Mobile setup. When preparing the environment, show a short numbered checklist in chat and tick items as you finish them (1/4, 2/4, …). Prefer doing installs over writing a long plan. Progress bars come from the tools - do not invent fake %.

  1. Detect - mobile(action="detect") as soon as the session opens on a mobile-looking repo. Do not assume Expo vs bare React Native.
  2. Bootstrap - for a ready Android toolchain call mobile(action="bootstrap") (preferred over hand-rolled sdkmanager shells). It installs under ~/.navin (adb → JDK → cmdline-tools → SDK → AVD) and emits live progress. First bootstrap step is OS-aware:
    • WSL: if KVM group not active yet, tell the user to open Windows PowerShell (not Ubuntu) and run wsl --shutdown, then reopen WSL. Never run wsl from inside Ubuntu. Or ask them to Play an AVD in Android Studio on Windows → Refresh Mobile.
    • Windows: ASK user to open Android Studio → Device Manager → Play an AVD (winget installs Studio when missing).
    • macOS: Android Studio via brew install --cask android-studio when missing
    • Linux: KVM (usermod -aG kvm) then logout/login (not wsl --shutdown) Never start -accel off / swiftshader. USB phones always OK when in adb devices. Then mobile(action="doctor") / mobile(action="devices").
  3. Doctor / setup - if bootstrap is unnecessary (device already online), mobile(action="setup") then mobile(action="doctor") is enough.
  4. Run - mobile(action="run", target="android") (or ios / web / metro). Use mobile(action="logs") while iterating. Stop with mobile(action="stop").
  5. Preview (mandatory) - once a device/emulator is online, call mobile(action="preview_start") (opens the Dev Mobile tab) or open_preview(kind="mobile"). For target="web", after the packager URL responds, call open_preview(kind="web", url=...). Keep the app running so you can fix redboxes the user sees in Preview. Tell the user to click Start preview only if the panel is already open and idle.
  6. Code - small, focused edits. Follow the project's router, theme, and component patterns (Expo Router vs React Navigation, NativeWind vs StyleSheet).
  7. Verify (mandatory) - after meaningful edits, run verify action=check or test_run. Also watch Fast Refresh / mobile(action="logs"); fix redboxes before claiming done. Add a minimal test for new behavior when the stack allows it.
  8. Review (light) - short critic-reviewer pass (or code_review on larger diffs); fix blockers, then deliver.
  9. Deliver - summarize files changed, how to re-run (mobile run or the packager command), test/preview status, and any remaining device/SDK setup.

Delivery gate (do not skip)

Before ending a turn that built or changed a mobile/web app:

  1. App is running (mobile run / packager / web target).
  2. Preview is open (preview_start or open_preview).
  3. Tests / verify ran; failures fixed or explicitly reported.
  4. Light review done; blockers fixed.

Tool cheat sheet

Goal Call
What stack is this? mobile(action="detect")
Full Android install cycle mobile(action="bootstrap")
Is the machine ready? mobile(action="doctor")
List phones / AVDs `mobile(act
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the mobile-dev skill do?

Build, run, and debug mobile apps - Expo, React Native, Flutter, native Android (Kotlin/Java, Gradle, Jetpack Compose) and native iOS (Swift, Xcode). Detect the stack, doctor the toolchain, start the packager or Gradle/xcodebuild, fix build errors, and ship UI changes. Use for mobile Dev sessions and any Expo / React Native / Flutter / Kotlin / Swift task.

How do I install the mobile-dev skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the mobile-dev skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare mobile-dev with