cqrs-mediatr

Community

Coordinate CQRS components with MediatR in .NET

Authorbbolek-ap
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Coordinate CQRS components in a .NET app using MediatR to reduce boilerplate and ensure consistent patterns.

Core Features & Use Cases

  • Define Commands and Queries with MediatR using IRequest<T> and one Handler per command or query.
  • Place Validators next to commands and enforce a centralized, FluentValidation-based validation pipeline.
  • Use Autofac assembly scanning to register MediatR handlers and validators, with API endpoints dispatching to the mediator and returning RFC 7807 ProblemDetails on errors.

Quick Start

Create a new endpoint that dispatches a Create{Entity}Command through MediatR to trigger the appropriate handler.

Dependency Matrix

Required Modules

None required

Components

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: cqrs-mediatr
Download link: https://github.com/bbolek-ap/new-ai-native/archive/main.zip#cqrs-mediatr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.