a6-recipe-circuit-breaker

Community

Prevent cascading failures with API circuit breakers.

Authormoonming
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps protect your API from cascading failures by automatically detecting unhealthy upstream services and temporarily stopping requests to them, preventing system-wide outages.

Core Features & Use Cases

  • Automatic Upstream Circuit Breaking: Implements the api-breaker plugin to manage circuit states.
  • Configurable Thresholds: Define unhealthy response codes and consecutive failures to trigger the circuit.
  • Automated Recovery: Manages cooldown periods and tests upstream health for recovery.
  • Use Case: Protect a critical microservice from intermittent backend failures by automatically routing traffic away from unhealthy instances and resuming when they recover.

Quick Start

Create a route with a basic circuit breaker configuration that returns a 502 error code when the upstream fails.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: a6-recipe-circuit-breaker
Download link: https://github.com/moonming/a6/archive/main.zip#a6-recipe-circuit-breaker

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.