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".
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.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub ruslands/plugins --plugin github-dev