Cleanup Worktrees

Safely scans all git worktrees, checks merge status and PR state, categorizes them (Merged/PR Closed/Remote Deleted/Active), presents a report, and deletes with user approval. Never deletes the current worktree. Invoke when asked to "clean up worktrees", "remove merged worktrees", or "prune worktrees".

arosenkranz Updated

File contents

arosenkranz/claude-code-config/tree/main/plugins/git-and-pr/skills/cleanup-worktrees commit 9681450908

Frequently asked questions

npx skillmds@latest add arosenkranz/cleanup-worktrees