clean-gone-branches
$
npx mdskill add fcakyon/claude-codex-settings/clean-gone-branchesRemoves local git branches deleted from remote.
- Cleans up stale local branches that no longer exist on remote.
- Depends on git fetch --prune, branch -vv, and worktree list.
- Identifies gone branches by checking for [gone] marker in git branch -vv.
- Removes associated worktrees first, then deletes branches and reports results.
SKILL.md
.github/skills/clean-gone-branchesView on GitHub ↗