generate-dto
Installation
SKILL.md
Generate DTO for entity: $ARGUMENTS
Instructions
-
Parse arguments:
- Entity name (required): e.g.,
Employee,TextSnippetText - Options:
--with-mapping(include MapToEntity),--minimal(core props only)
- Entity name (required): e.g.,
-
Find the entity:
- Search in
*.Domain/Entities/folders - Read the entity class to understand its properties
- Search in
-
Generate DTO following platform patterns:
Location:
*.Application/EntityDtos/<EntityName>Dto.csTemplate: