Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

nestjs-doctor

Skill by RoloBits

Runs a deterministic NestJS scan over security, correctness, architecture, performance, and database schema, then fixes what it finds. Built for developers who write or maintain Nest projects, including in CI.

  • Score 73
  • 187 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install nestjs-doctor

Built from the published package, never by AI.

git clone --depth 1 https://github.com/RoloBits/nestjs-doctor /tmp/nestjs-doctor && mkdir -p ~/.claude/skills && cp -r /tmp/nestjs-doctor/packages/nestjs-doctor/skills/nestjs-doctor ~/.claude/skills/nestjs-doctor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install nestjs-doctor in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

NestJS Doctor is a skill that runs a deterministic scan over a NestJS project. Its rules cover security, correctness, architecture, performance, and database schema, and the project is scored from 0 to 100. The assistant runs the scan, reads the findings, applies the smallest fix that resolves each one, and then re-runs the scan to confirm the finding is gone.

The scan uses no model at scan time, and nothing about the code leaves the machine, so the same commit gets the same score on a laptop and in CI. It can report only what a change introduced, and it can write a GitHub Actions workflow that reviews pull requests. It is meant for developers working on NestJS code and for teams who want the same checks in CI.

Written from the project's SKILL.md and checked against it.

What it can do

  • Scan a projectRuns a deterministic scan over security, correctness, architecture, performance, and database schema.
  • Scan changed codeReports only what a change introduced, compared against a base branch with --scope changed.
  • Fix findingsApplies the fix named in each finding's help line, then re-runs the scan to confirm.
  • Narrow suppressionsIgnores a rule on one line, in one file, everywhere, or by category, through config or comments.
  • CI setupWrites a GitHub Actions workflow that reviews each pull request against its base branch.
  • Machine-readable outputProduces JSON, SARIF, GitLab, markdown, and HTML report output for tooling.

What you need

  • Node.js, used through npx
  • A NestJS project
  • A git repository with the base commit present, for --scope changed
  • GitHub Actions, for the CI workflow

Try asking

  • Scan this NestJS project and fix the errors first.
  • Check my changes against origin/main before I commit.
  • Find circular modules and unused providers in this Nest app.

Good to know

  • Some rules are report-only and do not change the score or fail a build.
  • Construction times for a slow boot need a real boot, so they come from the nestjs-boot-trace skill.
  • The severity setting in the config has no effect.
  • Without a git repository and base commit, --scope changed widens the report instead of narrowing it.

Security check

B
  • Allowed to use Bash, Edit, Write without limitsIn SKILL.md

Checked automatically: packages/nestjs-doctor/skills/nestjs-doctor/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: BashReadEditGlobGrepWrite

  • SKILL.md5 KB

Alternatives to nestjs-doctor

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

nestjs-doctor: common questions

Does nestjs-doctor send my code to an AI model?

No. The source says no model runs at scan time and nothing about the code leaves the machine.

Can nestjs-doctor run in CI?

Yes. The ci install command writes a GitHub Actions workflow that comments on pull requests and sets a status, and it fails only when blocking or min-score is set.

How do I silence a false positive?

The source recommends the narrowest control first, such as a one-line ignore comment, then a file ignore, a rule in the config, or a whole category.

How do I install nestjs-doctor?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is nestjs-doctor free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is nestjs-doctor safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use bash, edit, write without limits). Review the code before you install. How grades work.

What are alternatives to nestjs-doctor?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

nestjs-doctor Install

Add to stack

Loading.