react-doctor

Scan React codebases for security, performance, correctness, and architectural issues and emit a 0-100 diagnostic score.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ktg-one/assetswap --skill react-doctor-ktg-one
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/ktg-one/assetswap/tree/main/.claude/skills/react-doctor
Command: npx skills add https://github.com/ktg-one/assetswap --skill react-doctor-ktg-one

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scans a React codebase to detect security, performance, correctness, and architectural issues, and returns a clear diagnostic score with actionable guidance.

Core Features & Use Cases

  • Automated code quality checks after making changes to a React project.
  • Provides a 0-100 score along with diagnostic details to prioritize fixes.
  • Use case: during code review or bug fix to quickly surface regressions.

Quick Start

Run the tool from your project root to generate a 0-100 health score and actionable 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 an automated React code analysis to check for performance and security issues?

You can automate React code analysis by running the react-doctor CLI from your project root. It scans for security, performance, correctness, and architectural issues, then emits a 0-100 diagnostic score.

What is a React diagnostic score and how does it quantify codebase health?

A React diagnostic score is a 0-100 value generated by scanning your codebase for security, performance, correctness, and architectural regressions. It quantifies codebase health to help prioritize fixes during code reviews.

Does the React diagnostics tool require Node.js to scan my project?

Yes, performing React code analysis requires Node.js and the react-doctor CLI installed to scan the project and emit the 0-100 diagnostic score with actionable guidance.

When should I scan my React codebase for code quality regressions?

You should scan your React codebase for regressions during code reviews, after feature completion, or while applying bug fixes to quickly surface architectural, security, and performance problems before they escalate.

What's the best way to surface architectural problems in a React project of varying sizes?

The best way to surface architectural problems in React projects of varying sizes is to run an automated code analysis CLI that identifies correctness and architectural issues, returning a quantified health score with actionable diagnostics.