
Nestjs Best Practices
A comprehensive ruleset covering 26 practices across security, architecture, and performance for NestJS applications. Built specifically for Bun runtime and Prisma v7, so it includes patterns like using Bun's native crypto for password hashing and Prisma's sql template tags. Each rule has an "For AI Agents" section with step by step instructions, file locations, and wrong versus correct examples, which makes it genuinely useful for code generation rather than just review. The priority tagging is smart (CRITICAL for validation and auth, MEDIUM for testing) and helps focus on what matters. Best used when setting up new projects or enforcing standards across a team's codebase.
- skills.sh installs
- 291
- GitHub stars
- 13
- last updated
- Aug 21, 2026
Install
$ npx -y skills add xirothedev/agent-skills --skill nestjs-best-practices --agent claude-codeInstalls into .claude/skills of the current project.
Files
NestJS Best Practices
Comprehensive guide for building production-ready NestJS applications. Contains 26 rules across 13 categories, covering security, architecture, performance, validation, database operations, authentication, and advanced patterns.
When to Apply
Reference these guidelines when:
- Writing new NestJS modules, controllers, or services
- Implementing authentication and authorization
- Setting up Prisma database operations
- Creating DTOs and validation pipes
- Adding middleware or guards
- Implementing error handling and logging
- Reviewing NestJS code for best practices
- Refactoring existing NestJS applications
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/xirothedev/agent-skills
- Categories
- Backend & APIs, Security, Documentation, Code Review & Quality, AI & Agent Building, Debugging, Databases
- First seen
- Jun 3, 2026