nestjs-architecture
Profile scope and official documentation
Read docs/agents/stack.md when present. Apply this custom stack only to apps selecting the default NestJS profile or explicitly adopting it. In existing apps with another stack preserve conventions; this skill does not authorize migration. For new unconfigured apps agree on the profile using setup-mvskills.
For API/CLI facts start with https://docs.nestjs.com/llms.txt and fetch relevant linked official pages. Use https://docs.nestjs.com/llms-full.txt as a fallback, searching relevant sections rather than loading it wholesale. Match docs to installed versions and command --help; the selected profile owns architecture choices.
NestJS — Clean Architecture with Vertical Slices
This skill tells you what goes where and who may depend on whom.
How to generate files with the CLI lives in the nestjs-cli skill; the step-by-step
workflow for adding a feature lives in the nestjs-feature skill.
The mental model
Load strict-typescript for authored code, scripts and review. For public HTTP DTOs, responses and frontend contracts load api-contracts when selected by the profile. Use the host's skill tool for these loads, or read the installed entrypoints when it is unavailable. Repository standards and ADRs remain authoritative for the selected app; pass their paths along with this profile to Standards review.