If you're building Android apps with Kotlin Coroutines, this enforces the patterns that prevent production headaches. It covers dispatcher injection for testability, lifecycle-safe Flow collection with repeatOnLifecycle, proper StateFlow encapsulation, and cooperative cancellation in long operations. The biggest value is in the constraint enforcement: no hardcoded dispatchers, no GlobalScope, no exposed MutableStateFlow, and proper CancellationException handling. It also handles the callback-to-Flow conversion pattern with callbackFlow and awaitClose. Useful when you're implementing ViewModels, fetching API data, or tracking down memory leaks related to coroutines. The rules lean opinionated but they reflect 2025 best practices and will save you from the subtle bugs that only appear in production.
npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill android-coroutines