dto-response
OfficialGenerate DTOs and Response classes.
Authorbloominggrace
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the creation and modification of Data Transfer Objects (DTOs) and Response classes, ensuring consistency and adherence to best practices in your application's data handling.
Core Features & Use Cases
- Input DTO Creation: Define request data structures with validation using
class-validator. - Output Response Generation: Create response payloads using
class-transformer's@Exposedecorator. - Naming Conventions: Follows established patterns for DTOs and Responses (e.g.,
CreateEntityDto,FindEntityRes). - Use Case: When building a new API endpoint to create a user, use this skill to generate the
CreateUserDtoandCreateUserResclasses, including necessary validation rules.
Quick Start
Use the dto-response skill to create a CreateProductDto and CreateProductRes in the src/product/dto/ folder.
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: dto-response Download link: https://github.com/bloominggrace/create-fullstack-service/archive/main.zip#dto-response 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 223,000+ vetted skills library on demand.