Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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".
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✗→✓ | ▲ Improved | -61% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -66% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -68% | 0% |
Remove local git branches that have been deleted from the remote.
git fetch --prune.git branch -vv to find branches marked as [gone].git worktree list to see whether any of those branches still have worktrees.[gone] branch that still has a worktree, remove the worktree before deleting the branch.[gone].[gone] branches, report that nothing needed cleanup.Other measured skills in the registry, with their headline benchmark lift.