1 rule for Nestjs
Cursor rules for NestJS: Modules, DTOs and Guards. Structure, data, errors, security, performance, and tests. NestJS 12.4.2, Nov 2026.
# NestJS Rules for Cursor: Modules, DTOs and Guards
## Install
Install the native export at `.cursor/rules/nestjs-rules.mdc`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# NestJS Rules for Cursor: Modules, DTOs and Guards
File-scoped Cursor rule for NestJS. It attaches when a matching file is in context.
## Updated for NestJS 12.4.2, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
A feature is a module that declares its controllers and providers and exports only what other modules m...