Frontend 577 installs

react-doctor

by millionco/react-doctor

Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React…

Skill content

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 react-doctor@latest --verbose --scope changed and check the score did not regress.

If the score dropped, fix the regressions before committing.

For general cleanup or code improvement:

Run npx react-doctor@latest --verbose (the default --scope full) to scan the full codebase. Fix issues by severity - errors first, then warnings.

/doctor - full local triage workflow

When the user types /doctor, says "run react doctor", or asks for a full triage / cleanup pass (not just a regression check), fetch the canonical local-triage playbook and follow every step in it: