clean-gone

Community

Clean stale git branches.

Authordtbuchholz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps maintain a clean local Git repository by automatically identifying and removing local branches that have already been deleted from the remote, along with any associated worktrees.

Core Features & Use Cases

  • Automated Branch Cleanup: Fetches remote changes and prunes stale branches.
  • Worktree Management: Detects and removes worktrees linked to gone branches before deleting the branch.
  • Use Case: After a feature branch has been merged and deleted on GitHub, this skill can be used to clean up the local copy of that branch and its associated worktree, preventing clutter.

Quick Start

Run the clean gone branches skill to remove local branches that no longer exist on the remote.

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: clean-gone
Download link: https://github.com/dtbuchholz/claude-config/archive/main.zip#clean-gone

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.