kotlin-coroutines-structured-concurrency
CommunityFix scope misuse and cancellation bugs fast.
Software Engineering#code review#lifecycle#kotlin#coroutines#cancellation#structured concurrency#runBlocking
Authorsoygabimoreno
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps you prevent subtle Kotlin coroutine issues caused by unowned CoroutineScopes, hidden launch sites, incorrect cancellation handling, and unsafe blocking primitives that lead to silent failures or broken cancellation propagation.
Core Features & Use Cases
- Structured concurrency review guidance: Identify patterns like stored
CoroutineScope, construction-time launches, and fire-and-forget launches from non-UI layers. - Cancellation-safe error handling: Detect and correct broad catches (e.g.,
Exception/Throwable) that swallowCancellationException, and ensure cancellation rethrows correctly. - Boundary-correct coroutine design: Use
suspendAPIs so callers own scopes, and apply the UI boundary carve-out only at state-holder layers like ViewModels.
Quick Start
Use this skill when reviewing Kotlin coroutine code and you notice a stored CoroutineScope, an init/initializer launch, a non-suspending function that calls scope.launch, a runBlocking in app code, or a catch that might swallow cancellation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kotlin-coroutines-structured-concurrency Download link: https://github.com/soygabimoreno/Los-ANDROIDES/archive/main.zip#kotlin-coroutines-structured-concurrency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.