Skill Wiki v0.1.0
pattern @backend-architecture/pattern-circuit-breaker

Circuit Breaker

A service that calls a remote dependency wraps the call in a circuit breaker. After a threshold of failures, the breaker trips OPEN and short-circuits subsequent calls — they fail immediately without hitting the network.…

Skill
@backend-architecture
Domain
backend-architecture
Version
1.0.0
Quality
4.0
Edges
4 out · 4 in
Tokens
114/326/571
$ prime install @backend-architecture/pattern-circuit-breaker

Projection

Always in _index.xml · the agent never has to ask for this.

CircuitBreaker [pattern] v1.0.0

A service that calls a remote dependency wraps the call in a circuit breaker. After a threshold of failures, the breaker trips OPEN and short-circuits subsequent calls — they fail immediately without hitting the network. After a cool-down it goes HALF-OPEN to probe; on success it CLOSES, on failure it re-OPENS. This prevents a cascade where one slow downstream consumes all callers' threads.

Source

prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/pattern-circuit-breaker/atom.yaml

Compiled at 2026-05-10