nestjs
Installation
SKILL.md
Non-negotiable rules:
- Read
references/stack.mdfirst to understand the project's NestJS version, ORM, and locked decisions. - Then load only the references needed for the actual task.
- One module per domain — controllers, services, DTOs, and entities live together in their module directory.
- Controllers are thin — validate (DTO + pipe), delegate (service), return. No business logic.
- All input validated via DTOs — class-validator decorators on every DTO,
ValidationPipeglobally. - Dependency injection everywhere — never
new Service(). Inject via constructor, provide via module. - No circular dependencies — use
forwardRef()only as a last resort, prefer restructuring. - 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