Agent skill

Nestjs Code Audit

by aiskillstore in aiskillstore/marketplace

Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality report.

MITAuto-check passedBackend & APIs

Install Nestjs Code Audit

skills CLI
$ npx skills add aiskillstore/marketplace --skill nestjs-code-audit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace nestjs-code-audit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/amirtaherkhani/nestjs-code-audit .claude/skills/nestjs-code-audit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nestjs-code-audit
GitHub stars
430
Token cost
~2.5k tokens
SKILL.md length
1,110 words
Files
9 (incl. scripts, references)
Skills in repo
1,108
Repo updated
First seen
Licence
MIT

At a glance

Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality report.

  • Works in 4 steps: Establish eligibility and scope → Collect deterministic evidence → Review four evidence lanes → …
  • Asked to check a whole NestJS codebase
  • SKILL.md covers Pre-execution conflict guard, Invocation, Audit workflow and Required report, plus 1 more section
  • Runs JavaScript scripts from its folder; calls node and tsc

What it does

Nestjs Code Audit is an agent skill from aiskillstore/marketplace. 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…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `agents/openai.yaml`, `evals/evals.json` and `references/check-policy.md`). Compatibility notes: Requires Node.js 20+ and a NestJS repository. Sibling skills are optional.

It sits in Backend & APIs, covering Code quality. It works with NestJS and TypeScript. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.

When your agent uses it

  • Asked to check a whole NestJS codebase
  • A scoped folder for syntax
  • Module-boundary
  • Production-readiness problems

Example prompts

  • “Use the nestjs-code-audit skill to audit an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one…”
  • “/nestjs-code-audit”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): Requires Node.js 20+ and a NestJS repository. Sibling skills are optional.

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Establish eligibility and scope
  2. Collect deterministic evidence
  3. Review four evidence lanes
  4. Verify and deduplicate findings

What it can do on your machine

Read from SKILL.md and the folder at commit ad8daf7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • tsc

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Node.js 20+ and a NestJS repository. Sibling skills are optional.

    From compatibility in the SKILL.md frontmatter.

Context cost

Nestjs Code Audit loads about 2.5k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 144 tokens; SKILL.md has 1,110 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~144
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit ad8daf7, republished under its MIT licence (© aiskillstore). 1,110 words, ~2,498 tokens.

Download SKILL.mdSave it as .claude/skills/nestjs-code-audit/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
nestjs-code-audit
description
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.
compatibility
Requires Node.js 20+ and a NestJS repository. Sibling skills are optional.
license
MIT
metadata.author
amirtaherkhani
metadata.version
1.0.3

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:

text
$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:

text
/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
ActionCoverage
full (default)Safe static gates plus architecture, object design, runtime, security, testing, and delivery review
staticSyntax, TypeScript, lint, configuration, and directly related toolchain failures
architectureModules, dependencies, data/write ownership, transactions, events, ports, and service boundaries
designResponsibilities, invariants, coupling, abstractions, patterns, and refactoring risks
runtimeNest lifecycle, API/errors, reliability, performance evidence, health, shutdown, and delivery
securityInput, identity/access, tenant isolation, secrets, output, abuse controls, and security tests
testsTest-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
  1. Resolve the current working directory and optional user scope without escaping the repository root.
  2. Read AGENTS.md and 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.
  3. Verify that @nestjs/core is declared or that the repository is clearly a NestJS workspace. If not, stop and report that this audit is not applicable.
  4. Record the current branch and dirty state. Do not alter or discard existing changes.
  5. 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:

bash
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 --noEmit commands when --run is present;
  • never installs dependencies, runs builds, updates snapshots, writes coverage, or invokes arbitrary package scripts;
  • returns JSON containing command results and heuristic review candidates.

If dependencies are missing or a command is unsafe, unavailable, timed out, or outside scope, record it as not run. Do not reinterpret a missing check as a pass. Never run lint --fix, format/write commands, migrations, deployment commands, live integration tests, or tests that may reach shared infrastructure during this audit.

3. Review four evidence lanes
Toolchain correctness
  • Report parser, TypeScript, and lint diagnostics exactly enough to locate the problem.
  • Deduplicate cascaded compiler errors when they share one root cause.
  • Separate command failure from a code finding, such as missing dependencies or broken configuration.
Show full SKILL.md (430 more words)Show less
Architecture

Trace bootstrap entry points, module imports/exports, provider visibility, request/message paths, persistence ownership, transactions, events, and external adapters. Confirm cycles or boundary leaks from real imports and call paths. Do not report architectural preference as a defect.

Object design and maintainability

Inspect responsibilities, dependency clusters, invariant placement, repeated conditional variation, framework/vendor leakage, hidden service location, speculative abstractions, and risky refactor seams. File length or a regex signal alone is not a finding.

Runtime, security, and verification

Inspect lifecycle placement, validation, authentication/authorization, tenant/resource ownership, public error and response contracts, secrets/logging, query and resource bounds, timeouts/retries/idempotency, health/shutdown, test boundaries, and deployment evidence when present. Do not claim performance problems without measurements.

4. Verify and deduplicate findings

A confirmed finding needs:

  • a stable ID: TOOL, ARCH, OOP, RUN, SEC, or TEST plus a number;
  • severity: critical, high, medium, or low;
  • primary owning skill;
  • file and line evidence plus the relevant import, call path, diagnostic, or configuration;
  • concrete impact, not only a rule name;
  • the smallest safe remedy;
  • a validation step that could prove the remedy.

Use critical only for a present security, data-loss, tenant-isolation, or severe availability risk. High requires likely incorrect behavior or a boundary flaw blocking a known change. Medium requires a credible maintainability, correctness, or operability cost. Low is a localized improvement with limited risk.

Move unverified regex signals, suspected dead code, possible performance issues, and checks blocked by missing dependencies to Needs verification. Do not inflate the report with style preferences or multiple findings for one root cause.

Required report

Return Markdown in this order:

  1. Audit verdict: pass, pass with risks, or fail; audited scope; one-sentence baseline.
  2. Quality gates: syntax/TypeScript, lint, tests if safely available, and audit coverage, each marked pass, fail, or not run with the exact command or reason.
  3. Finding summary: counts by severity and owner.
  4. Confirmed findings: ordered by severity and impact, using the evidence/remedy/validation contract above.
  5. Needs verification: candidate, missing evidence, and smallest next check.
  6. Healthy patterns: only notable controls actually verified in the repository.
  7. Recommended order: a short, dependency-aware remediation sequence; implement only in a distinct phase if the user explicitly authorized those fixes.

If there are no confirmed problems, say so and list the checks that were not run. A clean lint result is not proof of sound architecture, security, runtime behavior, or test coverage.

Reference routing

NeedLoad
Review architecture, objects, runtime, and healthy controls without sibling skillssemantic-review.md
Decide which checks may run without modifying the projectcheck-policy.md
Assign and deduplicate findings across the three domain skillsfinding-ownership.md
Format the final audit consistentlyreport-template.md

© aiskillstore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (scripts, references) in skills/amirtaherkhani/nestjs-code-audit of aiskillstore/marketplace.

  • SKILL.md
  • agents/openai.yaml
  • evals/evals.json
  • references/check-policy.md
  • references/finding-ownership.md
  • references/report-template.md
  • references/semantic-review.md
  • scripts/collect-quality-evidence.mjs
  • skill-report.json

Open the folder on GitHubat commit ad8daf7

Compare with similar skills

Nestjs Code Audit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nestjs Code Audit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nestjs Code Audit this skillaiskillstore/marketplace430—~2.5kAutomated safety check: PassMIT
Twenty Syncable Entity Validationtwentyhq/twenty58k—~3.3kAutomated safety check: PassCustom licence
Evolutionary Modular Architecturetech-leads-club/agent-skills7k—~3.7kAutomated safety check: PassCC-BY-4.0
Twenty Syncable Entity Wiringtwentyhq/twenty58k—~2.9kAutomated safety check: PassCustom licence
Twenty Entity Runner Actionstwentyhq/twenty58k—~3.1kAutomated safety check: PassCustom licence
Projectsamchon/nestia2.2k—~3kAutomated safety check: PassMIT

Similar skills

  • Contributor guide for step three of adding a syncable entity to the Twenty server: write the validator, the migration action builder and the orchestrator wiring.

    58k GitHub stars~3.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Evolutionary Modular Architecture

    tech-leads-club/agent-skills

    Guides design of modular-monolith platforms with DDD, flat-by-aggregate modules, anti-corruption layers, outbox events and resilience, plus an architecture document with SVG diagrams.

    7k GitHub stars~3.7k tokensUpdated 17 days ago
    DevelopmentAuto-check passed
  • Registers a new syncable entity in three NestJS modules and adds its service and GraphQL resolver layers when contributing to the Twenty server.

    58k GitHub stars~2.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Step four of adding a syncable entity in the Twenty server: write create, update and delete action handlers that run workspace migrations against the database.

    58k GitHub stars~3.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Project

    samchon/nestia

    Defines the nestia product contract, workspace layout, package boundaries, the Go plugin composition model, and canonical commands.

    2.2k GitHub stars~3k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Fe Tools Template Recommender

    MichealWayne/fe-tools

    Recommend the most suitable project template or initialization path from fe-tools project-templates based on product, framework, runtime, and delivery constraints.

    207 GitHub stars~1k tokensUpdated 29 days ago
    DevelopmentAuto-check passed

More from aiskillstore/marketplace

All 1,108 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 2 repos~598 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Questions about Nestjs Code Audit

What does Nestjs Code Audit do?

Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality report. Nestjs Code Audit is an agent skill from aiskillstore/marketplace. Audits an existing NestJS repository with bundled semantic guidance and optional specialist skills and returns one prioritized, evidence-backed code-quality report.

When should I use Nestjs Code Audit?

Nestjs Code Audit fits situations like: asked to check a whole NestJS codebase; A scoped folder for syntax; module-boundary; production-readiness problems.

How do I install Nestjs Code Audit in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill nestjs-code-audit -a claude-code`. Or copy the skill folder (skills/amirtaherkhani/nestjs-code-audit in aiskillstore/marketplace) into .claude/skills/nestjs-code-audit in your project. Claude Code loads it when a task matches its description.

How do I install Nestjs Code Audit in Codex?

Run `npx skills add aiskillstore/marketplace --skill nestjs-code-audit -a codex`. Or copy the skill folder (skills/amirtaherkhani/nestjs-code-audit in aiskillstore/marketplace) into .agents/skills/nestjs-code-audit in your project. Codex loads it when a task matches its description.

Can I use Nestjs Code Audit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill nestjs-code-audit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nestjs-code-audit, .gemini/skills/nestjs-code-audit, .github/skills/nestjs-code-audit and .opencode/skills/nestjs-code-audit in your project.

What does Nestjs Code Audit need to run?

Going by SKILL.md and its folder, Nestjs Code Audit needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and tsc). Our summary lists: Node.js. Compatibility (from SKILL.md): Requires Node.js 20+ and a NestJS repository. Sibling skills are optional..

Does Nestjs Code Audit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nestjs Code Audit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Nestjs Code Audit use?

Nestjs Code Audit is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nestjs Code Audit use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.

What are the alternatives to Nestjs Code Audit?

Skills that share tags, products or a category with Nestjs Code Audit: Twenty Syncable Entity Validation (twentyhq/twenty, 58k stars), Evolutionary Modular Architecture (tech-leads-club/agent-skills, 7k stars), Twenty Syncable Entity Wiring (twentyhq/twenty, 58k stars) and Twenty Entity Runner Actions (twentyhq/twenty, 58k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nestjs Code Audit?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,108 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.