citypaul/dotfiles/event-sourcing
Event sourcing patterns for functional TypeScript — persist state as an append-only log of past events and rebuild it by folding them. Use when implementing a Decider write model, an event store, projections and read models, event versioning, or snapshots. Builds on the Decider from domain-driven-design and the ports/adapters from hexagonal-architecture. Do NOT reach for it on CRUD, or when an audit log or the outbox pattern already suffices.
Agent skill · version 0.0.0-main.1794518938.gcd4028d · from citypaul/.dotfiles
Install
npx yarkr-cli add skill:citypaul/dotfiles/event-sourcingWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/event-sourcing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:citypaul/dotfiles/event-sourcingOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:citypaul/dotfiles/event-sourcingWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.