auto-generated-circuit-breaker-pattern

Official

Singleton circuit breakers for resilient APIs.

Authorplanetaryescape
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a structured pattern to guard external API calls with per-service circuit breakers, preventing cascading failures and enabling graceful degradation.

Core Features & Use Cases

  • Singleton breaker instances per service using a shared registry to coordinate state across the application.
  • Configurable timeouts, thresholds, and automatic recovery to balance availability and fault tolerance.
  • Uniform execute wrapper to encapsulate async calls and provide consistent error handling and logging.
  • Observability via state and statistics reporting for proactive monitoring and debugging.

Quick Start

Integrate the EnhancedCircuitBreaker by replacing direct external calls with the breaker.execute wrapper.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: auto-generated-circuit-breaker-pattern
Download link: https://github.com/planetaryescape/ai-digest/archive/main.zip#auto-generated-circuit-breaker-pattern

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.