react-doctor

Scan React codebases for security, performance, correctness, and architecture issues.

2|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/huangzida/skills --skill react-doctor-huangzida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/huangzida/skills/tree/main/react-doctor
Command: npx skills add https://github.com/huangzida/skills --skill react-doctor-huangzida

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans React codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.

Core Features & Use Cases

  • Scans React projects for security, performance, correctness, and architecture issues.
  • Reports a 0–100 health score and highlights key regressions to fix before commit.
  • Use during feature completion, bug fixes, or codebase cleanup to ensure code quality.

Quick Start

Run in your React project with npx react-doctor@latest --verbose --diff to evaluate changes and preserve health score.

Frequently Asked Questions about react-doctor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my React codebase for security and performance issues?

Run npx react-doctor@latest --verbose --diff in your Node.js environment to scan React codebases for security and performance issues, producing detailed diagnostics and a 0–100 health score.

What does a React code health score evaluate?

A React code health score evaluates security, performance, correctness, and architecture issues within your project, outputting a 0–100 rating to highlight regressions that need fixing before commit.

Can I use this to check React code quality during a bug fix?

Yes, you can use this to check React code quality during bug fixes, feature completion, or codebase cleanup to identify regressions and guide improvements before committing your changes.

Do I need Node.js installed to run static analysis on React code?

Yes, you need a Node.js environment installed to run static analysis on React code, as the scanning command executes via npx to evaluate your project's architecture and correctness issues.

How do I evaluate only the recent changes to my React project?

To evaluate only recent changes to your React project, run npx react-doctor@latest --verbose --diff to apply static analysis specifically to your diffs and preserve your health score.

What is the best way to find architecture regressions in React code?

The best way to find architecture regressions in React code is to use automated static analysis with the --diff flag, which highlights key regressions and scores your codebase from 0–100 before commit.