yonatangross avatar

Distributed Systems

Sixteen production patterns for distributed systems: Redis locks with Lua scripts, circuit breakers with half-open probes, idempotency keys for retry safety, token bucket rate limiters, and edge runtime constraints for Cloudflare Workers. The on-demand rule loading is smart since most projects never need event sourcing or saga orchestration. The "When NOT to Use" table is refreshingly honest about overkill, correctly pointing out that a single server process doesn't need distributed locks. If you're running multiple instances and dealing with concurrent access, retries, or rate limits, this consolidates the patterns you'd otherwise piece together from blog posts. The anti-patterns section catches the common mistakes like forgetting lock TTLs or retrying authentication errors.

skills.sh installs
293
GitHub stars
301
last updated
Aug 21, 2026

Install

$ npx -y skills add yonatangross/orchestkit --skill distributed-systems --agent claude-code

Installs into .claude/skills of the current project.

Files

Distributed Systems Patterns

Comprehensive patterns for building reliable distributed systems. Each category has individual rule files in rules/ loaded on-demand.

Quick Reference

CategoryRulesImpactWhen to Use
Distributed Locks1CRITICALFencing tokens, owner validation; Redis/Redlock and Postgres advisory via upstream docs
Resilience3CRITICALCircuit breakers, retry with backoff, bulkhead isolation
Idempotency1HIGHIdempotency keys; dedup and database-backed storage via upstream docs
Rate Limiting2HIGHToken bucket, sliding window; SlowAPI integration via upstream docs
Edge Computing2HIGHEdge workers, V8 isolates, CDN caching, geo-routing
Event-Driven2HIGHEvent 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

Sponsors

Details

Repository
github.com/yonatangross/orchestkit
First seen
Jun 3, 2026

More from yonatangross/orchestkit

All 61

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs