Deterministic checks that catch the React mistakes coding agents make
source availableMillion Modified MIT Licensefree
React Doctor is Million's command-line tool that runs deterministic checks on React code and reports issues in state and effects, performance, architecture, security, accessibility and maintainability, for projects built with Next.js, Vite, Astro, TanStack, React Native and Expo. Run it with npx in a project, install its skill so Claude Code, Cursor, Codex or OpenCode can find and fix the issues, or add it to CI to report what each pull request introduces. Rules are chosen in doctor.config.ts, and it can record a Chrome DevTools performance trace of a running app. Its source is public under a modified MIT licence.
Problems it solves
- catch bad React patterns my coding agent writes
- lint a Next.js or React Native project for effect and state bugs
- report new React issues on each pull request in CI
Features
- checks for state and effects, performance, architecture, security, accessibility and maintainability
- skill install for Claude Code, Cursor, Codex and OpenCode
- CI mode that reports issues a pull request introduces
- rules in doctor.config.ts
- Chrome DevTools runtime performance traces
Limitations
Alternatives
The same job
These do what React Doctor does.
- commitlint Lint commit messages against your team's commit convention
- ESLint Find and fix problems in your JavaScript code.
- typos Source code spell checker