Install
openclaw skills install gh-pr-review-loopDrive a GitHub pull request through an iterative review-and-fix loop. Use when Codex needs to create a PR if none exists for the current branch, inspect review comments, decide whether each comment is valid, implement fixes, maintain the branch in the history shape the user requested such as a single amended commit on top of the latest remote `main`, push the branch, resolve fixed review threads, watch GitHub Actions, and keep polling until an automated reviewer gives a final thumbs-up reaction or the user explicitly changes the stop condition.
openclaw skills install gh-pr-review-loopTake ownership of the full post-PR loop. Create the PR if it does not exist yet, then keep iterating until the stop condition is met instead of stopping after a single fix or a single green CI run.
github MCP server, gh CLI auth, or the local git credential helper. Do not ask the user to paste tokens into chat, and do not read secret files.--amend, separate commits, rebasing onto latest main, or a waiting window such as "poll every 10 minutes".git commit --amend --no-edit for follow-up fixes, and avoid creating extra local commits unless you are about to squash them away immediately.main, treat origin/main as the source of truth. Fetch it before each history rewrite that will be pushed, then rebase or rebuild the branch so the published head still sits on top of the latest remote main.@codex review or similar reviewer-ping comments by default.--force-with-lease when rewriting published history.Do not rely on one surface only. Review state is usually split across multiple places.
eyes or final +1.gh pr checks and gh run watch for required CI state.If review threads say everything is resolved but the bot keeps commenting, re-check both the review timeline and reactions. Inline-only polling is not enough.
main, rebase or rebuild onto origin/main before the final push.origin/main, rewrite the branch onto that tip, keep the branch as a single commit, then push with --force-with-lease.@ the reviewer unless the user explicitly asks for that. This includes automated reviewers such as @codex.eyes from an automated reviewer as "still processing", not done.+1 or thumbs-up reaction from the automated reviewer as the default completion signal for this skill unless the user explicitly changes the stop condition.Stop only when the requested completion condition is satisfied. Default completion criteria for this skill are:
Do not treat "no new comments yet" as completion. Do not stop merely to ask whether to continue waiting. Only stop early if the user explicitly changes the stop condition or a hard blocker prevents further progress.
git fetch origin main
gh pr checks <pr-number> --repo <owner/repo>
gh run watch <run-id> --repo <owner/repo> --exit-status --interval 30
gh run rerun <run-id> --repo <owner/repo>
git commit --amend --no-edit
git push --force-with-lease