Watch on YouTubePlayPlays from YouTube. Google's privacy policy (opens in a new tab) applies.
Adam has Claude open a fresh, unbriefed sub-session and runs Anthropic's Code Review plugin on his PR at high effort, then lists what's left before a merge.
What you'll learn
- Don't run a review in the session that wrote the code; open a fresh sub-session and don't let Claude brief it.
- Use high effort for a review.
- Pick the plugin's
code-review:code-review, not the othercode-reviewoption. - A pattern you keep repeating is an opportunity for your own skill.
- If there are findings, they go in the PR thread; fix and re-review until clean.
- Before merging: a good description, screenshots or a video, and tell someone.
Chapters
- 00:00Reviewing in a fresh session
- 00:56Running the Code Review plugin
- 02:07No findings, and what's left
- 00:00Okay, let's get started on that code review.
- 00:03Um, again, because this is the same session in which I have created this initial, that has written this initial code, I don't really want to be running this code
- 00:12review command in here at the risk of this being perhaps slightly biased toward decisions or things that it has made.
- 00:19So I'm what I'm going to ask it is I'm going to ask it to Can you create a new sub session for me so that I can do a
- 00:27code review? I don't want you to brief that session in any way.
- 00:30I'm going to handle it myself.
- 00:34And I'm going to send it.
- 00:36And if this sounds familiar because again, we've already covered this in module two, it means there is a pattern and if there is a pattern, there is a skill
- 00:46opportunity. So there is another occasion for you to write your own skill so that all of this happens at at just the run of one simple command.
- 00:56Okay, so now that this code review sub session is ready, I'm going to And yeah, you can see my order agent was as clear as possible.
- 01:07Um, you know, since it's a code review, perhaps I'm going to set the effort to high.
- 01:12And then while making sure that I still have that code review plugin installed from Anthropic.
- 01:20There it is. It's installing and it's the official code review plugin from Anthropic.
- 01:25I'm going to type in code review while making sure I choose the other option, the one that says code review code review.
- 01:32Yeah. I'm going to hit send and it's going to run through that same checklist, things like like first of all finding the PR, confirming whether it's still open, check
- 01:45whether the PR is eligible, and then it's going to spawn four agents, sub agents, each agent sub agent is going to evaluate it from a different angle, very similar
- 01:56to how that simplify built in command works.
- 01:59So I'm going give it a second and let's see what kind of findings we are going to get this time and whether there are going to be any findings
- 02:07at all. And well, the review is done and we are lucky again just like the last time.
- 02:17Well, it was a pretty small PR to begin with.
- 02:20No issues had been found which means we are good to go.
- 02:25If there was anything there would be there would be a new comment here posted in this threat as a proof.
- 02:35We would take care of this and then we would keep fixing and reviewing until we see a message that you know basically goes like this.
- 02:43So, with that review cycle behind us all what's left to be done is first of all make sure that the PR description looks good.
- 02:50Again, this one is very simple that is not how you typically have your PRs described.
- 02:56Make sure to have some screenshots or a video overview either posted here or wherever you keep your communication around PRs.
- 03:04Let someone know and fingers crossed your PR gets merged as quickly as possible.
- 03:10And that was your first contribution in a real repository.
- 03:15With that this concludes this module.
- 03:18In the next one we're going to talk a little bit more how we can go beyond code with Claude Code and how you can you know basically stay up
- 03:26to date with everything that's going on.
- 03:28It's going to be really exciting last module so I'll see you there.
- 03:32Thank you.