kotlin-multiplatform-code-quality
Installation
SKILL.md
When to Use This Skill
Use when you need to:
- Enforce consistent Kotlin formatting across a KMP project
- Detect architecture violations (
:uiimporting from:data) via static analysis - Wire Ktlint and Detekt as CI gates on every PR
- Configure Detekt architecture rules for the 6-layer module model
Trigger keywords: Ktlint, Detekt, code quality, formatting, architecture rules, CI gate, static analysis, lint, import check, layer violation, code style, KDoc, comment convention, when to use comments, documentation comment, comment style, kdoc vs line comment, how to comment kotlin.
Freshness rule: Ktlint and Detekt versions change frequently — recheck the latest releases before pinning. Detekt architecture rule DSL changes between minor versions.