What problem does it solve? Writing Kotlin that compiles is easy, but writing idiomatic Kotlin that fully leverages the type system, immutability, and structured concurrency requires deep knowledge of language conventions. This Skill provides a comprehensive reference of Kotlin best practices so code reviews, refactors, and new implementations consistently follow idiomatic patterns instead of Java-style habits. ## Core Features & Use Cases - Null Safety & Immutability: Enforces non-nullable types by default, safe-call and Elvis operators, val over var, and copy()-based updates on data classes. - Structured Concurrency: Covers coroutineScope, supervisorScope, async/await, Flow operators, cancellation handling, and cleanup with NonCancellable. - Type-Safe Design: Guides sealed classes and interfaces for exhaustive when expressions, @JvmInline value class wrappers, extension functions, delegation with by, and @DslMarker DSL builders. - Use Case: When reviewing a pull request that uses GlobalScope.launch and force-unwraps nullable values with !!, apply this Skill to refactor toward structured concurrency and safe-call chains. ## Quick Start Ask the assistant to review or write Kotlin code following the kotlin-patterns skill, for example to refactor a suspend function to use structured concurrency with coroutineScope.