React Doctor is a tool that analyzes React codebases to provide a health score and actionable diagnostics, promoting best practices and identifying issues across state & effects, performance, architecture, security, and accessibility.
Source: Official README and linked documentation View on GitHub →React Doctor is being discussed because its focus on improving React code quality by catching bad practices and providing detailed diagnostics. It addresses the pain point of maintaining code quality in large codebases, fills the gap by offering a broad analysis tool, and differs through its integration capabilities with various coding agents and CI/CD pipelines.
Source: Official README and linked documentationScans codebases and outputs a 0 to 100 health score with actionable diagnostics, categorizing issues by severity and suggesting improvements.
Source: Official README and linked documentationWorks direct with Next.js, Vite, and React Native, adapting rules based on the framework and React version in use.
Source: Official README and linked documentationIntegrates with coding agents like Claude Code, Cursor, Codex, OpenCode, and more, to enforce best practices at the source of code generation.
Source: Official README and linked documentationIncludes a GitHub Action for automated code analysis on pull requests and pushes, with options for PR feedback modes and blocking mechanisms.
Source: Official README and linked documentationThe architecture of React Doctor is modular, with separate components for rule application, severity control, and diagnostic collection. It use TypeScript for type safety and integrates with ESLint and oxlint for rule enforcement. The project is structured into packages, with a clear separation of concerns between core functionality and auxiliary tools like GitHub Actions.
Source: Official repository tree and dependency files@types/nodeturbotypescriptoxlinteslint-plugin-react-hooksReact Doctor is suitable for developers and teams working on React applications, particularly those using Next.js, Vite, or React Native. It is useful for code reviews, CI/CD pipelines, and as a tool for coding agents to enforce best practices.
Source: Official README and linked documentationreact-doctor@0.0.38 (2026-04-17): GitHub Action improvements, including an 'offline' input for restricted environments.
Source: Official releasesReact Doctor is a tool for maintaining high-quality React codebases, particularly for teams that prioritize code quality and want to automate the process of identifying and fixing issues. It is well-suited for organizations with a focus on React development and CI/CD integration.
Source: Official repository