event-driven-architecture
Skill1 starsChanged 33 days agoMITView on GitHub
Design and review event-driven systems and message queues (Kafka, RabbitMQ, SQS, NATS) — delivery guarantees, idempotent consumers, the transactional outbox, ordering, retries and dead-letter queues, schema evolution and replay. Use when introducing asynchronous messaging, debugging duplicate or lost messages, or reviewing consumers and producers.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
- jayavibhavnk/claude-skillstheir own version, first seen Nov 29, 2026
- camilooscargbaptista/cto-toolkittheir own version, first seen Nov 29, 2026
- charl3y15/skillstheir own version, first seen Nov 22, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- travisjneuman/.claude★ 106same name
- nimadorostkar/Claude-Skills-collection★ 41same name
- delorenj/skills★ 17same name
- camilooscargbaptista/cto-toolkit★ 9same name
- rade-nugroho/Agentic-Enteprises-Skill★ 9same name
- daemon-blockint-tech/Agentic-Enteprises-Skill★ 8same name
- reddygopalkrishna/developer-agent-skills★ 8same name
- AtulPurohit/Antigravity-Awesome-Skills★ 6same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- kimtth/agent-skill-100-lines-or-less★ 2same name
8 more not listed
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 repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- instructions/AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- agent-evaluationSkill
- agent-guardrailsSkill
- agenthub-routerSkill
- ai-red-teamingSkill
- ansible-reviewSkill
- api-designSkill
- api-integrationSkill
- architecture-decisionSkill
- backup-restoreSkill
- caching-strategySkill
- chaos-engineeringSkill
- ci-cd-pipeline-designSkill
- cloud-cost-optimizationSkill
- cloud-iam-least-privilegeSkill
- code-reviewSkill
- container-image-optimizationSkill
- cyber-resilience-actSkill
- database-migrationsSkill
- data-pipeline-reviewSkill
- data-privacySkill
- data-quality-checksSkill
- debugging-root-causeSkill
- dependency-auditSkill
- dependency-upgradeSkill
- disaster-recovery-drillSkill
- docker-hardeningSkill
- documentationSkill
- dora-readinessSkill
- dpiaSkill
- email-deliverabilitySkill
- embedding-model-selectionSkill
- error-handling-reviewSkill
- eu-ai-act-readinessSkill
- eu-data-sovereigntySkill
- european-accessibility-actSkill
- feature-flagsSkill
- frontend-reviewSkill
- gdpr-dsar-handlingSkill
- github-actionsSkill
- gitlab-ciSkill
- git-workflowSkill
- go-developmentSkill
- graphql-api-reviewSkill
- helm-chart-reviewSkill
- i18n-localizationSkill
- incident-responseSkill
- java-spring-reviewSkill
- kubernetes-reviewSkill
- linux-server-hardeningSkill
- llm-cost-analysisSkill
- llm-gateway-routingSkill
- llm-observabilitySkill
- llm-output-evaluationSkill
- llm-structured-extractionSkill
- load-testingSkill
- local-llm-servingSkill
- log-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
1
Distinctive
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 20
Ordering: only within a partition or message group.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Event-Driven Architecture
Goal
Messages are never silently lost, duplicates are harmless, ordering assumptions are explicit, and failures are visible and recoverable.
Inputs
- Broker and client libraries, topics or queues, producers and consumers, message schemas, required ordering and latency, data retention.
Procedure
- Classify each message: event (fact that happened) or command (request to do something); owner of the schema; consumers.
- Delivery guarantees: assume at-least-once delivery. Exactly-once exists only within narrow broker features; end-to-end effects must still be idempotent.
- Idempotent consumers: deduplicate by message or business key (processed-ID table with unique constraint, or idempotent upserts); side effects (emails, payments) guarded by idempotency keys.
- Publish reliably: the transactional outbox — write the state change and the outgoing event in the same database transaction, then relay; never "commit then publish" without recovery.
- Ordering: only within a partition or message group; choose keys (for example the aggregate ID) to keep related events ordered; consumers tolerate out-of-order events across keys.
- Failures: bounded retries with backoff; poison messages to a dead-letter queue with the original payload and error; alerting and a replay procedure.
- Schemas: versioned (Avro, Protobuf or JSON Schema with a registry); backward-compatible changes only (add optional fields); consumers ignore unknown fields.
- Backpressure and capacity: consumer lag monitoring, concurrency limits, retention long enough to recover from an outage.
- Data protection: events with personal data have retention limits; avoid putting secrets or unnecessary personal data in events that are retained or replayed.
Example fixture
Order service: UPDATE orders SET status='paid'; COMMIT; then kafka.send("order-paid").
Consumer: on order-paid → send receipt email; ack after sending.Expected findings: event lost if the process dies between commit and send (use outbox); duplicate delivery sends two emails (idempotency key); no DLQ for malformed events.
Acceptance checks
- Each consumer has a documented idempotency mechanism and a test that delivers the same message twice.
- Negative case: killing the producer between state change and publish does not lose the event (outbox test).
- Lag and DLQ alerts exist, with a written replay procedure.
Output
Message catalogue (owner, schema, key, guarantees), design changes, tests and runbook entries.
Safety
Replaying or purging queues in production needs approval and a backup of affected messages. Do not consume production topics with test consumers that commit offsets.
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.

