circuit-breaker - Implement circuit breaker pattern to prevent cascade failures
Implement the circuit breaker pattern to prevent cascade failures in distributed systems by failing fast when services are unhealthy.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Execute operations with circuit protection
- Provide fallback mechanisms for failures
- Manage circuit state transitions
- Configure failure and timeout thresholds
Inputs
- Target operation function
- Circuit breaker configuration parameters
- Optional fallback function
Outputs
- Operation result or fallback response
- Updated circuit breaker state
- CircuitOpenError exception
Requirements
- TypeScript or JavaScript runtime
- Python runtime
