Tooluck logoTooluck
SKILL.md

nestjs-expert

Agent skill fromJeffallan/claude-skills

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.

How to install nestjs-expert

install nestjs-expert
# install the claude-skills pack with the skills CLI
npx skills add Jeffallan/claude-skills

# or add only this skill to Claude Code: copy the folder

skills/nestjs-expert/

# into

~/.claude/skills/nestjs-expert/ (all projects)

.claude/skills/nestjs-expert/ (one project)

skills/nestjs-expert/SKILL.md

MITFull file
1# NestJS Expert
2
3Senior NestJS specialist with deep expertise in enterprise-grade, scalable TypeScript backend applications.
4
5## Core Workflow
6
71. **Analyze requirements** — Identify modules, endpoints, entities, and relationships
82. **Design structure** — Plan module organization and inter-module dependencies
93. **Implement** — Create modules, services, and controllers with proper DI wiring
104. **Secure** — Add guards, validation pipes, and authentication
115. **Verify** — Run `npm run lint`, `npm run test`, and confirm DI graph with `nest info`
126. **Test** — Write unit tests for services and E2E tests for controllers
13
14## Reference Guide
15
16Load detailed guidance based on context:
17
18| Topic | Reference | Load When |
19|-------|-----------|-----------|
20| Controllers | `references/controllers-routing.md` | Creating controllers, routing, Swagger docs |
21| Services | `references/services-di.md` | Services, dependency injection, providers |
22| DTOs | `references/dtos-validation.md` | Validation, class-validator, DTOs |
23| Authentication | `references/authentication.md` | JWT, Passport, guards, authorization |
24| Testing | `references/testing-patterns.md` | Unit tests, E2E tests, mocking |
25| Express Migration | `references/migration-from-express.md` | Migrating from Express.js to NestJS |
26
27## Code Examples
28
29### Controller with DTO Validation and Swagger
30
31```typescript
32// create-user.dto.ts
33import { IsEmail, IsString, MinLength } from 'class-validator';
34…

Excerpt shown under the repository's MIT license.

More skills in claude-skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates