Loading...
Loading...
Design event-driven systems: contracts, topics, consumers, retries, idempotency, and sagas. Use for asynchronous workflows. NOT for CRUD APIs or ETL pipelines.
npx skill4agent add wyattowalsh/agents event-driven-architect| Term | Definition |
|---|---|
| event | Immutable record of something that happened |
| command | Request to perform an action, not a fact |
| topic | Named stream or channel carrying related events |
| partition key | Value used to preserve order for a subset of events |
| consumer group | Independent set of workers processing the same topic |
| idempotency key | Stable identity used to make repeated processing safe |
| dead-letter queue | Holding area for messages that exceeded normal retries |
| outbox | Transactional pattern for publishing events from database changes |
| saga | Multi-step workflow coordinated through events and compensations |
| contract version | Compatibility marker for event schema evolution |
| $ARGUMENTS | Mode |
|---|---|
| Design an event-driven architecture |
| Audit an existing event flow |
| Define or evolve an event contract |
| Design retries, ordering, and recovery |
| Plan adoption or replacement of an event flow |
| Natural language about queues, brokers, or async workflows | Auto-detect the closest mode |
| Empty | Show the mode menu with examples |
| # | Mode | Example |
|---|---|---|
| 1 | Design | |
| 2 | Review | |
| 3 | Contract | |
| 4 | Reliability | |
| 5 | Migration | |
SKILL.mdreferences/event-vs-command.mdreferences/failure-modes.mdreferences/saga-comparison.mdreferences/output-templates.mdreferences/event-vs-command.mdreferences/saga-comparison.mdreferences/output-templates.mdreferences/failure-modes.mdreferences/event-vs-command.mdreferences/failure-modes.mdreferences/output-templates.md| File | Read When |
|---|---|
| The main design question is whether to emit an event, issue a command, or keep a synchronous call |
| The task involves retries, ordering, replay, poison messages, dead-letter queues, or consumer recovery |
| Choosing choreography, orchestration, or compensating saga structure across services |
| Formatting architecture, contract, reliability, review, or migration outputs |