kotlin-multiplatform

Create and manage Kotlin Multiplatform projects with shared business logic and Compose UI.

88|22|Updated Dec 17, 2025
One-click install
npx skills add https://github.com/travisjneuman/.claude --skill kotlin-multiplatform-travisjneuman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-multiplatform
Source: https://github.com/travisjneuman/.claude/tree/main/skills/kotlin-multiplatform
Command: npx skills add https://github.com/travisjneuman/.claude --skill kotlin-multiplatform-travisjneuman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the development of cross-platform applications by enabling shared business logic and UI across multiple platforms (Android, iOS, desktop, web) using Kotlin.

Core Features & Use Cases

  • Shared Business Logic: Write core logic once in Kotlin and use it across all target platforms.
  • Compose Multiplatform: Develop a single UI codebase for Android, desktop, and web.
  • Platform-Specific Implementations: Utilize expect/actual for platform-tailored code.
  • Use Case: Develop a mobile app with shared networking, data storage, and business rules for both Android and iOS, while also targeting desktop and web with a unified UI.

Quick Start

Use the kotlin-multiplatform skill to create a new KMP project with shared Compose UI and Ktor networking.

Frequently Asked Questions about kotlin-multiplatform

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I share business logic across Android and iOS using Kotlin?

Share business logic across Android and iOS by writing core Kotlin code once and targeting multiple platforms. This approach uses Kotlin Multiplatform to manage shared networking, data storage, and rules alongside platform-specific implementations.

Can I build a single UI codebase for Android, desktop, and web?

Yes, you can build a single UI codebase for Android, desktop, and web using Compose Multiplatform. This framework allows you to develop unified user interfaces while maintaining shared business logic across all target platforms.

How does Kotlin Multiplatform handle platform-specific code?

Kotlin Multiplatform handles platform-specific code using expect/actual declarations. This mechanism lets you define expected functions in shared code and provide actual tailored implementations for each target platform like Android or iOS.

What libraries work with Kotlin Multiplatform for networking and data storage?

Kotlin Multiplatform supports common libraries like Ktor for networking and SQLDelight for data storage. You can also use Coroutines to manage asynchronous programming within your shared cross-platform business logic.

Is Kotlin Multiplatform suitable for targeting desktop and web alongside mobile apps?

Yes, Kotlin Multiplatform is suitable for targeting desktop and web alongside mobile apps. You can develop a mobile app for Android and iOS while simultaneously expanding your unified UI codebase to desktop and web platforms.

What is the best way to start a cross-platform Kotlin project with shared UI?

The best way to start a cross-platform Kotlin project is to set up a Kotlin Multiplatform project with shared Compose UI and Ktor networking. This establishes a unified foundation for your business logic and user interface across platforms.