kmp-mobile-skills

agent
Guvenlik Denetimi
Gecti
Health Gecti
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 17 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Agent skills for Kotlin Multiplatform apps on Android and iOS: build, debug and ship.

README.md

KMP Mobile Skills

CI
License: Apache-2.0
Agent Skills

Agent skills for building Kotlin Multiplatform apps on Android and iOS, and for finding and
fixing the bugs in them.

Each skill is a folder with a SKILL.md that teaches your AI coding agent one job: scaffold a feature
module, wire a Ktor endpoint, expose shared state to SwiftUI, triage an iOS crash with Kotlin/Native
frames, stop a flaky test, review a change for Android/iOS divergence. Skills load only when the task
needs them, so installing all of them costs almost nothing until one is used.

They follow the open Agent Skills format, so the same files work
in Claude Code, OpenAI Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, Windsurf, JetBrains Junie
and Android Studio
.

Quick start

Any agent, one command (skills CLI):

npx skills add Kushpawan/kmp-mobile-skills

Claude Code, as a plugin (adds the two reviewer agents as well):

/plugin marketplace add Kushpawan/kmp-mobile-skills
/plugin install kmp-mobile-skills@kmp-mobile-skills

Per-agent instructions, team setup, updating and uninstalling: INSTALL.md.

Then just describe the task in your own words, inside your KMP project:

"Add a profile feature module with a screen that loads the user from /v1/me."

"The iOS app crashes on launch since we bumped Room. Here's the .ips file."

"OrdersViewModelTest fails on CI about one run in five. Fix it properly."

"Review my branch before I open the PR, especially anything that behaves differently on iOS."

In Claude Code you can also call a skill directly, e.g. /kmp-mobile-skills:kmp-crash-triage.

Skills

Build: project and modules

Skill Platforms Use it when
kmp-expect-actual android + ios Kotlin Multiplatform shared code needs a platform API or platform-specific behaviour - expect/actual declarations, a missing or "no corresponding actual declaration"…
kmp-feature-module android + ios adding a new feature or library module to a Kotlin Multiplatform project - "create a module", "modularize this feature", a :feature module, settings.gradle.kts include…
kmp-gradle-version-catalog android + ios adding, upgrading or auditing dependencies and Gradle plugins in a Kotlin Multiplatform project - libs.versions.toml, [versions] [libraries] [plugins] [bundles], catalog…
kmp-toolchain-upgrade android + ios upgrading, or planning to upgrade, a Kotlin Multiplatform toolchain - Kotlin 2.5, Compose Multiplatform 1.13, AGP 9.x or AGP 10, the Gradle wrapper, JDK 17, Xcode 27 or…

UI

Skill Platforms Use it when
compose-design-system-component android + ios creating or changing a reusable Compose Multiplatform design-system component — button, text field, chip, card, badge, avatar, dialog — or theme tokens: variant and size…
compose-multiplatform-localization android + ios localising a Compose Multiplatform app — composeResources strings.xml, values-fr / values-b+zh+Hans folders, plurals, string arrays, stringResource…
compose-multiplatform-navigation android + ios building or debugging navigation in Compose Multiplatform commonMain — type-safe @Serializable routes, NavHost, nested graphs, splash/login gate, session expiry, bottom…
compose-multiplatform-screen android + ios adding or extending a Compose Multiplatform screen in commonMain — a new screen, ViewModel, UiState, actions/intents, one-shot side effects (navigate, snackbar), MVI or…
figma-to-mobile-ui android + ios implementing a Figma frame, screen or component as Compose Multiplatform or SwiftUI code in a Kotlin Multiplatform app — a figma.com/design link, "build this from…

Data

Skill Platforms Use it when
kmp-api-endpoint android + ios adding, wiring or fixing one REST endpoint in a Kotlin Multiplatform shared module — "add a GET/POST/PUT/DELETE call", "integrate this API", "call /orders from shared…
kmp-data-layer android + ios designing, adding or refactoring the data layer of a Kotlin Multiplatform app in commonMain — Ktor HttpClient setup, DTOs and kotlinx.serialization, repositories and…
kmp-koin-di android + ios wiring Koin dependency injection across a Kotlin Multiplatform app - commonMain vs androidMain/iosMain platform modules, initKoin or doInitKoin called from Swift…
kmp-room-database android + ios adding, configuring, upgrading or debugging Room in a Kotlin Multiplatform project — Room 3 (androidx.room3, room3 Gradle plugin, @ColumnTypeConverter, room3-paging)…
kmp-secure-storage android + ios storing access tokens, refresh tokens, API keys or other secrets from Kotlin Multiplatform shared code — Android Keystore, a replacement for deprecated…

iOS interop

Skill Platforms Use it when
kmp-swiftui-interop ios SwiftUI or Swift code consumes Kotlin Multiplatform shared logic — observing a Kotlin StateFlow or Flow from Swift, calling suspend functions with async/await, switching…
kmp-xcframework-distribution ios shipping a Kotlin Multiplatform module to an iOS app as a framework or Swift package — XCFramework, assembleXCFramework, embedAndSignAppleFrameworkForXcode…

Testing

Skill Platforms Use it when
kmp-build-check android + ios you need to know whether a Kotlin Multiplatform change still builds and passes tests on both Android and iOS - "did I break iOS?", before pushing or opening a PR, after…
kmp-test-coverage-backfill android + ios Kotlin Multiplatform unit-test coverage must go up - a Kover report (koverXmlReport, report.xml) below target, koverVerify failing the build, "backfill tests", "get this…
kmp-testing-patterns android + ios writing or fixing unit tests in a Kotlin Multiplatform project - commonTest, kotlin.test, runTest, StandardTestDispatcher, Dispatchers.setMain, Turbine, testing a…
mobile-accessibility-test-ids android + ios adding or fixing stable UI-test locators and accessibility labels in a Kotlin Multiplatform or native mobile app - Compose testTag, testTagsAsResourceId, SwiftUI…

Debug and fix

Skill Platforms Use it when
kmp-build-failure-triage android + ios a Kotlin Multiplatform build fails on Android or iOS — Gradle, KSP, Kotlin/Native link or Xcode errors such as "Undefined symbols for architecture arm64", "framework not…
kmp-crash-triage android + ios a Kotlin Multiplatform app crashes, hangs or is killed on Android or iOS — FATAL EXCEPTION, ANR, SIGABRT, SIGSEGV, EXC_BAD_ACCESS, EXC_BREAKPOINT, "Uncaught Kotlin…
kmp-flaky-test-triage android + ios a Kotlin Multiplatform test is flaky — passes and fails without code changes, fails only on CI, only on iOS or Kotlin/Native, only with the whole suite or in another…
mobile-bug-fix android + ios asked to fix a bug, defect, regression or issue in a Kotlin Multiplatform (Android + iOS) app — "fix this bug", "this broke after the update", wrong data on screen, a…

Performance

Skill Platforms Use it when
mobile-performance-fix android + ios a Kotlin Multiplatform (Android + iOS) app is slow, laggy or janky, drops frames while scrolling, starts slowly, keeps a loader spinning after a tap, freezes (ANR, iOS…

Review

Skill Platforms Use it when
kmp-code-review android + ios asked to review local Kotlin Multiplatform, Kotlin, Compose or Swift changes before opening a pull request — "review my changes", "review this branch", "pre-PR review"…
kmp-module-health android + ios asked to audit, health-check or assess a Kotlin Multiplatform module or library before a release, refactor or handover - platform imports leaking into commonMain…
mobile-platform-parity android + ios a change touches only one platform of a Kotlin Multiplatform app — androidMain, iosMain, Swift or SwiftUI, an Android or iOS host app — or when Android and iOS behave…
mobile-security-review android + ios reviewing a Kotlin Multiplatform, Android or iOS app or change for security — API keys or secrets in source, BuildConfig or Info.plist, tokens or PII in logs, cleartext…

Plan and implement

Skill Platforms Use it when
mobile-feature-implement android + ios an approved feature plan for a Kotlin Multiplatform (Android + iOS) app must be executed - "implement the plan", "build docs/plans/notes-search.md", "start phase 1"…
mobile-feature-plan android + ios a Kotlin Multiplatform (Android + iOS) feature request, ticket, user story or Figma link needs a written plan before code is written - "plan this feature", "write a…

Release and CI

Skill Platforms Use it when
kmp-ci-github-actions android + ios setting up, fixing or speeding up GitHub Actions CI for a Kotlin Multiplatform (Android + iOS) project - .github/workflows YAML, "add CI", macos-latest, macos-26 or…
mobile-release android + ios versioning or shipping a Kotlin Multiplatform app or shared library to Google Play and the App Store - "cut a release", "bump the version", versionCode, versionName…

Migration

Skill Platforms Use it when
android-to-kmp-migration android + ios an existing Android app (Kotlin, Jetpack, Views or Compose) should share code with iOS through Kotlin Multiplatform - "migrate to KMP", "add iOS to our Android app"…

Tooling

Skill Platforms Use it when
kmp-dev-machine-cleanup android + ios a macOS machine used for Kotlin Multiplatform, Android or iOS development is slow, swapping, or out of disk - "Mac is slow", "free RAM", "free disk space", "clean…

35 skills. Generated by scripts/sync_manifests.py; do not edit by hand.

Agents (Claude Code only)

Agent What it does
kotlin-reviewer Read-only reviewer for Kotlin, Compose and Gradle changes. Returns one JSON finding per line.
swift-reviewer Read-only reviewer for Swift and SwiftUI changes, including code that calls into the shared KMP framework.

Every other agent gets the same review through the kmp-code-review skill.

How the skills behave

  • They follow your project, not ours. Every skill that writes code starts by reading your build
    files, module layout and existing code. If you use Hilt, SQLDelight, Decompose or your own MVI base
    class, the skill writes code in that style. Defaults (Compose Multiplatform, Koin, Ktor +
    kotlinx.serialization, Room KMP, Kermit/Napier, kotlin.test + fakes + Turbine) are used only for a
    new project or a module with no precedent.
  • Both platforms, every time. A change is not done until it compiles and its tests pass for
    Android and iOS. Skills report each check as PASS, FAIL or NOT RUN (with the reason, e.g.
    "iOS link needs macOS") and never claim a check they did not run.
  • Measure before fixing. Debug and performance skills collect evidence (stack traces, traces,
    profiler numbers) before proposing a change, and re-measure after.
  • They ask before anything risky. Deleting files, rewriting git history, touching signing or
    keystores, pushing, or opening a PR always waits for your go-ahead.

Works well with

These packs cover native-platform topics in depth. This repo links to them rather than copying them.

Pack Covers License
android/skills Official Android: ANR, profiler, Compose performance, Navigation 3, R8, XML→Compose, security Apache-2.0
Kotlin/kotlin-agent-skills Official Kotlin: AGP 9 migration for KMP, CocoaPods→SPM, Kotlin/Native build performance Apache-2.0
chrisbanes/skills Kotlin API design, coroutines/Flow, Compose state, Compose UI testing, Gradle Apache-2.0
Meet-Miyani/compose-skill Compose Multiplatform architecture, UI, data, platform MIT
skydoves/compose-performance-skills Compose stability, Baseline Profiles, Macrobenchmark Apache-2.0
AvdLee/SwiftUI-Agent-Skill SwiftUI state, composition, performance MIT
twostraws/SwiftUI-Agent-Skill SwiftUI review and modern APIs MIT
AvdLee/Swift-Concurrency-Agent-Skill Swift concurrency MIT
CharlesWiltgen/Axiom iOS crash symbolication, memory and performance audits MIT

docs/using-with-other-skill-packs.md explains which Android
skills are safe to apply to shared KMP code and which only apply to the Android host app.

Repository layout

skills/<skill-name>/SKILL.md   one skill per folder (+ references/, scripts/, assets/)
agents/                        Claude Code subagents
evals/<skill>-trigger/         claude plugin eval cases: does a realistic prompt load the skill?
docs/                          authoring guide and guides for using other packs alongside
scripts/                       validate, sync manifests, scaffold evals, run tests
.claude-plugin/ .codex-plugin/ .cursor-plugin/ .agents/plugins/ plugin.json gemini-extension.json
                               install manifests for each agent family

Contributing

New skills, fixes and better examples are welcome. Read CONTRIBUTING.md and the
skill authoring guide first. Before opening a PR:

python3 scripts/validate_skills.py --strict
python3 scripts/sync_manifests.py --check
python3 scripts/run_tests.py

Security

Skills can run scripts on your machine through your agent. Read a skill before installing it, from
here or anywhere else. Report a vulnerability privately as described in SECURITY.md.

License

Apache License 2.0. See NOTICE and THIRD_PARTY_NOTICES.md.

This project is community-maintained and is not affiliated with or endorsed by JetBrains, Google,
Apple, Anthropic, OpenAI or any other company whose products it mentions. Product names are
trademarks of their respective owners.

Yorumlar (0)

Sonuc bulunamadi