branches-clean

Community

Safely delete non-main branches.

Authordavidahmann
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the deletion of outdated or unnecessary branches in a Git repository, helping to maintain a clean and organized project history.

Core Features & Use Cases

  • Safe Branch Deletion: Deletes local and remote branches one-by-one, with safety checks.
  • Main Branch Protection: Ensures the main branch is never deleted.
  • Use Case: After merging a feature branch, use this Skill to automatically clean up both the local and remote versions of that branch, preventing clutter.

Quick Start

Use the branches-clean skill to delete all non-main local and remote branches.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: branches-clean
Download link: https://github.com/davidahmann/gait/archive/main.zip#branches-clean

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.