What problem does it solve? Repositories accumulate stale branches, orphaned remote-tracking refs, and abandoned worktrees over time, and cleaning them up manually risks deleting unmerged work or dirty changes. This Skill performs an audit-first Git hygiene review that classifies every branch and worktree by risk before recommending or executing any cleanup. ## Core Features & Use Cases - Evidence-Based Branch Classification: Uses merge-base, ahead/behind counts, upstream status, and diff evidence to classify branches as Keep, Delete local, Review, or High risk instead of relying on age alone. - Worktree and Conflict Audits: Inspects every worktree for dirty, conflicted, locked, or prunable state and identifies conflict types (content, rename/delete, add/add) with per-file resolution recommendations. - Risk-Tiered Cleanup Execution: Separates low-risk metadata pruning (git worktree prune, git remote prune) from higher-risk local branch deletion, worktree removal, and remote branch deletion, requiring explicit approval for destructive actions. - Finish Workflow: When authorized, runs the full validate-commit-push-PR-merge sequence with squash merge, auto-complete, and source-branch deletion defaults for Azure Repos and GitHub. - Use Case: After months of feature work, a repository has 40 local branches and 6 worktrees. Use this Skill to inventory everything, identify which merged branches are safe to delete, preserve unmerged work, and produce an exact cleanup command list. ## Quick Start Use the git-hygiene-orchestrator skill to audit this repository's branches, remote refs, and worktrees and recommend safe cleanup commands.