shekhar23/claude-zero-to-hero-android-kmp/android-kmp-shared-module
Claude Code and agent skill by shekhar23/claude-zero-to-hero-android-kmp
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
KMP shared module setup — expect/actual, commonMain/androidMain/iosMain source sets, what belongs in shared vs platform. Use when adding KMP support, creating a shared module, splitting Android code for multiplatform, or working with expect/actual declarations. Trigger on: "KMP", "multiplatform", "shared module", "commonMain", "expect/actual", "iOS shared", "kotlin multiplatform".
Install
npx vskill@latest install shekhar23/claude-zero-to-hero-android-kmp/android-kmp-shared-moduleSKILL.md
KMP Shared Module
Gradle setup (build.gradle.kts)
What belongs in commonMain
| Put in shared | Keep platform-specific | |
|---|---|---|
| Domain models | Android Context usage | |
| Repository interfaces | Room / SQLDelight Android config | |
| Use cases | Compose UI | |
| Ktor HTTP client calls | Android permissions | |
kotlinx.serialization DTOs | Platform file paths | |
kotlinx.coroutines flows | Firebase (Android only) | |
| Feature flag interfaces | Play Billing |
expect / actual pattern
Repository interface in shared, impl per platform
Checklist
- [ ] No
android.*imports incommonMain - [ ]
expect/actualonly for truly platform-divergent behaviour - [ ] Coroutines and serialization come from KMP-compatible artifacts
- [ ] Ktor engine injected per platform (OkHttp / Darwin)
- [ ] Domain models are plain Kotlin data classes — no Android annotations
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/android-kmp-shared-module/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shekhar23/claude-zero-to-hero-android-kmp/android-kmp-shared-module)