git-clean-gone-branches

Community

Prune stale Git branches swiftly.

Authormichaelvolz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Local Git branches whose remote tracking branches have been deleted clutter repositories and make navigation harder, so this Skill automates their discovery and removal while respecting any associated worktrees.

Core Features & Use Cases

  • Detection: The included clean-gone script fetches remote state and parses branch tracking details to list gone branches while skipping the currently checked-out branch.
  • Confirmation: Presenting the list prompts for a single yes-or-no decision before taking action, preventing accidental deletions.
  • Safe Deletion: Removing linked worktrees, then force-deleting each branch, keeps the repository tidy after merged or abandoned feature branches are gone.

Quick Start

Ask to clean gone branches, confirm removal, and let the Skill handle pruning and deletions.

Dependency Matrix

Required Modules

None required

Components

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: git-clean-gone-branches
Download link: https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb/archive/main.zip#git-clean-gone-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 471,000+ vetted skills library on demand.