pr-fix
Installation
SKILL.md
PR Fix
Action external review feedback and CI failures on an existing PR. Single-purpose: focuses on the fixes; does not handle merge conflicts (use merge-main) and does not open new PRs (use pr-open).
Inputs
When invoked with arguments, the first line of the prompt may carry a context envelope as JSON:
{ "pr": 123, "branch": "agent/issue-582-foo" }
When invoked without context, detect the PR from the current branch:
gh pr view --json number,headRefName,state,reviewDecision,statusCheckRollup
If no PR exists for the current branch, stop and report. (Use pr-open to create one.)