cleanup-branches

Community

Clean 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_run mode by default to preview deletions and protects critical branches like main, master, and develop.
  • 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.