This skill provides a comprehensive framework for structuring NestJS service layers following an anemic domain model philosophy. It streamlines the implementation of complex business rules, cross-entity validation, and actor-focused interfaces while maintaining a clean separation between domain logic and HTTP transport concerns. By enforcing specific import conventions, interface naming standards, and technology-agnostic error handling, it ensures that backend services remain highly testable, portable, and maintainable across different execution contexts like CLI tools, queue workers, or web APIs.
Características Principales
01Standardized NestJS service layer architecture with anemic domain models
02Strict directory-based import conventions and naming standards
03Separation of Zod schema validation from complex business rule validation
04Actor-focused interface design for clearer domain expression
05Transport-agnostic error handling using custom ValidationExceptions
066 GitHub stars