prune

Community

Clean up git branches safely.

Authordrn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps maintain a clean and organized Git repository by identifying and removing merged, stale, or remote branches that are no longer needed, preventing clutter and potential confusion.

Core Features & Use Cases

  • Identify Merged Branches: Safely lists branches that have been merged into the default branch.
  • Identify Stale Branches: Detects local and remote branches that haven't seen activity for a configurable number of days.
  • Safe Deletion: Provides a preview of branches to be deleted and requires confirmation before removal.
  • Use Case: After completing a feature, you can use this skill to automatically clean up the feature branch and any old remote tracking branches that are no longer in use.

Quick Start

Run the prune skill to preview branches that can be safely deleted.

Dependency Matrix

Required Modules

gitgh

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: prune
Download link: https://github.com/drn/dots/archive/main.zip#prune

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.