nestjs
Installation
SKILL.md
NestJS
Workflow
- Confirm runtime baseline (Node version, Nest version, transport style, deployment model).
- Define module boundaries and domain-driven structure.
- Implement request pipeline with validation and error discipline.
- Establish config management, logging, and environment strategy.
- Apply authentication, authorization, and HTTP security controls.
- Choose persistence patterns and transactional boundaries.
- Optimize performance and scalability with measured evidence.
- Finalize testing, CI/CD, observability, and migration runbooks.
Preflight (Ask / Check First)
- NestJS version, adapter (Express or Fastify), and target throughput.
- API style (REST, GraphQL, events, hybrid) and compatibility constraints.
- Security model (JWT, sessions, OAuth2/OIDC) and token lifecycle requirements.
- Database and ORM choice (Prisma, TypeORM, Sequelize, custom).
- Deployment target (containers, serverless, VM/Kubernetes).
- SLOs for latency, availability, and error budgets.