[GitHub Trending] millionco/react-doctor
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Tool to catch bad React from AI agents is directly relevant, novel, actionable, and technically solid.
React Doctor is a CLI tool that scans React codebases (Next.js, Vite, React Native) and assigns a 0–100 health score based on categories like state & effects, performance, security, and dead code. It integrates with GitHub Actions for PR comments, respects .gitignore and inline eslint-disable comments, and can install its diagnostics directly into coding agents such as Claude Code and Cursor. Optional plugins fold in eslint-plugin-react-hooks and react-you-might-not-need-an-effect rules.
Run `npx -y react-doctor@latest` in your React project root to get a 0–100 health score and targeted fixes, then wire it into GitHub Actions with the provided composite action for automated PR checks.
For a senior engineer building or maintaining React apps, this is a free, opinionated linting and scoring tool that fits into CI and agent workflows, offering immediate actionable diagnostics without large config overhead.