Error Handling Review
A review skill for error handling robustness across the full stack.
What it covers
- Error boundaries — React error boundaries, global exception handlers, process-level crash recovery
- Structured logging — consistent error format, correlation IDs, severity levels, no sensitive data in logs
- Graceful degradation — fallback UI states, partial failure handling, circuit breaker patterns
- Error propagation — when to catch vs. rethrow, wrapping errors with context, typed error hierarchies
- User communication — actionable error messages, retry affordances, distinguishing user errors from system errors
- Async error handling — unhandled promise rejections, try/catch in async functions, timeout handling
When to use
Run this on any PR that adds new API calls, modifies error paths, or introduces failure-prone operations like file I/O, network requests, or database transactions.