npx skills add https://github.com/kadajett/agent-nestjs-skills --skill nestjs-best-practicesInstala esta habilidad con la CLI y comienza a usar el flujo de trabajo SKILL.md en tu espacio de trabajo.
A structured repository for creating and maintaining NestJS Best Practices optimized for agents and LLMs.
Install this skill using skills:
# GitHub shorthand
npx skills add Kadajett/agent-nestjs-skills
# Install globally (available across all projects)
npx skills add Kadajett/agent-nestjs-skills --global
# Install for specific agents
npx skills add Kadajett/agent-nestjs-skills -a claude-code -a cursor
rules/ - Individual rule files (one per rule)
_sections.md - Section metadata (titles, impacts, descriptions)_template.md - Template for creating new rulesarea-description.md - Individual rule filesscripts/ - Build scripts and utilitiesmetadata.json - Document metadata (version, organization, abstract)AGENTS.md - Compiled output (generated)Install dependencies:
cd scripts && npm install
Build AGENTS.md from rules:
npm run build
# or
./scripts/build.sh
rules/_template.md to rules/area-description.mdarch- for Architecture (Section 1)di- for Dependency Injection (Section 2)error- for Error Handling (Section 3)security- for Security (Section 4)perf- for Performance (Section 5)test- for Testing (Section 6)db- for Database & ORM (Section 7)api- for API Design (Section 8)micro- for Microservices (Section 9)devops- for DevOps & Deployment (Section 10)Each rule file should follow this structure:
---
title: Rule Title Here
impact: MEDIUM
impactDescription: Optional description
tags: tag1, tag2, tag3
---
## Rule Title Here
Brief explanation of the rule and why it matters.
**Incorrect (description of what's wrong):**
```typescript
// Bad code example
Correct (description of what's right):
// Good code example
Optional explanatory text after examples.
Reference: NestJS Documentation
_ are special (excluded from build)area-description.md (e.g., arch-avoid-circular-deps.md)| Level | Description |
|---|---|
| CRITICAL | Violations cause runtime errors, security vulnerabilities, or architectural breakdown |
| HIGH | Significant impact on reliability, security, or maintainability |
| MEDIUM-HIGH | Notable impact on quality and developer experience |
| MEDIUM | Moderate impact on code quality and best practices |
| LOW-MEDIUM | Minor improvements for consistency and maintainability |
npm run build (in scripts/) - Compile rules into AGENTS.mdWhen adding or modifying rules:
_template.md structureThe documentation website source code lives on the docs branch. This separation keeps the skill installation lightweight while maintaining the full documentation site.
To contribute to the website:
git checkout docs
cd website
npm install
npm run dev
These NestJS skills work with: