react-doctor

Scans React projects for security, performance, correctness, and architectural issues.

5|Updated Feb 6, 2022
One-click install
npx skills add https://github.com/christofferbergj/dotfiles --skill react-doctor-christofferbergj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/christofferbergj/dotfiles/tree/main/.agents/skills/react-doctor
Command: npx skills add https://github.com/christofferbergj/dotfiles --skill react-doctor-christofferbergj

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates post-change quality checks to catch security, performance, correctness, and architecture issues in React projects, delivering a quantifiable score and practical guidance.

Core Features & Use Cases

  • Scans React codebases for security vulnerabilities, performance bottlenecks, and architectural issues.
  • Produces a 0–100 score with actionable diagnostics to guide fixes.
  • Ideal for code reviews after finishing a feature or fixing bugs, or during ongoing development to validate quality.

Quick Start

Run the React Doctor CLI in your project to generate diagnostics and a score for the current changes.

Frequently Asked Questions about react-doctor

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

FAQPage Schema
How do I scan my React project for performance and security issues?

Scan React projects for performance and security issues by running the React Doctor CLI tool against your project directory to generate a diagnostic report. It identifies vulnerabilities, bottlenecks, and architectural concerns, providing a 0–100 score with actionable guidance.

What is the best way to check React code quality after finishing a feature?

Checking React code quality after finishing a feature is best handled by automated static analysis that quantifies correctness and architecture issues. Running a CLI diagnostic tool evaluates your changes and outputs a 0–100 score with specific guidance to validate quality.

Can I run React static analysis without installing extra dependencies?

React static analysis can be run without extra dependencies by executing the tool via npx against your project directory. The Skill operates as a CLI tool that requires no listed dependencies to scan your codebase and generate a health report.

How does React code analysis score security and architectural concerns?

React code analysis scores security and architectural concerns by scanning the codebase to quantify issues, delivering a 0–100 score. It identifies vulnerabilities and structural problems, then outputs actionable diagnostics to guide your fixes.

Does React static analysis work for reviewing changes during bug fixes?

React static analysis works for reviewing changes during bug fixes by scanning the project directory for correctness and performance issues. It is designed to automate post-change quality checks, validating that recent fixes do not introduce new vulnerabilities or bottlenecks.