🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động
React Doctor
Cho phép AI coding agent tự chẩn đoán và sửa lỗi React code, tích hợp với Claude Code và Cursor.
#react-doctor
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 14,949
Ngôn ngữ
TypeScript
License
NOASSERTION
Ngày thêm
2026-03-29
Tóm tắt từ README GitHub
Your agent writes bad React, this catches it.
React Doctor deterministically scans your codebase and finds issues across state and effects, performance, architecture, security, accessibility, and maintainability. It highlights overly complex React functions and repeated JSX trees that are good candidates for composition.
Works across React frameworks and React-enabled sites - Next.js, Vite, Astro, TanStack, React Native, Expo, you name it.
Website →
Install
1. Quick start
Run this at your project root to get an audit.
Pass file paths to scan only the files that another CI step selected.
https://github.com/user-attachments/assets/07cc88d9-9589-44c3-aa73-5d603cb1c570
2. Install for agents
Once you have an audit, you can install the skill for your coding agent to learn from the issues and fix them in the future.
Works with Claude Code, Cursor, Codex, OpenCode, and many more.
3. Run in CI
React Doctor reviews every pull request and reports only the issues your change introduced, not your existing backlog. Set it up with one command:
This adds the workflow, scans every pull request, and posts a summary comment. Change the gate, scan scope, and comments anytime with , and b
Xem thêm từ README.mdThu gọn README.md
Đánh giá chi tiết
Tổng quan
React Doctor giúp AI coding agent hiểu, chẩn đoán và sửa lỗi trong React codebase. Thay vì developer phải mô tả bug, tool tự phân tích component tree, state flow, render cycle rồi đề xuất fix.
Tính năng chính
- Tự chẩn đoán lỗi React (render loops, state bugs, performance issues)
- Tích hợp trực tiếp với Claude Code, Cursor
- Phân tích component tree và data flow
- Đề xuất fix cụ thể, không chung chung
Ai nên dùng
React developer dùng AI coding agent. Đặc biệt hữu ích với codebase lớn, nhiều component lồng nhau.
Hạn chế
Chỉ hỗ trợ React, không dùng được cho Vue/Angular hay framework khác.