prune-worktrees
CommunityClean up stale Git worktrees
AuthorRagnarokButMemorySafe
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the process of identifying and removing merged or stale Git worktrees, helping to keep your repository clean and organized.
Core Features & Use Cases
- Automated Detection: Identifies worktrees that are no longer needed based on their merge status and remote synchronization.
- Safe Removal: Uses Worktrunk's
wt removecommand to safely delete worktrees and associated branches. - Use Case: After merging several feature branches, you can use this Skill to automatically clean up the corresponding worktrees, preventing clutter and potential confusion.
Quick Start
Run the prune-worktrees skill to clean up any merged or stale Git worktrees.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: prune-worktrees Download link: https://github.com/RagnarokButMemorySafe/opencode-config/archive/main.zip#prune-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.