kotlin-multiplatform-expect-actual

Community

Keep cross-platform APIs clean with expect/actual.

Authorchrisbanes
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Design clean, stable cross-platform boundaries in Kotlin Multiplatform projects using expect/actual declarations or interfaces, preventing leakage of platform specifics into shared code.

Core Features & Use Cases

  • Establish clear division between commonMain APIs and platform-specific actual implementations.
  • Guide when to use expect/actual vs common interfaces, and how to structure dependency bindings across modules.
  • Provide guidance for interop scenarios across Android, iOS, Desktop, and Wasm, including permissions, files, and settings.

Quick Start

Describe a boundary strategy for a Kotlin Multiplatform module using expect/actual across Android and iOS.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: kotlin-multiplatform-expect-actual
Download link: https://github.com/chrisbanes/skills/archive/main.zip#kotlin-multiplatform-expect-actual

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.