distributed-systems-reliability
Skill0 starsChanged 13 days agoMITView on GitHub
Design, review, or repair business workflows spanning services, databases, queues, workers, and external effects. Use for partial failures, delivery guarantees, idempotency, concurrency, or recovery; skip local-only implementation and routine broker setup without a reliability decision.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- dathuynh1108/agent-skillstheir own version, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- dathuynh1108/agent-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-design-engineeringSkill
- deep-readonly-system-auditSkill
- engineering-research-intelligenceSkill
- flutter-app-engineeringSkill
- go-backend-engineeringSkill
- multi-tenant-access-controlSkill
- nextjs-fullstack-engineeringSkill
- nodejs-backend-engineeringSkill
- postgresql-data-engineeringSkill
- react-vite-dashboard-engineeringSkill
- real-world-test-engineeringSkill
- redis-production-engineeringSkill
- repository-structure-engineeringSkill
- saas-security-engineeringSkill
- task-subagent-orchestrationSkill
- universal-database-engineeringSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Document the scope and conditions of the guarantee: persistence/replication, message retention, deduplication lifetime, retry policy, …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Distributed Systems Reliability
Preserve the actual business invariant across process, network and durable-system boundaries. Use existing runtime, database, broker and observability capabilities; do not introduce microservices, queues, sagas or distributed locks without a demonstrated need. Companion engineering skills are optional, not dependencies.
Reconstruct the workflow
Identify whether the request is new design, a focused defect, incident investigation or read-only review. Honor explicit read-only instructions even when a fix is apparent. Inspect actual entrypoints, persisted state, transactions, broker/client versions, acknowledgment and retry settings, workers, external providers and deployment lifecycle.
State the durable business outcome and what must never happen: lost accepted work, double charge, negative inventory, unauthorized processing or an invalid state transition. Trace who accepts responsibility at each step and what survives a crash. Include the user's visible completion/uncertainty state; a successful publish or HTTP response may represent only acceptance.
For relevant boundaries, consider failure before and after the state change, lost replies/acknowledgments, duplicate execution, reordered events, delayed workers and dependency outages. Distinguish a known failure from unknown completion. Timeouts bound waiting; cancellation does not prove a remote action stopped or rolled back.
Load the relevant reference
| Decision | Reference |
| RabbitMQ/Redis/Kafka delivery, acknowledgments, ordering or event contracts | delivery-and-contracts |
| Database/message atomicity, duplicate effects, leases or competing workers | atomicity-and-concurrency |
| Retries, overload, reconnects, poison work, shutdown and observation | recovery-and-operations |
| Upstream guarantees, specification scope or version caveats | sources |
Choose the smallest sufficient guarantee
Keep a local operation in a local transaction when that protects the invariant. For work spanning systems, identify the gap between durable intent, delivery and committed effects. Use existing idempotency, conditional state transitions, outbox/inbox or reconciliation where the gap requires them. Do not claim end-to-end exactly-once effects from a broker feature alone.
Document the scope and conditions of the guarantee: persistence/replication, message retention, deduplication lifetime, retry policy, ownership and external-provider capabilities. At-least-once delivery allows duplicates and is still bounded by loss/retention/failure assumptions. A lease, timestamp or in-memory flag is not automatically durable exclusive ownership.
Give each retry path a clear owner, finite budget and safe stopping/recovery condition. Preserve tenant/authorization context and compatibility of event contracts. Prefer existing events over redundant polling; use durable discovery/reconciliation only where the workflow actually needs it. In-memory notifications can wake work but cannot be its sole record when crash survival is required.
Verify final state and recovery
For real implementation changes, derive focused isolated tests from the identified uncertainty windows. Check durable outcomes after duplicate requests, a relevant crash/redelivery or competing transition, not only a sent message or successful response. Use existing test infrastructure; fault injection against production is outside normal verification.
Read-only reviews use available safe evidence and record the isolated runtime test still needed. Report the failure chain, selected guarantee and its scope, actual test results, operational detection/recovery, and unresolved durability or compatibility limits. Do not assert measured throughput, failover correctness or recovery success without execution evidence.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

