r/GithubCopilot • u/iMerlin23 • Sep 06 '26
Help/Doubt ❓ How good is Copilot for code review?
Looking for a good code reviewer in my github PRs.
7
Upvotes
r/GithubCopilot • u/iMerlin23 • Sep 06 '26
Looking for a good code reviewer in my github PRs.
1
u/iMerlin23 Sep 06 '26
Ah thanks
8
u/emaurer Sep 06 '26
A lot of it is going to depend on the model you chose.
4
u/FredTillson Sep 06 '26
It’s as good as your prompt is. Develop a good prompt or set of prompts, ground it in things like open source books like code complete, available on GitHub, and owasp top 10 for security, and you will end up with a surprisingly good report. I suppose the llm also has an effect.
2
u/Optimal-Builder-2816 Sep 06 '26
The actual copilot review bot you can add to the PRs directly is quite good. I’m fairly impressed with what it finds with minimal adjustment. It’s often reviewing code that Opus 4.8 wrote with GPT 5 Terra in advisory position during development & planning.
1
u/AutoModerator Sep 06 '26
Hello /u/iMerlin23. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/V5489 Sep 06 '26
I use sonnet 5 for code review. In VS Code I have sub agents that handoff to the next for specific tasks. Then one the or is generated I have a cloud agent which uses Sonnet 5 to review and have comments on whether or not it passes. I’ll eventually switch the to a rule set for the branch to ensure it passes the code review check. I’ve just been too lazy.
1
u/Apart-Reality-4454 Sep 06 '26
It's going to be noisy, but sometimes will raise valid flags.
But the whole point of PR review is for human review. Especially if the code being reviewed is likely to be AI generated whole or in part. A human needs to sign off on that shit.
1
u/thunder1207 Sep 06 '26
5.6 Sol is pretty good at reviews. Though sometimes it can be slow since its very thorough. Make sure subagents are set to Luna.
1
u/prcodes Sep 06 '26
It is good at finding bugs and functional issues, but not so great at code quality, software design, and architecture. For those, I have given my code review agents a prompt based on John Ousterhout's A Philosophy of Software Design and have been very pleased with the results.
1
u/stoekWasHere Sep 08 '26
It does find obscure bugs which is useful, but after the first or second turn it starts to get pedantic and less valuable. I wish there was a setting to limit turns.
1
u/Obvious-Stay3981 Sep 08 '26
i just want an unlimited code completion fetures without paying for the others functionalities for about USD 3~5, is there any?