Auto-commit address-pr-reviews fixes with a descriptive message - #220
Merged
Merged
Conversation
The skill commits its fixes without asking and writes a subject that says what the code change does. It limits the commit to the fixed files. A new --no-commit flag leaves the fixes staged and skips the push. The push still asks in attended runs. Claude-Session: https://claude.ai/code/session_01AQcAL5wKKpoZUvZMfNgSMa
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Address mixed staged-hunk isolation and completion tracking for --no-commit.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
What changed in this PR
Updates address-pr-reviews to auto-commit fixes with descriptive messages and support staged-only runs.
Changes:
- Adds
--no-commithandling. - Defines commit-message and held-comment log formats.
- Clarifies file scoping and push behavior.
| File | Summary |
|---|---|
ai/skills/address-pr-reviews/SKILL.md |
Documents updated commit, staging, logging, and push workflows. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

address-pr-reviewscommits its fixes without asking. The subject says what the code change does, and a run with several fixes gets one body line per fix. The skill never usesAddress PR review feedbackor any other subject that names the review instead of the change.--no-commitflag leaves the fixes staged and skips the push. In attended runs the push still asks first.--unattendedand--no-pushbehave as before.review-fix-cycle, which a portable sandbox doesn't include.Test plan
test-skill-spec.sh,test-portable-skills.sh,test-portable-skills-lint.sh,test-portable-sync.sh,sync-portable-skills.sh --check,test-plain-writing-contract.sh,test-ai-installers.sh, and the address-pr-reviewstest-portable-skill.shpass.git commit -F - -- <paths>committed the named files, including a newly added one, and left another staged file staged.https://claude.ai/code/session_01AQcAL5wKKpoZUvZMfNgSMa