PR

pr-post-push-sop

Checks PR readiness. Use this to audit review feedback and verify tests after pushing code.

Install

mkdir -p .claude/skills/pr-post-push-sop && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18842" && unzip -o skill.zip -d .claude/skills/pr-post-push-sop && rm skill.zip

Installs to .claude/skills/pr-post-push-sop

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use every time you push a commit to an active pull request, to verify the PR is truly stable before reporting merge readiness. Covers the post-push wait window, AI review audit (Copilot/Greptile/Codex), and the gh commands to snapshot PR state. Trigger on "I pushed" or "is the PR ready to merge".
297 charsno explicit “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Capture current PR state and checks
  • Audit unresolved AI review feedback
  • Fix, reply to, and resolve actionable AI comments
  • Re-run relevant local checks for latest changes
  • Wait at least 5 minutes after the latest push
  • Mark PR merge-ready if checks are green and no unresolved AI feedback

How it works

This skill verifies the stability of a pull request after a commit push by auditing AI review feedback and checking status checks.

Inputs & outputs

You give it
A push to an active pull request
You get back
A verified merge-ready pull request status or a list of unresolved issues

When to use pr-post-push-sop

  • Check if PR is ready
  • Audit AI review feedback
  • Verify post-push PR stability
  • Resolve pending PR comments

About this skill

PR Post Push SOP

Use this skill every time you push a commit to an active pull request. This is the Codex mirror of .opencode/skills/pr-post-push-sop/SKILL.md.

Objective

Make sure the PR is truly stable before reporting merge readiness.

Required Loop

  1. Capture current PR state and checks.
  2. Audit unresolved AI review feedback (Copilot, Greptile, Codex) across:
    • Review threads (paginate until hasNextPage=false)
    • PR issue comments for bot follow-ups
  3. Fix, reply, and resolve all actionable AI comments.
  4. Re-run relevant local checks for the latest changes.
  5. Push updates.
  6. Wait at least 5 minutes after the latest push.
  7. Re-run the review and checks audit.
  8. Only mark merge-ready if:
    • Required checks are green
    • No unresolved actionable AI feedback remains
    • No new AI comments arrived during the wait window

Command Hints

gh pr view <PR> --json url,headRefName,statusCheckRollup,mergeable,updatedAt
gh api graphql -f query='query($owner:String!, $name:String!, $number:Int!, $after:String){ repository(owner:$owner,name:$name){ pullRequest(number:$number){ reviewThreads(first:100, after:$after){ pageInfo{hasNextPage endCursor} nodes{ id isResolved isOutdated comments(first:50){ nodes{ id author{login} body createdAt } } } } } } }' -F owner=<OWNER> -F name=<REPO> -F number=<PR> -F after=<CURSOR_OR_null>
gh pr view <PR> --comments

Repo Rules Reminder

  • Prefix GitHub prose with [AGENT].
  • Never skip pagination for review threads.
  • Do not force push or amend unless explicitly requested.

When not to use it

  • When the PR is not active
  • When the user asks to force push or amend commits
  • When the user asks to skip pagination for review threads

Limitations

  • Requires an active pull request
  • Does not skip pagination for review threads

How it compares

This skill formalizes the post-push verification process, ensuring all AI feedback is addressed and checks are green before merge readiness, unlike a simple push and forget approach.

Compared to similar skills

pr-post-push-sop side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pr-post-push-sop (this skill)021dReviewIntermediate
resolve-conflicts818moReviewIntermediate
dependency-upgrade264moReviewIntermediate
git-commits213moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry