Projection patterns

From sickn33/agentic-awesome-skills · View interactive version

Projection patterns is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.

How to use this skill

Skill file

Projection Patterns

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

Use this skill when

Do not use this skill when

Instructions

Resources

Limitations

Example

For OrderItemAdded at position 42, apply the increment and persist checkpoint 42

in one transaction. Replay position 42 and verify no second increment; crash

before commit and verify both the row update and checkpoint roll back together.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.