What problem does it solve?
This Skill provides structured guidance for designing, implementing, and evolving TypeScript backends (NestJS, APIs, databases) with clean architecture, SOLID principles, and robust testing and deployment practices.
Core Features & Use Cases
- Layered architecture guidance: controllers → services → repositories → models with dependency injection.
- NestJS-focused patterns: controllers and services separation, module-based structure, and interfaces for repositories and external services.
- TypeORM and data access patterns: entity-first design, repositories, and query builders for type-safe data access.
- Use Case: design a new API that handles user accounts with authentication, persistence, and testing.
Quick Start
- Create a new NestJS project with strict TypeScript configuration and a modular structure.
- Refactor existing code to adhere to the layered architecture (controllers → services → repositories → models) and apply dependency injection.
- Add sample unit tests and CI configuration to ensure ongoing quality.