vp-git-cleanup

Installation
SKILL.md

Git Cleanup

Audit first, then clean up only after explicit confirmation. Treat branch, worktree, stash, and remote-ref cleanup as separate risk classes.

Core Rules

  1. Default to read-only audit - Do not delete branches, worktrees, stashes, or refs until the user approves an exact plan.
  2. Protect active work - Never delete the current branch, base ref, checked-out branches, dirty worktrees, locked worktrees, or stashes that have not been inspected.
  3. Separate local and remote risk - Local branch cleanup and remote branch deletion require separate confirmation.
  4. Prefer safe Git checks - Use git branch -d for merged local branches. Use git branch -D only when the user explicitly accepts the force-delete risk.
  5. Execute sequentially - Run cleanup commands one at a time and stop on unexpected failures. Do not batch destructive Git commands in parallel.
Installs
7
Repository
vdustr/skills
GitHub Stars
1
First Seen
May 3, 2026
vp-git-cleanup — vdustr/skills