Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test recipes to their specific skills.
64
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
viewModelScope (VM) or lifecycleScope (Activity/Fragment).DispatcherProvider) for testability. not hardcode Dispatchers.IO.Flow for data streams.StateFlow (State) or SharedFlow (Events).SharedFlow with replay only when late subscribers must receive recent events.collectAsStateWithLifecycle() (Compose) or repeatOnLifecycle (Views).HoangNguyen0403/agent-skills-standard
4bb4994
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.