nestjs-expert

Guide Nest.js application architecture with module boundaries and dependency injection.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides expert guidance for building scalable Nest.js applications with strong module boundaries and robust DI.

Core Features & Use Cases

  • Module Architecture & DI: design clean module boundaries, avoid circular dependencies.
  • Testing & Quality: guidance on Jest/Supertest testing strategies, unit and integration tests.
  • Authentication & Data Layer: setup TypeORM/Mongoose integration and Passport.js strategies.

Quick Start

Ask the Nest.js expert to review your app's module graph and provide a recommended module map and DI plan for a new feature.

Frequently Asked Questions about nestjs-expert

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

FAQPage Schema
How do I resolve circular dependencies in Nest.js module architecture?

To resolve circular dependencies in Nest.js module architecture, you must design clean module boundaries and apply forward references to break the cycle, ensuring robust dependency injection across your scalable application.

What is the best way to structure unit and integration tests in Nest.js?

The best way to structure tests in Nest.js is to implement Jest and Supertest testing strategies, allowing you to isolate components for unit tests and validate HTTP endpoints through comprehensive integration tests.

How do I configure Passport.js authentication guards in Nest.js?

To configure Passport.js authentication guards in Nest.js, you implement custom guards that intercept routes, validate user tokens using specific Passport strategies, and secure your application endpoints before controller execution.

Does Nest.js dependency injection work with TypeORM and Mongoose integration?

Yes, Nest.js dependency injection works with TypeORM and Mongoose integration by injecting repository or model providers directly into services, enabling seamless data layer access within strongly typed module boundaries.

When should I use interceptors versus middleware in Nest.js?

You should use interceptors versus middleware in Nest.js based on context: middleware handles generic HTTP requests globally, while interceptors bind specifically to controllers to modify data before or after route handler execution.