compose-multiplatform
Installation
SKILL.md
Compose Multiplatform
Step 1: Define the shared UI contract
- DEFINE new app/screen | target addition | shared UI migration | state/recomposition | resources/localization | lifecycle/ViewModel | navigation | native interop | accessibility | UI test | preview/hot reload | packaging | platform bug.
- IDENTIFY products/modules, Android/iOS/desktop/JS/Wasm targets, minimum OS/browser/JDK, shared versus native UI, platform entry points, window/safe-area/input behavior, state owner, navigation owner, resources, accessibility contract, host matrix, and distribution artifacts.
- READ the current Compose Multiplatform overview, compatibility table, and destination release notes before setup or upgrade.
- PRESERVE existing module/source-set boundaries, design system, state/event contract, navigation routes, resource IDs, platform shells, and distribution identifiers unless the request changes them.
- ROUTE Android BLE inspector/diagnostic surfaces to
android-ble-inspector, generic KMP targets/hierarchy/publication tokotlin-multiplatform, compiler/toolchain/cache mechanics tokotlin-gradle, Kotlin behavior tokotlin-development, and Swift framework/device deployment tokotlin-native-apple-interop/xtool.
Completion: target/host matrix, shared UI boundary, platform shells, state/navigation ownership, accessibility behavior, and proof surfaces are explicit.
Step 2: Inspect the project and version tuple
RUN from the target repository root:
python3 scripts/inspect-project.py --root . --json