
Description
kotlin-coroutines-flows is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out patterns for asynchronous Kotlin in Android and Kotlin Multiplatform projects: structured concurrency with a scope hierarchy, Flow-based reactive streams, StateFlow and SharedFlow for reactive data, Flow operators, handling of concurrent work such as parallel loading, debounce and retry, error handling, and testing coroutines and Flows. It also covers managing scopes and cancellation. The skill applies when an agent writes async Kotlin code, chooses between Flow, StateFlow and SharedFlow, handles concurrent operations, tests coroutine code, or needs to work out why a coroutine is not being cancelled properly. Because it is a SKILL.md file, the agent loads it when those tasks come up and follows the same structure each time. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Structured concurrency and scope hierarchy
- Flow, StateFlow and SharedFlow
- Parallel loading, debounce and retry
- Coroutine and Flow testing
Ratings & Reviews
No ratings yet
Be the first to rate kotlin-coroutines-flows.
People also visit

android-clean-architecture
Clean Architecture patterns for Android and Kotlin Multiplatform projects

compose-multiplatform-patterns
Compose Multiplatform and Jetpack Compose patterns for KMP projects

kotlin-exposed-patterns
JetBrains Exposed ORM patterns including DSL queries, DAO pattern, transactions

kotlin-ktor-patterns
Ktor server patterns including routing DSL, plugins, authentication, Koin DI

kotlin-patterns
Idiomatic Kotlin patterns, best practices, and conventions for building robust
kotlin-coroutines-flows FAQ
What does the kotlin-coroutines-flows skill do?
It guides an agent in writing and testing Kotlin coroutines and Flow code for Android and Kotlin Multiplatform.
Which Flow types does it cover?
Flow, StateFlow and SharedFlow.
Does it cover cancellation?
Yes. Managing coroutine scopes and cancellation is one of its topics.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill kotlin-coroutines-flows
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best kotlin-coroutines-flows alternatives?
Popular alternatives to kotlin-coroutines-flows include android-clean-architecture, compose-multiplatform-patterns and kotlin-exposed-patterns. See all kotlin-coroutines-flows alternatives









