What problem does it solve?
This Skill removes the manual burden of auditing stale Git branches and worktrees, helping you safely clean up repositories without deleting anything that is still active, in progress, or protected by pull request state.
Core Features & Use Cases
- Branch Audit and Cleanup: Checks local branches against GitHub pull requests and upstream tracking state to decide what can be removed automatically and what needs confirmation.
- Worktree Safety: Protects current branches, default branches, and worktrees with uncommitted changes so cleanup does not break active development.
- Conservative Repo Maintenance: Supports single-repository cleanup, workspace-wide sweeps, dry-run audits, and optional stack-aware synchronization through sdf when present.
- Use Case: After a large release cycle, you can review which feature branches were merged, which were abandoned, and which still need attention before deleting them.
Quick Start
Ask Claude to run git cleanup on the current repository so it audits branches, explains the deletion plan, and safely removes only the branches you approve.