clean-branch

Community

Clean up git branches safely

AuthorSteveFeldman
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you manage your Git branches by safely identifying and cleaning up merged, stale, or unnecessary branches, keeping your repository tidy.

Core Features & Use Cases

  • Branch Cleanup: Automatically identifies branches that are merged into your main branch.
  • Stale Branch Detection: Flags branches that haven't seen activity for a configurable period.
  • Dry-Run Mode: Provides a report of what would be deleted without making any changes, ensuring safety.
  • Confirmation: Requires explicit user confirmation before executing any deletions.
  • Use Case: After completing a feature, you can use this skill to automatically remove the feature branch once it's merged, preventing clutter.

Quick Start

Run /clean-branch to see a report of branches that can be safely deleted.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: clean-branch
Download link: https://github.com/SteveFeldman/agents-skills/archive/main.zip#clean-branch

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 223,000+ vetted skills library on demand.