What problem does it solve?
This Skill removes the final friction from finishing a reviewed pull request by handling the merge, branch cleanup, and worktree cleanup in one safe workflow.
Core Features & Use Cases
- Review-aware merging: Only proceeds after a pull request has been reviewed, helping prevent accidental merges.
- GitHub and worktree cleanup: Detects whether the repository is using a worktree, then removes local and remote branch state appropriately after merge.
- Merge strategy handling: Chooses squash or rebase behavior based on branch type, repository settings, and explicit flags.
- Failure-safe operations: Checks merge readiness, handles auto-merge when available, polls merge state, and stops when conflicts or protections require human intervention.
Quick Start
Use the pr-merge skill to merge the reviewed pull request you are currently working on and clean up its branch and worktree afterward.