Skill / SKILL.md

Clean Gone

rlajous/claude-code-commands

Delete local Git branches whose upstream was deleted on the remote ("[gone]"), and remove any worktrees attached to them. Use when the user asks to clean up merged/stale branches, prune gone branches, tidy local branches after merging PRs, or "delete branches that are gone on the remote".
1 views 30 repository starsUpdated Nov 27, 2026
Overview

Delete local Git branches whose upstream was deleted on the remote ("[gone]"), and remove any worktrees attached to them. Use when the user asks to clean up merged/stale branches, prune gone branches, tidy local branches after merging PRs, or "delete branches that are gone on the remote".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rlajous/claude-code-commands' skill-source

Use the complete skill-source/skills/clean-gone directory with your client’s skill installer.

Source directory skills/clean-gone

Compatibility & requirements

Declared tools

Read, Bash(git fetch:*), Bash(git branch:*), Bash(git worktree:*), Bash(git for-each-ref:*), Bash(git status:*), Bash(git config:*), Bash(git log:*), AskUserQuestion

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
f4c692db85fb7e35a61134ecc9c22e7d4217d73796fdf0a200747e0153e7e484
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills