Nestjs
NestJS TypeScript backend framework with decorators and modules. Use for Node.js APIs.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill nestjsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 351 tokens by cl100k_base, as published. Nobody here has run it
NestJS
NestJS is a structured, opinionated framework for Node.js, heavily inspired by Angular. NestJS 10 (2025) focuses on performance with SWC integration and refined standalone modules.
When to Use
- Enterprise Monorepos: Strict architecture (Controllers, Services, Modules) scales well.
- TypeScript First: Best-in-class TS support and decorators.
- Microservices: Built-in support for gRPC, MQTT, Redis transport layers.
Quick Start
// cats.controller.ts
@Controller("cats")
export class CatsController {
constructor(private catsService: CatsService) {}
@Get()
async findAll(): Promise<Cat[]> {
return this.catsService.findAll();
}
}
Core Concepts
Modules
Logic is organized into Modules (UserModule, AuthModule). Dependency Injection wires them together.
Decorators
@Controller, @Get, @Injectable. Declarative metadata programming.
Guards & Interceptors
A refined pipeline for Authentication (@UseGuards) and Response transformation (@UseInterceptors).
Best Practices (2025)
Do:
- Use SWC: Speed up builds significantly by using the SWC compiler.
- Use Fastify adapter: Switch from Express to Fastify for 2x performance gains if compatibility allows.
- Use
zodorclass-validator: Validate all inputs using DTOs.
Don't:
- Don't allow circular dependencies: They are a pain in NestJS. Design your modules as acyclic graphs.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.