xirothedev avatar

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-code

Installs 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
1mims-harvard avatartooluniverse-custom-toolmims-harvard/tooluniverseAdd custom local tools to ToolUniverse alongside the 1000+ built-in tools. Covers JSON-config tools (simplest, no code), Python class tools (REST/SOAP/GraphQL A290skills.sh installs
2gramiojs avatargramiogramiojs/documentationInvoke for ANY Telegram bot code — `gramio`/`@gramio/*` imports, `new Bot()`, `bot.command`/`bot.callbackQuery`/`bot.on`/`bot.updates.on`, scenes/FSM, inline & 286skills.sh installs
3davila7 avatarbioservicesdavila7/claude-code-templatesPrimary Python tool for 40+ bioinformatics services. Preferred for multi-database workflows: UniProt, KEGG, ChEMBL, PubChem, Reactome, QuickGO. Unified API for 282skills.sh installs
4davila7 avatarrailway-templatesdavila7/claude-code-templatesSearch and deploy services from Railway's template marketplace. Use when user wants to add a service from a template, find templates for a specific use case, or280skills.sh installs
5cinience avataralicloud-platform-aliyun-clicinience/alicloud-skillsAlibaba Cloud generic CLI skill for installing, configuring, and using aliyun CLI to call OpenAPI actions across products. Use when users need command-line oper278skills.sh installs
6patricio0312rev avatarinsomnia-collection-generatorpatricio0312rev/skillsGenerates Insomnia collection export files from Express, Next.js, Fastify, or other API routes. Creates organized workspaces with request groups, environments, 274skills.sh installs