cleanup-branches
CommunityClean up merged and stale Git branches.
Authordmzoneill
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the tedious process of identifying and deleting merged or stale feature branches in a Git repository, helping to keep your local and remote branches organized.
Core Features & Use Cases
- Automated Branch Cleanup: Identifies branches that are merged into the main development line or have not been updated in a specified period.
- Safety Features: Includes a
dry_runmode by default to preview deletions and protects critical branches likemain,master, anddevelop. - Use Case: After completing several features and merging their corresponding branches, use this Skill to automatically remove the now-redundant branches, preventing clutter and potential confusion.
Quick Start
Run the cleanup-branches skill to see which branches would be deleted without actually deleting them.
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: cleanup-branches Download link: https://github.com/dmzoneill/skills/archive/main.zip#cleanup-branches 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.