clean-gone-branches
БесплатноБез исполняемых скриптовНе проверенThis skill should be used when user asks to "clean gone branches", "remove deleted local branches", "prune branches removed from remote", or explicitly…
от fcakyon★ 1 223 звезды на GitHubОб этом скилле
Clean Gone Branches
Remove local git branches whose remote tracking branch has been deleted, cleaning attached worktrees safely first.
Process
Prune remote references
- Run
git fetch --prune.
- Run
Inspect branches and worktrees
- Run
git branch -vvto find branches marked[gone]. - Run
git worktree listto check whether any[gone]branch is checked out in a linked worktree (and checkgit status --shortinside each candidate worktree so dirty work is never lost).
- Run
Remove clean worktrees first
- Skip any worktree with uncommitted changes unless the user explicitly asks to discard them.
- Remove clean
[gone]worktrees withgit worktree remove <path>before deleting the branch.
Delete gone branches
- Delete merged
[gone]branches withgit branch -d <branch>. Confirm with the user before force-deleting unmerged branches (-D), noting squash-merged PRs when relevant.
- Delete merged
Report clearly
- List removed worktrees, deleted branches, and any dirty/unmerged branches kept for safety.
- If no
[gone]branches exist, report that the repo is already clean.
Установить clean-gone-branches в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл clean-gone-branches?
This skill should be used when user asks to "clean gone branches", "remove deleted local branches", "prune branches removed from remote", or explicitly invokes "clean-gone-branches".
Как установить скилл clean-gone-branches?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clean-gone-branches запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic