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…
by 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
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)runsflutter run -d <device>with a resolved device id (never-d ios). Scaffold withflutter create --org com.example app; check withflutter analyzeandflutter test. - Native Android (
settings.gradle(.kts)+app/build.gradle(.kts)withcom.android.application):mobile(action=run target=android)runs./gradlew installDebugon 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 withxcodebuildfor the Simulator. Only on macOS; on Linux/Windows say so and propose a macOS CI runner instead of guessing. - Store release: Android
./gradlew bundleReleaseorflutter build appbundle(signing config inkey.properties, never committed); iOS via Xcode Archive orflutter 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 %.
- Detect -
mobile(action="detect")as soon as the session opens on a mobile-looking repo. Do not assume Expo vs bare React Native. - 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 runwslfrom 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-studiowhen missing - Linux: KVM (
usermod -aG kvm) then logout/login (notwsl --shutdown) Never start-accel off/ swiftshader. USB phones always OK when inadb devices. Thenmobile(action="doctor")/mobile(action="devices").
- WSL: if KVM group not active yet, tell the user to open Windows
PowerShell (not Ubuntu) and run
- Doctor / setup - if bootstrap is unnecessary (device already online),
mobile(action="setup")thenmobile(action="doctor")is enough. - Run -
mobile(action="run", target="android")(orios/web/metro). Usemobile(action="logs")while iterating. Stop withmobile(action="stop"). - Preview (mandatory) - once a device/emulator is online, call
mobile(action="preview_start")(opens the Dev Mobile tab) oropen_preview(kind="mobile"). Fortarget="web", after the packager URL responds, callopen_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. - Code - small, focused edits. Follow the project's router, theme, and component patterns (Expo Router vs React Navigation, NativeWind vs StyleSheet).
- Verify (mandatory) - after meaningful edits, run
verify action=checkortest_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. - Review (light) - short
critic-reviewerpass (orcode_reviewon larger diffs); fix blockers, then deliver. - Deliver - summarize files changed, how to re-run (
mobile runor 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:
- App is running (
mobile run/ packager / web target). - Preview is open (
preview_startoropen_preview). - Tests /
verifyran; failures fixed or explicitly reported. - 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 |
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
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…