kotlin-guide
Installation
SKILL.md
Kotlin Guide
Applies to: Kotlin 1.9+, JVM 17+, Coroutines, Android, Server-side
Core Principles
- Null Safety: Leverage the type system to eliminate null pointer exceptions at compile time
- Conciseness: Use data classes, scope functions, and destructuring to reduce boilerplate
- Coroutines for Concurrency: Structured concurrency with coroutines, not raw threads
- Immutability by Default: Prefer
valovervar, immutable collections over mutable - Interop Awareness: Write Kotlin-idiomatic code while maintaining clean Java interop boundaries