clean-branches
SolidDelete local branches whose remote has been deleted ([gone]), including their worktrees. Use for branch cleanup after merging PRs.
Install
Quality Score: 84/100
Skill Content
Details
- Author
- kdlbs
- Repository
- kdlbs/kandev
- Created
- 6 months ago
- Last Updated
- today
- Language
- Go
- License
- AGPL-3.0
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
clean-gone-branches
This skill should be used when user asks to "clean gone branches", "remove deleted local branches", "prune branches removed from remote", or explicitly invokes "clean-gone-branches".
git-branch-cleanup
Safely delete local git branches that are already merged, squash/rebase-merged, or whose remote was deleted, while protecting the current branch, the default branch, and any worktree-checked-out branch. Use when the user wants to clean up, prune, tidy, or delete "done"/merged/stale local branches, shrink a long `git branch` list, or remove branches after merging a PR.
git-branch-cleanup
Worktree-scoped cleanup — remove the current worktree and its working branch only, leaving other worktrees and branches untouched