What problem does it solve?
This Skill eliminates the friction of working with MediatorLite's public contract layer by providing a single, authoritative reference for all interfaces, attributes, and validation models that consumers implement and the source generator depends on, removing the need to parse scattered source code or external documentation.
Core Features & Use Cases
- Full Contract Coverage: Documents all core interfaces including IMediator, IRequest<T>, IRequestHandler<,>, INotification, INotificationHandler<>, IPipelineBehavior<,>, and the Unit struct, plus all compile-time attributes for notification strategies, behavior ordering, and observability opt-outs.
- Validation Reference: Covers the IValidator<T> contract, ValidationResult, ValidationError, and ValidationException types for integrating custom validation into MediatorLite pipelines.
- Use Case: Use this Skill when adding new CQRS request/response contracts, configuring compile-time notification execution strategies, customizing pipeline behavior order, or troubleshooting generated mediator dispatch issues.
Quick Start
Use the mediatorlite-abstractions skill to look up the correct implementation pattern for the IRequestHandler<,> interface when building a new query handler for your MediatorLite-powered application.