kotlin-multiplatform-libraries-expert
Skill108 starsChanged 4 months agoApache-2.0View on GitHub
Use when the user asks to discover, compare, upgrade, audit, or add Kotlin Multiplatform (KMP) libraries; needs latest/stable Maven or Gradle coordinates; or needs verified KMP target/platform support. Query klibs.io or its MCP server before answering when version or target accuracy matters. Do not use for general Kotlin language help, KMP project setup, Gradle troubleshooting, or Android-only dependency questions unless KMP library metadata is needed.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- frontend/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use klibs.io as the primary authority for Kotlin Multiplatform library discovery and version selection.
- Very specific: line 28
Treat klibs.io as the source of truth for versions and KMP support.
- Very specific: line 30
Prefer exact coordinates from MCP or klibs.io/package/… pages over guesses from README snippets.
- Distinctive: line 31
If only a project page is available, use it to identify the project, then locate the package page for coordinates.
- Very specific: line 32
If a library is not on klibs.io, say so — do not present an unverified version as fact.
- Distinctive: line 33
When the user asks for "latest", include the version number and release date if available.
- Very specific: line 34
When comparing libraries, compare only those klibs.io shows as KMP-capable for the required targets.
- Distinctive: line 57
Prefer MCP over web page lookups — it returns structured data and is faster.
- Very specific: line 91
If klibs.io does not contain the library: state it could not be verified, do not invent a version, and offer to search for an alternative …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
KMP Klibs Version Guide
Use klibs.io as the primary authority for Kotlin Multiplatform library discovery and version selection.
When To Use
- User asks for the latest stable version of a KMP library
- User wants Gradle coordinates for a KMP dependency
- User asks which KMP library to choose for a capability (storage, networking, logging, DI, database, UI, etc.)
- User wants to upgrade KMP dependencies or verify target support (iOS, Android, JVM, JS, Wasm, Kotlin/Native)
- User asks for KMP library recommendations where version accuracy matters
When Not To Use
- User asks for general Kotlin, Compose Multiplatform, Android, Gradle, or build troubleshooting that does not require library discovery, versions, coordinates, or target support
- User asks how to configure a KMP project without choosing or validating third-party libraries
- User asks about Android-only or JVM-only dependencies and does not need KMP support verified
- User wants implementation guidance for a library already chosen and current dependency metadata is irrelevant
- User asks about publishing, indexing, or contributing to
klibs.ioitself rather than choosing a KMP library
Core Rules
- Treat
klibs.ioas the source of truth for versions and KMP support. - Recommend the newest stable release unless the user explicitly wants prereleases (alpha, beta, rc, eap, etc.).
- Prefer exact coordinates from MCP or
klibs.io/package/…pages over guesses from README snippets. - If only a project page is available, use it to identify the project, then locate the package page for coordinates.
- If a library is not on
klibs.io, say so — do not present an unverified version as fact. - When the user asks for "latest", include the version number and release date if available.
- When comparing libraries, compare only those
klibs.ioshows as KMP-capable for the required targets.
Data Sources
MCP (preferred)
klibs.io exposes an MCP server with two operations:
- Search projects — find KMP projects by keywords, platforms/targets, and Kotlin version. Returns project name, author, platforms, targets, packages (groupId, artifactId, description), and README.
- Get latest version — retrieve latest and latest stable versions for a
groupId:artifactId. Returns version, build tool, build tool version, and Kotlin version.
MCP config:
{
"mcpServers": {
"klibs": {
"url": "https://api.klibs.io/mcp"
}
}
}Prefer MCP over web page lookups — it returns structured data and is faster.
Web pages (fallback)
- Project page:
https://klibs.io/project/<owner>/<project>— summary, tags, platform families, latest release, repo links. - Package page:
https://klibs.io/package/<group>/<artifact>— exact coordinates, latest release, release date, version history, target matrix, Gradle snippets, Kotlin/build tool version.
Lookup Sequence
- Normalize —
group:artifact→ package lookup; project name → project lookup; capability → search. - Choose method — use MCP tools if available, otherwise browse web pages.
- Check targets — confirm the library supports the user's required targets.
- Get version — capture exact version and release date. MCP returns both latest and latest stable directly; on web pages check version history if needed.
- Capture install details — prefer Gradle Kotlin snippet.
- Respond with verified data and a
klibs.iolink.
Response Format
For version questions:
Latest stable: <group>:<artifact>:<version>
Source: <klibs.io link>
Released: <date if available>
Targets: <relevant targets>
Gradle Kotlin:
implementation("<group>:<artifact>:<version>")For recommendations: keep the shortlist short, explain target fit, include only verified versions.
Failure Mode
If klibs.io does not contain the library: state it could not be verified, do not invent a version, and offer to search for an alternative on klibs.io.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

