projection-patterns

Installation
Summary

Build read models and materialized views from event streams using projection patterns.

  • Covers four projection types: live (real-time subscriptions), catchup (historical processing), persistent (with checkpointing), and inline (strong consistency)
  • Includes five ready-to-use templates: basic projector framework, order summary projection, Elasticsearch search indexing, daily sales aggregation, and multi-table customer activity tracking
  • Emphasizes idempotency, transactional consistency, checkpoint management, and safe rebuilding strategies
  • Best practices section covers monitoring lag, error handling, event ordering, and denormalization patterns for query optimization
SKILL.md

Projection Patterns

Comprehensive guide to building projections and read models for event-sourced systems.

When to Use This Skill

  • Building CQRS read models
  • Creating materialized views from events
  • Optimizing query performance
  • Implementing real-time dashboards
  • Building search indexes from events
  • Aggregating data across streams

Core Concepts

1. Projection Architecture

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
Related skills

More from wshobson/agents

Installs
6.1K
Repository
wshobson/agents
GitHub Stars
35.2K
First Seen
Jan 20, 2026