command-handler

Community

MediatR command handlers, implemented right.

AuthorFaysilAlshareef
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implement MediatR command handlers for event-sourced microservices with clear patterns, validation, and per-feature boundaries.

Core Features & Use Cases

  • Create and update MediatR command handlers using primary constructor DI and IUnitOfWork.
  • Rebuild aggregates from history with LoadFromHistory and apply domain commands.
  • Commit new events deterministically via ICommitEventService, ensuring idempotency and proper event sourcing.
  • Follow feature-folder organization under Application/Features/Commands for maintainability and consistency.

Quick Start

Run a sample CreateOrder command through the MediatR pipeline to validate the handler flow.

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: command-handler
Download link: https://github.com/FaysilAlshareef/dotnet-ai-kit/archive/main.zip#command-handler

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.