Claude Code for Product Designers
Lesson 43 of 49, 0 of 49 lessons completed
Sign in
Watch on YouTubePlay

Plays from YouTube. Google's privacy policy (opens in a new tab) applies.

Up next

5.1 Your product's context, in a folder

Next lesson in 8 s

4.5 Your own code review

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

  1. Don't run a review in the session that wrote the code; open a fresh sub-session and don't let Claude brief it.
  2. Use high effort for a review.
  3. Pick the plugin's code-review:code-review, not the other code-review option.
  4. A pattern you keep repeating is an opportunity for your own skill.
  5. If there are findings, they go in the PR thread; fix and re-review until clean.
  6. Before merging: a good description, screenshots or a video, and tell someone.

Chapters

  1. 00:00Reviewing in a fresh session
  2. 00:56Running the Code Review plugin
  3. 02:07No findings, and what's left
  1. 00:00Okay, let's get started on that code review.
  2. 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
  3. 00:12review command in here at the risk of this being perhaps slightly biased toward decisions or things that it has made.
  4. 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
  5. 00:27code review? I don't want you to brief that session in any way.
  6. 00:30I'm going to handle it myself.
  7. 00:34And I'm going to send it.
  8. 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
  9. 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.
  10. 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.
  11. 01:07Um, you know, since it's a code review, perhaps I'm going to set the effort to high.
  12. 01:12And then while making sure that I still have that code review plugin installed from Anthropic.
  13. 01:20There it is. It's installing and it's the official code review plugin from Anthropic.
  14. 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.
  15. 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
  16. 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
  17. 01:56to how that simplify built in command works.
  18. 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
  19. 02:07at all. And well, the review is done and we are lucky again just like the last time.
  20. 02:17Well, it was a pretty small PR to begin with.
  21. 02:20No issues had been found which means we are good to go.
  22. 02:25If there was anything there would be there would be a new comment here posted in this threat as a proof.
  23. 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.
  24. 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.
  25. 02:50Again, this one is very simple that is not how you typically have your PRs described.
  26. 02:56Make sure to have some screenshots or a video overview either posted here or wherever you keep your communication around PRs.
  27. 03:04Let someone know and fingers crossed your PR gets merged as quickly as possible.
  28. 03:10And that was your first contribution in a real repository.
  29. 03:15With that this concludes this module.
  30. 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
  31. 03:26to date with everything that's going on.
  32. 03:28It's going to be really exciting last module so I'll see you there.
  33. 03:32Thank you.

The cheat sheet is for signed-in viewers. Inside: the lesson's prompts ready to reuse, the commands and shortcuts, useful links and what to watch out for.

Sign in to get the cheat sheet

Loading the cheat sheet…