Hah, I do this all the time with my code. Normally you write something with the help of Claude, and then ask for a review. What's the reviewer gonna do? Ask Claude to review it.
So I just skip straight to doing that myself with a second Claude session
I took this a step further and mined all my colleagues' git review history to find out what they typically care about, then had an agent review my PR against the reviewer's typical feedback checklist before submitting it.
Took it another step further and created a tool to extract anonymized review personas from open source projects. Basically: find the projects with the most similar types of problems (could be by tech stack or by product domain), create composite personas from that history, then request a review from each persona. It was pretty unreasonably effective and saved me many rounds of PR feedback.
Wtf. Amazing. The only thing you could have done better would be actually ask AI to actually help you write good code. The checklist is genius, though.
Sure, the basic gist is: agent looks at your repo and then identifies 5-8 popular OSS projects with a similar stack and/or problem set, and plentiful review history. It pulls the top human reviewers' comments. It then looks at the comment history and extracts a list of the sorts of things that reviewer is quick to flag, extracting them into a markdown profile for each reviewer.
After it has dozens of profiles, the checklists are clustered and deduped then merged into one document where each topic is a persona. So you end up with personas like "the numerical stability auditor" and "concurrency safety spotter" instead of named people, with checklists composed from a variety of folks that care about those topics.
Finally, when reviewing changes, the agent is asked to review from the perspective of each of the named personas, referencing their checklist.
I got laid off from the role where I first devised this system (because the company wanted more "AI native" engineers... ha!) , but I still use this approach on my personal projects because it is very effective.
So I just skip straight to doing that myself with a second Claude session
Replies (2)
Took it another step further and created a tool to extract anonymized review personas from open source projects. Basically: find the projects with the most similar types of problems (could be by tech stack or by product domain), create composite personas from that history, then request a review from each persona. It was pretty unreasonably effective and saved me many rounds of PR feedback.
Replies (2)
Replies (1)
After it has dozens of profiles, the checklists are clustered and deduped then merged into one document where each topic is a persona. So you end up with personas like "the numerical stability auditor" and "concurrency safety spotter" instead of named people, with checklists composed from a variety of folks that care about those topics.
Finally, when reviewing changes, the agent is asked to review from the perspective of each of the named personas, referencing their checklist.
I got laid off from the role where I first devised this system (because the company wanted more "AI native" engineers... ha!) , but I still use this approach on my personal projects because it is very effective.