
kotlin-multiplatform
Platform abstraction decision-making for Amethyst KMP project
by vitorpamplonaFree
Description
kotlin-multiplatform is an agent skill that guides platform abstraction decisions in the Amethyst Kotlin Multiplatform project. It helps you decide what to share across platforms and what to keep platform-specific, including whether to introduce an expect and actual declaration or keep code Android-only. It also covers where code should live in the source sets, such as commonMain or jvmAndroid, and when a piece of code is in the wrong module. Typical questions it answers include whether a ViewModel's logic can be shared, where crypto, JSON or network implementations belong, and whether code that uses the Android Context can be abstracted. The skill is also useful when preparing for iOS, web or wasm targets.…
Highlights
- Platform abstraction decisions
- expect and actual guidance
- Source set placement
- Decision tree for sharing code
- Preparation for iOS, web and wasm
Ratings & Reviews
No ratings yet
Be the first to rate kotlin-multiplatform.
People also visit
kotlin-multiplatform FAQ
What does kotlin-multiplatform do?
It helps decide what Kotlin code to share across platforms in the Amethyst project, and where it belongs.
How do I install it?
Run npx skills add https://github.com/vitorpamplona/amethyst --skill kotlin-multiplatform.
Does it cover source sets?
Yes. It guides placement in source sets such as commonMain and jvmAndroid.
Is it safe to install?
Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass.
What are the best kotlin-multiplatform alternatives?
Popular alternatives to kotlin-multiplatform include kotlin-specialist, compose-multiplatform-patterns and kotlin-tooling-agp9-migration. See all kotlin-multiplatform alternatives






