<< All versions

Skill v1.0.1

currentAutomated scan100/100
wrsilva/reis-mobile/mobile-kmp

+8 new

──Details
PublishedNovember 7, 2026 at 04:02 AM
Content Hashsha256:47b1bce677e7f8c7...
Git SHAeb1a50e45dab
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.8 KB)
SKILL.md2.8 KBactive
SKILL.md · 33 lines · 2.8 KB

name: mobile-kmp description: Works on Kotlin Multiplatform mobile projects with shared Kotlin source sets and Android/iOS targets. Use for architecture, tests, debugging, reviews, performance, security, accessibility, dependencies and releases when org.jetbrains.kotlin.multiplatform is applied; inspect actual targets, commonMain/commonTest, target source sets, Compose Multiplatform and the iOS framework/host app before giving platform advice. intents: [design, architecture, test, performance, review, debug, security, release, accessibility, migration, dependency, build, deployment] stacks: [kotlin-multiplatform] metadata: version: "1.0.1"


Kotlin Multiplatform

KMP is a sharing mechanism, not a promise that both apps use the same UI or SDK. Resolve the module and target graph before choosing Android, iOS or shared-code guidance.

QuestionRead
Which code and dependencies can be shared?references/source-sets.md
How does shared Kotlin reach the iOS app?references/apple-interop.md
Is UI shared with Compose Multiplatform or native on each target?references/compose-ui.md
Which build, measurement or release task applies?references/build-performance.md

Ground the answer

  1. Read settings.gradle.kts, the affected module's build.gradle.kts, version catalog and source-set directories. Record the configured targets; androidMain and iosMain are not proof that a target is built in CI.
  2. Trace a real symbol from commonMain through an interface or expect declaration to each configured implementation and its Android/iOS caller. Name the module, source set and owner at every boundary. For shared Compose UI, trace its host entry too.
  3. Match validation to the changed boundary: shared Kotlin tests on configured targets, target tests for actual implementations, and host UI/device tests for behavior that crosses into Android or iOS. A JVM test is not iOS coverage.
  4. Use the topic skill for the requested work. Use mobile-android or mobile-ios only for an affected host or target-specific implementation; do not apply native-app instructions blindly to commonMain.

The Kotlin Multiplatform source-set reference defines commonMain, commonTest and target compilations. Confirm DSL and task names in the project's installed Kotlin and Gradle versions.

Interface design

For UI/UX reviews, wireframes, design systems and screen redesigns, use mobile-ui-ux and its reference for this stack. For Apple targets, also consult its Apple design workflow; validate platform claims against current official guidance and the installed toolkit.

← v1.0.0All versions