What problem does it solve?
This Skill helps you turn ad-hoc try/catch blocks into a consistent error-handling strategy that preserves context, enables recovery where possible, and makes failures easy to diagnose.
Core Features & Use Cases
- Decision guide by failure type: Choose between exceptions, Result/Option types, and panic/abort based on whether failures are expected, recoverable, or programming invariants.
- Core resilience patterns: Implement retry with exponential backoff, circuit breakers, error aggregation for batch operations, and graceful degradation with visibility.
- Production-grade error shaping: Use typed exception hierarchies (or typed error models), narrow catches, preserve causal chains, and produce meaningful messages instead of generic “something broke” errors.
Quick Start
Use the error-handling-patterns skill to review and refactor your service’s current error flows and external-call handling for retries, circuit breaking, and context-preserving exception/result design.