kadajett avatar

Nestjs Best Practices

The nestjs-best-practices skill provides developers with 40 prioritized rules across 10 categories for building production-ready NestJS applications, covering architecture, dependency injection, security, performance, and testing patterns. It serves NestJS developers writing, reviewing, or refactoring code who need guidance on proper module organization, error handling, authentication, and optimization to avoid common pitfalls. This skill solves the problem of inconsistent code quality and architectural decisions by offering a comprehensive reference for automated refactoring and code generation aligned with industry best practices.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
11
skills.sh installs
31.5K
GitHub stars
296
last updated
Aug 21, 2026

Install

$ npx -y skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

NestJS Best Practices

Comprehensive best practices guide for NestJS applications. Contains 40 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new NestJS modules, controllers, or services
  • Implementing authentication and authorization
  • Reviewing code for architecture and security issues
  • Refactoring existing NestJS codebases
  • Optimizing performance or database queries
  • Building microservices architectures

Rule Categories by Priority

PriorityCategoryImpactPrefix
1ArchitectureCRITICALarch-
2Dependency InjectionCRITICALdi-
3Error HandlingHIGHerror-
4SecurityHIGHsecurity-
5PerformanceHIGHperf-
6TestingMEDIUM-HIGHtest-
7Database & ORMMEDIUM-HIGHdb-
8API DesignMEDIUMapi-
9MicroservicesMEDIUMmicro-
10DevOps & DeploymentLOW-MEDIUMdevops-

Quick Reference

1. Architecture (CRITICAL)

Sponsors

Details

Repository
github.com/kadajett/agent-nestjs-skills
Categories
Security, Documentation, Code Review & Quality, AI & Agent Building, Debugging

Recommended

More Security
1caffeinelabs avatarextension-openaicaffeinelabs/skillsMANDATORY recipe for every Caffeine build that calls OpenAI (ChatGPT, GPT-4o, an LLM, a chatbot, embeddings). The ONLY supported path is the `openai-client` mop30.8Kskills.sh installs
2caffeinelabs avatarextension-posting-to-xcaffeinelabs/skillsMANDATORY recipe for every Caffeine build that posts to X (Twitter). The ONLY supported path is the `x-client` mops package with OAuth 2.0 PKCE. Hand-rolling `i29.8Kskills.sh installs
3jeffallan avatarlaravel-specialistjeffallan/claude-skillsBuild and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon que23.9Kskills.sh installs
4wshobson avatarstride-analysis-patternswshobson/agentsApply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security docum22.2Kskills.sh installs
5wshobson avatarthreat-mitigation-mappingwshobson/agentsMap identified threats to appropriate security controls and mitigations. Use when prioritizing security investments, creating remediation plans, or validating c21.2Kskills.sh installs
6insforge avatarinsforgeinsforge/agent-skillsClient-side SDK for database queries, authentication, file uploads, AI features, real-time messaging, and edge function invocation.19.4Kskills.sh installs