seiyajapon/ia-handbooks/event-driven-architecture
Claude Code and agent skill by seiyajapon/ia-handbooks
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install seiyajapon/ia-handbooks/event-driven-architectureSKILL.md
The same SKILL.md was published earlier as seiyajapon/ia-handbooks/event-driven-architecture.
Event-Driven Architecture Skill
Use this skill when designing, reviewing, or migrating to systems where events are the primary mode of communication. Triggers: EDA, event-driven, event bus, message broker, choreography, orchestration, async workflows, pub/sub at the architectural level.
What EDA is
Event-Driven Architecture (EDA) is a paradigm where components communicate primarily through events: facts emitted by one component, consumed asynchronously by others. The system reacts to events more than it serves direct requests.
Defining properties:
- Asynchronous communication. Producers emit; consumers process later.
- Loose coupling. Producers do not know who consumes.
- Event contracts. Events have schemas; the schema is the contract.
- Multiple consumers. Several components can subscribe to the same event.
What EDA is and is not
EDA is a paradigm treated as an architecture in modern systems because it deeply constrains structure.
EDA is NOT:
- The same as Event Sourcing. ES persists events; EDA communicates with events.
- The same as messaging. Messaging (queues, brokers) is the technology; EDA is how the system uses it as the primary mode of communication.
- A synonym of microservices. Microservices can be sync; EDA can run inside a monolith.
- A solution to bad architecture. EDA on top of bad architecture is hidden chaos.
Non-negotiable rule
Never start EDA work from "let's use Kafka" or "let's add an event bus".
The mandatory order is:
- Identify the workflows that benefit from async (multiple consumers, decoupled lifecycle, eventual consistency acceptable).
- Identify the events: business facts in past tense, not technical signals.
- Define the event contracts: schemas, ownership, versioning.
- Decide choreography vs orchestration per workflow.
- Decide delivery semantics (at-least-once, exactly-once is rare).
- Pick the broker.
- Build producers and consumers with idempotency, dead-letter queues, observability.
- Only then discuss specific platforms and frameworks.
Hard rules
Events are business facts in past tense
OrderPlaced, PaymentApproved, ScenarioCreated. Not CreateOrder (command), not ProcessOrder (action), not OrderUpdated (CRUD shadow).
Producer owns the schema
The producing component owns the event schema. Consumers conform. Schema changes follow a versioning strategy.
Consumers are idempotent
At-least-once delivery means the same event may arrive multiple times. The consumer's effect must be the same regardless.
Dead-letter queues
Messages that fail repeatedly go to a separate queue for manual handling. No silent loss; no infinite retry.
Observability is part of the architecture
Distributed tracing across producers and consumers. Without it, debugging an event-driven system is guessing.
Forbidden shortcuts
- "EDA = Kafka."
- "Every state change is an event."
- "We have an event bus, so we are EDA."
- "EDA = microservices."
- "Async means we do not need contracts."
Mandatory review behavior
When reviewing an EDA system, check:
- Are events business facts, not technical signals?
- Are event contracts documented and versioned?
- Are consumers idempotent?
- Is delivery at-least-once with dedup, or at-most-once with acceptance of loss?
- Are dead-letter queues configured?
- Are sagas or workflows observable?
- Is the choice between choreography and orchestration deliberate?
- Is the broker's operational maturity sufficient (monitoring, replay, scaling)?
When to pick EDA
- Asynchronous workflows dominate.
- Multiple consumers of the same event are the norm.
- Decoupled component lifecycle is valuable.
- Operational maturity for a broker exists.
When NOT to pick EDA
- Most interactions are naturally synchronous (queries with response).
- Small system, no broker-operations maturity.
- Team is unfamiliar with idempotency, ordering, dead-letter handling.
References
references/01-foundations.mdfor what EDA is, when it applies.references/02-events-and-contracts.mdfor event design, schemas, ownership, versioning.references/03-choreography-vs-orchestration.mdfor the two coordination styles.references/04-delivery-and-failure.mdfor at-least-once, idempotency, dead-letter, transactional outbox.references/05-relationship-with-other-disciplines.mdfor EDA vs DDD, microservices, ES, hexagonal/clean/onion.references/06-anti-patterns.mdfor technical events, no contracts, no idempotency, no DLQ.references/07-review-checklist.mdfor reviewing an EDA system.references/08-user-preferences.mdfor Francisco's project conventions.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinghandbook_v3/handbook/skills/software-architecture/event-driven-architecture/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/seiyajapon/ia-handbooks/event-driven-architecture)