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: Provides patterns for coroutineScope, supervisorScope, async/await, Flow streams, and proper cancellation handling with ensureActive() and NonCancellable cleanup. - Type-Safe Design: Covers sealed classes and interfaces for exhaustive when expressions, @JvmInline value class wrappers, extension functions, delegation with by, and @DslMarker-annotated DSL builders. - Use Case: When refactoring a Kotlin service that uses GlobalScope.launch and force-unwrapped nullables, this Skill guides the rewrite toward structured concurrency with coroutineScope and safe-call chains, plus a Gradle Kotlin DSL build configuration. ## Quick Start Review my Kotlin file and refactor it to follow idiomatic patterns for null safety, immutability, and structured concurrency.