What problem does it solve?
Local Git work gets lost in ways standard commands cannot see: unpushed commits on forgotten branches, untracked files no bundle can back up, orphaned stashes, dangling commits eligible for garbage collection, and independent clones of the same repository that git worktree list is structurally blind to. This Skill audits every hiding place, preserves at-risk work before any destructive action, and recovers commits that appear lost.
Core Features & Use Cases
- Loss recovery: Uses
git reflog first, then targeted routes for dropped stashes, detached-HEAD work, and true orphans found via git fsck, always recovering onto a new branch rather than resetting live work.
- Machine-wide audit: Discovers every checkout of a repository including independent clones, then reports local-only commits, dirty worktrees, stashes, and dangling commits with clear exit codes.
- Content-based merge verification: Uses a trial three-way merge (
git merge-tree) instead of commit counts, so squash-merged branches correctly read as merged.
- Safe retirement: Exports stashes, branches, and full ref bundles with verification before any branch deletion, worktree removal, or clone cleanup.
- Use Case: Before deleting an old feature branch that shows "173 commits ahead of main", run the merge verification to confirm the content actually landed, then export a verified bundle before deleting.
Quick Start
Ask the assistant to audit this repository for any work that would be lost if I cleaned up my branches, worktrees, and stashes right now.