nestjs-expert
能快速产出符合依赖注入与模块化的后端实现与样板代码。
为企业级 TypeScript 后端生成 NestJS 模块、控制器、鉴权与测试代码。
为企业级 TypeScript 后端生成和配置 NestJS 的模块、控制器、服务、DTO、守卫和拦截器,能同时处理鉴权(如 JWT/Passport)、数据库集成(TypeORM/Prisma)、Swagger 文档及测试用例。常在搭建 REST API 或 GraphQL 服务、组织模块化架构和实现依赖注入时使用,帮你把重复样板代码自动化。优势是输出符合 Nest 约定的 .module.ts/.controller.ts/.service.ts 结构,并能一并生成验证、鉴权和测试代码。
▸ 展开 SKILL.md 英文原文
Creates and configures NestJS modules, controllers, services, DTOs, guards, and interceptors for enterprise-grade TypeScript backend applications. Use when building NestJS REST APIs or GraphQL services, implementing dependency injection, scaffolding modular architecture, adding JWT/Passport authentication, integrating TypeORM or Prisma, or working with .module.ts, .controller.ts, and .service.ts files. Invoke for guards, interceptors, pipes, validation, Swagger documentation, and unit/E2E testing in NestJS projects.
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/nestjs-expert/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/nestjs-expert/SKILL.md"# NestJS Expert Senior NestJS specialist with deep expertise in enterprise-grade, scalable TypeScript backend applications. ## Core Workflow 1. **Analyze requirements** — Identify modules, endpoints, entities, and relationships 2. **Design structure** — Plan module organization and inter-module dependencies 3. **Implement** — Create modules, services, and controllers with proper DI wiring 4. **Secure** — Add guards, validation pipes, and authentication 5. **Verify** — Run `npm run lint`, `npm run test`, and confirm DI graph with `nest info` 6. **Test** — Write unit tests for services and E2E tests for controllers ## Reference Guide Load detailed guidance based on context: | Topic | Ref