Agent skill · software engineering · thebushidocollective

android-kotlin-coroutines

Use when implementing async operations with Kotlin coroutines, Flow, StateFlow, or managing concurrency in Android apps.

Why this skill is useful

Provides specific patterns and best practices for managing concurrency and asynchronous operations in Android using Kotlin coroutines, which the AI may not reliably generate on its own.

What it needs

About 4k tokens when loaded. Last updated 2026-07-19. 187 stars on the source repository.

What this skill does

Android - Kotlin Coroutines Asynchronous programming patterns using Kotlin coroutines and Flow in Android. Key Concepts Coroutine Basics Dispatchers Flow Basics StateFlow and SharedFlow Best Practices Structured Concurrency Exception Handling Flow Operators Lifecycle-Aware Collection Common Patterns Repository Pattern with Flow Cancellation Handling Debounce and Throttle Anti-Patterns GlobalScope Usage Bad: Good: Blocking Calls on Main Thread Bad: Good: Flow Collection Without Lifecycle Bad: Good: Creating New Flow on Each Call Bad: Good: Related Skills android-jetpack-compose: UI integration with coroutines android-architecture: Architectural patterns using coroutines

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills thebushidocollective/kotlin-coroutines--598851

View the source on GitHub

Browse the @skills marketplace