kotlin-coroutines
Installation
SKILL.md
Kotlin Coroutines Skill
Master asynchronous programming with structured concurrency.
Topics Covered
Structured Concurrency
// ✅ Structured - cancellation propagates
class Repository(private val scope: CoroutineScope) {
suspend fun load() = withContext(Dispatchers.IO) { fetch() }
}
// ❌ Avoid GlobalScope
GlobalScope.launch { /* leaks */ }