Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Updates an existing GitHub pull request by pushing new commits, rebasing on the base branch, and refreshing its description.
68% 82%+14 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 15 of 22 without it.
3 of 3 safety checks passed
34 agent runs
Push follow-up changes to an existing PR and update its description to reflect the new work.
gh api user --jq '.login' to confirm the CLI is authenticated. If this fails, the user needs to run gh auth login first.gh pr view --json number,title,body,url,baseRefName,state to find the PR for the current branch. If no PR exists, abort and suggest using /create-pr instead. Check the state field — if it is not OPEN, abort and inform the user that the PR is already merged or closed.git status to ensure no uncommitted changes. If there are uncommitted changes, commit them directly — do NOT delegate to another skill or tell the user to commit first..gitmodules exists first. If it does, run git submodule update --init --recursive. If not, skip this step.Ensure the feature branch is up-to-date with the base branch to avoid merge conflicts:
git fetch origin <base-branch> (use the base branch from the PR metadata)git log HEAD..origin/<base-branch> --oneline to see if the base branch has new commitsgit rebase origin/<base-branch>
b. Resolve conflicts — if the rebase hits conflicts:
git add <file>git rebase --continuegit status to confirm no unresolved conflicts remaingit push. If the rebase changed history, use git push --force-with-lease instead. If --force-with-lease fails, it means someone else has pushed to this branch. Fetch the remote branch (git fetch origin <branch>), inspect the divergence (git log HEAD..origin/<branch> --oneline), and ask the user how to proceed — they may need to integrate the other contributor's changes first.Understand the full scope of changes now in the PR:
git log origin/<base-branch>..HEAD --oneline to see all commits on this branchgit diff origin/<base-branch>...HEAD --stat for a high-level summary of changed filesgit diff origin/<base-branch>...HEAD to read the full diff. Note: Three-dot (...) syntax is intentional — it shows only the changes introduced on this branch since it diverged from the base, excluding commits on the base branch that aren't part of this PR.feat, fix, refactor, docs, chore, etc.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.