nestjs

Installation
SKILL.md

Non-negotiable rules:

  1. Read references/stack.md first to understand the project's NestJS version, ORM, and locked decisions.
  2. Then load only the references needed for the actual task.
  3. One module per domain — controllers, services, DTOs, and entities live together in their module directory.
  4. Controllers are thin — validate (DTO + pipe), delegate (service), return. No business logic.
  5. All input validated via DTOs — class-validator decorators on every DTO, ValidationPipe globally.
  6. Dependency injection everywhere — never new Service(). Inject via constructor, provide via module.
  7. No circular dependencies — use forwardRef() only as a last resort, prefer restructuring.
  8. Keep the heavy NestJS guidance in references/, not inline here.

nestjs

Inputs

  • $request: The NestJS module, endpoint, subsystem, or feature being worked on
Related skills
Installs
31
Repository
ulpi-io/skills
First Seen
Apr 1, 2026