$npx skillfedfor your agent

kotlin-multiplatform

This skill equips you to develop applications that run seamlessly across multiple platforms—Android, iOS, desktop, and web—by leveraging shared Kotlin codebases. Learn to structure projects for maximum code reuse while handling platform-specific implementations efficiently. Master the patterns and tools that make Kotlin Multiplatform a practical choice for teams building truly portable applications.

kotlin-multiplatform (KMP) equips you to develop applications running seamlessly across Android, iOS, desktop, and web by leveraging shared Kotlin codebases. It lets you write business logic once and reuse it across platforms while handling platform-specific implementations efficiently, reducing duplication and maintenance overhead.

AI-generated summary based on this skill's SKILL.md

85 20 MITupdated by travisjneuman

Decision gist · record as of 2026-07-17

kotlin-multiplatform (KMP) equips you to develop applications running seamlessly across Android, iOS, desktop, and web by leveraging shared Kotlin codebases. It lets you write business logic once and reuse it across platforms while handling platform-specific implementations efficiently, reducing duplication and maintenance overhead.

manual: git clone https://github.com/travisjneuman/.claude → cp -r .claude/skills/kotlin-multiplatform ~/.claude/skills/kotlin-multiplatform
skills/kotlin-multiplatform/SKILL.md · version b33bef84

Use it when

  • kotlin-multiplatform project setup involves organizing code into shared modules containing business logic and platform-specific modules.
  • The expect/actual pattern in kotlin-multiplatform lets you declare platform-agnostic interfaces (expect) in shared code.

Verify before relying

Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

travisjneuman/.claude/kotlin-multiplatform · repository language: JavaScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is kotlin-multiplatform and how does it enable cross-platform development?

kotlin-multiplatform (KMP) equips you to develop applications running seamlessly across Android, iOS, desktop, and web by leveraging shared Kotlin codebases. It lets you write business logic once and reuse it across platforms while handling platform-specific implementations efficiently, reducing duplication and maintenance overhead.

How do you set up a kotlin-multiplatform project with shared business logic?

kotlin-multiplatform project setup involves organizing code into shared modules containing business logic and platform-specific modules for UI and native integrations. You define common interfaces in the shared layer, then implement platform-specific variants. This structure maximizes code reuse while keeping platform-specific concerns isolated and maintainable.

What is the expect/actual pattern in kotlin-multiplatform?

The expect/actual pattern in kotlin-multiplatform lets you declare platform-agnostic interfaces (expect) in shared code, then provide platform-specific implementations (actual) for each target. This enables kotlin-multiplatform to handle differences between Android, iOS, desktop, and web without duplicating business logic or cluttering shared modules.

Can you use Compose Multiplatform for shared UI across multiple platforms?

Yes. Compose Multiplatform (CMP) lets kotlin-multiplatform projects share UI code across Android, iOS, desktop, and web using Kotlin and Jetpack Compose. This reduces UI duplication significantly, though platform-specific customizations remain possible when needed for optimal user experience on each target.

How do kotlin-multiplatform, Ktor, SQLDelight, and coroutines work together?

kotlin-multiplatform integrates Ktor for cross-platform HTTP networking, SQLDelight for local storage, and coroutines for async operations—all sharing code across platforms. This combination lets you build complete multiplatform applications with consistent networking, persistence, and concurrency patterns without rewriting for each platform.

What are kotlin-multiplatform best practices for building portable applications?

kotlin-multiplatform best practices include: structure projects with clear shared/platform layers, use expect/actual judiciously for minimal platform code, leverage established libraries like Ktor and SQLDelight, write testable business logic in shared modules, and keep UI platform-specific unless using Compose Multiplatform. This approach maximizes code reuse and maintainability.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Kotlin Multiplatform Skill

Shared business logic and optional shared UI across Android, iOS, desktop, and web.


Project Structure

``` project/ ├── composeApp/ # Shared Compose UI (if using CMP) │ └── src/ │ ├── commonMain/ # Shared UI code │ ├── androidMain/ # Android-specific UI │ ├── iosMain/ # iOS-specific UI │ └── desktopMain/ # Desktop-specific UI ├── shared/ # Shared business logic (KMP) │ └── src/ │ ├── commonMain/ # Shared code │ │ └── kotlin/ │ │ ├── data/ # Repositories, data sources │ │ ├── domain/ # Use cases, models │ │ └── platform/ # expect declarations │ ├── androidMain/ # actual implementations │ ├── iosMain/ # actual implementations │ └── commonTest/

(truncated - see the full file via the links below)

File tree — 1 file
skills/kotlin-multiplatform/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Build cross-platform apps sharing Kotlin code across Android, iOS, desktop, web”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

kotlin-multiplatform
by vitorpamplona · vitorpamplona/amethyst

Kotlin Multiplatform lets you write business logic once and deploy it across Android, iOS, web, and desktop targets. This skill helps you evaluate the trade-offs between code sharing and platform-specific optimization, ensuring your architecture decisions align with your project's performance and maintenance goals.

MITfor claude-codeupdated Jul 2026
★ 1,565repo stars
android-development
by travisjneuman · travisjneuman/.claude

Master Android development using Kotlin and Jetpack Compose for declarative UI building. Learn clean architecture patterns, dependency injection with Hilt, Room database integration, and Retrofit API calls across phones, tablets, TV, Wear OS, and Android Auto.

MITupdated Jul 2026
★ 85repo stars
android-clean-architecture
by affaan-m · affaan-m/ECC

Learn to organize Android and KMP projects using Clean Architecture principles, including module boundaries, dependency inversion, and layered data flow. Covers UseCase and Repository patterns, database integration with Room and SQLDelight, network clients with Ktor, and dependency injection setup with Koin or Hilt.

MITupdated Jul 2026
★ 234,207repo stars
software-mobile
by vasilyu1983 · vasilyu1983/AI-Agents-public

Access a curated library of AI agent prompts and coding skills designed to accelerate mobile app development across iOS and Android platforms. Whether you're working with native frameworks or cross-platform solutions, these production-ready skills integrate with ChatGPT, Claude, and other leading AI coding agents to streamline your workflow.

MITupdated Jul 2026
★ 69repo stars
compose-multiplatform-patterns
by affaan-m · affaan-m/ECC

Master patterns for building shared UI with Compose Multiplatform and Jetpack Compose across multiple platforms. Covers state management with ViewModels, type-safe navigation, reusable composable design, platform-specific implementations, and recomposition optimization.

MITupdated Jul 2026
★ 234,207repo stars
android-development
by CoWork-OS · CoWork-OS/CoWork-OS

Master Android app development with modern tools and frameworks. This skill equips you to write production-ready mobile applications using Kotlin's concise syntax and Jetpack Compose's declarative UI toolkit. Streamline your workflow from project setup through deployment on CoWork OS.

MITupdated Jul 2026
★ 406repo stars

More skills kotlin-expert (Apache-2.0) · compose-expert (MIT) · Software Mobile (unlicensed) · Compose Expert (NOASSERTION)

Tags
cross-platform-devcode-sharingkotlin-nativemobile-desktop-webplatform-abstractionexpect-actual-patternshared-ui-frameworkswift-kotlin-bridgemultiplatform-testingkotlin-ecosystem