worktree-done
CommunitySafely clean up Git worktrees and branches.
AuthorYH-05
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the safe cleanup of Git worktrees and their associated branches after development is complete and the Pull Request has been merged.
Core Features & Use Cases
- Automated PR Merge Check: Verifies if a Pull Request is merged before proceeding with cleanup.
- Worktree & Branch Deletion: Safely removes the worktree directory and deletes both local and remote branches.
- GitHub Project Update: Updates associated GitHub Issues to "Done" status in GitHub Projects.
- Use Case: After finishing a feature branch, merging the PR, and ensuring all related issues are updated, you can run this command to automatically clean up the worktree and branch, keeping your repository tidy.
Quick Start
Run /worktree-done followed by the name of the branch you want to clean up.
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: worktree-done Download link: https://github.com/YH-05/finance/archive/main.zip#worktree-done 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.