From backend-development
Build read models and projections from event streams for CQRS read sides, materialized views, and optimized query performance in event-sourced systems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/backend-development: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.
npx claudepluginhub wshobson/agents --plugin backend-developmentBuild 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 read sides, materialized views, and search indexes.
Build read models and projections from event streams. Implements CQRS read sides, materialized views, and optimizes query performance in event-sourced systems.