go-circuit-breaker-policy

Community

Implement resilient external dependency calls in Go.

AuthorPremModhaOfficial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to wrapping external-dependency calls with circuit breaker logic, preventing cascading failures and enabling graceful recovery.

Core Features & Use Cases

  • Configuring circuit breakers with default and custom settings like failure thresholds and timeouts.
  • Classifying errors to determine whether they should trip the circuit breaker, distinguishing caller-bug from server faults.
  • Observing circuit state transitions without background goroutines by synchronously monitoring state changes during execution.
  • Use case: An engineer integrates this Skill to enhance stability for microservice calls to Redis, ensuring calls are protected against transient network issues.

Quick Start

Use the go-circuit-breaker-policy skill to wrap a Redis call with a circuit breaker that triggers on certain errors and observes state transitions.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 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: go-circuit-breaker-policy
Download link: https://github.com/PremModhaOfficial/sdk-pipeline/archive/main.zip#go-circuit-breaker-policy

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 471,000+ vetted skills library on demand.