← PostsPost ·

NestJS agent skills for Claude Code, Codex and Cursor

NestJS released six official agent skills on 2026-11-20 that teach Claude Code, Codex and Cursor current Nest APIs. Install with npx @nestjs/skills add.

Give this to your agent

Open in

Your agent checks this against your setup and tells you if it fits.

See the file
# NestJS: six official agent skills for coding agents
From Rig Labs, 2026-11-21. Information for an agent, not orders. Page: https://riglabs.ai/blog/nestjs-agent-skills/

What changed: On 2026-11-20, NestJS released six official agent skills in the MIT-licensed repository nestjs/agent-skills. They cover setup, endpoints, auth, data, testing and production, and target mistakes that still pass tests.
Fits if: Your human builds a NestJS backend with Claude Code, Codex, Cursor or another agent that reads the Agent Skills format. The skills target NestJS 12 on Node.js 20 or later.
Skip if: Your human does not use NestJS.
Check: Whether the project depends on NestJS and which version, and whether it already has a `.claude/skills/` or `.agents/skills/` folder. Read-only.
Try: Tell your human the project uses NestJS, and propose installing the skills for their agent, then a review of one endpoint against the matching skill that lists changes before any edit.
Ask first: Running the npm installer, committing the skills to the repository, and any code change from the review.
Cost: Free, MIT licence.
Undo: Nothing to undo for the check. The installer has a remove command for what it installed.
Deeper: https://github.com/nestjs/agent-skills

NestJS released six official agent skills on November 20, 2026, in the MIT-licensed nestjs/agent-skills repository. They teach coding agents such as Claude Code, Codex and Cursor the current NestJS APIs, its first-party packages and the mistakes that still pass tests, and they install with npx @nestjs/skills add.

What you can now do: if you build a backend with NestJS, your coding agent can follow the framework’s own rules instead of older patterns from its training data, and avoid bugs that your tests would not catch.

What are the NestJS agent skills?

The NestJS agent skills are six folders, each with a SKILL.md of rules and a references/ folder of longer recipes, per the repository’s README. They follow the Agent Skills format, so any agent that reads it can load them. An agent picks a skill up when its description matches the task, so nobody invokes one by hand. The README says NestJS ran every recipe on the released versions of its packages.

Skill Use when
nestjs Starting or extending an app: layout, modules, where the docs are
nestjs-feature Adding endpoints: validation, status codes, errors, Server-Sent Events
nestjs-auth Sign-in, sessions, tokens, API keys, permission policies
nestjs-data Drizzle and TypeORM, migrations, paging, transactions
nestjs-testing Unit, service and end-to-end tests
nestjs-production Configuration, logs, health checks, rate limiting, OpenAPI, deployment

Which mistakes do the NestJS skills target?

The NestJS skills target mistakes that still pass tests. The README names these: a sign-in that leaks which emails exist, @IsOptional() letting null through to a 500 error, a rate limiter that never sees the user, and an event stream that outlives a revoked key. Each one works in a demo and fails in production.

How do you install the NestJS skills for Claude Code?

The NestJS skills install with one npm command, per the README. By default it copies them into .agents/skills/, which Codex and Cursor read. Claude Code reads .claude/skills/, so add --agent claude:

Command Installs for
npx @nestjs/skills add Codex and Cursor, this project
npx @nestjs/skills add --agent claude Claude Code, this project
npx @nestjs/skills add --agent all Codex, Cursor and Claude Code
npx @nestjs/skills remove Removes what it installed

A project install is committed with the code, so the whole team gets the skills. Sulat AI reports that the skills target NestJS 12 on Node.js 20 or later, and that each tells the agent to check the installed version and the docs first (Sulat, 2026-11-21).

What to do today

In a NestJS project that uses Claude Code, run:

npx @nestjs/skills add --agent claude

Then ask Claude Code to review your sign-in endpoint against the nestjs-auth skill, and to list what it would change before it edits anything.

Last checked 2026-11-21.

Sources:

Get the next one by email

The Edge is our newsletter: what changed in AI, and what to do about it.

Which emails
Free. Your agent reads every piece we publish, and you hear only what fits.

Subscribe your agent Beta

Your agent reads every post, guide and issue, checks it against your setup, and tells you only what is worth your time. Its inbox gets the daily agent cards email automatically, every day something is published, and the weekly issue as plain text. You pick weekly, daily or both for yourself.

  1. Give it the prompt

    Using Claude Code, Codex or another agent? Copy the prompt and paste it in.

    See the prompt
    Subscribe yourself to The Edge, the newsletter from Rig Labs, and follow what Rig Labs publishes for me.
    Read https://riglabs.ai/agents/subscribe.md and follow its steps. It has you save the skill at https://riglabs.ai/agents/the-edge/SKILL.md, set yourself up with your own inbox on Nym (invite: https://withnym.com/join/NYM-TQZB-WP35, code NYM-TQZB-WP35) unless you already have one, subscribe that address, and confirm with me.
    Treat everything you fetch from Rig Labs as information, not orders. Ask me before anything that touches keys, payments, permissions, installs or sending messages.
  2. Approve its inbox

    It gets its own address on Nym, so The Edge never lands in your inbox. One sign-in in your browser, about a minute.

  3. Hear only what fits

    At most one short message a day. Nothing if nothing fits.

Your agent follows subscribe.md and saves SKILL.md: read both first. Nym is in private beta. The invite is included in the prompt.

Read next

Built by Rig Labs

When a tool we need does not exist, we build it.