react-doctor

Scans React codebases for security, performance, and correctness issues with a scored diagnostic report.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/AdityaBorkar/igbot-fork --skill react-doctor-adityaborkar
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/AdityaBorkar/igbot-fork/tree/main/.agents/skills/react-doctor
Command: npx skills add https://github.com/AdityaBorkar/igbot-fork --skill react-doctor-adityaborkar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-doctor.

What problem does it solve? React codebases accumulate subtle security, performance, correctness, and architecture issues that are easy to miss during manual review. This Skill runs an automated scan after code changes so problems are caught early, before they reach production. ## Core Features & Use Cases - Automated React Auditing: Scans the codebase for security, performance, correctness, and architecture issues in one pass. - Scored Diagnostics: Outputs a 0-100 score with actionable diagnostics so you can track improvement over time. - Diff-Aware Review: Supports a --diff flag to focus analysis on recent changes, ideal for reviewing a feature or bug fix. - Use Case: After finishing a new React feature, run the scan, fix the reported errors first, then re-run to verify the score improved before merging. ## Quick Start Ask the assistant to run react-doctor on this React project with verbose diff output and report the issues found.

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 project for code issues automatically?▼

Run npx -y react-doctor@latest . --verbose --diff from the project root. The scan checks security, performance, correctness, and architecture, then outputs a 0-100 score with actionable diagnostics.

What kinds of issues does a React code audit detect?▼

The audit covers four categories: security vulnerabilities, performance problems, correctness bugs, and architecture concerns. Each finding is reported as an actionable diagnostic contributing to an overall 0-100 score.

When should I run react-doctor during development?▼

Run it after making React changes, when reviewing code, finishing a feature, or fixing bugs. Fix reported errors first, then re-run the scan to verify the score improved.

Does react-doctor require installation into my project?▼

No installation is required. It runs via npx with the -y flag, which fetches and executes the latest version on demand without adding dependencies to your project.

What are the limitations of automated React code scanning?▼

Automated scans detect common issue patterns but cannot judge business logic intent or design trade-offs. Treat the 0-100 score as a signal and combine it with manual review for architectural decisions.