x-cleanup-git-branches
CommunityClean up local git state safely in one go.
Authoredercnj
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Consolidates the repetitive local git cleanup into a single, repeatable workflow: prune remotes, remove non-main worktrees, and delete non-protected local branches.
Core Features & Use Cases
- Centralized cleanup of local git state after PR merges or refactors.
- Safe, guarded deletion with a confirmation gate or dry-run mode.
- Works across typical development cycles to reset the local workspace.
Quick Start
Execute the x-cleanup-git-branches command in your repository to view and apply the planned cleanup.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: x-cleanup-git-branches Download link: https://github.com/edercnj/ia-dev-environment/archive/main.zip#x-cleanup-git-branches Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.