-
Notifications
You must be signed in to change notification settings - Fork 2k
Enhance pr-finalize skill with code review phase and safety rules #33861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2ad480c
Add multi-model code review to pr-finalize skill
PureWeen 71eb8c2
Add critical rule: agents must NEVER approve/request-changes on PRs
kubaflo 335be12
Simplify pr-finalize: remove multi-model orchestration, keep code review
PureWeen 211e03b
Make Review-PR.ps1 non-interactive by default
PureWeen e357fd8
Add PostSummaryComment and RunFinalize options from copilot-ci
PureWeen a5d082d
Clarify Review-PR.ps1 workflow: 3 sequential phases
PureWeen c1ff526
Simplify Phase 3 prompt - let skill handle commenting details
PureWeen 670f4e4
Add Code Review to PR finalization comments
kubaflo ac69a12
Fix undefined $ReviewDescription variable in post-pr-finalize-commentβ¦
PureWeen 680305c
Add newline before appended review findings
kubaflo d3d541b
Add explicit NEVER CHECKOUT warning to Review-PR.ps1 prompt
PureWeen abf8ecb
Add NEVER PUSH rule to Review-PR.ps1 prompt
PureWeen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This warning contradicts the instructions in SKILL.md lines 399-416, which tell agents to use
--approveand--request-changesbased on review findings. The skill should be updated to align with this critical restriction: agents should only post comments usinggh pr review XXXXX --repo dotnet/maui --comment --body "$reviewBody"and never approve or request changes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disagree with suggestion - The current text at line 245 is appropriately concise for an instructions file:
The detailed
gh pr reviewcommand example already exists in SKILL.md where it belongs. Adding the full command here would duplicate information. Instructions files should be reference summaries; skills contain the detailed procedures.