kotlin-multiplatform
Installation
SKILL.md
Kotlin Multiplatform
Step 1: Define the sharing contract
- DEFINE new project | target/source-set change | shared API | expect/actual | dependency | test | publication | migration | resolution failure.
- IDENTIFY products/modules, target platforms/architectures/environments, shared behavior, platform integrations, host matrix, publication consumers, Kotlin/Gradle/AGP/Xcode versions, and existing hierarchy/convention plugins.
- READ the current KMP start page, project structure, and compatibility guide before target or version changes.
- PRESERVE existing module boundaries, hierarchy template, target names, source-set names, publication coordinates, and integration methods unless the request changes them.
- ROUTE compiler/cache/toolchain mechanics to
kotlin-gradle; Apple framework/Objective-C boundaries tokotlin-native-apple-interop; source behavior tokotlin-development.
Completion: target matrix, host matrix, shared boundary, module owners, publication consumers, and version tuple are explicit.
Step 2: Inspect project structure
RUN from repository root:
python3 scripts/inspect-project.py --root . --json