Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Merges a GitHub pull request via squash merge after verifying CI, conflicts, and review status, then cleans up the branch.
Use this skill ↓43% 30%−13 ptsof test cases passed
Passed 7 of 23 test cases with the skill, and 10 of 23 without it.
3 of 3 safety checks passed
Not used yet
Merge a pull request with consistent practices: verify checks, squash merge, clean up the branch, and pull the latest base branch.
$ARGUMENTS: PR number (optional — defaults to the PR for the current branch)gh pr view --json number,title,state,headRefName,baseRefNameCheck each of the following and report status:
gh pr checks to verify all required checks have passedgh pr view --json mergeable to verify no conflictsgh pr view --json reviewDecision,reviews to surface any unresolved review threads or a pending "changes requested" — advisory, not a hard gate. (Carries over the review-thread awareness from the retired /review-pr.)If CI has not passed, stop and report. Do not proceed with the merge.
gh pr merge --squash--delete-branch — GitHub is configured to auto-delete remote branches on merge. Local branch cleanup is handled in Step 4.Before updating local state, determine whether you are inside a git worktree:
git rev-parse --git-dir
git rev-parse --git-common-dir
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.