Loading...
Loading...
NestJS best practices and patterns for building scalable, maintainable backend applications. This skill should be used when writing, reviewing, or refactoring NestJS code to ensure proper architecture, security, performance, and code quality. Triggers on tasks involving NestJS modules, controllers, services, guards, pipes, middleware, Prisma database operations, authentication, or any NestJS-specific patterns.
npx skill4agent add xirothedev/agent-skills nestjs-best-practices| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Security | CRITICAL | |
| 2 | Performance | HIGH | |
| 3 | Architecture | HIGH | |
| 4 | Error Handling | HIGH | |
| 5 | Validation | CRITICAL | |
| 6 | Database | CRITICAL | |
| 7 | Authentication | CRITICAL | |
| 8 | API | MEDIUM | |
| 9 | Configuration | CRITICAL | |
| 10 | Testing | MEDIUM | |
| 11 | Deployment | MEDIUM | |
| 12 | Middleware | MEDIUM | |
| 13 | Advanced | HIGH | |
security-cors-whitelistsecurity-dependency-auditsecurity-helmet-headersperformance-redis-cachingarchitecture-short-functionsarchitecture-feature-modulesarchitecture-no-dead-codearchitecture-thin-controllersarchitecture-naming-conventionsarchitecture-event-drivenerror-handling-exception-filtererror-handling-structured-loggingvalidation-custom-pipesvalidation-dto-validationdatabase-parameterized-queriesauth-password-hashingauth-route-guardsapi-cursor-paginationapi-swagger-docsconfig-no-secretstesting-unit-testsdeployment-health-checksmiddleware-compressionmiddleware-rate-limitingadvanced-lazy-loadingadvanced-scheduled-tasksrules/security-cors-whitelist.md
rules/auth-route-guards.md
rules/validation-dto-validation.md
rules/_sections.mdbun addsrc/users/users.service.tsAGENTS.mdcd packages/nestjs-best-practices-build
bun install
bun run build # Generate AGENTS.md
bun run validate # Validate rule files
bun run dev # Build and validate