git-branch-cleaner

Community

Clean up merged Git branches.

Authortukaelu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the removal of merged branches from your local and remote Git repositories, preventing clutter and improving repository hygiene.

Core Features & Use Cases

  • Safe Deletion: Automatically identifies and deletes branches that have been merged into a specified base branch.
  • Scope Control: Allows users to specify whether to clean local branches, remote branches, or both.
  • Protection: Prevents deletion of critical branches like main, master, develop, and the currently checked-out branch.
  • Use Case: After merging a feature branch, use this skill to automatically clean it up from both your local and remote repositories, keeping your Git history tidy.

Quick Start

Use the git-branch-cleaner skill to remove all merged branches from your local repository, using 'main' as the base branch.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-branch-cleaner
Download link: https://github.com/tukaelu/agent-skills/archive/main.zip#git-branch-cleaner

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 471,000+ vetted skills library on demand.