nestjs-expert

Create NestJS backend modules, controllers, services, DTOs, guards, and interceptors.

2|Updated Apr 18, 2021
One-click install
npx skills add https://github.com/rabbicse/go-projects --skill nestjs-expert-rabbicse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nestjs-expert
Source: https://github.com/rabbicse/go-projects/tree/main/projects/movie-ticket-booking/.claude/skills/nestjs-expert
Command: npx skills add https://github.com/rabbicse/go-projects --skill nestjs-expert-rabbicse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the friction of designing and implementing structured NestJS backend features, so teams can move from requirements to working TypeScript APIs with less rework and fewer architectural mistakes.

Core Features & Use Cases

  • Module and Service Scaffolding: Create clean NestJS module boundaries, providers, and dependency-injected services.
  • API Delivery: Build REST controllers, DTOs, guards, interceptors, and Swagger-ready endpoints for enterprise backend workflows.
  • Security and Validation: Add JWT and Passport authentication, request validation, and role-based access patterns with consistent error handling.
  • Testing Support: Produce unit and E2E test patterns for services and controllers to keep implementations reliable.
  • Use Case: A backend team can use this Skill to implement a new authenticated user management feature with proper modules, DTO validation, repository access, and tests in a consistent NestJS structure.

Quick Start

Ask for a NestJS implementation plan or feature scaffold for your project, and specify the module, endpoints, validation, authentication, and testing behavior you want.

Frequently Asked Questions about nestjs-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a NestJS module with controllers, services, and DTOs?

Scaffolding a NestJS module involves creating clean module boundaries, dependency-injected services, REST controllers, and DTOs for structured TypeScript backend development. This approach provides consistent enterprise API delivery with reduced architectural rework.

What is the best way to add JWT and Passport authentication to a NestJS backend?

Adding JWT and Passport authentication to a NestJS backend requires implementing guards and role-based access patterns with consistent error handling. This secures enterprise REST and GraphQL services by enforcing typed authentication workflows across module boundaries.

How do I set up request validation in NestJS using class-validator?

Setting up request validation in NestJS using class-validator involves defining typed DTOs and applying validation decorators to incoming requests. This ensures data integrity at the controller level before processing reaches your dependency-injected services.

Does this approach support unit and E2E testing for NestJS controllers and services?

Yes, this approach supports unit and E2E testing for NestJS controllers and services. It produces reliable test patterns that validate dependency injection workflows and service-level error handling to keep backend implementations consistent.

Can I use TypeORM or Prisma for repository access in a NestJS enterprise service?

Yes, you can use TypeORM or Prisma for repository access in a NestJS enterprise service. The implementation applies typed patterns for both ORMs, integrating data access within modular NestJS file structures and dependency-injected providers.

How do I generate Swagger-ready API endpoints in a NestJS application?

Generating Swagger-ready API endpoints in a NestJS application involves building REST controllers, DTOs, and interceptors with proper typing. This enables automated API documentation for enterprise backend workflows without extra configuration overhead.