wf-prune

Community

Prune local merged branches safely.

Authorandeart
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Remove local branches that have been merged into the default branch, providing a clear, safe cleanup workflow to keep your repository tidy.

Core Features & Use Cases

  • Detect the repository default branch (main or master) and verify the current context.
  • Identify merged local branches via git ancestry or merged GitHub PRs, excluding the default.
  • Show a consolidated summary with PR links and remote status before asking for deletion confirmation.
  • Optional deletion of confirmed branches with a safety guard against accidental removal.

Quick Start

Tell the assistant to prune merged branches, e.g., say "wf-prune" to start the cleanup.

Dependency Matrix

Required Modules

None required

Components

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