Cleanup Branches

Prune local branches whose work is already merged into the base. TRIGGER when the user says "clean up branches", "delete merged branches", "prune local branches", "remove old branches", "I have too many branches", "what branches can I delete", "/nyann:cleanup-branches". Do NOT trigger on "delete THIS branch" (that's a one-off `git branch -D`, not a cleanup pass) or "remove a branch from the remote" (this skill is local-only; remote pruning is `git push --delete origin <branch>` and the user should do that themselves). Do NOT trigger on "merge this branch" (that's the merge step before cleanup).

thettwe 64492a2 2.9 KB Updated

File contents

thettwe/nyann/tree/main/skills/cleanup-branches commit 64492a2e2c

Frequently asked questions

npx skillmds@latest add thettwe/cleanup-branches