Skip to content
Skills Library
Programming · Planning

event-driven-architecture

/event-driven-architecture

Design event-driven systems with well-shaped events, schema contracts, and honest handling of choreography's costs. Use when decoupling services through events or debugging an event system nobody can reason about.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Design event-driven systems with well-shaped events, schema contracts, and honest handling of choreography's costs. Use when decoupling services through events or debugging an event system nobody can reason about.

Original author description

Design event-driven systems with well-shaped events, schema contracts, and honest handling of choreography's costs. Use when decoupling services through events or debugging an event system nobody can reason about.

How it works

  1. Method
  2. Boundaries
Original SKILL.md headings · 74 lines, 467 words
SKILL.md preview
---
name: event-driven-architecture
description: Design event-driven systems with well-shaped events, schema contracts, and honest handling of choreography's costs. Use when decoupling services through events or debugging an event system nobody can reason about.
---

# Event-driven architecture

Events invert control: producers announce what happened and forget;
consumers react on their own schedule. This buys decoupling and
scalability at the price of a system whose behavior lives in no single
place, so the design discipline is making that distributed behavior
traceable and its contracts stable.

## Method

1. **Model events as immutable business facts.** Past tense,
   named for what happened (`OrderPlaced`, not
   `OrderService.update`), carrying the identifiers and the
   facts consumers need, with a version and timestamp (see
   event-sourcing's event design; the same rule whether or
   not you store the log). Events are commands' opposite:
   they announce, they do not instruct, and they cannot be
   rejected.
2. **Choose choreography and orchestration deliberately.**
   Choreography (services react to events independently)
   scales and decouples but scatters the workflow: no one
   place answers "where is order 123" (see saga-pattern's
   same tradeoff). Orchestration (a coordinator drives the
   steps) keeps flows readable at the cost of a central
   component. Use choreography for genuinely independent
   reactions, orchestration for multi-step business
   processes: mixing them by accident is how event systems
   become unknowable.
3. **Treat event schemas as contracts.** Producers and
   consumers are coupled through the event shape; evolve it
   additively (new optional fields), version breaking
   changes, and enforce compatibility mechanically (schema
   registry: see schema-evolution, api-change-management).
   An event's schema is a public API with many invisible
   consumers.
4. **Deliver at-least-once, consume idempotently.** The
   transport redelivers; consumers dedupe or design
   naturally idempotent handlers (see idempotent-consumers,
   delivery-guarantees), and never assume ordering beyond
   per-key (see message-queues, clock-skew). Producers emit
   events reliably via the outbox pattern so state change
   and event never diverge (see transactional-outbox).
5. **Make the invisible traceable.** Correlation IDs
   threaded through every event and handler (see
   distributed-tracing), a catalog of events with their
   producers and consumers (see data-lineage's instinct for
   events), and observability that reconstructs a flow
   across services (see observability). Without these, an
   event system is a debugging nightmare where cause and
   effect live in different repos.
6. **Provide a reconciliation path.** Consumers miss events
   (downtime, bugs); a replayable log (see message-queues'
   retention) or a query API to re-fetch current state
   (see rest-endpoint-design) lets a recovered consumer
   catch up. Event-driven without a catch-up story loses
   data silently on every consumer outage.

## Boundaries

- Events decouple, but eventual consistency is the price:
  the UI and users see intermediate states (see cqrs's read
  lag), and workflows are not atomic (see saga-pattern);
  design the UX for in-flight and the data for reconcile.
- Not everything is an event: request/response is simpler
  and correct for synchronous needs (a user awaiting a
  result); reaching for events to decouple two services
  that must agree synchronously adds latency and
  complexity for nothing.
- The broker becomes critical infrastructure with its own
  scaling, retention, and failure modes (see
  message-queues, capacity-planning); event-driven is a
  distributed-systems commitment, not a library import.

Versions

RepositoryScoreLicence
This page · Amey-Thakur/AI-SKILLS90MIT
travisjneuman/.claude100MIT
nimadorostkar/Claude-Skills-collection100MIT
reddygopalkrishna/developer-agent-skills100MIT
andreibesleaga/gabbe90CC-BY-4.0
NickCrew/Claude-Cortex90MIT
rade-nugroho/agentic-enteprises-skill90MIT

Database snapshot: 13.11.2026 · package version 2db7308d8d47 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100emitting-api-events
    Build event-driven APIs with webhooks, Server-Sent Events, and real-time notifications. Use when building event-driven API architectures. Trigger with phrases like "add webhooks", "implement events", or "create event-driven API".
  • 100emitting-api-events
    Build event-driven APIs with webhooks, Server-Sent Events, and real-time notifications. Use when building event-driven API architectures. Trigger with phrases like "add webhooks", "implement events", or "create event-driven API".
  • 100inngest-events
    Use when designing event-driven workflows, decoupling services, implementing fan-out patterns (one trigger, many downstream handlers), implementing idempotent event handling with IDs (24-hour dedupe window), or handling at-least-once delivery from external sources like Stripe…
  • 100event-driven
    Use when designing event-driven architectures and patterns for loosely coupled, asynchronous .NET systems. USE FOR: event-driven architecture patterns, domain events, integration events, event sourcing fundamentals, pub/sub design, event bus abstraction DO NOT USE FOR: specific…
  • 100granola-webhooks-events
    Build event-driven automations with Granola''s Zapier webhook triggers. Use when creating real-time notification systems, processing meeting events, or building custom integrations that react to Granola note creation. Trigger: "granola webhooks", "granola events", "granola…
  • 95event-driven
    Event Sourcing, CQRS, Saga patterns, event bus (Kafka, RabbitMQ, AWS EventBridge). Use when implementing event-driven architecture, distributed transactions, or event sourcing.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.