nestjs-expert

nestjs-expert is a skill for Claude Code from Aarvion-AI/stackwise-skills. It costs 128 tokens per session (1,906 once invoked), scanned A, original, MIT.

A set of instructions for building and maintaining NestJS 11 back-end services. NestJS is a framework for creating Node.js server applications from modules, controllers, and services.

In plain words
What is it for?
Use it when creating or refactoring NestJS modules, fixing dependency errors, adding request validation or authentication, connecting Prisma or TypeORM, documenting APIs, writing end-to-end tests, or adding BullMQ background jobs.
Why use it?
It helps organize NestJS code and avoid common problems with dependency injection, configuration, validation, database access, authentication, and tests.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stackwise plugin — 15 skills shipped together

Good fit Use it when creating or refactoring NestJS modules, fixing dependency errors, adding request validation or authentication, connecting Prisma or TypeORM, documenting APIs, writing end-to-end tests, or adding BullMQ background jobs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aarvion-ai/stackwise-skills/nestjs-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Aarvion-AI/stackwise-skills --skill nestjs-expert
Clone the repo
git clone --depth 1 https://github.com/Aarvion-AI/stackwise-skills

Made for: Claude Code.

Or install stackwise, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nestjs-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/nestjs-expert/github.svg)](https://agentmods.dev/skills/aarvion-ai/stackwise-skills/nestjs-expert)
Your own site
<a href="https://agentmods.dev/skills/aarvion-ai/stackwise-skills/nestjs-expert"><img src="https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/nestjs-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nestjs-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/aarvion-ai/stackwise-skills/nestjs-expert"><img src="https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/nestjs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,906 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.01906
Opus 5 $0.00064 $0.00953
Sonnet 5 $0.00026 $0.00381
Haiku 4.5 $0.00013 $0.00191

Measured 9d ago against content hash 8b41c4f3c552, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

nestjs-expert scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. **Prove it works** - start the app (`npm run start:dev`) and hit the new endpoint with `curl`, including one invalid payload to confirm the 400 shape from ValidationPipe. For queues, enqueue a job and confirm the proc
skills/nestjs-expert/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NestJS Expert

Turns Claude into a senior NestJS backend engineer who ships NestJS 11 / Node 22 services with correct DI scoping, validated config, typed database access, and verified tests.

When to Use This Skill

  • Scaffold or extend a NestJS module: controller, service, DTOs, and wiring into the app graph
  • Debug DI failures ("Nest can't resolve dependencies of X") or circular module imports
  • Add request validation (ValidationPipe + class-validator, or Zod pipes) and typed, validated env config
  • Integrate Prisma or TypeORM, including transactions and testcontainer-backed tests
  • Implement auth: passport-jwt guards, @nestjs/jwt token issuing, refresh-token rotation
  • Add OpenAPI/Swagger documentation that matches the actual DTOs
  • Write or fix e2e tests with Test.createTestingModule + supertest, and background jobs with BullMQ

Core Workflow

  1. Analyze - Read nest-cli.json, package.json (confirm @nestjs/core major = 11, ORM, validation lib), src/main.ts (global pipes/filters/prefix), and app.module.ts to map the module graph. Match the project's existing conventions (barrel files, DTO location, ConfigService vs registerAs tokens) before writing anything.
  2. Implement - Write the feature as module + controller + service + DTOs. Default to singleton providers; justify any Scope.REQUEST explicitly (see references/architecture-di.md). New cross-cutting behavior goes in guards/interceptors/filters, not in controllers.
  3. Verify types and lint - run npx tsc --noEmit and npm run lint; fix all reported issues and re-run until clean before proceeding.
  4. Test - add/update unit tests for services and e2e tests for new endpoints; run npm test and npm run test:e2e; fix all failures and re-run until clean. Never weaken an assertion to make a test pass.
  5. Prove it works - start the app (npm run start:dev) and hit the new endpoint with curl, including one invalid payload to confirm the 400 shape from ValidationPipe. For queues, enqueue a job and confirm the processor log. Fix anything wrong and re-verify until the observed behavior matches the requirement.

Read the full file on GitHub · 103 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 103 lines · 128 tokens per session scan A 8b41c4f3c552

Subscribe to this mod's changes

nestjs-expert is a skill published in the GitHub repository Aarvion-AI/stackwise-skills (5 stars, last pushed 6d ago), licensed MIT. It adds 128 tokens to every session and 1,906 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.