pipeline-behaviors

Community

Orchestrate cross-cutting concerns for MediatR.

Authorronnythedev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a clean, reusable set of MediatR pipeline behaviors to handle logging, validation, exceptions, transactions, caching, and performance monitoring across commands and queries.

Core Features & Use Cases

  • Centralizes cross-cutting concerns (LoggingBehavior, ValidationBehavior, ExceptionHandlingBehavior, TransactionBehavior, QueryCachingBehavior, PerformanceBehavior, IdempotencyBehavior).
  • Enables consistent results, robust error handling, and transactional integrity across application layers.
  • Use Case: Apply a uniform validation and logging strategy to all handlers in a clean architecture project to improve observability and reliability.

Quick Start

Install MediatR dependencies and register the behaviors in your DI container, in order from outermost to innermost (Logging, Performance, Validation, ExceptionHandling, Transaction). Example: in your application startup, register OpenGeneric behaviors for each Behavior<,> and ensure FluentValidation validators are registered.

Dependency Matrix

Required Modules

MediatRFluentValidation

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: pipeline-behaviors
Download link: https://github.com/ronnythedev/dotnet-clean-architecture-skills/archive/main.zip#pipeline-behaviors

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 223,000+ vetted skills library on demand.