nestjs-expert

Guide production-grade NestJS backend architecture decisions for large TypeScript backends.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a principled framework for designing production-grade NestJS backends. It emphasizes modular architecture, robust dependency injection, scalable patterns (CQRS/DDD), and security hardening to help teams build reliable TypeScript server applications.

Core Features & Use Cases

  • Architectural decision guidance for large NestJS projects (50+ modules) focusing on module boundaries, DI scope, and boundary contracts.
  • Pattern deep-dives: CQRS, DDD, hexagonal architecture, and dynamic modules with per-feature configuration.
  • Production-hardening guidance including rate limiting, authentication/authorization, testing with real databases, and migration strategies.

Quick Start

Use this skill to evaluate an existing NestJS monolith or to design a new NestJS module with scalable architecture and secure defaults.

Frequently Asked Questions about nestjs-expert

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

FAQPage Schema
How do I structure a large NestJS backend with proper module boundaries?

Structure large NestJS backends by defining strict module boundaries, boundary contracts, and dependency injection scopes to ensure decoupled, maintainable TypeScript architecture for projects with 50+ modules.

What is the best way to implement CQRS and DDD patterns in NestJS?

Implement CQRS and DDD in NestJS using dynamic modules with per-feature configuration, applying hexagonal architecture principles to separate command and query responsibilities within enterprise TypeScript backends.

How do I configure NestJS dependency injection scopes for production applications?

Configure NestJS dependency injection scopes by evaluating explicit trade-offs and failure modes for each scope, applying per-feature configuration to dynamic modules to balance performance and resource lifecycle management.

How do I add rate limiting and authentication hardening to a NestJS API?

Add rate limiting and authentication hardening to NestJS APIs through production-hardening guidance that covers security strategies, authorization flows, and explicit trade-offs for enterprise TypeScript server applications.

Does this NestJS architecture guidance apply to older framework versions?

This NestJS architecture guidance satisfies versioned API documentation for NestJS 9+, 10+, and 11+, providing concrete recommendations and migration strategies explicitly tailored to those framework versions.

What testing strategies work best for NestJS modules with real databases?

Test NestJS modules with real databases by applying production-hardening testing strategies that validate module boundaries and boundary contracts, ensuring reliable integration coverage for large TypeScript backends.