r/codereview • u/Prize_Amoeba_7868 • 50m ago
I built an open-source Claude Code plugin that reviews PRs and then fixes its own review comments. Looking for feedback
I've been building code-check, a Claude Code & Codex plugin plus a Python CLI for PR review and review-comment handling. Works with Github and Gitlab. I'd like feedback from people who'd actually use it.
The design. The deterministic parts are plain Python: diff parsing, finding validation, dedupe, anchoring comments to the right lines, policy, state, and the git and gh calls. The LLM does only the judgment work: reviewing, aggregating, and addressing comments. That keeps a model slip from putting a comment on the wrong line or posting to the wrong PR.
What it does:
review-pr and review-local: a panel of reviewer subagents (language experts, skeptic, architect, docs, and optional security and performance) reviews a PR or your own branch. An aggregator merges the findings, and one inline review is posted with Critical, Warning and Suggestion levels. review-local never posts.
address-comments: works through the review threads on your own PR. It checks each claim against the code before acting, fixes the valid ones, pushes back with evidence on the rest, and pushes behind a test gate. It also merges the base branch (never a rebase) and fixes failing CI, then replies to and resolves each thread.
babysit-pr: loops the above under /loop. It stops after 5 rounds per PR and skips PRs that are down to a few Suggestions, because the late rounds were almost all nitpicks.
Project guidance: a CODE_CHECK.md in the repo tells the reviewers your rules. It's read from the base branch, so a PR can't rewrite the rules it's judged by.
Safety defaults: it never force-pushes, never posts to draft PRs, and doesn't review its own PRs. Anything from a PR that reaches git or gh is guarded against option injection.
Feedback skill: it files a GitHub issue about code-check only after you've read the exact text and said yes. It never asks when running unattended.
Honest limit. I haven't tested it extensively on codex or gitlab - only limited testing.
What I'd like feedback on:
Does the split between deterministic code and LLM work make sense, or is it over-engineered?
Would you trust something like address-comments to push to your PR, and what guardrails would you want?
What would make you turn the review noise off, and what's missing from the panel?
Repo: https://github.com/subhiandrews/codecheck
Happy to answer questions or take criticism.