What problem does it solve?
Inconsistent code organization, naming, and dependency management can slow down development, increase cognitive load, and make onboarding new team members difficult. This Skill establishes clear, project-specific conventions for a cohesive and efficient codebase.
Core Features & Use Cases
- Monorepo Structure: Understand and navigate the
apps/ and packages/ layout, clarifying where different parts of the application reside.
- Feature Module Organization: Structure NestJS feature modules for clarity, scalability, and maintainability, promoting a domain-driven approach.
- Dependency Management: Follow unidirectional dependency flow and leverage pnpm workspace commands for efficient and consistent package management.
- Use Case: When creating a new feature, quickly determine where to place files (controller, DTOs, use cases), how to name them according to project standards, and how to manage dependencies using pnpm.
Quick Start
Explain the recommended directory structure for a new 'Comment' feature module within the NestJS API, including its DTOs, use cases, and how it fits into the overall monorepo.