ronnythedev/dotnet-clean-architecture-skills/03-dotnet-cqrs-query-generator
Claude Code and agent skill by ronnythedev/dotnet-clean-architecture-skills
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generates CQRS Queries with Handlers and Response DTOs for read operations. Uses Dapper for optimized read queries, bypassing the domain model for better performance.
Install
npx vskill@latest install ronnythedev/dotnet-clean-architecture-skills/03-dotnet-cqrs-query-generatorSKILL.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>> | |
| Exists | Check if entity exists | Result<bool> |
Query Structure
Template: Get By ID Query
Response DTO
Template: Get All Query
Template: Get By Parent ID Query
Template: Paginated Query
Template: Query with Multi-Mapping (Joins)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/03-dotnet-cqrs-query-generator/SKILL.md
Popularity
- Repository stars
- 64
- Repository forks
- 11
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ronnythedev/dotnet-clean-architecture-skills/03-dotnet-cqrs-query-generator)