From github-dev
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".
npx claudepluginhub funsaized/claude-and-codex-settings --plugin github-devThis skill uses the workspace's default tool permissions.
Remove local git branches that have been deleted from the remote.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
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.