What problem does it solve?
Modifying or debugging the MediatorLite.SourceGeneration Roslyn incremental generator requires deep familiarity with its four discovery pipelines, emitted code structure, and compile-time strategy resolution logic, which is distributed across the generator implementation and scattered documentation. This Skill centralizes all critical reference material for working with the generator, eliminating hours of manual codebase traversal.
Core Features & Use Cases
- Four discovery pipelines: Full reference for the handler, behavior, validator, and notification type discovery pipelines, including skip attribute handling, ordering logic, and open generic expansion rules.
- Compile-time dispatch emission: Detailed guidance on the emitted MediatorLiteRegistration and SourceGeneratedMediator classes, including unrolled typed switch dispatch, nested pipeline behavior chaining, and zero-allocation request handling.
- Use Case: Use this Skill when adding support for a new handler interface type, adjusting notification execution/error strategy resolution, debugging missing generated handlers or validators, or modifying inline logging and tracing emission logic.
Quick Start
Use the mediatorlite-source-generation skill to debug why a custom pipeline behavior is not being registered in the generated MediatorLiteRegistration code for your .NET project.