backend-dtos

Installation
SKILL.md

Backend DTOs & Contracts

Use this skill when

  • Defining request and response shapes
  • Separating API contracts from internal entities/domain
  • Serialization and back-compat planning

Do not use this skill when

  • Internal application objects (use value objects in the domain)

Instructions

  1. Define explicit DTOs for every request and response.
  2. Never expose domain entities or ORM models directly.
  3. Map domain ↔ DTO at the boundary with clear conversion.
  4. Add example values and validation rules to DTOs.
  5. Version structural changes to DTOs deliberately.
  6. Keep field naming consistent with the API style guide.
Installs
1
First Seen
Oct 22, 2026
Security Audits