What problem does it solve?
This Skill helps you design error handling and resilience patterns so failures are communicated clearly to clients, logged properly for operators, and recovered safely without breaking business flows.
Core Features & Use Cases
- Consistent API errors (RFC 9457 / Problem Details): Standardizes error payloads with stable fields like type, title, status, detail, and instance for better client handling.
- Correct exception mapping by type: Distinguishes validation, authentication/authorization, not-found, business-rule violations, rate limiting, and internal/dependency failures with appropriate HTTP statuses and log levels.
- Resilience patterns for production systems: Provides cross-language guidance for retry with exponential backoff + jitter, circuit breaker, bulkhead isolation, rate limiting, and explicit timeouts.
- Anti-pattern prevention: Avoids swallowing exceptions, returning stack traces to clients, throwing generic errors, and using exceptions for normal control flow.
Quick Start
Ask the AI to map your service’s current exceptions and failure modes to an RFC 9457 Problem Details response plan, and to propose the appropriate retry, circuit breaker, bulkhead, rate limiting, and timeout strategy for each outbound dependency.