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, stage, staging, stg — 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, stage, staging, stg

The current branch is also never deleted.

Workflow

Related skills

More from chann/skills

Installs
5
Repository
chann/skills
First Seen
6 days ago