nestjs-best-practices
Installation
SKILL.md
NestJS Best Practices — nest-store-api
This skill is split into focused sections. Load the relevant section(s) based on what you're working on.
Sections
| # | File | When to load |
|---|---|---|
| 1 | sections/01-architecture.md | Creating modules, defining folder structure, wiring modules |
| 2 | sections/02-dependency-injection.md | Writing providers, ports, injection tokens |
| 3 | sections/03-controllers-dtos.md | Building controllers, DTOs, validation, versioning |
| 4 | sections/04-use-cases.md | Writing per-operation use cases, application logic |
| 5 | sections/05-testing.md | Unit/integration tests, E2E, mocking ports |
| 6 | sections/06-error-handling.md | Domain errors, exception filters, HTTP mapping |
| 7 | sections/07-cross-cutting.md | Logger, ConfigModule, Swagger, bootstrap, JSDoc |
Load Order (when loading the full skill)
Load sections 1 + 2 always. Then load the section(s) matching your current task.