Skip to content
SkillModel-led1,520 tokens in use

nestjs-expert

Builds NestJS modules, controllers, services, DTOs, guards and tests for TypeScript backends, in a fixed order with typed errors.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/nestjs-expert
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing nestjs-expert costs

107tokens idle
1,520tokens in use
12,974tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

NestJS Expert guides Claude through a NestJS feature from requirements to tests. It plans the module layout, wires dependency injection, secures endpoints with validation pipes and guards, then runs lint and tests and confirms the dependency graph with nest info.

The skill includes worked examples of a DTO with class-validator and Swagger decorators, a TypeORM-backed service that throws typed exceptions, a module definition and a Jest unit test.

What You Get

  • A six-step workflow that ends in lint, test and dependency-graph checks
  • Examples for a validated DTO with Swagger decorators, a controller, a TypeORM service with typed exceptions, a module and a Jest service test
  • Reference files for controllers and routing, services and DI, DTO validation, authentication, testing patterns and migrating from Express
  • Rules that require ValidationPipe, DTOs for every body, config through ConfigModule and no secrets in responses
  • A fixed delivery order: module, controller, service, DTOs, unit tests

Common Use Cases

  • Scaffolding a users module with create and lookup endpoints
  • Adding JWT and Passport authentication with guards
  • Documenting every endpoint with Swagger decorators
  • Writing unit tests with mocked repositories and end-to-end tests with Supertest
  • Migrating an Express application to NestJS

What Makes It Unique

The skill is narrow and opinionated about NestJS conventions: constructor injection only, typed HTTP exceptions thrown from services, a global validation pipe and a set order of output files. It also ties completion to running lint, tests and nest info, so a feature is not finished until the dependency graph resolves.

Under The Hood

The skill is instructions and reference markdown that Claude loads by topic; it ships no scripts. Following it, Claude writes TypeScript source and test files in your project and runs npm lint and test scripts and the nest info command. The examples touch a database through TypeORM or Prisma in your own app, and the skill does not call outside services itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers