event-sourcing
Installation
SKILL.md
Event Sourcing
Use this skill to model domain history as append-only events, choose stream boundaries, and design reliable projections and replay workflows.
Intent Router
| Need | Load |
|---|---|
| event-sourcing fundamentals, stream design, concurrency, snapshots, and caveats | references/event-sourcing-guide.md |
| database-specific patterns for sql, postgresql, sql server, mysql, mongodb, cosmos db, and dedicated event stores | references/database-examples.md |
Quick Start
- Start from business facts that must be preserved over time.
- Choose stream boundaries from aggregate consistency rules, not from table convenience.
- Treat append-only writes and optimistic concurrency as core design decisions.
- Keep read models disposable and rebuildable from the event log.
- Use snapshots and projection checkpoints only when replay cost justifies them.