branch-cleanup

Community

Clean up stale Git branches.

Authorpkuppens
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps maintain a clean local Git repository by automatically removing branches that have already been merged into the main branch, reducing clutter and preventing confusion.

Core Features & Use Cases

  • Sync Local Branches: Updates your local main branch and removes outdated local branches.
  • Handles Merge Types: Supports cleanup after merge, squash-merge, and rebase-merge operations.
  • Use Case: After merging a feature branch into main, run this skill to automatically delete the now-redundant feature branch locally.

Quick Start

Run the branch-cleanup skill to synchronize your local branches with the main branch.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: branch-cleanup
Download link: https://github.com/pkuppens/on_prem_rag/archive/main.zip#branch-cleanup

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.