NestJS 11 Clean Architecture

Community

Build scalable NestJS apps with clean architecture.

Authormaksymilian-majer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Projects built with NestJS often suffer from architectural drift as they grow, making maintenance and testing harder. This Skill provides a practical NestJS 11 Clean Architecture pattern that enforces dependency injection, clear domain boundaries, and a predictable module layout to improve scalability and reliability.

Core Features & Use Cases

  • Layered structure: Controller → Service → Repository → Database with inward dependencies.
  • DI tokens and clean interfaces: avoid direct instantiations and promote testability.
  • Domain logic in services and shared types to enable reuse across modules and potential CQRS adoption.
  • Use Case: organize a new backend feature by creating a module, controller, service, and repository following the conventions described.

Quick Start

Create a new NestJS 11 project and organize modules, controllers, services, and repositories following the conventions outlined above.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: NestJS 11 Clean Architecture
Download link: https://github.com/maksymilian-majer/kata-camp-hair-products/archive/main.zip#nestjs-11-clean-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.