Repository navigation
Code review skill - #54924
Code review skill#54924
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new .github/skills/code-review agent skill document intended to guide problem-focused pull request reviews in dotnet/sdk.
Changes:
- Introduces a
code-reviewskill with step-by-step workflow (local checkout, context gathering, review, and posting). - Adds guidance on change categorization, test/impact analysis, and what to flag vs. avoid flagging.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
|
Thanks for investing in this code review skill. Some fundamental questions:
I wonder also what influenced the decisions here as many repos are adding their own code review skills such as https://github.com/microsoft/aspire-skills/blob/main/.github/skills/pr-review/SKILL.md. |
It does. This is done by convention. Copilot review looks for any skill containing
I've generated a set of real examples:
Each of these is based on a real PR to the sdk repo. The difference is that the base branch I'm targeting contains this skill. I triggered a Copilot review on each of them and analyzed the difference against Copilot's review on the original PR. Those analyses are posted as the last comment of each PR.
This is directly based on Aspire's code-review skill. I've templatized their skill and replaced it with content specific to the sdk repo. |
Thank you so much for this. This was thoughtful and really helpful to compare the results of the skill vs before the skill. I also think this is a helpful pattern we will be able to leverage whenever someone tries to modify the skill going forward to see if it changes anything. (Admittedly llms themselves will also get better but we can still test before and after.) I appreciate the edge scenario PRs and behavior demonstrations you have there and clearly see the demonstrated value of this skill and understand it better now. Looking briefly again at the instructions themselves but then approving. |
nagilson
left a comment
There was a problem hiding this comment.
Thank you for taking the time to do this and demonstrate the clear advantages that these instructions provide over the standard review without a skill.
Reword the terse 'would-fail-without-the-fix' shorthand in the Tests area-map row to plain prose for readability.
No description provided.