# Repository Briefing: nestjs/agent-skills
> Source: https://repoforai.com/repo/nestjs/agent-skills (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/nestjs/agent-skills
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A (80/100 · Maintenance 35/35 · Adoption 5/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.4 (2026-11-25) — https://github.com/nestjs/agent-skills/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: CLI
- **Momentum**: 176 ★ total (+0 24h / +8 7d) · 6 forks
- **Topics**: `agent-skills`, `ai-agents`, `claude-code`, `claude-code-plugin`, `codex`, `coding-agents`, `cursor`, `gemini-cli-extension`, `nest`, `nestjs`, `nodejs`, `skills`
- **When to Use**: Best for: NestJS 12 teams that want coding agents to share version-aware guidance for features, authentication, persistence, testing, and production work. Skip if: You need remotely callable MCP tools, automatic enforcement of project rules, or verified recipes for a substantially different framework baseline.

## Overview
```text
### Architecture & Core Mechanics
This is a file-based Agent Skills package, not an MCP server. Under `plugins/nestjs/skills/`, each skill keeps its rules and task-matching description in `SKILL.md`, with longer recipes in `references/`. The host agent matches the task against the description and loads the relevant content. The package supplies instructions; the host agent decides how to act on them.

The JavaScript npm package `@nestjs/skills` ships the content, plugin manifests, and the dependency-free `nestjs-skills` installer. It also exports `listSkills` and `skillsDir`. Claude Code and Agent Plugins manifests provide alternate discovery paths for compatible hosts. The content uses portable frontmatter and relative links, so manual installs must preserve the complete folder structure.

### Key Capabilities & Differentiators
The six skills cover application scaffolding and module layout, HTTP features and validation, authentication and authorization, persistence, testing, and production readiness. The recipes address concrete failure modes, such as nullable input slipping past `@IsOptional()`, a rate limiter running without user identity, or an SSE stream staying open after an API key is revoked. These are implementation cues for the agent, not runtime enforcement.

The baseline is NestJS 12, and the recipes were run on Nest 12.5.1. The checked integrations include `@nestjs/authentication` 0.1.6, `@nestjs/authorization` 0.1.4, `@nestjs/drizzle` 0.0.2 with Drizzle 1.0 RC, and `@nestjs/typeorm` 12.0.3 with TypeORM 1.1. Testing guidance covers provider and global guard overrides; production guidance covers health checks, rate limiting, OpenAPI, shutdown, and NestJS Observe.

### Trade-offs & Limitations
Compared with maintaining bespoke agent instructions, this package gives teams a shared NestJS 12 baseline across compatible hosts. Bespoke rules remain the better fit for internal conventions or a different framework baseline. Direct documentation lookup is still needed for version-specific behavior; the skills explicitly tell the agent to check installed versions and consult the NestJS documentation rather than rely on memory.

Project-local copies can be reviewed and versioned with the application, whereas user-wide copies are convenient but may differ across contributors. Updates replace installer-managed copies and can remove files dropped upstream, so keep team overrides separate from those directories. Installation gives the agent better context; it does not replace code review, regression tests, or security controls.

### Hardware & Deployment Guide
The npm installer requires Node.js 20.19.0 or later. Run `npx @nestjs/skills add` at the project root to populate `.agents/skills/`. Use `--agent claude` for `.claude/skills/`, `--agent cursor` for `.cursor/skills/`, or `--global` for user-wide installation. To keep contributor installs aligned, pin the package version as a development dependency and run `npx nestjs-skills add`. Claude Code marketplace and Gemini CLI extension installs are also available.

There is no skills service to host. Manual copies or symlinks work where a compatible agent can discover them; this does not imply that the agent itself runs offline. Release v0.1.0 introduced the six skills, and v0.1.1 added guidance for linking NestJS Observe after project creation. The v0.1.4 release entry points to a changelog comparison but does not specify individual changes.
```

## Key Capabilities
```text
- Protocol boundary: Task-triggered Agent Skills files, not an MCP server or a remote tool API.
- Content layout: Six folders under `plugins/nestjs/skills/`, each pairing `SKILL.md` with longer recipes in `references/`.
- Validated baseline: Recipes were run on Nest 12.5.1, including integrations with `@nestjs/authentication` 0.1.6 and `@nestjs/authorization` 0.1.4.
- Installer ownership: `.nestjs-skills` marks managed copies; replacing an unmanaged folder of the same name requires `--force`.
- Distribution: npm, Claude Code marketplace, Gemini CLI extension, and manual copies or symlinks deliver the same skill content.
- Programmatic access: `@nestjs/skills` exports `listSkills` and `skillsDir` for inventory and discovery.
```

## Quick Start / Clone
```bash
npx @nestjs/skills add
```
