Help us improve
Share bugs, ideas, or general feedback.
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 ruslands/plugins --plugin github-devHow 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.
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.