ddd-event-driven
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- Use domain events to decouple aggregates and services
- Design event sourcing systems where state is derived from an event stream
- Implement CQRS (Command Query Responsibility Segregation)
- Choose and integrate message brokers (Kafka, RabbitMQ, etc.)
- Ensure reliable event delivery with outbox patterns
How to use this skill
Workflow
- Identify domain events that represent "facts that have happened" within aggregates
- Design the event flow: publication, transport (message bus), and consumption
- Choose the pattern: simple domain events, event sourcing, or full CQRS
- Implement delivery guarantees: at-least-once delivery with idempotent consumers