nestjs-conventions

Codify NestJS project patterns for module structure, DTOs, guards, and error handling.

1|1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/namnh240795/automation-with-claude-cli --skill nestjs-conventions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nestjs-conventions
Source: https://github.com/namnh240795/automation-with-claude-cli/tree/main/skills/nestjs-conventions
Command: npx skills add https://github.com/namnh240795/automation-with-claude-cli --skill nestjs-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill standardizes NestJS project architecture, patterns, and conventions to accelerate development, improve maintainability, and ensure consistency across teams.

Core Features & Use Cases

  • Feature pattern templates and module organization
  • Global configuration, API versioning, and shared utilities
  • Use Case: Onboarding a new project, align codebase with a unified set of conventions to speed up delivery

Quick Start

Use the NestJS Conventions skill to scaffold or audit a NestJS project against standardized patterns

Frequently Asked Questions about nestjs-conventions

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

FAQPage Schema
How do I structure a NestJS monorepo for scalable enterprise applications?

To structure a scalable NestJS monorepo, apply standardized feature pattern templates and module organization conventions. This enforces consistent code organization across teams, accelerating API delivery and improving long-term maintainability.

What are the best conventions for NestJS API versioning and shared utilities?

The best conventions for NestJS API versioning involve applying global configuration templates and standardized shared utilities. This ensures consistent API design across microservices and feature modules, preventing versioning conflicts as the application scales.

Can I use Fastify with standardized NestJS module patterns and guards?

Yes, you can use Fastify with standardized NestJS module patterns. The conventions support building APIs with Fastify by providing consistent DTOs and guards, ensuring high-performance HTTP handling without sacrificing architectural consistency.

How do I standardize error handling and DTOs across a NestJS microservices project?

To standardize error handling and DTOs across NestJS microservices, apply a unified set of architectural conventions. This codifies common utilities and standardized error responses, ensuring reliable inter-service communication and consistent API boundaries.

Does this approach work for auditing an existing NestJS codebase?

Yes, this approach works for auditing an existing NestJS codebase. You can evaluate your current module structure and shared utilities against the codified conventions to identify architectural gaps and align the project for scalable growth.