Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes local git branches and worktrees, categorizing them as merged, squash-merged, superseded, or active for gated cleanup.
Use this skill ↓50% 82%+32 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
Not used yet
Safely clean up accumulated git worktrees and local branches by categorizing them into: safely deletable (merged), potentially related (similar themes), and active work (keep).
Never delete anything without explicit user confirmation. This skill uses a gated workflow where users must approve each step before any destructive action.
IMPORTANT: git branch -d will ALWAYS fail for squash-merged branches because git cannot detect that the work was incorporated. This is expected behavior, not an error.
When you identify a branch as squash-merged:
git branch -D (force delete) from the startgit branch -d first and then ask again for -D - this wastes user confirmationsgit branch -D for squash-merged branchesMANDATORY: Before categorizing individual branches, group them by name prefix:
# Extract common prefixes from branch names
# e.g., feature/auth-*, feature/api-*, fix/login-*
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.