event-stream-projection-patterns

Project event streams into read models for CQRS with checkpointing.

3|2|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/wesleyegberto/software-engineering-skills --skill event-stream-projection-patterns
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: event-stream-projection-patterns
Source: https://github.com/wesleyegberto/software-engineering-skills/tree/main/plugins/architecture/skills/event-stream-projection-patterns
Command: npx skills add https://github.com/wesleyegberto/software-engineering-skills --skill event-stream-projection-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Projections and read models are essential for fast, accurate queries in event-sourced architectures; this Skill guides turning streams of events into denormalized read models that support CQRS and analytics.

Core Features & Use Cases

  • Builds live and historical projections from events to denormalized read models.
  • Supports projection types: Live, Catchup, Persistent, Inline, with checkpointing.
  • Enables real-time dashboards, searchable indexes, and aggregated views across streams.

Quick Start

Create a projection by subclassing Projection, register it with a Projector, and run the projector to refresh the read model from your event stream.

Frequently Asked Questions about event-stream-projection-patterns

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

FAQPage Schema
How do I build read models from event streams for CQRS?▼

You build read models from event streams by running a projector that applies projections to transform events into denormalized data. This Skill supports creating live, catchup, persistent, and inline projections to populate your read models efficiently.

What is the best way to create a live dashboard from event sourcing?▼

Creating a live dashboard from event sourcing requires projecting your event streams into denormalized read models. This Skill applies live projections to continuously update dashboard views as new events stream in, ensuring real-time data visibility.

Can I restart a projector without losing my place in the event stream?▼

Yes, you can restart a projector without losing your place by using checkpointing. This Skill ensures accurate, restartable reads by tracking the projector's position in the event stream, allowing it to resume exactly where it stopped.

What projection types are supported for processing event streams?▼

The supported projection types for processing event streams are Live, Catchup, Persistent, and Inline. Each type serves different needs, from real-time updates to historical rebuilds, allowing flexible read model construction.

How do I create searchable indexes from events in an event-sourced system?▼

You create searchable indexes from events by configuring projections that materialize your event stream into a structured read model. This Skill guides building these indexed views to support fast queries and analytics across your streams.

When do I need catchup projections versus live projections?▼

You need catchup projections when rebuilding historical read models from past events, and live projections when updating read models with new events in real-time. This Skill supports both, enabling accurate data architecture transitions.