nestjs-expert

nestjs-expert is a skill for Claude Code from personamanagmentlayer/pcl. It costs 81 tokens per session (1,951 once invoked), scanned A, original, Apache-2.0.

A knowledge guide for NestJS, a Node.js framework for building server applications and APIs. It covers modules, request handlers, dependency injection, validation, authorization, persistence, and microservices.

In plain words
What is it for?
It is for designing or reviewing NestJS modules, controllers, providers, guards, interceptors, database access, and service-to-service communication.
Why use it?
It gives the agent a structured reference for NestJS architecture and common server-side patterns, reducing guesswork when changing backend code.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for designing or reviewing NestJS modules, controllers, providers, guards, interceptors, database access, and service-to-service communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/personamanagmentlayer/pcl/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 personamanagmentlayer/pcl --skill nestjs-expert
Clone the repo
git clone --depth 1 https://github.com/personamanagmentlayer/pcl

Made for: Claude Code.

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/personamanagmentlayer/pcl/nestjs-expert/github.svg)](https://agentmods.dev/skills/personamanagmentlayer/pcl/nestjs-expert)
Your own site
<a href="https://agentmods.dev/skills/personamanagmentlayer/pcl/nestjs-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/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/personamanagmentlayer/pcl/nestjs-expert"><img src="https://agentmods.dev/badge/skills/personamanagmentlayer/pcl/nestjs-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,951 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00081 $0.01951
Opus 5 $0.00041 $0.00975
Sonnet 5 $0.00016 $0.00390
Haiku 4.5 $0.00008 $0.00195

Measured yesterday against content hash 590bf5a7f34c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

nestjs-expert scanned grade A with 0 findings 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

stdlib/frameworks/nestjs-expert/SKILL.md · 190 lines

How it starts

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

NestJS Expert

You are an expert in NestJS, specializing in modular architecture, dependency injection, TypeORM/Prisma persistence, microservices transports, and building scalable, testable, enterprise-grade Node.js backends.

Core Concepts

NestJS Fundamentals

  • Modules: Feature encapsulation via @Module()
  • Controllers: Route handlers via @Controller()
  • Providers: Injectable services via @Injectable()
  • Decorators: Metadata-driven composition (@Get, @Param, @Body, custom decorators)
  • Dependency Injection: Constructor-based IoC container
  • Pipes: Input transformation and validation
  • Guards: Route-level authorization
  • Interceptors: Cross-cutting concerns (logging, caching, transform)
  • Exception Filters: Centralized error handling

Architecture Patterns

  • Modular Architecture: Feature modules, shared modules, core module
  • Dynamic Modules: forRoot() / forRootAsync() configuration patterns
  • Custom Providers: useValue, useClass, useFactory, useExisting
  • Provider Scopes: Singleton (default), Request, Transient
  • Middleware: Express/Fastify middleware pipeline
  • CQRS Module: Command/query separation with event sourcing support

Data & Persistence

  • TypeORM Integration: Entities, repositories, migrations
  • Prisma Integration: PrismaService pattern, generated client injection
  • Mongoose Integration: Schemas and models for MongoDB
  • Repository Pattern: Abstracting persistence behind injectable services
  • Transactions: Query runners and unit-of-work patterns

Microservices & Messaging

  • Transport Layers: TCP, Redis, NATS, Kafka, gRPC, RabbitMQ
  • Message Patterns: Request-response and event-based (@MessagePattern, @EventPattern)
  • Hybrid Applications: Combining HTTP servers with microservice transports
  • CQRS & Sagas: Distributed transaction orchestration

Advanced Features

  • GraphQL: Code-first and schema-first approaches with @nestjs/graphql
  • WebSockets: Gateways with @WebSocketGateway(), Socket.IO and ws adapters
  • Task Scheduling: @nestjs/schedule cron jobs and intervals
  • Authentication: Passport strategies, JWT, refresh tokens, guards composition
  • Swagger/OpenAPI: Auto-generated API documentation via @nestjs/swagger
  • Configuration: @nestjs/config with schema validation (Joi/Zod), typed ConfigService
  • Custom Decorators: createParamDecorator(), applyDecorators(), decorator composition
  • Caching: @nestjs/cache-manager with in-memory or Redis stores, @CacheKey/@CacheTTL
  • Rate Limiting: @nestjs/throttler guards, per-route overrides
  • Health Checks: @nestjs/terminus for readiness/liveness probes (DB, disk, memory indicators)
  • Platform Adapters: Express (default) vs. Fastify (@nestjs/platform-fastify) for higher throughput
  • Testing: @nestjs/testing module builder, Jest, Supertest for e2e

Read the full file on GitHub · 190 lines

Files

What ships with it

1 file 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. yesterday First seen · 190 lines · 81 tokens per session scan A 590bf5a7f34c

Subscribe to this mod's changes

nestjs-expert is a skill published in the GitHub repository personamanagmentlayer/pcl (40 stars, last pushed 2d ago), licensed Apache-2.0. It adds 81 tokens to every session and 1,951 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories

nestjs

Use when building or structuring a NestJS backend — feature modules, providers and DI wiring, provider scopes and request-lifecycle order, where to bind guards/pipes/interceptors/filters, and testing with Test.createTestingModule. NOT a bare Express/Fastify service with no DI (that is nodejs), NOT framework-agnostic…

ericrisco/rsc-harness · 81 tokens

api-testing-patterns

Comprehensive API testing patterns including contract testing, REST/GraphQL testing, and integration testing. Use when testing APIs or designing API test strategies.

summarybotng/summarybot-ng · 34 tokens

express-microservices-architecture

Complete guide for building scalable microservices with Express.js including middleware patterns, routing strategies, error handling, production architecture, and deployment best practices.

manutej/luxor-claude-marketplace · 34 tokens

hunt-nestjs

Hunt NestJS-specific vulnerabilities: guard bypass, decorator gaps, and microservice auth drift.

uphiago/recon-skills · 24 tokens

api-design

API contract design for REST and GraphQL, covering resource shape, URL and header versioning with deprecation windows, RFC 9457 Problem Details error handling, and OpenAPI specs. Use when specifying the wire contract an endpoint exposes, choosing a versioning scheme, or standardizing error response bodies across…

yonatangross/orchestkit · 76 tokens

api-design-patterns

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices.

aAAaqwq/AGI-Super-Team · 29 tokens