mappers
CommunityA concise, safe mapper for Domain ↔ Entity.
Authorroromanenko
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Defines a consistent approach to mapping between domain models and persistence entities, and to API DTOs, ensuring predictable transformations and minimizing ad-hoc code.
Core Features & Use Cases
- One-file-per-aggregate mappers (e.g., ArticleMapper.cs), with related sub-types in the same file.
- Static extension methods only, no instances, no DI, no side effects.
- Infrastructure layer mappings for Entity ↔ Domain and Api layer mappings for Domain → DTO, with explicit patterns for enum handling, navigation properties, and vector data.
Quick Start
Create a new AggregateMapper.cs in the appropriate layer and implement static extension methods following the conventions.
Dependency Matrix
Required Modules
None requiredComponents
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: mappers Download link: https://github.com/roromanenko/NewsParser/archive/main.zip#mappers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.