projection-patterns

Build projections and read models from event streams for CQRS systems.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ArogyaReddy/https-github.com-wshobson-agents --skill projection-patterns-arogyareddy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: projection-patterns
Source: https://github.com/ArogyaReddy/https-github.com-wshobson-agents/tree/main/plugins/backend-development/skills/projection-patterns
Command: npx skills add https://github.com/ArogyaReddy/https-github.com-wshobson-agents --skill projection-patterns-arogyareddy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build read models and projections from event streams to support CQRS read sides, building materialized views, and optimizing query performance in event-sourced systems.

Core Features & Use Cases

  • Projection architectures and multiple projection types (Live, Catchup, Persistent, Inline) to support real-time and reconstructable views
  • Templates and guidance for common projections (e.g., order read models, product catalogs, customer activity)
  • Real-time dashboards and searchable indices built from event streams

Quick Start

Configure your event stream processor to start building read models and projections using the provided templates and architectures.

Frequently Asked Questions about projection-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build query-ready projections from event streams in an event-sourced system?

To build projections from event streams, configure your event stream processor using provided templates to generate read models and materialized views that enable efficient CQRS querying. This supports real-time and reconstructable views.

What projection types are supported for CQRS read models?

Supported projection types for CQRS read models include Live, Catchup, Persistent, and Inline projections. These architectures allow you to support real-time dashboards and reconstructable historical views from event streams.

Can I use this approach to create real-time dashboards and searchable indices?

Yes, you can create real-time dashboards and searchable indices by applying projection architectures to your event streams. The provided templates guide building materialized views for common scenarios like order read models and product catalogs.

What is the best way to optimize query performance for event-sourced systems?

The best way to optimize query performance in event-sourced systems is building read models and projections from event streams. This CQRS pattern separates write operations from query-optimized materialized views.

Do I need specific dependencies to implement materialized views from event streams?

No specific external dependencies are required to implement materialized views from event streams. You configure your existing event stream processor using the provided projection architectures and reusable templates.

When should I use inline projections versus persistent projections?

Use inline projections for immediate read model updates during event processing, and persistent projections for reconstructable views that support historical catchup and long-term querying in event-sourced systems.