Agent skill

resilience-patterns

Circuit breaker, bulkhead, retry with jitter, graceful shutdown, health check patterns for production resilience.

vibeeval521★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill resilience-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/resilience-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Resilience Patterns Production-grade patterns for surviving failures without cascading. ## Circuit Breaker ```typescript // States: CLOSED (normal) → OPEN (blocking) → HALF_OPEN (testing) type CircuitState = 'CLOSED' | 'OPEN' | 'HALF_OPEN' class CircuitBreaker { private state: CircuitState = 'CLOSED' private failureCount = 0 private lastFailureTime = 0 private successCount = 0 constructor( private readonly failureThreshold = 5, private readonly recoveryTimeout = 30_000, // ms private readonly halfOpenMaxCalls = 3 ) {} async call<T>(fn: () => Promise<T>): Promise<T> { if (this.state === 'OPEN') { if (Date.now() - this.lastFailureTime > this.recoveryTimeout) { this.state = 'HALF_OPEN' this.successCount = 0 } else { throw new Error('Circuit breaker is OPEN — request rejected') } } try { const result = await fn() this.onSuccess() return result } catch (err) { this.onFailure() throw err } } private onSuccess(): void { if (this.state === 'HALF_OPEN') { this.successCount++ if (this.successCount >= this.halfOpenMaxCalls) { this.state = 'CLOSED' this.failureCount = 0 } } else { this.failureCount = 0 } } private onFailure(): void { this.failureCount++ this.lastFailureTime = Date.now() if (

What's inside
Steps it walks through
  1. Circuit Breaker
  2. Retry with Exponential Backoff + Jitter
  3. Bulkhead Pattern
  4. Timeout Policies
  5. Fallback Chain
  6. Health Check Endpoints
  7. Graceful Shutdown
  8. Idempotency Keys
More from vibecosystem
All skills →
About this skill
What does the resilience-patterns skill do?

Circuit breaker, bulkhead, retry with jitter, graceful shutdown, health check patterns for production resilience.

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill resilience-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going