git-cleanup-branches

Installation
SKILL.md

Git Branch Cleanup

Automatically identifies and removes local git branches that track remote branches that no longer exist (marked as "gone").

When to Use This Skill

  • User asks to "clean up git branches"
  • User wants to "remove deleted branches"
  • User mentions "prune branches" or "cleanup stale branches"
  • Local branches show [origin/branch: gone] status
  • After merging pull requests and deleting remote branches

Prerequisites

  • Git repository initialized
  • Must be on main/master branch (not on a branch you want to delete)
  • Active internet connection to fetch from remote

Workflow

Installs
3
First Seen
Mar 1, 2026
git-cleanup-branches — pickleboxer/skills