nestjs-expert

Provide Nest.js architectural guidance for module design, DI wiring, and authentication.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/abzhaw/juliaz_agents --skill nestjs-expert-abzhaw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nestjs-expert
Source: https://github.com/abzhaw/juliaz_agents/tree/main/.agent/skills/nestjs-expert
Command: npx skills add https://github.com/abzhaw/juliaz_agents --skill nestjs-expert-abzhaw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unified guidance for building enterprise-grade Nest.js apps with clean architecture, scalable module patterns, and secure authentication.

Core Features & Use Cases

  • Module Architecture & Dependency Injection: structuring apps with clear module boundaries, forwardRef handling, and provider exports.
  • Controllers, Middleware, Guards & Interceptors: designing request pipelines with validation and security.
  • Testing & Database Integration: strategies for unit, integration, and e2e tests using Jest, Supertest, TypeORM, and Mongoose.
  • Authentication & Security: implementing Passport.js strategies and JWT-based access control.
  • Practical Troubleshooting: templates and checks to diagnose common Nest.js pitfalls.

Quick Start

Create a new Nest.js project scaffold and apply the recommended module structure and auth setup to get a working dev environment.

Frequently Asked Questions about nestjs-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure scalable Nest.js modules for enterprise applications?

Nest.js module design for scalable apps requires clear module boundaries, proper provider exports, and forwardRef handling for circular dependencies. This approach ensures clean architecture and maintainable enterprise-grade Node.js applications.

How do I implement JWT authentication and Passport.js strategies in Nest.js?

JWT authentication in Nest.js uses Passport.js strategies for secure access control. Implementing these guards within your request pipeline adds validation and security layers to protect enterprise application endpoints.

What is the best way to set up testing with Jest and TypeORM in Nest.js?

Nest.js testing with Jest and TypeORM involves strategies for unit, integration, and e2e tests using Supertest. Applying these testing patterns ensures reliable database integration and request pipeline validation across project sizes.

Does this Nest.js guidance support configuring middleware, guards, and interceptors?

Nest.js guidance supports designing request pipelines with middleware, guards, and interceptors. Configuring these components allows developers to build robust validation and security layers within their application architecture.

Why does Nest.js dependency injection fail with circular module imports?

Nest.js dependency injection fails with circular imports due to unresolved module wiring. Applying forwardRef handling and restructuring provider exports using best-practice templates diagnoses and resolves these common architectural pitfalls.