From wshobson-projection-patterns
Builds read models and projections from event streams for CQRS read sides, materialized views, and query optimization in event-sourced systems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wshobson-projection-patterns:projection-patternsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive guide to building projections and read models for event-sourced systems.
Comprehensive guide to building projections and read models for event-sourced systems.
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Event Store │────►│ Projector │────►│ Read Model │
│ │ │ │ │ (Database) │
│ ┌─────────┐ │ │ ┌─────────┐ │ │ ┌─────────┐ │
│ │ Events │ │ │ │ Handler │ │ │ │ Tables │ │
│ └─────────┘ │ │ │ Logic │ │ │ │ Views │ │
│ │ │ └─────────┘ │ │ │ Cache │ │
└─────────────┘ └─────────────┘ └─────────────┘
| Type | Description | Use Case |
|---|---|---|
| Live | Real-time from subscription | Current state queries |
| Catchup | Process historical events | Rebuilding read models |
| Persistent | Stores checkpoint | Resume after restart |
| Inline | Same transaction as write | Strong consistency |
Full template library and detailed worked examples live in references/details.md. Read that file when you need the concrete templates.
3plugins reuse this skill
First indexed Jul 7, 2026
npx claudepluginhub p/wshobson-wshobson-projection-patterns-plugins-backend-development-skills-projection-patternsBuilds read models and projections from event streams for CQRS read sides, materialized views, and query optimization in event-sourced systems.
Builds read models and projections from event streams for CQRS and event-sourced systems. Use for materialized views and query optimization.
Builds read models and projections from event streams for CQRS read sides, materialized views, and search indexes.