一键导入
dto-generator
Scaffolds NestJS DTOs with class-validator and @nestjs/swagger decorators.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scaffolds NestJS DTOs with class-validator and @nestjs/swagger decorators.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | dto-generator |
| description | Scaffolds NestJS DTOs with class-validator and @nestjs/swagger decorators. |
This skill automates the creation of Data Transfer Objects (DTOs) following the project's standards for validation and documentation.
CreateUserDto, UpdateProfileRequest).dto/requests, Responses to dto/responses.Run the following command from the project root:
node .gemini/skills/dto-generator/scripts/generate_dto.cjs <module-name> <dto-name> <type: request|response>
To create a UpdatePasswordRequest in the auth module:
node .gemini/skills/dto-generator/scripts/generate_dto.cjs auth UpdatePasswordRequest request
This will:
src/modules/auth/dto/requests/update-password-request.dto.ts.@ApiProperty and basic class-validator placeholders.update-password-request.dto.ts).class-validator decorators.@nestjs/swagger decorators.Run a comprehensive code quality audit and automatically create GitHub issues for every finding. Produces one .md file per issue, creates the GitHub issues with labels, adds them to the project board, then writes an audit-summary.md. Trigger when user asks for a code audit, quality review, tech debt scan, security review, or anti-pattern analysis. Accepts an optional path argument to scope the audit (e.g. /audit src/modules/auth). Without args, audits the full src/ directory.
Guides and best practices for working with Neon Serverless Postgres. Covers setup, local development, connection methods, Neon features, and platform tooling.
Update project documentation in docs/ to reflect recent code changes, new features, or architectural decisions.
Update project documentation in docs/ to reflect recent code changes, new features, or architectural decisions.
Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.
Scaffolds unit tests (.spec.ts) for NestJS Services and Controllers, including automatic mocking of dependencies like UnitOfWork and Repositories.