About Nestjs Doctor
This tool is a static analysis scanner for NestJS projects that checks code against an opinionated rule set without calling any language model. The vendor states that scans make zero AI calls, give the same output on every run and keep code on the user's machine. It is positioned as a way to catch mistakes that AI coding agents commonly introduce.
A scan produces a score from 0 to 100 and a list of findings, such as hardcoded secrets, controllers that inject an ORM service directly, and schema problems like entities without a primary key. It can run in CI as a pull request reviewer that comments on findings introduced by the change and can block merging when the score falls below a threshold. A visual report maps the module graph, including dependency cycles, and an optional timing overlay shows real construction times at boot. Teams can write custom rules to enforce conventions such as hexagonal architecture or domain driven design layers, and an init step extends the checks to edits made by coding agents.
It runs with a single npx command and suits NestJS teams that review a lot of AI generated code. The vendor describes it as free and open source under the MIT license, and the structured data lists a price of zero.