kmp-versionslisted
Install: claude install-skill iammohdzaki/kmp-skills
# 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