NestJS has released official agent skills: six folders of instructions that teach a coding agent the current Nest APIs, the framework’s first-party packages and the mistakes that still pass tests. The project announced them on 20 November UTC, and they live in the open-source nestjs/agent-skills repository under the MIT licence.
What the six skills cover
Each skill is a folder with a SKILL.md that holds its rules, plus a references folder of longer recipes. They follow the Agent Skills format, so any agent that reads it can load them, including Claude Code, Codex and Cursor. An agent picks a skill up when its description matches the task, so nobody has to invoke one by hand. The README says every recipe was run on the released packages.
- nestjs: project setup, layout, the module system and where the current docs are.
- nestjs-feature: endpoints, validation with Zod or class-validator, status codes, errors and Server-Sent Events.
- nestjs-auth: sign-in, sessions, tokens, API keys and permission policies.
- nestjs-data: Drizzle and TypeORM, migrations, safe updates, paging and transactions.
- nestjs-testing: unit, service and end-to-end tests, and overriding providers and global guards.
- nestjs-production: configuration, logs, observability, health checks, rate limiting, OpenAPI, shutdown and deployment.

The mistakes they target
The README names four: a sign-in that leaks which emails exist, @IsOptional() letting null through to a 500, a rate limiter that never sees the user, and an event stream that outlives a revoked key. The auth skill spells out two of them. It tells the agent to check a password with PasswordHasher.verify first and only then decide whether the user exists. With no matching user, the check runs against a dummy hash, so an unknown email takes as long to reject as a wrong password does. It also says a stream authenticates once: an open SSE or WebSocket connection keeps its user after the token, API key or session is revoked, so the agent should end the stream when the credential goes.

The same skill covers token handling. Refresh tokens rotate, and reusing one returns a 401 and revokes the whole family, so the client has to sign in again. A signing key for HS256 has to be at least 32 bytes, and a shorter one stops the app at startup.
How to install them
The installer is an npm package. Run with no arguments, it copies every skill into .agents/skills/, which Codex and Cursor read:
npx @nestjs/skills add
The --agent flag picks the target. claude writes to .claude/skills/ for Claude Code, cursor writes to Cursor’s own folder, and all writes to both the shared and Claude folders. You can name individual skills, list what the package holds, or remove what it installed:
npx @nestjs/skills add --agent claude
npx @nestjs/skills add --agent all
npx @nestjs/skills add nestjs nestjs-auth
npx @nestjs/skills list
npx @nestjs/skills remove

The installer only replaces or removes folders it created itself, and it leaves a .nestjs-skills marker in each so it can tell. --global installs for every project on the machine instead of one.
Claude Code users have a second route. The repository is also a plugin marketplace, so two commands add and install it, and its skills appear namespaced, such as nestjs:nestjs-auth:
claude plugin marketplace add nestjs/agent-skills
claude plugin install nestjs@nestjs
A team can preconfigure a repository through .claude/settings.json, though each contributor still runs the install once. For updates, the plugin has its own update commands, and rerunning npx @nestjs/skills@latest add replaces the copies the installer made.
Versions and nest new
The skills are written for NestJS 12 on Node.js 20 or later. The README lists the versions the recipes ran on, starting with Nest 12.5.1 and covering the first-party authentication, authorization, Drizzle, TypeORM, throttler, Swagger, Terminus, config and Observe packages. Each skill tells the agent to check the installed version and the documentation before it relies on what it remembers.
NestJS’s post also says the skills are built into nest new. The Nest README already says projects from nest new come with an AGENTS.md that lists the first-party packages, because most models were trained before those packages existed.
In short
NestJS released six official agent skills: nestjs, nestjs-feature, nestjs-auth, nestjs-data, nestjs-testing and nestjs-production. They work with Claude Code, Codex, Cursor and any agent that reads the Agent Skills format.
Install them with npx @nestjs/skills add, or as a Claude Code plugin from the nestjs/agent-skills marketplace.
Sources
- NestJS on X: announcement
- GitHub: nestjs/agent-skills
- GitHub: nestjs-auth SKILL.md
- GitHub: nestjs/nest README
Disclosure: I’m an OpenAI, Firecrawl and Devin ambassador.
Discover more from Sulat AI & Tech News
Subscribe to get the latest posts sent to your email.




