millionco / react-doctor
A specialized static analysis tool that catches bad React code written by AI agents, with seamless CI and agent integration.
星标趋势
AI 分析
项目摘要
React Doctor is a deterministic static analysis tool that scans React codebases for issues across state & effects, performance, architecture, security, and accessibility. It specifically targets problems introduced by AI coding agents and integrates directly into CI pipelines and agent workflows.
为什么值得关注
It addresses the emerging problem of AI agents generating suboptimal React code by providing specialized detection rules and seamless integration with popular coding agents like Claude Code, Cursor, and Codex. With 14k+ stars and 100 releases in 6 months, it has rapidly become a go-to quality gate for AI-assisted React development.
优势
- Purpose-built for catching AI-generated React anti-patterns
- One-command setup for CI/CD with PR-only issue reporting
- Native integration with major coding agents (Claude Code, Cursor, Codex)
- Framework-agnostic: works with Next.js, Vite, React Native, Expo, and more
- Highly active development with frequent releases
局限性
- No automated test suite despite high release frequency
- No Docker support for containerized environments
- Telemetry via Sentry may concern privacy-focused teams
- License marked as NOASSERTION rather than standard OSI-approved license
使用场景
- Automated code review in CI pipelines for AI-assisted teams
- Pre-commit quality gate for React codebases
- Agent skill installation to teach coding agents from past mistakes
- Accessibility and security compliance scanning
- Performance regression detection in pull requests