ios-to-android
БесплатноБез исполняемых скриптовНе проверенUse for ANY task that ports or implements Android functionality from\ \ an iOS/Swift codebase \u2014 including single-feature tasks (BLE scanning…
от android★ 10 827 звёзд на GitHubОб этом скилле
This skill guides you through the structured process of migrating an Apple iOS
application to modern Android. It provides an end-to-end 10-step engineering
methodology that performs deep pre-flight project discovery, establishes Gradle
infrastructure, and conditionally loads specialized reference documents from
references/ based on the specific subsystems detected in the source codebase.
Objective
To systematically convert an iOS codebase into a clean, modern, and idiomatic Android application powered by Jetpack Compose , Kotlin Coroutines & Flow , and Android Architecture Components, maintaining architectural integrity and visual parity without legacy Android view bloat, unverified stubbing, or proprietary vendor lock-in.
Operational Scope Modes
Before taking action, determine which operational mode matches the user's request and workspace:
Mode A: Full Application Migration (End-to-End Greenfield)
- Trigger: The user asks to migrate an entire iOS application from start to finish, or the target directory is empty / contains only a clean starter skeleton.
- Workflow: Execute the full 10-step methodology sequentially (Steps 1 through 10), decomposing the app into multi-package architecture, establishing build configuration, porting all subsystems, and verifying against the final consolidated build gate.
- Mandatory Pre-Migration Subsystem Inspection Gate : Before implementing Android code for any detected iOS domain capability, you MUST explicitly view and inspect the corresponding reference guide in
references/for each subsystem present in the source codebase:- Architecture & State : Inspect references/architecture-and-viewmodels.md and references/state-and-reactive-flows.md.
- Screen Layouts & Declarative UI : Inspect references/ui-layout-swiftui-to-compose.md.
- Navigation : Inspect references/navigation-compose.md.
- Database & Entities : Inspect references/database-coredata-to-room.md.
- Preferences & Settings : Inspect references/preferences-datastore.md.
- Runtime Permissions : Inspect references/permissions-runtime.md.
- Health & Fitness : Inspect references/health-connect.md.
- In-App Billing & Store : Inspect references/in-app-billing.md.
- Bluetooth LE Sensors : Inspect references/bluetooth-ble.md.
- Location & GPS Tracking : Inspect references/location-fusedprovider.md.
- Background Tasks : Inspect references/background-tasks-workmanager.md.
[!IMPORTANT] Important: This gate is mandatory. Reading
SKILL.mdalone is not sufficient to complete a migration --- this root document is an index and a set of invariants; the reference guides hold the actual API-level implementation patterns. Skipping them is the single most common cause of mock-stub managers, missing runtime permissions, and non-idiomatic layouts that compile cleanly and then fail review.
You MUST record the list of reference guides you actually opened in
.migration/migration_walkthrough.md under a ## Reference Guides Consulted
heading. If a subsystem is present in the source app and its guide is absent
from that list, the migration is incomplete --- go back and read it before
concluding.
Mode B: Scoped Sub-Component & Feature Migration (Contextual Integration)
- Trigger : The user asks to migrate a specific subsystem, feature, screen, or capability (e.g., CoreData to Room, HealthKit to Health Connect, StoreKit to Play Billing, BLE, or a specific screen) into an existing Android project.
- Bypass Macro Overhead : Do NOT perform a full 10-step audit of the entire iOS repository or generate a full
.migration/feature_specification.md. - Execute the 4-Phase Micro Workflow :
- Target Codebase Convention Discovery: Inspect the target Android project to discover and adopt established architecture, package structure, dependency injection, and state patterns.
- Surgical Subsystem Routing : Jump directly to the relevant supplemental reference guide in
references/for the requested capability. - Scoped Migration & Integration: Implement the subsystem matching the discovered target conventions and wire it to replace any existing Fakes or stubs.
- Targeted Build & Test Verification : Verify
./gradlew assembleDebugor run specific unit tests without mutating unrelated modules.
- Anti-Premature-Exit & Execution Liveness Mandate :
- **NEVER e
Установить ios-to-android в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ios-to-android?
Use for ANY task that ports or implements Android functionality from\ \ an iOS/Swift codebase \u2014 including single-feature tasks (BLE scanning, location/GPS\ \ tracking, billing, Health Connect, background work, database, one screen), not\ \ just full-app migrations. Primary coordinating skill for migrating iOS apps and\ \ subsystems to Android (Jetpack Compose, Room, Kotlin Coroutines and Flow, Architecture\ \ Components). Handles both full-app greenfield migrations and scoped sub-component\ \ feature migrations: Info.plist permissions and AndroidManifest.xml mapping (Android\ \ 14+ runtime permissions and foreground service types), SwiftUI views and screen\ \ layouts, CoreData/Room, StoreKit/Google Play Billing (in-app subscriptions and\ \ purchases), HealthKit/Health Connect, CoreBluetooth/BLE, CoreLocation/GPS, BGTaskScheduler/WorkManager,\ \ and UserDefaults/DataStore. Don't use for Android-only work with no iOS source,\ \ for converting Android XML Views to Compose, or for building or changing iOS apps.
Как установить скилл ios-to-android?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ios-to-android запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic