coroutines
CommunityProduction-grade Kotlin Coroutines for Android.
Authorhanamizuki
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides authoritative rules and patterns for writing production-grade Kotlin Coroutines code on Android, addressing structured concurrency, lifecycle safety, and reactive streams to prevent leaks and race conditions.
Core Features & Use Cases
- Structured concurrency guidance: avoid blocking the UI thread, manage job lifecycles, and improve testability.
- Lifecycle integration: safe coroutine usage with viewModelScope, lifecycleScope, and repeatOnLifecycle.
- Flow-based state management: using StateFlow/SharedFlow, proper cancellation, and robust error handling.
Quick Start
Create a simple ViewModel that uses viewModelScope to fetch data from a repository with suspend functions and exposes results via StateFlow.
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: coroutines Download link: https://github.com/hanamizuki/solopreneur/archive/main.zip#coroutines 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.