Audit a service for async/await correctness
When to use: You inherited a service that deadlocks intermittently and you suspect async issues.
Flow
-
Scandotnet-skills async audit on src/. Flag: missing ConfigureAwait(false) in libraries, .Result/.Wait, async void (non-event), missing CancellationToken propagation.✓ Copied→ Concrete file:line list with severity
-
Fix one clusterPick the highest-severity cluster (deadlock risk). Propose patches, file by file. Show diffs.✓ Copied→ Surgical patches, not whole-file rewrites
Outcome: Async hygiene improved; one source of intermittent deadlocks gone.
Pitfalls
- ConfigureAwait fix breaks UI thread code — Skill differentiates lib vs app code; respect that boundary