2/8/2026 at 11:44:53 AM
> You could take an editor session, a diff, or a pull request and automatically split it into a series of more focused commits that are easier for people to review. This is one of the cases where the AI can reduce human review laborI feel this should be a bigger focus than it is. All the AI code review start up are mostly doing “hands off” code review. It’s just an agent reviewing everything.
Why not have an agent create a perfect “review plan” for human consumption? Split the review up in parts that can be individually (or independently) reviewed and then fixed by the coding agent. Have a proper ordering in files (GitHub shows files in a commit alphabetically, which is suboptimal), and hide boring details like function implementations that can be easily unit tested.
by WilcoKruijer
2/8/2026 at 2:06:31 PM
> Why not have an agent create a perfect “review plan” for human consumption? Split the review up in parts that can be individually (or independently) reviewed and then fixed by the coding agent. Have a proper ordering in files (GitHub shows files in a commit alphabetically, which is suboptimal), and hide boring details like function implementations that can be easily unit tested.Yes exactly! I have been using this to create a comment on the PR, showing suggested review order and a diagram of how changes relate to each other. And even this super simple addition has been very helpful for code review so far!
(more on this: https://www.dev-log.me/pr_review_navigator_for_claude/)
by wazHFsRy
2/8/2026 at 3:24:31 PM
Exactly this, existing code review tools became insufficient with the increase of volume of code, I would like to see more innovation here.One idea that comes to mind to make review easier would be to re-create commits following Kent Beck's SB Changes concept - splitting structure changes (tidying/refactoring) and behavior changes (features). The structure changes could then be quickly skimmed (especially with good coverage) and it should save focus for review of the behavior changes.
The challenge is that it is not the same as just committing the hunks in different order. But maybe a skill with basic agent loop could work with capabilities of models nowadays.
by kloud
2/8/2026 at 4:21:11 PM
I experimented with a command for atomic commits a while ago. It explicitly instructed the agent to review the diff and group related changes to produce a commit history where every HEAD state would work correctly. I tried to get it to use `git add -p`, but it never seemed to follow those instructions. Might be time for another go at this with a skill.by WilcoKruijer
2/9/2026 at 12:12:41 PM
I have had success with having the skill create a new branch and moving pieces of code there, testing them after the move, then adding it.So commit locally and have it recreate the commit as a sequence on another branch.
by jmalicki
2/8/2026 at 1:43:55 PM
Unfortunately GitHub doesn’t let you easily review commits in a PR. You can easily selectively review files, but comments are assumed to apply to the most recent HEAD of the PR branch. This is probably why review agents don’t natively use that workflow. It would probably not be hard to instruct the released versions of Opus or Codex to do this, however, particularly if you can generate a PR plan, either via human or model.by telotortium
2/8/2026 at 1:44:24 PM
I do this. For example, the other day I made a commit where I renamed some fields of a struct and removed others, then I realized it would be easier to review if those were two separate commits. But it was hard to split them out mechanically, so I asked Claude to do it, creating two new commits whose end result must match the old one and must both past tests. It works quite well.by SatvikBeri
2/8/2026 at 3:48:25 PM
I've been talking about having AI add comments to PRs to draw attention to things that should be given special attention since last May. I think most code review tools don't do this because A/B testing has shown people engage less/churn more with noisier review output.by CuriouslyC
2/9/2026 at 12:10:15 PM
That sounds like stacked changes (if you're not familiar think how lkml patches are like 0/8 1/8 etc where each is a standalone change that only depends on ones before), and I have been using agents create sets of stacked PRs when I have a big diff.Instead of ordering of files, it creates an ordering of PRs where each has descriptions, independent CI, etc. and can be merged one at a time (perhaps at the small cost of the main branch having unused library functions until the final PR is merged)
by jmalicki
2/8/2026 at 2:55:27 PM
I like this thought. Scaling review is definitely a bottleneck (for those of us who are still reading the code), and spending some tokens to make it easier seems worthwhile.by zmj
2/8/2026 at 1:42:21 PM
Yes please. There are many use cases where failure modes are similar to not using AI at all, which is useful.Many very low risk applications of AI can add up to high payoff without high risk.
by jasonjmcghee
2/8/2026 at 2:41:12 PM
“I have a PR from <feature-branch> into main. Please break it into chunks and dispatch a background agent to review each chunk for <review-criteria>, and then go through the chunks one at a time with me, pausing between each for my feedback”by jonfw