Agent skill · Backend & API

api-framework-nestjs

NestJS backend framework - modules, controllers, services, DI, guards, pipes, interceptors, exception filters, middleware, DTOs with class-validator

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-framework-nestjs --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/api/api-framework-nestjs/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# NestJS Patterns > **Quick Guide:** NestJS is an opinionated, modular Node.js framework built on TypeScript. Use modules to organize features, controllers for HTTP routing, services for business logic with dependency injection, DTOs with class-validator for validation, guards for auth, and exception filters for error handling. Key gotchas: always register services in module `providers`, always enable `ValidationPipe` globally with `whitelist: true`, never put business logic in controllers, never instantiate services with `new`. NestJS 11 is the current stable version (SWC default compiler, Express v5, reversed termination hooks). --- <critical_requirements> ## CRITICAL: Before Using This Skill > **All code must follow project conventions in CLAUDE.md** (kebab-case, named exports, import ordering, `import type`, named constants) **(You MUST use `@Injectable()` on every service and register it in the module `providers` array)** **(You MUST enable `ValidationPipe` globally with `whitelist: true` and `forbidNonWhitelisted: true`)** **(You MUST use DTOs with class-validator decorators for ALL request body validation — never validate manually in controllers)** **(You MUST throw NestJS b

What's inside
Steps it walks through
  1. CRITICAL: Before Using This Skill
  2. Philosophy
  3. Key Patterns
  4. Module System
  5. Controllers — Thin Routing Layer
  6. DTOs with class-validator
  7. Services and Dependency Injection
  8. Exception Handling
  9. Guards and Middleware
  10. Interceptors
  11. Decision Framework
  12. Request Lifecycle
  13. Which Layer to Use
  14. Module Organization
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the api-framework-nestjs skill do?

NestJS backend framework - modules, controllers, services, DI, guards, pipes, interceptors, exception filters, middleware, DTOs with class-validator

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-framework-nestjs --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going