create-outbox-pattern
Installation
SKILL.md
Outbox Pattern Generator
Creates Transactional Outbox pattern infrastructure for reliable event publishing.
When to Use
- Need reliable event publishing across transaction boundaries
- Prevent message loss if broker is down
- Ensure exactly-once or at-least-once delivery
- Maintain consistency between database and message broker
Component Characteristics
OutboxMessage Entity
- Immutable value object in Domain layer
- Contains: id, aggregateType, aggregateId, eventType, payload, timestamps
- Supports reconstitution for persistence
- Methods: withProcessed(), withRetryIncremented()