react-doctor

Analyze React codebases for lint violations, dead code, accessibility gaps, and performance regressions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly identifies React code quality issues across a project, helping teams prevent bugs and regressions before they reach production.

Core Features & Use Cases

  • Lint conformance and code quality checks for React components
  • Detection of dead code, unused imports, and architectural issues
  • Accessibility and performance diagnostics with actionable guidance

Quick Start

Run npx -y react-doctor@latest . --verbose --diff to scan the current project and surface issues.

Frequently Asked Questions about react-doctor

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

FAQPage Schema
How do I check my React codebase for lint violations and dead code?

To check a React codebase for lint violations and dead code, run a diagnostic analysis tool against your project directory. It surfaces unused imports, architectural issues, and accessibility gaps, providing actionable guidance to resolve code quality regressions across feature branches.

What is the best way to prevent performance regressions in React pull requests?

The best way to prevent performance regressions in React pull requests is to run a diagnostic scan on the feature branch. It detects score regressions, accessibility gaps, and architecture concerns before merging, ensuring codebase health is preserved during codebase refreshes.

Can I detect accessibility gaps in my React components automatically?

Yes, you can detect accessibility gaps in React components automatically by running an analysis tool over the codebase. The diagnostic process identifies accessibility issues alongside lint conformance and performance regressions, offering actionable guidance to fix component quality.

Does react-doctor work on existing feature branches?

Yes, react-doctor works on existing feature branches. It applies analysis to pull requests and codebase refreshes, detecting code quality signals and architectural concerns specifically where developers want to preserve quality before reaching production.

How do I scan a React project for unused imports and architectural issues?

To scan a React project for unused imports and architectural issues, execute a diagnostic command targeting the project directory. This process analyzes the codebase for dead code and structural concerns, surfacing actionable signals to improve overall codebase health.