Agent skill · software engineering · yonatangross
distributed-systems
Distributed systems patterns for locking, resilience, idempotency, and rate limiting. Use when implementing distributed locks, circuit breakers, retry policies, idempotency keys, token bucket rate limiters, or fault tolerance patterns.
Why this skill is useful
Provides specific patterns and executable code snippets for implementing resilience, idempotency, and rate limiting in distributed systems that the AI wouldn't reliably generate on its own.
What it needs
Requires python, redis installed locally. About 5k tokens when loaded. Last updated 2026-08-06. 215 stars on the source repository.
What this skill does
Distributed Systems Patterns Comprehensive patterns for building reliable distributed systems. Each category has individual rule files in rules/ loaded on-demand. Quick Reference Category Rules Impact When to Use ---------- ------- -------- ------------- Distributed Locks 1 CRITICAL Fencing tokens, owner validation; Redis/Redlock and Postgres advisory via upstream docs Resilience 3 CRITICAL Circuit breakers, retry with backoff, bulkhead isolation Idempotency 1 HIGH Idempotency keys; dedup and database-backed storage via upstream docs Rate Limiting 2 HIGH Token bucket, sliding window; SlowAPI integration via upstream docs Edge Computing 2 HIGH Edge workers, V8 isolates, CDN caching, geo-routing Event-Driven 2 HIGH Event sourcing, CQRS, transactional outbox, sagas Total: 11 rules across 6 categories. Removed topics point at first-party sources in Upstream coverage; ork-specific scars live in references/ork-delta.md. Quick Start Distributed Locks Coordinate exclusive access to resources across multiple service instances. Rule File Key Pattern ------ ------ ------------- Fencing Tokens rules/locks-fencing-tokens.md Owner validation, TTL, heartbeat extension Redis single-node locks, Redlock quorum, and PostgreSQL advisory locks are first-party documented; see Upstream coverage. Resilience Production-grade fault tolerance for distributed systems. Rule File Key Pattern ------ ------ ------------- Circuit Breaker rules/resilience-circuit-breaker.md CLOSED/OPEN/HALFOPEN states, sliding window Retry & Backoff rules/resilience-retry-backoff.md Exponential backoff, jitter, error classification Bulkhead Isolation rules/resilience-bulkhead.md Semaphore tiers, rejection policies, queue depth Idempotency Ensure operations can be safely retried without unintended side effects. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills yonatangross/distributed-systems--97f912