nestjs-expert

Diagnose NestJS project structures and validate with type checks and tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gonzoblasco/antigravity-developer-stack --skill nestjs-expert-gonzoblasco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nestjs-expert
Source: https://github.com/gonzoblasco/antigravity-developer-stack/tree/main/backend-infra/nestjs-expert
Command: npx skills add https://github.com/gonzoblasco/antigravity-developer-stack --skill nestjs-expert-gonzoblasco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

The Nest.js Expert skill helps software teams quickly resolve architectural, DI, security, and testing challenges in NestJS projects by providing vetted, enterprise-grade patterns and practical troubleshooting references.

Core Features & Use Cases

  • Architectural assessment: evaluate module boundaries, dependency injection patterns, and layering for scalable NestJS applications.
  • Security and authentication: design and review JWT/Passport strategies, guards, and access control across APIs.
  • Testing & quality: define unit/integration/e2e testing plans with Jest, simulate real data, and ensure reliable deployments.
  • Reference-driven troubleshooting: access structured references for common NestJS pitfalls and performance tips in the provided references directory.
  • Migration & modernization: align older NestJS apps with modern patterns and newer NestJS versions.

Quick Start

Analyze my NestJS project structure to identify circular or dependency issues and suggest concrete refactors, then present a prioritized action plan.

Frequently Asked Questions about nestjs-expert

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

FAQPage Schema
How do I fix circular dependency issues in my NestJS application?

To resolve circular dependencies in NestJS, you can use forwardRef() injection or refactor module boundaries. This skill diagnoses project structure, identifies dependency cycles, and suggests concrete refactors with a prioritized action plan.

What is the best way to structure enterprise-grade Node.js applications using NestJS?

Structuring enterprise NestJS apps requires clear module boundaries, proper layering, and dependency injection patterns. This skill provides architectural assessments to evaluate your structure and ensure scalability for real-world projects.

How do I implement authentication and access control in NestJS with JWT and Passport?

Authentication in NestJS uses JWT and Passport strategies combined with guards for access control. This skill helps design and review these security patterns across your APIs to ensure proper enterprise-grade protection.

How do I set up unit, integration, and end-to-end testing for NestJS APIs using Jest?

Testing NestJS APIs involves unit, integration, and e2e tests using Jest to simulate real data. This skill defines comprehensive testing plans and validates improvements through rigorous type checks and automated tests.

Can I use this to modernize and migrate an older NestJS project to newer patterns?

Yes, you can migrate older NestJS apps by aligning them with modern patterns and newer framework versions. This skill supports migration and modernization workflows for existing enterprise Node.js applications.

Why is my NestJS middleware or guard not working as expected?

NestJS middleware and guards can fail due to incorrect decorator ordering or dependency injection misconfigurations. This skill provides reference-driven troubleshooting for common pitfalls and optimization tips.