cqrs-query-generator

Installation
SKILL.md

CQRS Query Generator

Overview

This skill generates Queries following the CQRS pattern. Queries are read-only operations that return data without modifying state. Key principles:

  • Queries never modify state - Read-only operations
  • Use Dapper for reads - Bypass EF Core for performance
  • Return DTOs, not entities - Projection to response models
  • Direct SQL queries - Optimized for the specific use case

Quick Reference

Query Type Use Case Returns
GetById Single entity by ID Result<EntityResponse>
GetAll All entities (with optional filtering) Result<IReadOnlyList<EntityResponse>>
GetPaged Paginated list Result<PagedList<EntityResponse>>
Search Filtered/searched results Result<IReadOnlyList<EntityResponse>>
Related skills
Installs
9
GitHub Stars
52
First Seen
Mar 1, 2026