What problem does it solve?
This Skill helps developers identify and fix correctness, safety, and testability issues in Kotlin coroutine-based code, especially where asynchronous work becomes hard to reason about or difficult to cancel.
Core Features & Use Cases
- Structured Concurrency Guidance: Choose the right scope and preserve parent-child cancellation behavior.
- Dispatcher and Main-Safety Review: Prevent blocking work on the wrong thread and make suspend functions safe to call from UI code.
- Flow and Lifecycle Best Practices: Improve state handling, event delivery, and Android collection patterns.
- Testing and Reliability Support: Replace flaky coroutine tests with deterministic virtual-time patterns.
- Use Case: Review a ViewModel, repository, or shared KMP module to catch scope leaks, misuse of async, cancellation bugs, flow collection mistakes, and test flakiness before they ship.
Quick Start
Ask for a coroutine code review that pinpoints the risk, shows the problematic code, and rewrites it using structured concurrency, correct dispatchers, lifecycle-aware flow handling, and deterministic tests.