
What react-doctor does#
React Doctor is a command-line tool that scans any React codebase and returns a 0-100 health score with categorized diagnostics. Run npx react-doctor@latest from your project root and get a prioritized list of issues across five surfaces: state management, performance, architecture, security, and accessibility. It detects your framework automatically — Next.js, Vite, and React Native are all supported — and adjusts its rule set accordingly.
Beyond analysis, the install command writes best-practice rules directly into the config files read by AI coding agents like Claude Code, Cursor, and Codex, so the agent stops generating violating patterns before they are committed.
What it's built on#
- Languages
- TypeScript
- Frameworks
- React
Similar open-source tools#
Grit
Automate code migrations at scale using a pattern-matching DSL
superpowers
Empower your coding agents with Superpowers
pyrefly
Lightning-fast type checking for Python
RuView
Intelligent AI agents for real-world applications
Agent Skills
Structured workflows for AI coding agents.
Skills for Real Engineers
Empower AI coding agents with essential engineering skills.
