react-doctor vs hunk
Two of the top projects in Code review and testing, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.
react-doctor
CLI that scans React codebases for state, performance, security and accessibility issues
hunk
Terminal diff viewer for reviewing code changes, with inline agent notes
Verdict
react-doctor ranks higher, 72 to 71. Of the 5 score parts we measure for both, react-doctor leads on 2, hunk on 1 and 2 are even.
- Adoptionreact-doctor leads by 20 points, 75 to 55: a wide gap.
- FreshnessEven at 100.
- Maintenancereact-doctor leads by 8 points, 95 to 87.
- Easy to runhunk leads by 17 points, 50 to 33: a wide gap.
- Agent-readyEven at 70.
Pick react-doctor if you are
React and React Native developers wanting code checks locally and in CI
- Runs with one npx command from the project root, no setup needed
- Deterministic rules rather than LLM-generated findings
Pick hunk if you are
Developers who review diffs or agent-written changes in the terminal
- Opens Git, Jujutsu and Sapling changes, plus GitHub PRs via bundled `hunk gh` with no gh CLI
- Works as a pager for git, jj and Sapling, and reads patches from stdin
| What we compare | react-doctor | hunk |
|---|---|---|
| Score parts, out of 100 | ||
| Adoption | 75, popular | 55, popular |
| Freshness | 100, active | 100, active |
| Maintenance | 95, healthy | 87, healthy |
| Easy to run | 33, some setup | 50, easy |
| Agent-ready | 70, partly | 70, partly |
| Facts from GitHub and the README | ||
| Stars | 15k | 9.6k |
| License | custom license (read the license) | MIT (permissive) |
| Last commit | Oct 2026 | Oct 2026 |
| Last release | Oct 2026 | Oct 2026 |
| Language | TypeScript | TypeScript |
| Docker | No | No |
| GPU | Not needed | Not needed |
| arm64 or Apple Silicon | Not stated | Mentioned |
react-doctor
React Doctor runs deterministic checks over a React project and reports issues in state and effects, performance, architecture, security, accessibility and maintainability. It covers Next.js, Vite, Astro, TanStack, React Native and Expo. It also installs as a skill for coding agents, runs on pull requests in CI, and can record a Chrome DevTools performance trace of a running app.
Who it is for: React and React Native developers wanting code checks locally and in CI
Strengths
- Runs with one npx command from the project root, no setup needed
- Deterministic rules rather than LLM-generated findings
- Agent skill installer supports Claude Code, Cursor, Codex and OpenCode
- Rules configurable in doctor.config.ts; CI installer reports issues each PR introduces
Weaknesses
- React-only; no support for other frameworks beyond the listed React stacks
- CLI collects crash reports and anonymous usage data unless opted out
- Runtime trace scan needs a running app and a Chrome DevTools trace
- README does not list the number of rules or their names
- no GPU
- Needs Node.js, npm
hunk
Hunk is an interactive terminal diff viewer built on OpenTUI and Pierre diffs. It opens Git, Jujutsu and Sapling changes, GitHub pull requests, raw patches from stdin, or two files, in a multi-file stream with a sidebar. A coding agent can use the hunk-review skill to attach notes to a live session, and they show beside the code.
Who it is for: Developers who review diffs or agent-written changes in the terminal
Strengths
- Opens Git, Jujutsu and Sapling changes, plus GitHub PRs via bundled `hunk gh` with no gh CLI
- Works as a pager for git, jj and Sapling, and reads patches from stdin
- Standalone binary via install script, Homebrew, mise or Nix; no Node.js needed
- Extension API and embeddable OpenTUI diff component (`hunkdiff/opentui`)
Weaknesses
- No structural diffing; the README's own comparison table marks it as missing
- No prebuilt binaries for Windows arm64 or musl Linux such as Alpine
- GitHub Enterprise is not supported
- Extension API is experimental and may break between minor releases
- no GPU
- Needs Git (recommended), Node.js 22+ (npm install only), GH_TOKEN or GITHUB_TOKEN (private repos)
More in Code review and testing
Building with these?
We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.