mediator-commands-queries
CommunityStandardize MediatR use cases for clean CQRS.
AuthorSergeuMatyasov
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Standardize MediatR command and query use cases to enforce clear write/read boundaries and keep use-case logic in a single cohesive folder, preventing code from scattering across Commands, Queries, and Handlers.
Core Features & Use Cases
- Unified case structure: every use case lives in one UseCases/<Feature>/<CaseName> folder.
- Validator separation: validators live in separate files within the same case folder.
- CQRS discipline: commands model write intent, queries model read-only operations, and handlers orchestrate the flow without leaking domain logic.
- Correct navigation and governance: namespaces map to feature and case, not to technical layers.
Quick Start
Create a new MediatR use case under UseCases/<Feature>/<CaseName>/ following the standard naming and folder structure.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mediator-commands-queries Download link: https://github.com/SergeuMatyasov/dotnet-shared-skills/archive/main.zip#mediator-commands-queries Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.