From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Reviewing code
From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI
Reviewing code
- [Narrator] In this video, we're going to use/review a copilot CLI. So to start, I'm going to run copilot to get into the copilot CLI. And as a quick note, I already switched models. So we're using a model that tends to be more thorough for reviews. I like doing that because it's a second pass. Write with one model, review with another. And so now I'm going to run the slash command /review, and here's the first thing I wanna show. You can run /review without giving it any extra prompt at all. That's useful when you just want a quick what stands out pass before you decide what to focus on. So I'm just going to let it run. Okay, now I'm reading through what it found. When I'm doing a review like this, I'm usually watching for a few categories. Correctness, does the logic do what we intend, edge cases, paths, empty results, weird input, safety, anything risky with shell commands or user input, clarity, can a future me…