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.
Install
npx skills add vitorpamplona/amethyst --skill kotlin-multiplatformnpx skills add vitorpamplona/amethyst --skill kotlin-multiplatform -a claude-code -gnpx skills add vitorpamplona/amethyst --skill kotlin-multiplatform -a codex -ggemini skills install https://github.com/vitorpamplona/amethyst.git --path .claude/skills/kotlin-multiplatformgh skill install vitorpamplona/amethyst kotlin-multiplatformgit clone --depth 1 https://github.com/vitorpamplona/amethyst /tmp/vitorpamplona__amethyst
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/vitorpamplona__amethyst/.claude/skills/kotlin-multiplatform ~/.claude/skills/kotlin-multiplatform # Claude Code
cp -R /tmp/vitorpamplona__amethyst/.claude/skills/kotlin-multiplatform ~/.agents/skills/kotlin-multiplatform # Codex, Cursor, Gemini CLI, Copilot, OpenCode