What problem does it solve? Writing Kotlin code that is merely functional often leads to null pointer exceptions, mutable state bugs, and unstructured concurrency. This Skill provides a comprehensive set of idiomatic Kotlin patterns so that code written or reviewed by the AI follows the language's best practices for safety, immutability, and maintainability. ## Core Features & Use Cases - Null Safety & Immutability: Enforces non-nullable types, safe-call operators, Elvis operator, val over var, and copy()-based updates on data classes. - Structured Concurrency: Guides correct use of coroutineScope, supervisorScope, async/await, Flow operators, and cancellation-aware cleanup. - Type-Safe Design: Covers sealed classes and interfaces for exhaustive when expressions, value classes for zero-overhead type wrappers, and @DslMarker-based DSL builders. - Use Case: When refactoring a Kotlin service that uses GlobalScope.launch and force-unwrapped nullables, this Skill rewrites it with structured concurrency, Result-based error handling, and null-safe call chains. ## Quick Start Review my Kotlin repository code and refactor it to follow idiomatic Kotlin patterns including null safety, coroutines, and sealed classes.