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.

referencesfinding-ownership.md

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

Finding Ownership and Deduplication

Assign one primary owner to each root cause. Supporting skills may add impact or verification requirements, but they do not create duplicate findings.

Evidence Primary owner Supporting handoff
Module cycle, deep import, broad export, cross-feature write Architecture OOP may shape collaborators; Features may test wiring/runtime impact
Domain/application imports NestJS, ORM, transport, or vendor types Architecture OOP reviews the abstraction; Features owns boundary mapping
God service, hidden dependency, repeated conditional variation, invariant leakage OOP/design Architecture confirms capability ownership; Features confirms lifecycle
Guard/pipe/interceptor/filter misuse, public error or API contract Runtime OOP models internal failure types; Architecture owns transaction effects
Validation, authorization, tenant escape, secret or response leakage Security Architecture establishes trust/data ownership; OOP encapsulates policy
Missing boundary test, wrong test layer, flaky lifecycle cleanup Testing Architecture owns boundary assertions; OOP owns object behavior
Compiler parser/type error or ESLint diagnostic Toolchain Route the remedy to another owner only when the root cause is semantic
Query latency, event-loop blocking, capacity, retry, queue, shutdown Runtime Architecture decides service/data boundary changes if measurements justify them

Root-cause examples

  • An HTTP exception imported by a domain policy is one architecture boundary finding. The runtime skill supplies the transport-mapping remedy; do not add a second OOP and third error-handling finding for the same import.
  • A broad SharedModule export that enables five cross-feature repository writes is one architecture root cause with multiple evidence locations, unless the writes have independently different risks or owners.
  • Fifty lint diagnostics caused by one invalid parser configuration are one toolchain configuration finding plus any diagnostics that remain after configuration is corrected.

Conflict disposition

If evidence is insufficient to choose an owner or prove impact, place the item under Needs verification. The report should prefer a smaller set of defensible findings over a large inventory of possible smells.

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