Skip to main content

Projection Patterns

Skill Verified Active
Part of:Agents

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.

Purpose

To guide developers in implementing robust and efficient read models and projections for event-sourced systems.

Features

  • Detailed guidance on projection architecture
  • Explanation of different projection types
  • Multiple Python code templates for common patterns
  • Best practices for building projections
  • Clear use case examples

Use Cases

  • Building CQRS read models
  • Creating materialized views from event streams
  • Optimizing query performance in event-sourced systems
  • Implementing real-time dashboards from events

Non-Goals

  • Handling the event store implementation
  • Implementing the write side of CQRS
  • Providing a generic event processing framework without focus on projections

Installation

First, add the marketplace

/plugin marketplace add wshobson/agents
/plugin install backend-development@claude-code-workflows

Quality Score

Verified
98 /100
Analyzed about 17 hours ago

Trust Signals

Last commit3 days ago
Stars35.3k
LicenseMIT
Status
View Source

Similar Extensions

Cqrs Implementation

95

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

Skill
wshobson

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

Skill
ruvnet

Azure Postgres Ts

100

Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".

Skill
microsoft

Neon Postgres

100

Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related questions.

Skill
neondatabase

Mongodb Search And Ai

100

Guides MongoDB users through implementing and optimizing Atlas Search (full-text), Vector Search (semantic), and Hybrid Search solutions. Use this skill when users need to build search functionality for text-based queries (autocomplete, fuzzy matching, faceted search), semantic similarity (embeddings, RAG applications), or combined approaches. Also use when users need text containment, substring matching ('contains', 'includes', 'appears in'), case-insensitive or multi-field text search, or filtering across many fields with variable combinations. Provides workflows for selecting the right search type, creating indexes, constructing queries, and optimizing performance using the MongoDB MCP server.

Skill
mongodb

MongoDB Connection Optimizer

100

Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling `connect()`), configuring connection pools, troubleshooting connection errors (ECONNREFUSED, timeouts, pool exhaustion), optimizing performance issues related to connections. This includes scenarios like building serverless functions with MongoDB, creating API endpoints that use MongoDB, optimizing high-traffic MongoDB applications, creating long-running tasks and concurrency, or debugging connection-related failures.

Skill
mongodb

© 2025 SkillRepo · Find the right skill, skip the noise.