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…
от Navinspire-ia★ 37 звёзд на GitHub
Установить mobile-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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 |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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 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.
Как установить скилл mobile-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mobile-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…