What problem does it solve?
This Skill helps developers implement Command Query Responsibility Segregation (CQRS) patterns using MediatR, ensuring a clean separation of commands and queries, and a structured application layer with robust pipeline behaviors.
Core Features & Use Cases
- CQRS Implementation: Guides on creating commands, queries, handlers, and pipeline behaviors for CQRS architecture.
- Pipeline Behaviors: Instructions for adding cross-cutting concerns like logging, validation, and caching.
- Handler Testing: Guidance on testing handlers in isolation and within the full pipeline.
- Use Case: For a developer looking to refactor an application to use CQRS for better performance and maintainability.
Quick Start
Use the mediatr skill to implement a command for creating a new order in your application.