event-driven-design
Installation
SKILL.md
Event-Driven Design
Architects event-driven systems selecting appropriate messaging patterns, event stores, CQRS projections, and broker topologies for scalable, decoupled, and auditable architectures.
Guiding Principle
"Events are facts. They happened. Design your system around immutable facts, not mutable state."
Procedure
Step 1 — Event Discovery
- Identify domain events by analyzing business processes ("what happened?" not "what changed?").
- Classify events: domain events (business), integration events (cross-service), system events (infrastructure).
- Define event schemas with: event type, timestamp, aggregate ID, payload, metadata (correlation ID, causation ID).
- Establish an event naming convention: past tense, domain-specific (
OrderPlaced,PaymentCaptured). - Produce an event catalog with ownership and consumer mapping.