chore: refine PR reviewer prompt guidance #2209
Open
+18
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Tighten scope to issues introduced by the PR and clarify what to flag.
Improve issue descriptions to be more concrete and actionable while allowing high-impact, lower-confidence risks when uncertainty is stated.
GitHub Copilot PR summary:
PR Type
Enhancement, Documentation
Description
Clarify reviewer scope to focus only on issues introduced by the PR
Expand guidance on determining what issues to flag with confidence levels
Improve issue description requirements to include concrete trigger scenarios
Refine comment construction guidelines for clarity and accuracy
Diagram Walkthrough
File Walkthrough
pr_reviewer_prompts.toml
Enhance reviewer guidance with confidence and specificity standardspr_agent/settings/pr_reviewer_prompts.toml
PR, not pre-existing code
confidence levels for different issue types
accurate, and helpful feedback
issue_contentfield description to require concrete triggerscenarios and explanation of why issues matter
key_issues_to_reviewfield description to emphasizeconfidence, allow high-impact uncertain issues with explicit notes,
and require realistic trigger scenarios