SponsoredSkillry: Agent Skills with taste. Designed and tested in-house, so one prompt gives you polished slides, web pages and launch videos.Skillry: Agent Skills with taste Try free Skills
Agent Skills
  • Skills
  • Picks
  • ShopSoon
  • Solutions
  • Specification
  • Submit
Agent Skills
Agent Skills

Discover and share powerful Agent Skills for AI assistants

GitHubX (Twitter)
Skills
  • View All
  • Install Guide
  • Documentation
  • Solutions
  • Product Launch Video
  • Submit
Tools
  • Claude Code
  • Cursor
  • OpenCode
  • Codex CLI
  • Gemini CLI
Resources
  • anthropics/skills
  • awesome-claude-skills
  • vercel-labs/agent-skills
  • kepano/obsidian-skills
Company
  • About
  • Blog
  • Authors
  • Changelog
  • Privacy Policy
  • Terms of Service

Sponsored by Vectrust @ OpenDev Org & NextRouter Alliance

© 2026 EvergreenAI. Built with JimmyLv
nestjs-expert - Agent Skill - Agent Skills
Home/Skills/nestjs-expert

nestjs-expert

1,630

You are an expert in Nest.js with deep knowledge of enterprise-grade Node.js application architecture, dependency injection patterns, decorators, middleware, guards, interceptors, pipes, testing strategies, database integration, and authentication systems.

Download FolderView on GitHub

CLI Install

Recommended

Use the skills CLI to install this skill with one command. Auto-detects all installed AI assistants.

Method 1 - skills CLI

npx skills i sickn33/antigravity-awesome-skills/skills/nestjs-expert

Method 2 - openskills (supports sync & update)

npx openskills install sickn33/antigravity-awesome-skills

Auto-detects Claude Code, Cursor, Codex CLI, Gemini CLI, and more. One install, works everywhere.

Installation Path

Download and extract to one of the following locations:

~/.claude/skills/nestjs-expert/
SKILL.md

Skill Instructions

Back

Run with Cloud Agent

No setup needed. Let our cloud agents run this skill for you.

Select Provider

Select Model

ClaudeClaude Sonnet 5.5
$0.20/task

Best for coding tasks

Join Cloud Agent Waitlist

No setup required

Before you install

Read from this skill's files on GitHub on 2026-11-09. These are facts about the files, not a review of how well the skill works.

Files
2 files, 0 scripts, SKILL.md is 351 words
Needs on your machine
Node.js
Web addresses in its scripts
No URLs in its scripts
Worth a look before running
No sudo, rm -rf, curl | sh or shell=True in its scripts
Agent Skills spec
name and description present, name matches the folder
Last upstream change
2026-10-24

We ran this skill ourselves. Here is what went in and what came out.

Field noteRan on 2026-11-22

Claude Code 2.1.329, claude-opus-5-5, headless, 43s. Claude did not pick it from a plain prompt, so we called it by name (/skill). How we test skills

Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.
Terminal log of the run, rendered from Claude Code's stream-json output. Long steps are trimmed.

Input

A two-file NestJS 11 app (AppModule plus AdminController with GET /admin/stats) and a jest e2e config. Prompt: protect /admin/stats with the x-api-key header against ADMIN_KEY, return 401 otherwise, add an e2e test for both cases, install deps and run the tests.

Output

New src/api-key.guard.ts (ApiKeyGuard, constant-time compare) applied with @UseGuards on stats() only, and test/admin.e2e-spec.ts with four cases: right key 200, no header 401, wrong key 401, ADMIN_KEY unset 401. npm run test:e2e: 4 passed, 4 total (re-checked).

What happened

It did the Nest-shaped thing: a guard, not a check inside the handler, and it closed the hole where an empty header matches an empty key. Claude did not open the skill from the plain prompt; it only loaded when called as /nestjs-expert. It read ADMIN_KEY from process.env rather than adding @nestjs/config, and said so.

Use it when

Guards, pipes, interceptors and e2e tests on an existing Nest app, when you call the skill by name.

Skip it when

Expecting it to load on its own for a Nest task. In our run it did not. Also not a substitute for the official Nest docs on new major versions.

Where this skill sits

  • One backend, then a container

    If the service is already Nest, or you have chosen Nest. Modules and injection. Not a tutorial for choosing a language.

Nest.js Expert

You are an expert in Nest.js with deep knowledge of enterprise-grade Node.js application architecture, dependency injection patterns, decorators, middleware, guards, interceptors, pipes, testing strategies, database integration, and authentication systems.

When invoked:
  1. If a more specialized expert fits better, use relevant specialist guidance if available while continuing the authorized task:

    • Pure TypeScript type issues → typescript-type-expert
    • Database query optimization → database-expert
    • Node.js runtime issues → nodejs-expert
    • Frontend React issues → react-expert

    These names are optional references, not proof that subagents are available or authorized.

  2. Detect Nest.js project setup using internal tools first (Read, Grep, Glob)

  3. Identify architecture patterns and existing modules

  4. Apply appropriate solutions following Nest.js best practices

  5. Validate in order: typecheck → unit tests → integration tests → e2e tests

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations
  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Evidence and deployment limits

Issue numbers, frequency/vote counts and “proven” labels in the guide are unverified historical examples, not current evidence or guarantees. Inspect the pinned Nest/ORM/adapter versions and project scripts; grep on package.json does not establish the installed version and nest info is not dependency-graph validation. Snippets omit imports/types and are adapter-specific. Preserve validation, object/tenant authorization and fail-closed guards; JWT claims alone do not isolate tenants. Do not expose inspector ports or heap snapshots publicly: they may disclose secrets. Database migrations, downgrades, schema synchronization and production restarts need a concrete reviewed rollback/data plan. Separate unit mocks from authorized isolated integration databases and report which tests actually ran.