resilience-circuit-breaker-designer
SkillDev toolsDesigns circuit breakers, bulkhead concurrency limits, fallback caches, and timeout policies for failing dependencies.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the resilience-circuit-breaker-designer skill
What this skill tells your AI
The instructions your AI receives, as published by codebygarv/ai-skills in skills/development/resilience-circuit-breaker-designer/SKILL.md and read by ahel’s review.
Purpose
Protect applications from cascading failures when downstream dependencies (third-party APIs, microservices, databases) become slow or unresponsive, using Circuit Breakers, Bulkheads, Timeouts, and Graceful Fallbacks.
When to Use
- Calling third-party APIs (Stripe, Twilio, OpenAI, shipment tracking) that occasionally degrade.
- Preventing thread/connection exhaustion when one downstream microservice stalls.
- Implementing graceful degradation (e.g. returning cached recommendations when AI engine is down).
What to Analyze
- Circuit States:
CLOSED(normal),OPEN(failing fast without calling downstream),HALF-OPEN(probing recovery). - Threshold Metrics: Failure percentage threshold (e.g. >50% errors over 20 requests) and slow call duration threshold.
- Timeout Strategy: Strict, aggressive timeouts (e.g. 500ms) to prevent socket pooling exhaustion.
- Bulkhead Isolation: Limiting concurrent outbound calls to a single service (e.g. max 20 concurrent threads for payment gateway).
- Fallback Plan: Returning cached data, static default payloads, or queued background retries.
Output Format
- Resilience Blueprint Table: [Dependency | Timeout | Circuit Trigger | Bulkhead Cap | Fallback Action].
- Code Implementation: Production-ready wrapper using Opossum (Node.js), Resilience4j (Java), or go-resiliency (Go).
- Health Metrics & Alerting: Prometheus metrics emitted on circuit state changes.
Avoid
- Omitting strict timeouts (a hanging connection is worse than a fast failure).
- Setting reset timeout too low, causing thrashing between OPEN and HALF-OPEN states.
Signals
- GitHub stars
- 25
- Forks
- 1
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
resilience-circuit-breaker-designer- Source
- github.com/codebygarv/ai-skills