react-doctor

Scan React and TypeScript codebases for security, performance, and architectural issues.

14.3k|455|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/millionco/react-doctor --skill react-doctor-millionco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/millionco/react-doctor/tree/main/.agents/skills/react-doctor
Command: npx skills add https://github.com/millionco/react-doctor --skill react-doctor-millionco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining high-quality React codebases by automatically identifying security vulnerabilities, performance bottlenecks, and architectural flaws that manual reviews often miss.

Core Features & Use Cases

  • Automated Health Audits: Scans your entire codebase to generate a 0-100 health score based on industry best practices.
  • Regression Testing: Ensures that new code changes do not introduce performance regressions or security issues before they are committed.
  • Use Case: When a developer finishes a feature, they can trigger a scan to catch common React pitfalls like improper state management or accessibility violations, ensuring the code is production-ready.

Quick Start

Run the react-doctor skill to perform a full health audit of your current project directory.

Frequently Asked Questions about react-doctor

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

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

To scan a React codebase for security and performance issues, run the react-doctor skill to analyze source files and inline scripts. It executes diagnostic rules to identify regressions and provides actionable remediation steps.

What does an automated React health audit check for?

An automated React health audit checks for security vulnerabilities, performance bottlenecks, and architectural flaws. It analyzes your codebase against industry best practices to generate a 0-100 health score and catch issues manual reviews often miss.

Does the React code scanner work with Next.js and Vite frameworks?

Yes, the React code scanner works with Next.js and Vite frameworks. It analyzes source files and inline scripts across these environments to detect architectural and security issues, ensuring broad compatibility for your health audits.

Can I use React linting to prevent performance regressions before committing code?

Yes, you can use this automated scanning to prevent performance regressions before committing code. By triggering a scan after finishing a feature, it catches common React pitfalls like improper state management and ensures your code is production-ready.

Do I need a CLI to run React architecture and code review checks?

Yes, you need the react-doctor CLI to execute diagnostic rules for architecture and code review checks. The CLI operates the scanning logic required to analyze your TypeScript source files and output actionable remediation steps.