react-doctor
Automated React codebase scanner that detects security, performance, correctness, and architecture issues.
- Generates a 0-100 diagnostic score with actionable findings across four categories: security vulnerabilities, performance bottlenecks, correctness errors, and architectural problems
- Designed for post-change workflows: run after code modifications, fix flagged issues, then re-run to verify improvements
- Supports verbose output and diff mode to highlight changes between scans
- Ideal for code review checkpoints, feature completion, and bug-fix verification in React projects
React Doctor
Scans React codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.
After making React code changes:
Run npx -y react-doctor@latest . --verbose --diff and check the score did not regress.
If the score dropped, fix the regressions before committing.
For general cleanup or code improvement:
Run npx -y react-doctor@latest . --verbose (without --diff) to scan the full codebase. Fix issues by severity — errors first, then warnings.
Command
npx -y react-doctor@latest . --verbose --diff
More from millionco/react-doctor
animation-best-practices
CSS and UI animation patterns for responsive, polished interfaces. Use when implementing hover effects, tooltips, button feedback, transitions, or fixing animation issues like flicker and shakiness.
157remotion-best-practices
Best practices for Remotion - Video creation in React
118