pr-closeoutlisted
Install: claude install-skill orka-agents/orka
# PR Closeout
Drive the current GitHub PR from “has feedback or failing checks” to “currently merge-ready.” Run this automatically after creating or updating an agent-authored PR unless the user opts out or the PR is intentionally draft/WIP. This orchestrates git, GitHub review threads, CI logs, local verification, and optional `$autoreview`; it is not a replacement for `$autoreview`.
## Contract
- Treat CI failures and review comments as signals, not truth. Verify each against the real code path, workflow logs, and current PR diff before changing code.
- Reject stale, duplicate, speculative, invalid, or regression-causing feedback with concise GitHub evidence instead of making unnecessary changes.
- Prefer small fixes at the right ownership boundary. Do not do unrelated cleanup or broad refactors.
- If CI/comment-triggered fixes change code, rerun relevant local checks, push, and rerun the closeout snapshot until no current actionable blockers remain.
- Stop when the PR currently has no merge conflicts, required checks are green, no unresolved actionable review threads remain, and `reviewDecision` is non-blocking. Do not keep polling just to get nicer wording.
## Guardrails
- Treat automatic post-PR closeout or the user’s closeout request as the scope. Fix merge conflicts, CI failures, and unresolved actionable review feedback only.
- Creating or updating an agent-authored PR authorizes normal closeout writes for that PR: push fixes to the non-main PR branch, reply on G