home/categories/git-workflows/onekeyhq-app-monorepo-skillshare-skills-1k-worktree-clean-skill-md
git-workflowsdevops

1k-worktree-clean

Use when the user wants to audit local git worktrees against origin/x, choose by number or A, and decide whether stale worktree directories, already-merged worktrees, or no-delta worktrees can be cleaned up. Triggers on "worktree clean", "worktree 合并到 x", "检测哪些 worktree 已进 x".

OneKeyHQ
maintainer
OneKeyHQ
Updated 4/3/2026
Stars
2340
Forks
503
quick start

Installation and usage

Use when the user wants to audit local git worktrees against origin/x, choose by number or A, and decide whether stale worktree directories, already-merged worktrees, or no-delta worktrees can be cleaned up. Triggers on "worktree clean", "worktree 合并到 x", "检测哪些 worktree 已进 x".

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use 1k-worktree-clean