kmp-agent-skills

Created and maintained by Ron Valdoz.
AI agent skills for Kotlin Multiplatform (KMP) development — clean module boundaries,
version catalogs, build-logic convention plugins, and explicit review loops before code is generated.
Built on the open Agent Skills format. All 80 skills verified
against the real skills-ref reference
validator — see docs/reference/agentskills-io-standards.md
for what was checked and how.
Main Use Cases
Start a new KMP project
Run /kmp-new-project with a natural language description. The agent asks for your group ID, project
name, and what the app does — then scaffolds a full multi-module KMP project with clean architecture,
a design system, and a ready-to-use .agents/ agent setup.
/kmp-new-project "A shopping app with auth, product listing, and orders"
The 9-step pipeline handles everything: module graph → clean-arch layers → Koin/Ktor/SQLDelight
wiring → design system → feature scaffolds → AGENTS.md tailored to your modules.
Set up agents in an existing project
Run /kmp-setup-agents in any existing KMP project. It reads your settings.gradle.kts and
libs.versions.toml, then generates a custom AGENTS.md routing table based on the libraries
and feature modules it finds.
/kmp-setup-agents
Writes: AGENTS.md (tailored skill routing), all consumer
commands (kmp-*.md), deployed skills, and a settings.json Bash allowlist.
Cross-agent repo policy
Downstream repos should keep canonical collaboration policy in:
Use docs/* for stable project design and ownership rules, and skills/* for
repo-local agent execution guidance. Keep AGENTS.md, CLAUDE.md, and GEMINI.md
thin and pointer-based instead of turning them into the only source of truth.
Audit an existing project
/kmp-run-audit
Runs audit_project.py across your project and produces per-finding remediation steps using
the relevant skill. Catches architecture boundary violations, missing Koin bindings, layer leaks,
hardcoded colors, and Material theme usage. See kmp-audit for what it checks.
Quick Start
npx skills add ronjunevaldoz/kmp-agent-skills
Then in Claude Code:
- New project →
/kmp-new-project <description>
- Existing project →
/kmp-setup-agents
- Audit →
/kmp-run-audit
- Implement a feature →
/kmp-implement-feature <name>
Start here: not sure which skill to use? Ask kmp-expert — it routes you
to the smallest relevant skill set.
Key Features
Auto-reporting — consumer side
Every consumer project running /kmp-run-audit or /kmp-harvest-lessons can now surface
issues back to this repo without leaving the terminal:
/kmp-run-audit Step 7: detects when a finding points to a skill gap (not just bad
consumer code) and prompts [y] Submit / [n] Skip / [v] View draft — submits via gh or
falls back to a browser URL
/kmp-harvest-lessons Step 6: after every harvest, each positive pattern that the
skills don't yet teach triggers the same interactive prompt to file an improvement proposal
- Both flows use
draft_issue.py --submit --repo ronjunevaldoz/kmp-agent-skills
Who runs it: the consumer (any project using kmp-agent-skills).
Where it goes: issues land in this repo's GitHub Issues for the skills team to act on.
Smart versioning — skills-repo side
scripts/release.py now has an auto bump mode that reads conventional commits and picks
the right tier — no more guessing or accumulating patch releases when a feat was shipped:
python3 scripts/release.py auto # detects major / minor / patch
python3 scripts/release.py auto --dry-run # preview first
| Commit type | Bump |
|---|
feat! or BREAKING CHANGE | major |
feat | minor |
fix, chore, docs, refactor | patch |
Who runs it: only the kmp-agent-skills maintainer when cutting a release.
Skills