Delete local Git worktrees and branches once their work is on GitHub, with `bun run worktrees`. Use when cleaning up worktrees or local branches, or deciding whether one is safe to delete, not when creating branches or commits.
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
A local copy is disposable once its work is on GitHub: on origin/main, or pushed as backup/<branch>. Git history keeps it findable, not the local branch. scripts/worktree-audit.ts does the checking and deleting; this skill is the judgment it cannot make.
Run bun run worktrees to list every local branch and worktree as covered or UNCOVERED. After the owner approves names, bun run worktrees reap <branch…> deletes them; it pushes an uncovered branch to backup/<branch> first and refuses a worktree with changed or untracked files. List again afterward: sessions create and switch worktrees continuously.
UNCOVERED branch with a recent commit is usually today's work. Never reap a worktree a live session owns, and keep a base/* branch another session started from until that session's PR merges.dist/, target/, build-desktop/) is throwaway: delete it by hand, then reap. Modified source or a unique untracked file is real work: commit it to the branch first.main. The listing shows how far main is from origin/main; the script never moves it. If main has its own commits or changes, push them to a backup/ branch and ask the owner before git branch -f main origin/main. Discarding work on main is its own decision.git worktree remove <path>.EpicenterHQ/epicenter
bff4f9c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.