coroutines-patterns

Community

Master Kotlin coroutines with structured patterns

Authorahmed3elshaer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kotlin developers often face scattered coroutine patterns and lifecycle-related bugs. This skill consolidates structured concurrency patterns to promote safe cancellation, predictable flow, and clear error handling.

Core Features & Use Cases

  • ViewModel-scoped coroutines with auto-cancellation
  • Flow patterns using StateFlow and SharedFlow
  • Error handling strategies in coroutines and supervisorScope
  • Use cases include UI data loading, event streams, and robust cancellation

Quick Start

Use the coroutines-patterns skill to implement coroutine-based asynchronous work in a ViewModel using viewModelScope and to manage lifecycle-aware flows in a Compose screen.

Dependency Matrix

Required Modules

None required

Components

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-patterns
Download link: https://github.com/ahmed3elshaer/everything-claude-code-mobile/archive/main.zip#coroutines-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.