How to get a multi-agent code review in Copilot CLI
GitHub shares an advanced Copilot CLI workflow tip: use the /review command to catch bugs, security issues, and performance problems before opening a pull request, including a multi-model “multi-agent” review approach.
How to get a multi-agent code review in Copilot CLI
GitHub’s Copilot CLI team shares a workflow tip for improving code quality before you open a pull request: run a Copilot CLI review that looks for bugs, security issues, and performance problems.
What this tip covers
- Use Copilot CLI’s
/reviewcommand to perform a code review pre-PR. - Ask the review to focus on:
- Bugs
- Security issues
- Performance problems
- Run a more thorough review by using multiple models at the same time (described as a multi-agent code review), including:
- Gemini
- Codex
- Opus
Link
- Work with GitHub Copilot CLI: https://github.com/features/copilot/cli
GitHub links (from the description)
- YouTube: https://gh.io/subgithub
- Blog: https://github.blog
- X: https://twitter.com/github
- LinkedIn: https://linkedin.com/company/github
- Insider newsletter: https://resources.github.com/newsletter/
- Instagram: https://www.instagram.com/github
- TikTok: https://www.tiktok.com/@github
- GitHub: https://github.com