kotlin-concurrency-expert
CommunityMaster Kotlin coroutines safety in Android apps.
Software Engineering#android#kotlin#coroutines#stateflow#structured-concurrency#lifecycle-safety#dispatcher
Authorthinhtt264
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps Android developers review and remediate Kotlin Coroutine usage to improve thread safety, lifecycle alignment, and non-blocking behavior.
Core Features & Use Cases
- Audit and refactor coroutine usage for structured concurrency and proper scope management.
- Enforce lifecycle safety with viewModelScope, lifecycleScope, and repeatOnLifecycle.
- Improve cancellation handling and state encapsulation (StateFlow) to prevent leaks and crashes.
- Use case: When debugging a crash caused by a leaked GlobalScope coroutine in a long-running activity.
Quick Start
Ask the Kotlin concurrency expert to audit the Android module at path app/src/main for coroutine usage issues and propose the smallest safe refactor to enforce structured concurrency and proper lifecycle safety.
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-concurrency-expert Download link: https://github.com/thinhtt264/Snaplet-App/archive/main.zip#kotlin-concurrency-expert 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.