signal-lab-nest-endpoint
Installation
SKILL.md
When to Use
Use this skill when you need to add a new backend route under apps/backend/src/* and want it to be:
- consistent with existing modules
- observable (metrics/logs)
- documented in Swagger
Guardrails
- Keep the global prefix
api(routes are under/api/*), except/metrics. - Use
class-validatorDTOs. - Update Swagger decorators on controllers.
Template
- Create DTO
apps/backend/src/<domain>/dto/<name>.dto.ts- Use
class-validator(IsString,IsOptional,MaxLength, etc.)