Kotlin Multiplatform

Platform abstraction decision-making for Amethyst KMP project. Guides when to abstract vs keep platform-specific, source set placement (commonMain, jvmAndroid, platform-specific), expect/actual patterns. Covers primary targets (Android, JVM/Desktop, iOS — all mature) with web/wasm as possible future targets. Integrates with gradle-expert for dependency issues. Triggers on: abstraction decisions ("should I share this?"), source set placement questions, expect/actual creation, build.gradle.kts work, incorrect placement detection, KMP dependency suggestions.

vitorpamplona c473298 7 files · 57.0 KB Updated

File contents

vitorpamplona/amethyst/tree/main/.claude/skills/kotlin-multiplatform commit c473298d07

Frequently asked questions

npx skillmds add vitorpamplona/kotlin-multiplatform