cleanup-worktrees
CommunityClean merged worktrees and branches safely.
Authortbroadley
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers safely remove git worktrees and related local branches once associated PRs have been merged into the main line, reducing clutter and potential confusion.
Core Features & Use Cases
- Remove worktrees whose PRs have been merged on GitHub.
- Identify worktrees with open PRs to avoid accidental deletion.
- Prune stale local branches corresponding to merged work, with user confirmation before deletion.
Quick Start
Use the cleanup-worktrees skill to scan local worktrees, confirm which ones are safe to remove, and delete them along with their branches.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cleanup-worktrees Download link: https://github.com/tbroadley/dotfiles/archive/main.zip#cleanup-worktrees Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.