entity-dto
OfficialGenerate TypeORM entities and DTOs
Authorlety-ai
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the manual, error-prone work of creating TypeORM entities and corresponding Create/Update DTOs for the Lety 2.0 Backend, ensuring consistent column naming, validation, Swagger docs, and serialization methods that follow NestJS and TypeORM best practices.
Core Features & Use Cases
- Guided specification: Prompts for domain name, fields, relations, service scope, and indices before generation to avoid guessing.
- Production-ready entity: Generates an Entity extending BaseEntity with explicit snake_case column names, indices, relations, sensitive-field handling, and a required toResponseDto() method.
- Validated DTOs: Produces a Create DTO with appropriate class-validator and Swagger decorators and an Update DTO implemented via PartialType.
- Best-practice checks: Flags issues such as missing explicit column names, exposed sensitive fields, or invalid validator combinations and recommends fixes.
- Use case: Quickly scaffold a new domain model with relations and validation for a NestJS + TypeORM (Postgres) service while enforcing team conventions.
Quick Start
Generate a TypeORM entity and matching Create and Update DTOs for the provided domain name and field specification following the Lety 2.0 Backend best practices.
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: entity-dto Download link: https://github.com/lety-ai/lety-skill-hub/archive/main.zip#entity-dto 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.