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.

22nd of 10 in Code review and testing

react-doctor

CLI that scans React codebases for state, performance, security and accessibility issues

33rd of 10 in Code review and testing

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
react-doctor vs hunk: score parts and facts
What we comparereact-doctorhunk
Score parts, out of 100
Adoption75, popular55, popular
Freshness100, active100, active
Maintenance95, healthy87, healthy
Easy to run33, some setup50, easy
Agent-ready70, partly70, partly
Facts from GitHub and the README
Stars15k9.6k
Licensecustom license (read the license)MIT (permissive)
Last commitOct 2026Oct 2026
Last releaseOct 2026Oct 2026
LanguageTypeScriptTypeScript
DockerNoNo
GPUNot neededNot needed
arm64 or Apple SiliconNot statedMentioned

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.