merge-and-cleanup
CommunityEffortless PR merge and branch cleanup.
Authorcxm6467
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the entire post-review process for pull requests, significantly reducing manual Git operations and potential errors.
Core Features & Use Cases
- Automated Squash Merging: Safely merges PRs with a squash strategy via GitHub CLI.
- Branch Management: Automatically deletes local and remote feature branches post-merge.
- Workflow Synchronization: Switches to the default branch and pulls the latest changes.
- Worktree Cleanup: Handles cleanup for Git worktrees, ensuring a clean repository state.
- Safety Checks: Includes checks for uncommitted changes, CI status, and worktree presence.
- Use Case: After a code review is approved, simply invoke this skill to merge the PR, clean up the branch, and update your local main branch, all in one go.
Quick Start
Use the merge-and-cleanup skill to merge the current pull request and clean up the branch.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: merge-and-cleanup Download link: https://github.com/cxm6467/caboose-cursor-tools/archive/main.zip#merge-and-cleanup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.