Index of every page on this site: llms.txt
All skills
amirtaherkhani avatar

/nestjs-code-audit

@8272374
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/amirtaherkhani/nestjs-skills/nestjs-code-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescheck-policy.md

≈471 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Read-only Check Policy

The audit must preserve the target project's files, dependencies, services, databases, and infrastructure. A familiar command name is not enough to prove that a repository script is read-only.

Allowed by the bundled collector

The collector may invoke only local executables already present under node_modules/.bin:

  • eslint <scope> --no-fix --no-cache;
  • tsc --noEmit --pretty false --incremental false.

It does not invoke npm run, pnpm run, yarn, or bun scripts because lifecycle hooks and wrapper scripts can hide writes or external actions. It does not download a missing executable.

Agent-run checks

An agent may run another project-native check only after reading the exact script and its pre/post lifecycle hooks. The command must not:

  • include --fix, --write, snapshot updates, coverage output, code generation, or build emission;
  • install, update, prune, or audit-fix dependencies;
  • run migrations, seeds, deployment, container, Kubernetes, or cloud commands;
  • contact production-like databases, queues, caches, vendors, or other shared mutable services;
  • rewrite lockfiles, generated contracts, formatting, or source files.

Tests are not assumed safe from their name. Inspect configuration, setup files, environment loading, global hooks, and dependency targets before running them. When safety cannot be established cheaply, mark the check not run and explain the missing evidence.

Working-tree verification

Record git status --short before checks. After checks, compare it again. If a supposedly read-only check changed the tree:

  1. stop further checks;
  2. report the exact new paths and command;
  3. do not delete or revert anything without the user's permission;
  4. classify the gate as invalid until rerun safely.

Existing dirty files belong to the user and must not be attributed to the audit.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts3d3 checks · Risk SAFE
  • Gen Agent Trust Hub4d

    The skill is a code auditing tool for NestJS projects that performs static analysis using local tools. It follows a strict read-only workflow, ensuring that no modifications are made to the codebase and no data is exfiltrated.

  • Socket3d

    No alerts

  • Snyk4d

    Risk: LOW · No issues

Signed by skilld at 8272374. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago
compatibility
Requires Node.js 20+ and a NestJS repository. Sibling skills are optional.
metadata
{
  "author": "amirtaherkhani",
  "version": "1.0.3"
}

README badge

README badge for amirtaherkhani/nestjs-skills/nestjs-code-audit