PR Merged — Git skill for Claude Code
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
How to install PR Merged
Installs to ~/.claude/skills/rezmequick-dot-claude-team-config-pr-merged/SKILL.md
mkdir -p ~/.claude/skills/rezmequick-dot-claude-team-config-pr-merged && curl -fsSL https://raw.githubusercontent.com/rezmequick-dot/claude-team-config/HEAD/commands/pr-merged.md -o ~/.claude/skills/rezmequick-dot-claude-team-config-pr-merged/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What PR Merged does
description: Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item. argument-hint: PR number or branch name (optional — auto-detected from recently merged PRs if omitted)
Post-Merge Cleanup
Run the following steps in order after a PR has been merged.
Step 1: Identify the merged PR
If $ARGUMENTS is provided, treat it as either a PR number (e.g. `72`) or a branch name (e.g. `feature/foo`).
If $ARGUMENTS is empty:
- Run `gh pr l
Alternatives in Git
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
- Worktree Rm — Remove a git worktree and optionally delete its branch 387 ★
- Drive Acquisition — Work GitHub issues that drive acquisition — verify relevance, close stale ones, fan out at most two engineer a 324 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Finish PR
Post-merge cleanup -- verify merge state, sync dev, delete branch, close issue
PR Post Merge
Clean up after a PR is merged — close fork issue, update local branch, delete issue branch
CloseBranch
Close out a branch after its PR is merged/closed - switches to the PR's base branch (main, or the todo's arc b
Close Task
Close a human-verified tracked task by committing completed work, recording a short verification note, then up
Post Merge
Execute post-merge actions including syncing main, re-running tests, and cleanup
Clean After Merged
Switch to the repo's main branch, pull, and delete the just-merged local branch.
Related Agents
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
.github/workflows/ci Cd.yml
name: CI/CD Pipeline on: push: branches: [main, develop] pull_request: branches: [main] jobs: lint: runs-on: u
Waves Merger
Runs one sync point of a waves run in the main checkout — merges the named plan branches, regenerates what mus