nestjs

Generate NestJS module structures with services, controllers, and DTOs.

1|Updated Sep 5, 2025
One-click install
npx skills add https://github.com/KubrickCode/general --skill nestjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nestjs
Source: https://github.com/KubrickCode/general/tree/main/.claude_kr/skills/nestjs
Command: npx skills add https://github.com/KubrickCode/general --skill nestjs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide for developing NestJS applications, ensuring adherence to best practices for architecture, dependency injection, and module organization. It helps developers build scalable, maintainable, and high-quality backend services, reducing technical debt and improving team collaboration.

Core Features & Use Cases

  • Domain-Centric Modularization: Guides on organizing modules by business domain, not by technical function.
  • Dependency Injection: Enforces constructor injection and proper provider registration for testability and clarity.
  • DTO/Entity Separation: Ensures clear boundaries between data transfer objects and database entities, preventing logic leakage.
  • Error Handling: Advocates for domain-specific exception filters and explicit error throwing for robust API responses.
  • Use Case: A backend developer is starting a new NestJS project and needs to establish a solid architectural foundation.
  • Use Case: An existing NestJS application has grown complex, and the team needs guidelines to refactor it for better maintainability and scalability.

Quick Start

Generate a NestJS module structure for a 'Product' domain, including a service, controller, and DTOs, following best practices.