clean-architecture
Installation
SKILL.md
Boundary
This skill provides implementation patterns for Clean Architecture, Domain-Driven Design (DDD), and Hexagonal Architecture in NestJS/TypeScript applications. It focuses on architectural layering, domain modeling, and dependency inversion. It does NOT cover basic NestJS setup, database migrations, or deployment (those have dedicated skills).
When to use
Use this skill when:
- Architecting complex NestJS applications requiring long-term maintainability
- Refactoring from tightly-coupled MVC to layered architecture
- Implementing rich domain models with encapsulated business logic
- Designing testable systems with swappable infrastructure
- Creating microservices with clear bounded contexts
- Separating business rules from framework code
- Implementing event-driven architectures with domain events