Android Kotlin Mechanics
Guides safe Kotlin implementation patterns for Android, covering coroutine cancellation, flow collection, and data equality semantics.
The Android Kotlin Mechanics skill provides essential rules and domain-specific guidance for writing robust Kotlin code in Android applications. It targets the subtle failure modes where Kotlin code compiles cleanly but behaves unexpectedly at runtime—such as swallowed CancellationExceptions leaking background work, mismatched coroutine scope builders, silent state-equality dropouts with class body properties, and cold flow restart issues across configuration changes. This skill is invaluable for Android developers seeking to eliminate silent async bugs, ensure proper lifecycle management, and enforce clean data modeling across API boundaries.