What problem does it solve?
It prevents Kotlin codebases from drifting into unsafe patterns (null-bugs, non-exhaustive logic, coroutine misuse) by turning Kotlin conventions into enforceable documentation constraints.
Core Features & Use Cases
- Kotlin formatting and build constraints: requires ktlint or detekt enforcement and sets
kotlin.code.style=official in gradle.properties.
- Null safety and immutability rules: bans
!!, prefers ?., ?:, requireNotNull(), enforces val over var, and pushes copy-on-write via copy(...).
- Production-safe control flow and types: mandates sealed types with exhaustive
when and restricts error handling to Result<T>/sealed outcomes with correct cancellation behavior.
- Coroutines/Flows and Compose guardrails: blocks common anti-patterns like
GlobalScope, incorrect cancellation catching, unsafe Compose recomposition patterns, and improper LazyColumn usage.
- Review and build verification guidance: provides a targeted
/code-review checklist and /build-fix commands to reproduce lint/build/test issues.
Quick Start
Activate the kotlin skill while writing a project spec for your Kotlin or Android code changes, so the generated implementation follows these conventions and passes the specified verification expectations.