async-patterns
Installation
SKILL.md
Async Patterns
Overview
Proper async/await usage is critical for UI responsiveness and application stability. This skill covers patterns specific to WPF desktop applications.
Definition of Done (DoD)
- All async methods return
TaskorTask<T>(neverasync voidexcept event handlers) - Long-running operations support
CancellationToken - No
.Resultor.Wait()calls on UI thread - Fire-and-forget tasks are handled with proper error logging
- Async commands show loading state and handle exceptions