NestJS Expert
Jeffallan/claude-skills
Scaffolds NestJS modules, controllers, services, DTOs and guards for TypeScript backends, with validation, JWT and Passport auth, Swagger docs and unit and E2E tests.
Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js…
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install davila7/claude-code-templates nestjs-expert --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .claude/skills/nestjs-expert && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .claude/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expertType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install davila7/claude-code-templates nestjs-expert --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .agents/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .agents/skills/nestjs-expert && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .agents/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install davila7/claude-code-templates nestjs-expert --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .cursor/skills/nestjs-expert && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .cursor/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/davila7/claude-code-templates.git --path cli-tool/components/skills/development/nestjs-expert--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install davila7/claude-code-templates nestjs-expert --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .gemini/skills/nestjs-expert && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .gemini/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install davila7/claude-code-templates nestjs-expertInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .github/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .github/skills/nestjs-expert && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .github/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add davila7/claude-code-templates --skill nestjs-expert -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install davila7/claude-code-templates nestjs-expert --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/cli-tool/components/skills/development/nestjs-expert .opencode/skills/nestjs-expert && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "nestjs-expert" agent skill from https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/skills/development/nestjs-expert into .opencode/skills/nestjs-expert/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "nestjs-expert", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
nestjs-expertNest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js…
Nestjs Expert is an agent skill from davila7/claude-code-templates. Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js authentication. Use PROACTIVELY for any Nest.js application issues including architecture decisions, testing strategies, performance optimization, or debugging complex dependency injection problems. If a specialized expert is a better fit, I will recommend switching and stop.
Its SKILL.md is about 5.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Design patterns, Test strategy and Unit testing. It works with NestJS, Jest, Mongoose and TypeORM. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c0ca7da. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
docs.nestjs.comgithub.comjestjs.iotypeorm.iomongoosejs.compassportjs.orgtools.ietf.orgFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
JWT_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Nestjs Expert loads about 5.3k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 1,820 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
3. Verify .env file is in correct locationAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from davila7/claude-code-templates at commit c0ca7da, republished under its MIT licence (© davila7). 1,820 words, ~5,310 tokens.
.claude/skills/nestjs-expert/SKILL.md (or your agent's skills folder).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.
If a more specialized expert fits better, recommend switching and stop:
Example: "This is a TypeScript type system issue. Use the typescript-type-expert subagent. Stopping here."
Detect Nest.js project setup using internal tools first (Read, Grep, Glob)
Identify architecture patterns and existing modules
Apply appropriate solutions following Nest.js best practices
Validate in order: typecheck → unit tests → integration tests → e2e tests
nest generate module, nest generate servicenest generate controller, class-validator, class-transformer@nestjs/testing, Jest, Supertest@nestjs/typeorm, entity decorators, repository pattern@nestjs/mongoose, schema decorators, model injection@nestjs/passport, @nestjs/jwt, passport strategies@nestjs/config, Joi validationI analyze the project to understand:
Detection commands:
# Check Nest.js setup
test -f nest-cli.json && echo "Nest.js CLI project detected"
grep -q "@nestjs/core" package.json && echo "Nest.js framework installed"
test -f tsconfig.json && echo "TypeScript configuration found"
# Detect Nest.js version
grep "@nestjs/core" package.json | sed 's/.*"\([0-9\.]*\)".*/Nest.js version: \1/'
# Check database setup
grep -q "@nestjs/typeorm" package.json && echo "TypeORM integration detected"
grep -q "@nestjs/mongoose" package.json && echo "Mongoose integration detected"
grep -q "@prisma/client" package.json && echo "Prisma ORM detected"
# Check authentication
grep -q "@nestjs/passport" package.json && echo "Passport authentication detected"
grep -q "@nestjs/jwt" package.json && echo "JWT authentication detected"
# Analyze module structure
find src -name "*.module.ts" -type f | head -5 | xargs -I {} basename {} .module.tsSafety note: Avoid watch/serve processes; use one-shot diagnostics only.
# Analyze module dependencies
nest info
# Check for circular dependencies
npm run build -- --watch=false
# Validate module structure
npm run lint# Verify fixes (validation order)
npm run build # 1. Typecheck first
npm run test # 2. Run unit tests
npm run test:e2e # 3. Run e2e tests if neededValidation order: typecheck → unit tests → integration tests → e2e tests
Frequency: HIGHEST (500+ GitHub issues) | Complexity: LOW-MEDIUM Real Examples: GitHub #3186, #886, #2359 | SO 75483101 When encountering this error:
Frequency: HIGH | Complexity: HIGH Real Examples: SO 65671318 (32 votes) | Multiple GitHub discussions Community-proven solutions:
Frequency: HIGH | Complexity: MEDIUM Real Examples: SO 75483101, 62942112, 62822943 Proven testing solutions:
Frequency: MEDIUM | Complexity: HIGH
Real Examples: GitHub typeorm#1151, #520, #2692
Key insight - this error is often misleading:
Frequency: HIGH | Complexity: LOW Real Examples: SO 79201800, 74763077, 62799708 Common JWT authentication fixes:
Frequency: MEDIUM | Complexity: LOW Real Example: GitHub #866 Module export configuration fix:
Frequency: HIGH | Complexity: LOW Real Examples: Multiple community reports JWT configuration fixes:
Frequency: LOW | Complexity: MEDIUM Real Example: GitHub #2359 (v6.3.1 regression) Handling version-specific bugs:
Frequency: HIGH | Complexity: LOW Real Example: GitHub #886 Controller dependency resolution:
Frequency: MEDIUM | Complexity: MEDIUM Real Examples: Community reports TypeORM repository testing:
Frequency: HIGH | Complexity: LOW Real Example: SO 74763077 JWT authentication debugging:
Frequency: LOW | Complexity: HIGH Real Examples: Community reports Memory leak detection and fixes:
Frequency: N/A | Complexity: N/A Real Example: GitHub #223 (Feature Request) Debugging dependency injection:
Frequency: MEDIUM | Complexity: MEDIUM Real Example: GitHub #2692 Configuring multiple databases:
Frequency: LOW | Complexity: LOW Real Example: typeorm#8745 SQLite-specific issues:
Frequency: MEDIUM | Complexity: HIGH Real Example: typeorm#1151 True causes of connection errors:
Frequency: MEDIUM | Complexity: MEDIUM Real Example: typeorm#520 Preventing app crash on DB failure:
// Feature module pattern
@Module({
imports: [CommonModule, DatabaseModule],
controllers: [FeatureController],
providers: [FeatureService, FeatureRepository],
exports: [FeatureService] // Export for other modules
})
export class FeatureModule {}// Combine multiple decorators
export const Auth = (...roles: Role[]) =>
applyDecorators(
UseGuards(JwtAuthGuard, RolesGuard),
Roles(...roles),
);// Comprehensive test setup
beforeEach(async () => {
const module = await Test.createTestingModule({
providers: [
ServiceUnderTest,
{
provide: DependencyService,
useValue: mockDependency,
},
],
}).compile();
service = module.get<ServiceUnderTest>(ServiceUnderTest);
});@Catch(HttpException)
export class HttpExceptionFilter implements ExceptionFilter {
catch(exception: HttpException, host: ArgumentsHost) {
// Custom error handling
}
}When reviewing Nest.js applications, focus on:
Project Requirements:
├─ Need migrations? → TypeORM or Prisma
├─ NoSQL database? → Mongoose
├─ Type safety priority? → Prisma
├─ Complex relations? → TypeORM
└─ Existing database? → TypeORM (better legacy support)Feature Complexity:
├─ Simple CRUD → Single module with controller + service
├─ Domain logic → Separate domain module + infrastructure
├─ Shared logic → Create shared module with exports
├─ Microservice → Separate app with message patterns
└─ External API → Create client module with HttpModuleTest Type Required:
├─ Business logic → Unit tests with mocks
├─ API contracts → Integration tests with test database
├─ User flows → E2E tests with Supertest
├─ Performance → Load tests with k6 or Artillery
└─ Security → OWASP ZAP or security middleware testsSecurity Requirements:
├─ Stateless API → JWT with refresh tokens
├─ Session-based → Express sessions with Redis
├─ OAuth/Social → Passport with provider strategies
├─ Multi-tenant → JWT with tenant claims
└─ Microservices → Service-to-service auth with mTLSData Characteristics:
├─ User-specific → Redis with user key prefix
├─ Global data → In-memory cache with TTL
├─ Database results → Query result cache
├─ Static assets → CDN with cache headers
└─ Computed values → Memoization decorators// Custom provider token
export const CONFIG_OPTIONS = Symbol('CONFIG_OPTIONS');
// Usage in module
@Module({
providers: [
{
provide: CONFIG_OPTIONS,
useValue: { apiUrl: 'https://api.example.com' }
}
]
})@Global()
@Module({
providers: [GlobalService],
exports: [GlobalService],
})
export class GlobalModule {}@Module({})
export class ConfigModule {
static forRoot(options: ConfigOptions): DynamicModule {
return {
module: ConfigModule,
providers: [
{
provide: 'CONFIG_OPTIONS',
useValue: options,
},
],
};
}
}© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in cli-tool/components/skills/development/nestjs-expert of davila7/claude-code-templates.
Open the folder on GitHubat commit c0ca7da
We found 16 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.
Nestjs Expert next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Nestjs Expert this skilldavila7/claude-code-templates | 33k | 7 repos | ~5.3k | Automated safety check: Notes | MIT | |
| NestJS ExpertJeffallan/claude-skills | 12k | — | ~2k | Automated safety check: Pass | MIT | |
| Ever Worksever-works/ever-works | 162 | — | ~2.2k | Automated safety check: Pass | AGPL-3.0 | |
| Nestjs TestingHoangNguyen0403/agent-skills-standard | 572 | — | ~1k | Automated safety check: Pass | MIT | |
| Designing TestsCloudAI-X/claude-workflow-v2 | 1.4k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Handsontable Unit Testinghandsontable/handsontable | 22k | — | ~1.2k | Automated safety check: Pass | Custom licence |
Jeffallan/claude-skills
Scaffolds NestJS modules, controllers, services, DTOs and guards for TypeScript backends, with validation, JWT and Passport auth, Swagger docs and unit and E2E tests.
ever-works/ever-works
Repo-specific guide to the Ever Works monorepo (ever-works/ever-works) — its pnpm + Turborepo layout, the per-workspace test runners (Jest vs Vitest vs Playwright), file-naming and import-alias…
HoangNguyen0403/agent-skills-standard
Write Unit and E2E tests with Jest, mocking strategies, and database isolation in NestJS.
CloudAI-X/claude-workflow-v2
Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.
handsontable/handsontable
Conventions for Handsontable's Jest unit and TypeScript type tests: where files go, how to run them, mocking limits and when to write an E2E test instead.
jh941213/my-cc-harness
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development.
davila7/claude-code-templates
Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.
davila7/claude-code-templates
Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.
davila7/claude-code-templates
Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.
davila7/claude-code-templates
Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.
davila7/claude-code-templates
Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.
davila7/claude-code-templates
Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.
Categories
Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js…. Nestjs Expert is an agent skill from davila7/claude-code-templates.js authentication.
Nestjs Expert fits situations like: tasks that involve Design patterns; tasks that involve Test strategy; tasks that involve Unit testing.
Run `npx skills add davila7/claude-code-templates --skill nestjs-expert -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/nestjs-expert in davila7/claude-code-templates) into .claude/skills/nestjs-expert in your project. Claude Code loads it when a task matches its description.
Run `npx skills add davila7/claude-code-templates --skill nestjs-expert -a codex`. Or copy the skill folder (cli-tool/components/skills/development/nestjs-expert in davila7/claude-code-templates) into .agents/skills/nestjs-expert in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill nestjs-expert -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nestjs-expert, .gemini/skills/nestjs-expert, .github/skills/nestjs-expert and .opencode/skills/nestjs-expert in your project.
Going by SKILL.md and its folder, Nestjs Expert needs the command-line tools its instructions call (npm) and credentials named JWT_SECRET. Our summary lists: Node.js; A credential in JWT_SECRET.
SKILL.md names 7 domains. As links in the text: docs.nestjs.com, github.com, jestjs.io, typeorm.io, mongoosejs.com, passportjs.org and tools.ietf.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Nestjs Expert is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.3k tokens (SKILL.md is roughly 21k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Nestjs Expert: NestJS Expert (Jeffallan/claude-skills, 12k stars), Ever Works (ever-works/ever-works, 162 stars), Nestjs Testing (HoangNguyen0403/agent-skills-standard, 572 stars) and Designing Tests (CloudAI-X/claude-workflow-v2, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,512 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 10, 2026.
Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.