net8-apirest-mapping

Community

Unify mapping for .NET 8 REST APIs.

Authorzeshone
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Object mapping between Requests, Entities, and DTOs in ASP.NET Core 8 REST APIs can be inconsistent and hard to maintain.

Core Features & Use Cases

  • Default to extension-method based mappings for explicit, testable transformations.
  • Enforce Service-owned mapping: Request → Entity, Entity → DTO, and DTO → Response, with clear boundaries to prevent leakage into controllers or repositories.
  • AutoMapper usage is limited to trivial 1:1 Entity → DTO mappings when names and types align.

Quick Start

Begin by adopting extension-method based mappings as the default and limit AutoMapper to simple, 1:1 Entity→DTO mappings when safe.

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: net8-apirest-mapping
Download link: https://github.com/zeshone/zesh-one-skills/archive/main.zip#net8-apirest-mapping

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.