git-prune-merged
CommunityClean up merged Git branches
Authorahoym
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain a clean local Git repository by identifying and removing branches that have already been merged into the main branch, streamlining your workflow.
Core Features & Use Cases
- Automated Branch Pruning: Detects and removes local branches that are fully merged into
origin/main. - Dual Merge Strategy Support: Handles both regular merges and squash merges (where the remote branch is deleted).
- Dry Run Mode: Allows you to preview which branches would be deleted without making any changes.
- Use Case: After completing a feature and merging it via a pull request, you can use this Skill to automatically clean up the feature branch from your local repository.
Quick Start
Run /git-prune-merged to list and prune merged branches after confirmation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: git-prune-merged Download link: https://github.com/ahoym/dotfiles/archive/main.zip#git-prune-merged 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.