Development · Web app

react-doctor

CLI and agent skill that audits React code for common anti-patterns

Visit github.com ↗

react-doctor is an open-source static analysis and performance auditing tool built specifically for React applications. It scans codebases for state, effect, architecture, accessibility, and performance issues, highlighting common pitfalls often introduced by AI coding assistants. It works locally via the CLI, integrates as a skill in tools like Claude Code and Cursor, and runs in CI pipelines.

What it's for

  • Audit React codebases for anti-patterns and performance bottlenecks
  • Install as an AI agent skill in Claude Code or Cursor to catch bad React patterns
  • Run automated code health checks on pull requests in GitHub Actions or GitLab CI
  • Record Chrome DevTools performance traces against local React dev servers

Features

  • Deterministic static scanning across Next.js, Vite, Astro, Expo, and React Native
  • Agent skill installation for Claude Code, Cursor, Codex, and OpenCode
  • CI PR reviews reporting only newly introduced issues rather than backlogs
  • Runtime performance tracing with visual re-render outlines in Chrome
  • Custom rule configuration via doctor.config.ts
  • Detection of state/effect bugs, duplicated JSX trees, and complex functions

Pricing

Open source. Free and open source (MIT license)

Details

Type
Web app
Category
Development
Topic
Code Review
Open source
Yes
Platforms
Command line, Linux, macOS, Windows
For
React and Next.js developers, especially those using AI coding agents
Alternative to
ESLint, Biome
Tags
react, nextjs, cli, ai agents, linter, code quality, performance

Why it was saved

  • @aidenybai, 26 May 2026: Automated React code health checking and fixing for AI-written code; runs as one command and integrates as an agent skill.

Compare

Related

Updated