What problem does it solve? NestJS codebases often suffer from circular dependencies, god services, improper module sharing, and inconsistent error handling that cause runtime crashes and maintenance pain. This Skill gives AI agents and developers a structured, impact-prioritized rulebook to write, review, and refactor NestJS code correctly. ## Core Features & Use Cases - 40 Rules Across 10 Categories: Covers architecture, dependency injection, error handling, security, performance, testing, database/ORM, API design, microservices, and DevOps, each ranked by impact from CRITICAL to LOW-MEDIUM. - Incorrect vs. Correct Examples: Every rule includes real TypeScript code showing the anti-pattern and the recommended implementation with explanations and official documentation references. - Composable Rule Files: Individual rules live in rules/ with YAML frontmatter, compiled into a single AGENTS.md via a build script for easy maintenance and extension. - Use Case: When refactoring a NestJS service that injects five unrelated dependencies, apply the event-driven decoupling and single-responsibility rules to split it into focused services communicating via @nestjs/event-emitter. ## Quick Start Ask the agent to review your NestJS module for circular dependencies and improper provider sharing using the nestjs-best-practices guidelines.