Skip to content
Back to skills

Nestjs Patterns

ASecurity

NestJS patterns for DI scopes, validation pipes, the request lifecycle, serialization, CORS and CSRF, and 12 upgrades. Load before any edit in a NestJS app, however small, and for NestJS questions.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentstypescriptnodeexpressgitsecurity

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill nestjs-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nestjs Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nestjs Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-nestjs-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-nestjs-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nestjs-patterns
description: NestJS patterns for DI scopes, validation pipes, the request lifecycle, serialization, CORS and CSRF, and 12 upgrades. Load before any edit in a NestJS app, however small, and for NestJS questions.
---

# NestJS patterns

Default assumption: NestJS 12.6, per the NestJS releases on GitHub.

A row applies when the `@nestjs/core` version in the project's `package.json` and lockfile is at least its version, and a satellite package's row when that package is. 12 is `latest` on npm and 11 is `legacy`. 12 runs on Node 20.19 or 22.12 and later, not 21. TypeScript itself is typescript-patterns, and Express is express-patterns.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                 | Read                                                     |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Writing NestJS code, or raising the version of `@nestjs/*` or Node                     | [reference/upgrades.md](reference/upgrades.md)           |
| Writing, changing, or reviewing NestJS code or its security setup                      | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Writing a provider, a module, a pipe, a guard, a filter, middleware, config, or a test | [reference/practices.md](reference/practices.md)         |
| Configuring or running oxlint, ESLint, or the TypeScript compiler on a NestJS app      | [reference/tooling.md](reference/tooling.md)             |

Files in this skill

  • SKILL.md1.7 KB
  • reference/anti-patterns.md7.2 KB
  • reference/practices.md3.3 KB
  • reference/tooling.md2 KB
  • reference/upgrades.md12.5 KB
  • sources.md6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.