What problem does it solve?
This Skill helps developers cleanse their local Git repository by analyzing branches and safely identifying candidates for deletion. It categorizes branches based on merge status, last activity, and remote-tracking information to reduce clutter without risking lost work.
Core Features & Use Cases
- Branch analysis: detects merged, unmerged, stale (inactive for a defined period), and remote-tracking branches.
- Safe cleanup workflow: proposes deletions with a dry-run preview and requires explicit user confirmation before removal.
- Safety guards: prevents deletion of protected branches (e.g., main, master) and currently checked-out branches.
- Use Case: You have dozens of feature branches; run this Skill to generate a concise list of branches that can be safely deleted to reclaim space and reduce complexity.
Quick Start
Analyze the current repository to identify branches eligible for deletion and output a concise cleanup plan.