Kotlin Multiplatform Setup
Shares one Kotlin codebase across Android and iOS, with networking, a local database and tests that run on CI.
Claude's review
8/10 Concrete KMP setup with pinned versions, expect/actual, Ktor and SQLDelight, a JVM test and the AGP 9 plugin migration fix.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Kotlin Multiplatform (KMP) is JetBrains' technology for sharing Kotlin code between Android, iOS, web, and desktop applications while keeping the UI native on each platform. Use when a user asks to set up a KMP shared module, share business logic, networking or a data layer between Android and iOS, write expect/actual declarations, use Ktor or SQLDelight in commonMain, write a shared ViewModel, test shared code, or migrate a KMP project to Android Gradle Plugin 9.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: kotlin-multiplatform
description: >-
Kotlin Multiplatform (KMP) is JetBrains' technology for sharing Kotlin code
between Android, iOS, web, and desktop applications while keeping the UI
native on each platform. Use when a user asks to set up a KMP shared module,
share business logic, networking or a data layer between Android and iOS,
write expect/actual declarations, use Ktor or SQLDelight in commonMain, write
a shared ViewModel, test shared code, or migrate a KMP project to Android
Gradle Plugin 9.
license: Apache-2.0
compatibility: "Kotlin 2.4 on JDK 17 or newer; AGP 9.4 needs Gradle 9.6 or newer (AGP 9.0 needs 9.1). The Android target needs the Android SDK and AGP 9; building or testing iOS targets needs macOS with Xcode."
metadata:
author: terminal-skills
version: 1.1.0
category: development
tags: "kotlin, kmp, cross-platform, mobile, ios"
repository: https://github.com/JetBrains/kotlin
---
# Kotlin Multiplatform — Shared Business Logic for Mobile
## Overview
Kotlin Multiplatform (KMP) compiles one Kotlin codebase for Android, iOS, desktop (JVM) and web. Business logic, networking and the data layer live in a shared module; each platform keeps its own UI (or shares it too with Compose Multiplatform). Platform differences are isolated behind `expect`/`actual` declarations.
## Instructions
### Project Structure
Create the project with the Kotlin Multiplatform wizard in IntelliJ IDEA or Android Studio (New Project > Kotlin Multiplatform). Shared code and app entry points are separate modules:
```
tasklane/
├── shared/ # Kotlin Multiplatform module (build.gradle.kts below)
│ └── src/
│ ├── commonMain/kotlin/ # Platform-independent code
│ ├── commonMain/sqldelight/ # .sq files (SQLDelight)
│ ├── androidMain/, iosMain/, jvmMain/ # actuals per platform (iosMain comes from the default hierarchy)
│ └── jvmTest/kotlin/ # Tests that run on any machine
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
8/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
8/101 credit -
Checked
Compose Multiplatform UI
Builds one shared Compose UI in Kotlin for Android, iOS and desktop, so you write your screens once.
7/101 credit -
Checked
SwiftUI Mac app rules
Writes and debugs Swift 6 and SwiftUI code for Mac apps, fixing concurrency, state and common compiler errors.
7/101 credit