cleanup-dangling-worktrees
OfficialSafely prune stale Git worktrees.
Authorbacchus-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain a clean Git repository by automatically identifying and removing stale worktrees associated with merged feature branches, preventing clutter and potential confusion.
Core Features & Use Cases
- Automated Cleanup: Safely removes Git worktrees for branches whose associated Pull Requests have been merged.
- Safety First: Implements strict checks to ensure no active development worktrees are deleted (e.g., uncommitted changes, unpushed commits, open PRs).
- Use Case: After a busy development cycle with many feature branches, run this skill to clear out worktrees for completed features, keeping your project tidy and focused.
Quick Start
Run the cleanup-dangling-worktrees skill to remove any unneeded Git worktrees.
Dependency Matrix
Required Modules
gh
Components
scripts
💻 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-dangling-worktrees Download link: https://github.com/bacchus-labs/wrangler/archive/main.zip#cleanup-dangling-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 223,000+ vetted skills library on demand.