From github-dev
Removes local git branches that have been deleted from the remote, including cleaning up associated worktrees.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-dev:clean-gone-branchesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Remove local git branches that have been deleted from the remote.
Remove local git branches that have been deleted from the remote.
Update remote references
git fetch --prune.Inspect local state
git branch -vv to find branches marked as [gone].git worktree list to see whether any of those branches still have worktrees.Remove worktrees first
[gone] branch that still has a worktree, remove the worktree before deleting the branch.Delete the gone branches
[gone].Report the result
[gone] branches, report that nothing needed cleanup.npx claudepluginhub fcakyon/claude-codex-settings --plugin github-devDeletes local branches whose remote tracking branch is gone, including associated worktrees. Useful for cleaning up stale branches after remote deletions.
Clean up local and remote merged git branches with user confirmation. Useful after PR merges to remove stale branches.
Analyzes and safely cleans up local git branches and worktrees, categorizing them as merged, squash-merged, superseded, or active work before deletion.