← Back to list

wt-cleanup
by michael-menard
a monorepo architecture
⭐ 0🍴 0📅 Jan 12, 2026
SKILL.md
name: wt-cleanup description: Identify and remove merged or stale git worktrees. Use for housekeeping, removes worktrees for branches that have been merged to main. Frees disk space.
/wt:cleanup - Clean Up Merged Worktrees
Description
Quick command to identify and remove merged or stale worktrees.
Usage
/wt:cleanup
What It Does
This slash command:
- Activates the Git Worktree Manager skill (
@git-worktree) - Automatically runs the
*cleanupcommand - Helps you clean up old worktrees
Workflow
The command will:
- List all worktrees - Show all active worktrees
- Identify merged branches - Find branches already merged to main/develop
- Ask which to remove - Interactive selection
- Remove selected worktrees - Safely delete worktrees
- Prune worktree references - Clean up git metadata
Benefits
✅ Smart Detection - Identifies merged branches automatically ✅ Safe Cleanup - Only suggests merged branches ✅ Selective Removal - Choose which to remove ✅ Complete Cleanup - Removes worktrees and branches
Notes
- Only suggests worktrees with merged branches
- You can choose which ones to remove
- Warns about unmerged branches
- Prunes git metadata after cleanup
Score
Total Score
45/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon