kmp-versions

Solid

Skill for resolving the correct, compatible set of versions for a Kotlin Multiplatform project. Instructs the AI to always fetch live version data from the official compatibility matrix instead of relying on its training data. Covers Kotlin/KGP, CMP, AGP, Gradle, and key library versions.

AI & Automation 4 stars 0 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
23
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# KMP Version Compatibility Skill > **CRITICAL — AI VERSIONING WARNING** > > AI models have a training data cutoff and **will hallucinate stale or incompatible version > numbers** for KMP projects if asked from memory. This skill exists to override that behavior. > > **You MUST follow the protocol below every time versions are needed for a KMP project.** > Never generate a `libs.versions.toml` from memory alone. --- ## Protocol: How to Resolve Versions When setting up or updating a KMP project, **always fetch live version data** using this exact sequence. Do not skip steps. ### Step 1 — Fetch the official KGP compatibility matrix Read this page to get the current Kotlin / Gradle / AGP compatibility table: ``` https://kotlinlang.org/docs/multiplatform/multiplatform-compatibility-guide.html ``` Extract the latest **stable** Kotlin version and its **maximum supported AGP and Gradle** versions. ### Step 2 — Confirm Compose Multiplatform version Read the CMP releases page to find the latest stable CMP version compatible with the Kotlin version from Step 1: ``` https://www.jetbrains.com/help/kotlin-multiplatform-dev/whats-new-compose.html ``` Or check the plugin portal for the latest published version: ``` https://plugins.gradle.org/plugin/org.jetbrains.compose ``` ### Step 3 — Confirm AGP version Check the Android Gradle Plugin release notes for the latest stable version: ``` https://developer.android.com/build/releases/gradle-plugin ``` Cross-check that the chose...

Details

Author
iammohdzaki
Repository
iammohdzaki/kmp-skills
Created
1 months ago
Last Updated
2 days ago
Language
PowerShell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Listed

kmp-cmp-architecture

Guidance for architecting, structuring, and building Kotlin Multiplatform (KMP) and Compose Multiplatform (CMP) projects — module/source-set layout, Clean Architecture + MVI, dependency injection (Koin vs Hilt), local persistence (SQLDelight vs Room), Gradle version catalogs, and Android Gradle Plugin (AGP) 9.x migration for KMP modules. Use this skill whenever the user is setting up a new KMP or CMP project, structuring a shared module, choosing between Koin/Hilt or SQLDelight/Room, writing expect/actual code, debugging Gradle/AGP/KSP build errors in a multiplatform project, or upgrading AGP versions in a project that uses the Kotlin Multiplatform plugin — even if they don't say "Kotlin Multiplatform" explicitly and just mention "shared module", "commonMain", "iOS + Android app", or paste a KMP-related Gradle error.

0 Updated 1 weeks ago
depezo
AI & Automation Solid

kmp-mvi-setup

Interactive skill for scaffolding a complete Kotlin Multiplatform (KMP) project using MVI architecture. Covers State/Event/Effect pattern, Compose Multiplatform, DI, type-safe navigation, and image loading. Asks user for preferences before generating any code.

4 Updated 2 days ago
iammohdzaki
AI & Automation Solid

kmp-project-structure

Reference skill for the new recommended KMP project structure (2026+). Covers the shift from the old single-module composeApp layout to the new multi-module shared/ + androidApp/ + desktopApp/ structure required for AGP 9.0+. Includes full file and Gradle configuration for both old and new layouts.

4 Updated 2 days ago
iammohdzaki