React Doctor: a CLI that catches bad React code written by AI coding agents
aidenybai · x · 2026-09-08
- React Doctor is a CLI for React code quality — "your agent writes bad React, this catches it" — runnable on any codebase with npx react-doctor@latest.
- It checks correctness, performance, security, accessibility, and maintainability, flagging issues like duplicated JSX subtrees (suggesting shared components) and overly complex components that traditional linters miss.
- It plugs into CI as a GitHub required check: it reports only issues introduced by a PR and blocks merges by severity, preventing AI-generated code regressions; a companion React Bench compares how different models write React code.
- Users report strong results: HumanLayer's CTO built an agent that runs it on PRs and roasts regressions, calling it the best thing they've done for code quality; several founding engineers now install it by default.
More from coding & agent
- Denny Zhou: Least-to-Most Prompting Was an Early Agent Harness, Hitting 99% on SCAN — denny_zhou · 2026-09-08
- Google Cloud publishes developer guide to cutting Gemini token usage in agents — leslysandra · 2026-09-08
- Codex Windows app eats 30GB RAM at 6 tabs, users slam OpenAI over unfixed performance — karmay007 · 2026-09-08
- Mycelium report skill self-update tames mannered AI prose — arjunrajlab · 2026-09-08
- Spline's Astra agent and MCP let you build fully editable 3D scenes from prompts — dunkhippo33 · 2026-09-08
- Reddit debate: should research agents split search, verification, and synthesis? — mrclassical69 · 2026-09-08