
Ce Clean Gone Branches
After a PR merges and the remote branch gets deleted, you're often left with stale local branches cluttering your repo. This skill automates the cleanup by running git fetch with prune, finding branches marked as gone, and deleting them after you confirm. It's smart enough to handle worktrees too, removing them before deleting the branch so you don't end up with orphaned working directories. The confirmation step shows you exactly which branches will go, so you're never caught off guard. It's one of those maintenance tasks you know you should do regularly but always put off until your branch list becomes unmanageable.
- skills.sh installs
- 1.7K
- GitHub stars
- 26K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add everyinc/compound-engineering-plugin --skill ce-clean-gone-branches --agent claude-codeInstalls into .claude/skills of the current project.
Files
After a PR merges and the remote branch gets deleted, you're often left with stale local branches cluttering your repo. This skill automates the cleanup by running git fetch with prune, finding branches marked as gone, and deleting them after you confirm. It's smart enough to handle worktrees too, removing them before deleting the branch so you don't end up with orphaned working directories. The confirmation step shows you exactly which branches will go, so you're never caught off guard. It's one of those maintenance tasks you know you should do regularly but always put off until your branch list becomes unmanageable.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/everyinc/compound-engineering-plugin
- Category
- Git & Pull Requests
- First seen
- Jun 3, 2026
More from everyinc/compound-engineering-plugin
All 78- Ce Gemini Imagegen1.7K
- Ce Agent Native Audit1.7K
- Ce Report Bug1.7K
- Compound Docs1.5K
- Ce Polish Beta1K
- Dhh Rails Style716
- Frontend Design638
- Git Worktree634
- Gemini Imagegen633
- Agent Native Architecture581
- Document Review562
- Agent Browser542
- Every Style Editor524
- Dspy Ruby494
- Andrew Kane Gem Writer493
- Rclone452
- Orchestrating Swarms444
- Setup392
- File Todos333
- Brainstorming291
- Proof277
- Test Xcode255
- Git Commit Push Pr246
- Changelog245