git-branch-cleanup
Installation
SKILL.md
Git Branch Cleanup
Overview
Find and delete local branches that have been fully merged into one of the protected branches, then are safe to remove. Protected names — main, master, dev, develop, development, stg, stage, staging, root — and the current branch are always kept.
Announce at start: "I'm using the git-branch-cleanup skill to delete local branches already merged into a protected branch."
Protected Branches
The following branch names are never deleted, regardless of merge status:
main, master, dev, develop, development, stg, stage, staging, root
The current branch is also never deleted.