[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116994":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":9,"trendingCount":15,"starSnapshotCount":15,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},116994,"agent-skills","nestjs\u002Fagent-skills","nestjs","Agent skills for Nest framework (node.js) 🕵️‍♂️",null,"JavaScript",157,4,3,1,0,15,100,130,92.1,"MIT License",false,"master",true,[5,25,26,27,28,29,30,31,7,32,33,34],"ai-agents","claude-code","claude-code-plugin","codex","coding-agents","cursor","nest","nodejs","skills","typescript","2026-11-20 11:05:37","2026-11-23 14:05:08","# NestJS agent skills\n\nOfficial [Agent Skills](https:\u002F\u002Fagentskills.io) for building and extending [NestJS](https:\u002F\u002Fnestjs.com) applications with coding agents. They give an agent what its training data lacks:\n- the current APIs, which are often newer than the model;\n- Nest's first-party packages;\n- the mistakes that still pass tests: a sign-in that leaks which emails exist, `@IsOptional()` letting `null` through to a 500, a rate limiter that never sees the user, an event stream that outlives a revoked key, and many more.\n\nEach skill is a folder with a `SKILL.md` that holds its rules, plus `references\u002F` with longer recipes. Every recipe was run on the released packages. The skills work with any agent that reads the Agent Skills format: Claude Code, Codex, Cursor and others.\n\n## Skills\n\n| Skill | Use when |\n| --- | --- |\n| `nestjs` | creating or extending a NestJS application: starting a project, layout, module system, where the docs are, common mistakes |\n| `nestjs-feature` | adding or changing endpoints: where code goes, modules and providers, validation (Zod with `@Body({ schema })` or class-validator), status codes, errors, HTTP options, Server-Sent Events |\n| `nestjs-auth` | adding or changing authentication or authorization: `@nestjs\u002Fauthentication` (passwords, sessions, tokens, API keys) and `@nestjs\u002Fauthorization` (policies) |\n| `nestjs-data` | adding or changing persistence: `@nestjs\u002Fdrizzle` and `@nestjs\u002Ftypeorm`, migrations, safe updates, paging, transactions |\n| `nestjs-testing` | writing, running or fixing tests: unit, service and end-to-end tests, overriding providers and global guards, signing test users in |\n| `nestjs-production` | preparing for production: configuration, logs, observability with NestJS Observe, health checks, rate limiting, OpenAPI, shutdown, deployment |\n\nAgents load a skill when its description matches the task, so there's nothing to invoke by hand.\n\n## Install\n\nThe skills live in [`skills\u002F`](skills). Install them for one project (committed with the code, so everyone on the team gets them) or for your user account (every project on your machine).\n\n### Any agent, with npm\n\n```bash\nnpx @nestjs\u002Fskills add\n```\n\ncopies every skill into `.agents\u002Fskills\u002F`, which Codex and Cursor read. Choose where with `--agent`:\n\n| `--agent` | Folder | Read by |\n| --- | --- | --- |\n| `agents` (default) | `.agents\u002Fskills\u002F` | Codex, Cursor and other Agent Skills readers |\n| `claude` | `.claude\u002Fskills\u002F` | Claude Code (and Cursor) |\n| `cursor` | `.cursor\u002Fskills\u002F` | Cursor |\n| `all` | `.agents\u002Fskills\u002F` and `.claude\u002Fskills\u002F` | Codex, Cursor and Claude Code at once (Cursor reads both folders) |\n\n```bash\nnpx @nestjs\u002Fskills add --agent claude              # Claude Code, this project\nnpx @nestjs\u002Fskills add --agent all                 # Codex, Cursor and Claude Code\nnpx @nestjs\u002Fskills add --agent agents --global     # every project on your machine (~\u002F.agents\u002Fskills)\nnpx @nestjs\u002Fskills add nestjs nestjs-auth          # only some skills\nnpx @nestjs\u002Fskills list                            # what's in the package\nnpx @nestjs\u002Fskills remove                          # remove what it installed\n```\n\n`--agent` also takes several targets (`--agent agents,claude` or repeated). `--dir \u003Cpath>` installs anywhere else. The installer only replaces or removes folders it installed itself (it leaves a `.nestjs-skills` marker in each); `--force` replaces a same-named folder that it didn't. Pin the version for the team with `npm i -D @nestjs\u002Fskills` and `npx nestjs-skills add`. Programmatic use: `import { listSkills, skillsDir } from '@nestjs\u002Fskills'`.\n\n### Claude Code\n\nAs a plugin, from this repository's marketplace:\n\n```bash\nclaude plugin marketplace add nestjs\u002Fagent-skills\nclaude plugin install nestjs@nestjs\n```\n\nOr inside a session: `\u002Fplugin marketplace add nestjs\u002Fagent-skills`, then `\u002Fplugin install nestjs@nestjs`. Skills from the plugin are namespaced (`nestjs:nestjs-auth`).\n\nWithout the plugin: `npx @nestjs\u002Fskills add --agent claude` (add `--global` for `~\u002F.claude\u002Fskills\u002F`).\n\nTo preconfigure a repository for your team, add this to its `.claude\u002Fsettings.json`; each contributor still runs the install once:\n\n```json\n{\n  \"extraKnownMarketplaces\": {\n    \"nestjs\": { \"source\": { \"source\": \"github\", \"repo\": \"nestjs\u002Fagent-skills\" } }\n  },\n  \"enabledPlugins\": { \"nestjs@nestjs\": true }\n}\n```\n\n### Codex\n\nCodex reads skills from `.agents\u002Fskills\u002F` in the repository (and in parent folders up to the repository root) and from `~\u002F.agents\u002Fskills\u002F` for your user.\n\n### Cursor\n\nCursor reads skills from `.agents\u002Fskills\u002F` and `.cursor\u002Fskills\u002F` in the project, and from `~\u002F.agents\u002Fskills\u002F` and `~\u002F.cursor\u002Fskills\u002F` for your user. It also loads `.claude\u002Fskills\u002F` and `.codex\u002Fskills\u002F`.\n\n### Any agent, by hand\n\nCopy (or symlink) the skill folders to where your agent loads skills. `.agents\u002Fskills\u002F` covers Codex and Cursor at once:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fnestjs\u002Fagent-skills.git\n```\n\n```bash\nmkdir -p .agents\u002Fskills && cp -R agent-skills\u002Fskills\u002F* .agents\u002Fskills\u002F\n```\n\nFor every project on your machine, use `~\u002F.agents\u002Fskills\u002F` instead. A symlink (`ln -s \"$PWD\u002Fagent-skills\u002Fskills\u002Fnestjs-auth\" ~\u002F.agents\u002Fskills\u002F`) keeps a copy current with `git pull`.\n\nKeep each folder whole: `SKILL.md` links to its `references\u002F` with relative paths, and the skills refer to each other by name.\n\n## Updating\n\n- **Claude Code plugin:** `claude plugin marketplace update nestjs`, then `claude plugin update nestjs@nestjs`, or turn on auto-update for the marketplace in `\u002Fplugin`.\n- **npm:** `npx @nestjs\u002Fskills@latest add` again: it replaces the copies it installed, dropping files a skill no longer has.\n- **Copies by hand:** `git pull` and copy the folders again (symlinked folders update with the pull).\n\n## Compatibility\n\nWritten for NestJS 12 (`@nestjs\u002Fcore` 12.x) on Node.js 20 or later. The recipes were run on:\n- Nest 12.5.1;\n- `@nestjs\u002Fauthentication` 0.1.6 and `@nestjs\u002Fauthorization` 0.1.4;\n- `@nestjs\u002Fdrizzle` 0.0.2 with Drizzle 1.0 rc, and `@nestjs\u002Ftypeorm` 12.0.3 with TypeORM 1.1;\n- `@nestjs\u002Fthrottler` 6.8, `@nestjs\u002Fswagger` 12.1, `@nestjs\u002Fterminus` 12.2, `@nestjs\u002Fconfig` 12.1 and `@nestjs\u002Fobserve` 0.3.\n\nThe skills tell the agent to check the installed version and the [documentation](https:\u002F\u002Fdocs.nestjs.com\u002Fllms.txt) before relying on what it remembers.\n\n## Format\n\nEach `SKILL.md` follows the [Agent Skills specification](https:\u002F\u002Fagentskills.io\u002Fspecification):\n- `name` matches the folder;\n- `description` says when the skill applies, under 1,024 characters;\n- the frontmatter uses only portable fields (`name`, `description`, `license`, `compatibility`), so the same files work in every agent and can be uploaded to the Claude apps.\n\nThe repository is also a Claude Code plugin (`.claude-plugin\u002Fplugin.json`), its own marketplace (`.claude-plugin\u002Fmarketplace.json`), and the npm package `@nestjs\u002Fskills` (the skills, the plugin manifests, and the `nestjs-skills` installer; no dependencies).\n\n## Contributing\n\nKeep `SKILL.md` files short: rules and pitfalls in the file, longer code in `references\u002F`, one level deep. Before adding an API or a pitfall, check it against the docs and run it on a released version.\n\nValidate the frontmatter, links and versions, and test the installer:\n\n```bash\nnpm run validate\nnpm test\nclaude plugin validate --strict .\n```\n\nA release bumps `version` in both `package.json` and `.claude-plugin\u002Fplugin.json` (`npm run validate` checks they match), then `npm publish`, which runs the same checks first.\n\n## License\n\n[MIT](LICENSE)\n",2,"2026-11-24 04:54:49","CREATED_QUERY"]