Skip to content

Add "load instructions" step to code-review skill - #129767

Merged
rcj1 merged 3 commits into
dotnet:mainfrom
rcj1:push-copilot-to-read-instructions
Jun 25, 2026
Merged

rcj1 merged 3 commits into
dotnet:mainfrom
rcj1:push-copilot-to-read-instructions

Conversation

@rcj1

@rcj1 rcj1 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Add this so that the code review bot picks up on custom instructions.

Updated the code review skill steps for clarity and accuracy, including renaming steps and refining instructions for gathering context and assessments.
Copilot AI review requested due to automatic review settings June 23, 2026 20:22
@github-actions github-actions Bot added the area-skills Agent Skills label Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the code-review skill’s documented review workflow to explicitly load repository-specific instructions (from .github/instructions) before starting analysis, so reviews incorporate folder-scoped guidance.

Changes:

  • Add a new “Step 0: Load Relevant Instructions” directing reviewers to load applicable .github/instructions guidance based on frontmatter.
  • Renumber subsequent review steps to account for the inserted step.
Show a summary per file
File Description
.github/skills/code-review/SKILL.md Adds an explicit “load instructions” step and renumbers the review process steps accordingly.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread .github/skills/code-review/SKILL.md Resolved
Comment thread .github/skills/code-review/SKILL.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings June 23, 2026 21:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/skills/code-review/SKILL.md Resolved
@rcj1
rcj1 requested review from noahfalk and steveisok June 24, 2026 01:23
@rcj1
rcj1 merged commit 43c7d73 into dotnet:main Jun 25, 2026
29 checks passed
@rcj1
rcj1 deleted the push-copilot-to-read-instructions branch June 25, 2026 20:44
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jun 26, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
Add this so that the code review bot picks up on custom instructions.

---------

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-skills Agent Skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants