react-doctor

Analyze React codebases for security, performance, and architectural issues.

3|1|Updated Sep 17, 2025
One-click install
npx skills add https://github.com/caterpi11ar/locusify --skill react-doctor-caterpi11ar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-doctor
Source: https://github.com/caterpi11ar/locusify/tree/main/packages/app/.agents/react-doctor
Command: npx skills add https://github.com/caterpi11ar/locusify --skill react-doctor-caterpi11ar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-doctor.

What problem does it solve?

This Skill addresses the challenge of maintaining high code quality in React projects by identifying security, performance, and architectural flaws early in the development lifecycle.

Core Features & Use Cases

  • Automated Code Auditing: Scans React codebases to detect common anti-patterns and security vulnerabilities.
  • Actionable Diagnostics: Provides a clear 0-100 score with specific recommendations for improvement.
  • Use Case: Run this tool after completing a feature implementation to ensure your new components follow best practices and do not introduce performance bottlenecks before merging your pull request.

Quick Start

Execute the react-doctor skill to scan the current directory for React code quality issues.

Frequently Asked Questions about react-doctor

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

FAQPage Schema
How do I audit React code for security vulnerabilities and performance bottlenecks?

To audit React code, run a static analysis tool to scan your codebase for security vulnerabilities, performance bottlenecks, and architectural inconsistencies, providing actionable diagnostic scores and improvement recommendations.

Can I run a React code review automatically before a pull request?

Yes, you can run an automated React code review after feature implementation to detect anti-patterns and ensure components follow best practices before merging your pull request.

Do I need the react-doctor npm package to perform static analysis on React?

Yes, the react-doctor npm package is required to perform static analysis and diff-based code evaluation within your React project environment.

What is the best way to identify architectural inconsistencies in a React project?

The best way to identify architectural inconsistencies is using a static analysis tool that evaluates your React codebase and provides a 0-100 diagnostic score with specific improvement recommendations.

Does React static analysis work on existing codebases or only new components?

React static analysis works on existing codebases by scanning the current directory to detect security vulnerabilities and performance bottlenecks, while also evaluating new components for best practices.