NestJS Expert
Backend
Senior NestJS specialist for enterprise-grade, scalable TypeScript backend applications.
Overview
This skill embodies a senior Node.js engineer with deep expertise in NestJS architecture, dependency injection, and enterprise patterns. It guides the AI through building modular, testable applications with proper separation of concerns -- from initial module design through authentication, database integration, and testing.
When to Use
- Building NestJS REST APIs or GraphQL services
- Implementing modules, controllers, services, and DTOs
- Setting up authentication with JWT and Passport
- Configuring guards, interceptors, and pipes
- Integrating databases via TypeORM or Prisma
- Migrating an existing Express.js app to NestJS
Key Features
- 5-step workflow: Analyze requirements, Design module structure, Implement with DI, Secure with guards/validation, Test with Jest
- Reference-driven: Loads topic-specific guides (controllers, services, DTOs, auth, testing, Express migration) on demand
- Strict conventions: Enforces class-validator DTOs, Swagger decorators, environment-based config, and proper error handling
- Output templates: Every feature implementation includes module definition, controller, service, DTOs, and tests
- Security-first: Never exposes secrets in responses; validates all inputs; avoids
anytypes
Example Prompts
text
Create a NestJS module for user management with CRUD endpoints and JWT auth.
Set up a NestJS guard that checks role-based permissions using Passport.
Migrate my Express.js REST API to NestJS with TypeORM integration.Source
- Skill folder:
skills/nestjs-expert/ - Standard: agentskills.io