‹ 首页

cleanup-branches

@thettwe · 收录于 1 周前

Prune local branches whose work is already merged into the base. TRIGGER when the user says "clean up branches", "delete merged branches", "prune local branches", "remove old branches", "I have too many branches", "what branches can I delete", "/nyann:cleanup-branches". Do NOT trigger on "delete THIS branch" (that's a one-off `git branch -D`, not a cleanup pass) or "remove a branch from the remote" (this skill is local-only; remote pruning is `git push --delete origin <branch>` and the user should do that themselves). Do NOT trigger on "merge this branch" (that's the merge step before cleanup).

适合你,如果本地积累了大量已合并的旧分支需要清理。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add thettwe/nyann/cleanup-branches
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- thettwe/nyann/cleanup-branches
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify thettwe/nyann/cleanup-branches
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
6GitHub stars
~694上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。