cli
SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers
NestJS best practices and architecture patterns for building production-ready applications. This skill should be used when writing, reviewing, or refactoring NestJS code to ensure proper patterns for modules, dependency injection, security, and performance.
Claude Code
$ npx -y skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices --agent claude-code
Codex
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a codex -y
Cursor
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a cursor -y
Gemini CLI
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a gemini-cli -y
GitHub Copilot
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a github-copilot -y
OpenCode
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a opencode -y
Windsurf
$ npx skills add kadajett/agent-nestjs-skills --skill nestjs-best-practices -a windsurf -y
name: nestjs-best-practices description: NestJS best practices and architecture patterns for building production-ready applications. This skill should be used when writing, reviewing, or refactoring NestJS code to ensure proper patterns for modules, dependency injection, security, and performance. license: MIT metadata: author: Kadajett version: "1.2.0"
Comprehensive best practices guide for NestJS applications. Contains 40 rules across 10 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Architecture | CRITICAL | `arch-` | | 2 | Dependency Injection | CRITICAL | `di-` | | 3 | Error Handling | HIGH | `error-` | | 4 | Security | HIGH | `security-` | | 5 | Performance | HIGH | `perf-` | | 6 | Testing | MEDIUM-HIGH | `test-` | | 7 | Database & ORM | MEDIUM-HIGH | `db-` | | 8 | API Design | MEDIUM | `api-` | | 9 | Microservices | MEDIUM | `micro-` | | 10 | DevOps & Deployment | LOW-MEDIUM | `devops-` |
Read individual rule files for detailed explanations and code examples:
rules/arch-avoid-circular-deps.md rules/security-validate-all-input.md rules/_sections.md
Each rule file contains:
For the complete guide with all rules expanded in a single document, see [AGENTS.md in the repository](https://github.com/Kadajett/agent-nestjs-skills/blob/main/AGENTS.md).
SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers