Implements robust retry, timeout, and circuit breaker patterns at the workflow level to ensure system reliability while keeping business logic clean.
This Claude Code skill provides a structured framework for building resilient applications by separating transient failure handling from core business logic. By utilizing the @jagreehal/workflow library, it enforces best practices such as jittered exponential backoff, mandatory timeouts, and idempotency checks. It helps developers avoid common pitfalls like 'retry storms' (double-retrying) and thundering herd problems, making it an essential tool for building production-grade backend services and distributed systems that must gracefully handle network hiccups and downstream service instability.
Key Features
010 GitHub stars
02Per-attempt and total operation timeout enforcement
03Smart transient error detection for selective retries
04Decoupled resilience logic from business functions
05Circuit breaker support for external service protection
06Configurable exponential backoff with mandatory jitter
Use Cases
01Stabilizing flaky third-party API integrations and webhooks
02Ensuring database read reliability during peak traffic periods
03Managing idempotent multi-step operations in microservices