kotlin-native-apple-interop
Installation
SKILL.md
Kotlin/Native Apple interop
Step 1: Establish direction and artifact
- DEFINE export Kotlin framework | XCFramework | Xcode integration | import Objective-C/C | pure Swift workaround | API mapping | memory/error issue | compatibility migration.
- IDENTIFY framework-producing KMP module, Apple targets/architectures, Kotlin/Xcode/Swift/Gradle versions, deployment targets, static/dynamic choice, integration/distribution method, imported native libraries, and Swift/Objective-C consumers.
- READ the current Swift/Objective-C interop, Apple framework, and native import stability pages before API/toolchain changes.
- REQUIRE macOS and a supported Xcode for Apple linking, cinterop, and Swift verification. On other hosts, finish static configuration checks and mark artifact/runtime behavior unverified.
- ROUTE SKIE-specific suspend/Flow/enum/sealed transformations to
skie; keep this skill on compiler-native Objective-C bridge behavior.
Completion: direction, module, targets, artifact, consumer, distribution, deployment floor, and compatible toolchain are explicit.
Step 2: Inspect configuration and exported API
RUN from repository root:
python3 scripts/inspect-project.py --root . --json