travisjneuman avatar

Kotlin Multiplatform

This is for building cross-platform Kotlin apps that share business logic (and optionally UI) across Android, iOS, desktop, and web. You get expect/actual for platform-specific bits, Ktor for networking, SQLDelight for local storage, and Compose Multiplatform if you want shared UI. The approach is pragmatic: share what makes sense (repositories, models, API calls) and go native where it matters. It's less magic than Flutter, more type-safe than React Native, and lets you write Kotlin everywhere. Best for teams already invested in Kotlin or building apps where business logic complexity justifies the shared code overhead.

skills.sh installs
180
GitHub stars
108
last updated
Aug 21, 2026

Install

$ npx -y skills add travisjneuman/.claude --skill kotlin-multiplatform --agent claude-code

Installs into .claude/skills of the current project.

Files

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/            # Shared tests
├── androidApp/                    # Android entry point
├── iosApp/                        # iOS entry point (Xcode project)
├── build.gradle.kts
└── settings.gradle.kts

expect/actual Pattern

Sponsors

Details

Repository
github.com/travisjneuman/.claude
Categories
Mobile Development, Java & JVM
First seen
Jun 3, 2026

More from travisjneuman/.claude

All 33
1proffesor-for-testing avatarmobile-testingproffesor-for-testing/agentic-qeComprehensive mobile testing for iOS and Android platforms including gestures, sensors, permissions, device fragmentation, and performance. Use when testing nat172skills.sh installs
2awesome-skills avatarMobile App Design Standardsawesome-skills/mobile-app-designThis skill should be used when the user asks to "design mobile UI", "review app design", "check UI guidelines", "improve app UX", "design React Native interface0skills.sh installs
3EvanBacon avatarexpo-modulesEvanBacon/apple-healthBuilding great Expo native modules for iOS and Android. Views, APIs, Marshalling, Shared Objects, Expo Documentation, Verifying Expo modules.0skills.sh installs
4hypnguyen1209 avatarmobile-pentesthypnguyen1209/offensive-claudeMobile application penetration testing — Android/iOS static/dynamic analysis, Frida instrumentation, SSL pinning bypass, root/jailbreak detection bypass, deep-l0skills.sh installs
5telagod avatardeveloping-mobile-appstelagod/code-abyssMobile development knowledge reference covering iOS (SwiftUI), Android (Jetpack Compose), React Native, and Flutter. Use when building mobile apps, working with0skills.sh installs
6dpearson2699 avatarios-networkingdpearson2699/swift-ios-skillsBuild, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns. Use when worki4.6Kskills.sh installs