Kotlin Multiplatform: expect/actual boundaries Core principle Keep common APIs semantic and stable. Put platform mechanics behind small expect / actual declarations or interfaces, and keep Android/iOS/Desktop details out of commonMain . When to use this skill Use this when common code needs: Permissions, settings, intents, share sheets, deep links, haptics, biometrics, or clipboard. Files, paths, clocks, locale, network reachability, sensors, crypto, media, maps, camera, native SDKs, or platform services. Native platform views, controllers, or Compose Multiplatform interop. Different implementation details on Android, iOS, Desktop, or Wasm while preserving one shared call site. A decision between expect/actual , dependency injection, interfaces, or separate platform code. Choose the boundary Show more Installs 481 Repository chrisbanes/skills GitHub Stars 748 First Seen May 12, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
kotlin-multiplatform-expect-actual
安装
npx skills add https://github.com/chrisbanes/skills --skill kotlin-multiplatform-expect-actual