nestjs-code-audit
БесплатноЗапускает вложенные скриптыНе проверенAudits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality…
от amirtaherkhani★ 27 звёзд на GitHubОб этом скилле
NestJS Code Audit
Inspect the current user's NestJS project and return one consolidated report of verified code problems and evidence-backed risks. Audit only; do not modify the target project.
Pre-execution conflict guard
Before editing files or running any state-changing command, reconcile active instructions. Read-only inspection may continue.
Prerequisites
Confirm root, scope, instructions, Git state, installed versions/dependencies, and safe checks. Preserve user changes. Load semantic-review.md for the requested semantic lanes; sibling skills are optional deeper guidance, not installation prerequisites. Read other active skills only when their decisions overlap.
Primary ownership
This skill owns read-only quality evidence, finding deduplication, severity, and report assembly. When installed and relevant, coordinate with:
nestjs-architecture-principles: module, dependency, data, and transaction boundaries.nestjs-oop-design-patterns: object responsibilities, invariants, and patterns.nestjs-features-performance: lifecycle, API/security, testing, runtime, and performance.nestjs-professional-software-engineering: implementation and verification.nestjs-feature-audit: branch-specific roadmap gate and feature reporting.nestjs-git-commit-pr-message: authorized Git publication and CI follow-up.
These are decision boundaries, not required dependencies. Retain domain ownership when handing work to another workflow.
Conflict test
Resolve incompatible findings, unsafe checks, or missing evidence using explicit user intent, repository contracts, verified runtime constraints, then the narrowest owner. Keep one finding per root cause; unresolved claims belong in Needs verification. If an action crosses the audit boundary, stop before mutation. An audit alone never authorizes fixes; if the user explicitly requested both, finish the read-only audit first, then enter the authorized implementation phase without asking for the same approval again.
Invocation
Preferred portable invocation:
$nestjs-code-audit
$nestjs-code-audit full src/payments
$nestjs-code-audit static
$nestjs-code-audit security src/auth
Codex CLI/IDE custom-prompt alias, when installed:
/prompts:nestjs-audit
/prompts:nestjs-audit full src/payments
Codex does not provide arbitrary bare user-defined commands such as /Nestjs audit; keep the supported alias explicit.
Actions
| Action | Coverage |
|---|---|
full (default) |
Safe static gates plus architecture, object design, runtime, security, testing, and delivery review |
static |
Syntax, TypeScript, lint, configuration, and directly related toolchain failures |
architecture |
Modules, dependencies, data/write ownership, transactions, events, ports, and service boundaries |
design |
Responsibilities, invariants, coupling, abstractions, patterns, and refactoring risks |
runtime |
Nest lifecycle, API/errors, reliability, performance evidence, health, shutdown, and delivery |
security |
Input, identity/access, tenant isolation, secrets, output, abuse controls, and security tests |
tests |
Test-layer choice, missing boundary coverage, flaky lifecycle risks, and safely runnable checks |
An optional repository-relative scope follows the action. If the first argument is not a recognized action, treat all arguments as the scope/focus and use full. For focused actions, load only the relevant lanes in the bundled semantic reference, plus any available specialist guidance needed for a cross-lane blocker. Report only the requested scope.
Audit workflow
1. Establish eligibility and scope
- Resolve the current working directory and optional user scope without escaping the repository root.
- Read
AGENTS.mdand other repository instructions,package.json, lockfiles,nest-cli.json, TypeScript and lint configuration, bootstrap files, module files, tests, and deployment manifests that affect the scope. - Verify that
@nestjs/coreis declared or that the repository is clearly a NestJS workspace. If not, stop and report that this audit is not applicable. - Record the current branch and dirty state. Do not alter or discard existing changes.
- State a one-sentence baseline of the observed architecture. Do not infer Clean Architecture, DDD, CQRS, or microservices from folder names.
2. Collect deterministic evidence
Use the bundled collector from this skill's directory:
node scripts/collect-quality-evidence.mjs --root "$PWD" --run
Add --scope <relative-path> when the user requested a narrower audit. The collector:
- reads manifests and source files without changing them;
- identifies the package manager and available quality scripts;
- runs only allow-listed, non-fixing ESLint and
tsc --noEmitcommands when--runis present; - never installs dependencies, runs builds, updates snapshots, writes coverage, or invokes ar
Установить nestjs-code-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nestjs-code-audit?
Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality report. Use when asked to check a whole NestJS codebase or a scoped folder for syntax, TypeScript, lint, module-boundary, dependency, design-smell, security, testing, performance, reliability, or production-readiness problems. This is a read-only review workflow: it does not fix code, install dependencies, run migrations, or deploy. When other skills also apply, reconcile ownership before mutation.
Как установить скилл nestjs-code-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nestjs-code-audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic