react-doctor

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

Updated Jun 17, 2025
One-click install
npx skills add https://github.com/KlotzJesse/krauss-map --skill react-doctor-klotzjesse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/KlotzJesse/krauss-map/tree/main/.agents/react-doctor
Command: npx skills add https://github.com/KlotzJesse/krauss-map --skill react-doctor-klotzjesse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React projects frequently accumulate security, performance, correctness, and architectural issues after changes. React Doctor provides a quick scoring mechanism to reveal these issues and guide fixes to safer, faster code.

Core Features & Use Cases

  • Scans a React codebase for security, performance, correctness, and architecture issues.
  • Outputs a 0-100 score with actionable diagnostics to guide improvements.
  • Useful after making changes, during code reviews, or when finishing a feature or fixing bugs to verify quality.

Quick Start

Run npx -y react-doctor@latest . --verbose --diff to scan your React project for issues.

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 static analysis check on my React codebase to catch security and performance issues?

Run a static analysis check on your React codebase by executing `npx -y react-doctor@latest . --verbose --diff` to scan for security, performance, correctness, and architecture issues and receive a 0-100 quality score.

What is the best way to automate React code review for architecture and correctness issues?

Automate React code review by scanning your codebase after changes or when finishing features to detect correctness and architecture issues, returning actionable diagnostics and a 0-100 score to guide fixes.

Can I check React code quality during development without installing extra dependencies?

Yes, you can validate React code quality without extra dependencies by running the tool via npx, which scans your project directory to output a 0-100 score with actionable diagnostics for guiding fixes.

When do I need to scan a React project for performance and security issues?

Scan a React project for performance and security issues after making code changes, during code reviews, or when finishing features and fixing bugs to validate quality and support a repeatable development workflow.

Does React static analysis work with my existing code review workflow?

React static analysis integrates into existing workflows by running during code reviews or after changes, providing actionable diagnostics and a 0-100 score to support a repeatable quality check within your development process.

Why does my React project accumulate correctness and architecture issues after changes?

React projects frequently accumulate correctness and architecture issues after changes because modifications introduce regressions, which a static codebase scan can detect by outputting a 0-100 score with actionable diagnostics to guide fixes.