nestjs
星标0
分支0
更新时间2026年4月28日 23:23
NestJS module architecture, dependency injection, guards, interceptors, and DTO validation
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
NestJS module architecture, dependency injection, guards, interceptors, and DTO validation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Angular component architecture, RxJS patterns, change detection, and module organization
Azure DevOps pipeline security, YAML structure, variable management, and deployment patterns
Azure Bicep IaC patterns, parameterization, security, and modular design
Dockerfile best practices, security hardening, multi-stage builds, and image optimization
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
| name | nestjs |
| description | NestJS module architecture, dependency injection, guards, interceptors, and DTO validation |
| metadata | {"version":"1.1.0"} |
{{...}}) and ensure user input embedded in templates is escaped and not trusted. Never render undeclared template variables. If using template syntax (e.g., {{variable}}), validate and escape all variables before rendering to prevent injection<!-- -->) for sensitive data or instructions. Ensure HTML comments are stripped from source before deploymentValidationPipe@Exclude() to hide sensitive fields in responses@nestjs/throttlerforRoot/forRootAsync for configurable modules@HttpCode()/api/v1/resources)@Injectable() with appropriate scope (default singleton is usually correct)async/await for asynchronous operationsclass-validator decorators on DTO propertiesValidationPipe globally or per-routeclass-transformer for type transformation@UseGuards() and @UseInterceptors() decoratorsNotFoundException, BadRequestException, etc.)@nestjs/config for configuration managementConfigModule.forRoot() in app moduleConfigService dependency injection@nestjs/testingcreateMock or manual mocksTest.createTestingModule() for integration testsuser.controller.ts, user.service.ts)@nestjs/swagger for automatic API documentation@Api* decorators to controllers and DTOs@ApiOperation()@ApiResponse()@ApiProperty() decorators