claude/skills/android-project-full-audit/templates/library/concurrency.md
Neil Bantoc 59fc08fa5f Add android-project-full-audit and local-worker-handoff skills; sync scaffold skill
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 16:26:33 -08:00

712 B

Concurrency & Async

Audit library doc. Findings come from reading source files — never from README/docs. Each pattern is one ### [slug] Title entry (written via audit.sh finding), with an exemplar file. Further files that repeat a known pattern are logged with audit.sh also, not re-described.

Scope: Threading and async model.

Look for: Coroutines (scopes: viewModelScope/lifecycleScope/custom app scope; dispatchers and whether they are injected), Flow/StateFlow/SharedFlow operators (stateIn, combine, flatMapLatest), RxJava, Executors/Handlers, LiveData, synchronization (Mutex, atomic), cancellation & error handling, structured concurrency violations (GlobalScope).

Findings