pr-fix
Installation
SKILL.md
Address PR Feedback & Fix CI
Drive a pull request to a mergeable state. This skill handles two jobs at once:
- Review feedback — fetch all PR comments, classify them, apply code fixes, reply, and resolve threads (including stale bot comments).
- CI failures — read failing check logs, reproduce locally, fix, push, and watch CI back to green.
Both jobs converge on the same code change → verify → commit → push cycle, so they are gathered, planned, and applied together, then CI is watched to completion.
$ARGUMENTS
Steps
1. Identify the target PR
- If the user specifies a PR number, use that.
- Otherwise, detect from the current branch:
gh pr view --json number,url,headRefName,baseRefName,state. - Get OWNER and REPO separately:
gh repo view --json owner,name --jq '.owner.login, .name'.