Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

nestjs/agent-skills

Agent skills for Nest framework (node.js) 🕵️‍♂️

  • 6 skills
  • 100 stars

Skills in this pack

  • NestJS, the TypeScript framework for Node.js backends. How to start a project non-interactively with the Nest CLI, the project layout and module system, where the current docs are, and the mistakes agents make in Nest apps that still pass their tests. Use when creating or extending a NestJS application.

  • Sign-in, sessions, bearer tokens, API keys and permissions in a NestJS application with the first-party @nestjs/authentication and @nestjs/authorization packages - timing-safe password checks, a global guard with @Public(), policies with @Can(), and what to do when a task fixes the JWT secret or token format. Use when adding or changing authentication or authorization in a NestJS application.

  • Databases in a NestJS application with the first-party @nestjs/drizzle and @nestjs/typeorm integrations - registering the database, injecting it into services, schemas or entities, migrations, transactions, and writes that stay correct under concurrent requests. Use when adding or changing persistence in a NestJS application.

  • Add or change HTTP endpoints in a NestJS application - modules, controllers and services, request validation (Zod or another Standard Schema library with @Body({ schema }), or class-validator DTOs), status codes, error response bodies, request IDs, versioning and Server-Sent Events. Use when adding or changing endpoints in a NestJS application.

  • Production setup for a NestJS application with first-party packages - configuration and env validation (@nestjs/config), structured logs, observability with NestJS Observe (@nestjs/observe), health and readiness checks (@nestjs/terminus), rate limiting (@nestjs/throttler), OpenAPI (@nestjs/swagger), graceful shutdown and deployment behind a load balancer. Use when preparing a NestJS application for production, or adding any of these to one.

  • Unit, service and end-to-end tests for a NestJS application with @nestjs/testing - Test.createTestingModule, mocking and overriding providers and global guards, Supertest against the real app, signing test users in, SSE, test databases, Vitest in ESM projects (Jest in CommonJS ones). Use when writing, running or fixing tests in a NestJS application.