react-doctor

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

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/aidanaden/sg-food-guide --skill react-doctor-aidanaden
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/aidanaden/sg-food-guide/tree/main/.agents/skills/react-doctor
Command: npx skills add https://github.com/aidanaden/sg-food-guide --skill react-doctor-aidanaden

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans React codebases to identify security vulnerabilities, performance bottlenecks, correctness issues, and architectural anti-patterns, and provides a scored diagnostic report to guide improvements.

Core Features & Use Cases

  • Scans for security, performance, correctness, and architecture issues in React projects.
  • Outputs a 0-100 score with actionable diagnostics to prioritize fixes.
  • Use cases include code reviews, refactor planning, and performance optimizations across small to large React codebases.

Quick Start

Run the React Doctor CLI at your project root with verbose output to generate the diagnostics.

Frequently Asked Questions about react-doctor

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

FAQPage Schema
How do I run a React code review to find security and performance issues?

React architecture issues are identified by scanning for anti-patterns that affect correctness and structure. The tool checks architectural health alongside security and performance, outputting a 0-100 score with actionable diagnostics.

Can I use this to diagnose performance bottlenecks in large React codebases?

Yes, you can use this for large React codebases. The scanner applies performance tuning checks across projects of varying sizes to identify issues and provide a 0-100 health score.

How do I get a health score for my React project's code quality?

To get a health score for your React project, run the scanner at your project root with verbose output. It evaluates code quality, security, performance, and architecture to generate a 0-100 scored diagnostic report.

What's the best way to plan a React refactor based on code diagnostics?

The best way to plan a React refactor is to use a scored diagnostic report. By identifying architectural anti-patterns and correctness issues, the diagnostics provide actionable steps to prioritize and guide your refactoring.

Does this React scanner check for security vulnerabilities during code reviews?

Yes, the React scanner checks for security vulnerabilities during code reviews. It enforces security checks alongside performance, correctness, and architecture to identify issues and output actionable diagnostics.