Command Palette

Search for a command to run...

Назад к скиллам
скилл № 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…

БесплатноБез исполняемых скриптов
Navinspire-iaот 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) 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить mobile-dev с