PlugMyPlugin
← Browse

branch-cleanup

cwakim ★ 2

This plugin provides a `/cleanup` command that safely deletes git branches that have already been merged into a base branch, both locally and on the remote, while protecting long-lived branches and always confirming before deletion. It uses `git branch -d` to prevent accidental deletion of unmerged work and respects a safelist of protected branches like main, master, develop, and production.

DevOps Productivity free prompt pack

Install

> /plugin marketplace add cwakim/claude-plugins/tree/HEAD/plugins/branch-cleanup
> /plugin install branch-cleanup

Source: https://github.com/cwakim/claude-plugins/tree/HEAD/plugins/branch-cleanup

What it's made of

1 command

Commands
1
Agents
0
Skills
0
MCP servers
0
Hooks
0

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
none
Talks to
nothing external detected

Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (cwakim).