What problem does it solve? Building resilient distributed systems requires consistent failure-handling patterns, and this Skill generates retry logic, circuit breakers, dead-letter queues, and graceful degradation code so transient and permanent failures are handled correctly instead of crashing workers or silently dropping tasks. ## Core Features & Use Cases - Retry Logic with Backoff: Generates retry wrappers using exponential backoff with jitter, max-attempt limits, and idempotency checks for transient failures like ConnectionError and TimeoutError. - Circuit Breakers: Implements open/half-open/closed circuit breaker states for external API calls, with guidance on libraries like tenacity and circuitbreaker. - Dead-Letter Queues & Graceful Degradation: Routes permanently failed tasks to dead-letter queues for inspection and returns structured errors or fallback responses (e.g., 503 from gateways) instead of crashing. - Use Case: When building a worker queue that calls external APIs, use this Skill to generate a retry wrapper with backoff, a circuit breaker for the API client, and dead-letter handling so no failed task is silently lost. ## Quick Start Generate retry logic with exponential backoff and a circuit breaker for my Python worker that calls an external API.