What problem does it solve? Writing production-quality Kotlin requires deep knowledge of coroutines, structured concurrency, Flow streams, and platform-specific patterns across Android, server, and multiplatform targets. This Skill provides senior-level Kotlin implementation guidance so you avoid common pitfalls like blocking coroutines, leaking scopes, and breaking null safety. ## Core Features & Use Cases - Coroutines & Flow Patterns: Structured concurrency, StateFlow/SharedFlow, cancellation handling, and dispatcher management with testable code using runTest and Turbine. - Multiplatform & Framework Guidance: Kotlin Multiplatform expect/actual patterns, Jetpack Compose UI with Material3 and Hilt DI, and Ktor server setup with JWT auth and Exposed database integration. - Idiomatic Kotlin Design: Sealed classes for state modeling, type-safe DSL builders, scope functions, delegated properties, and inline/reified functions. - Use Case: You are building an Android app with a shared KMP module and need a repository layer that exposes StateFlow, handles cancellation correctly, and passes detekt/ktlint checks. ## Quick Start Ask the assistant to implement a Kotlin repository class using coroutines and Flow with proper cancellation handling and sealed class state modeling.