kotlin-multiplatform-library-fundamentals

Community

Scaffold production-ready KMP libraries

AuthorKrystianYCSilva
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a reproducible workflow and scaffolding for creating robust Kotlin Multiplatform libraries that are compatible with JVM (Java 8), iOS, and JavaScript and that enforce a stable, explicit API surface to avoid cross-platform integration issues.

Core Features & Use Cases

  • Project scaffolding: Automates creation of conventional source sets and a preconfigured build.gradle.kts to jumpstart a new KMP module.
  • Build and API guidance: Prescribes explicit API mode, JVM toolchain set to Java 8, and multi-target definitions to maintain binary compatibility and consistent artifacts.
  • iOS interoperability advice: Practical guidance to avoid common pitfalls when exposing Kotlin APIs to Swift/Objective-C, including handling generics, sealed classes, and suspend functions.
  • Use Case: Use this Skill when you need to deliver a shared utility or SDK that must integrate with legacy JVM applications and native iOS and JS consumers without runtime or ABI surprises.

Quick Start

Run the scaffolding script to create a new KMP module and then inspect the generated build configuration and source sets.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-library-fundamentals
Download link: https://github.com/KrystianYCSilva/math-theory-lib/archive/main.zip#kotlin-multiplatform-library-fundamentals

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 471,000+ vetted skills library on demand.