clean-gone-branches · git:20260827.f2233af · 2026-08-27 · sha256 34ea0cdcb7e5c89f

clean-gone-branches git:20260827.f2233afA

Immutable. This exact content never changes and is served at /api/v1/blob/34ea0cdcb7e5c89f.

---
name: clean-gone-branches
description: Remove local git branches whose configured upstream is marked [gone], including associated worktrees.
---

# Clean Gone Branches

Run the bundled `scripts/clean.sh` from this skill in the current repository.

Only branches explicitly marked `[gone]` may be deleted. Never delete the current branch or the repository's main worktree.

Report removed and skipped branches or worktrees. If none are `[gone]`, report that no cleanup was needed.