Skip to main content

Ce Clean Gone Branches

Skill Verified Active

Clean up local branches whose remote tracking branch is gone. Use when the user says "clean up branches", "delete gone branches", "prune local branches", "clean gone", or wants to remove stale local branches that no longer exist on the remote. Also handles removing associated worktrees for branches that have them.

Purpose

To streamline Git workflows by automatically removing obsolete local branches and their worktrees, preventing clutter and potential confusion.

Features

  • Identify local branches with deleted remote tracking branches
  • Remove associated Git worktrees
  • Prompt user for confirmation before deletion
  • Report on cleaned branches and overall status

Use Cases

  • When the user wants to clean up their local Git repository.
  • To remove stale branches that no longer exist on the remote.
  • When local branches have associated worktrees that also need removal.

Non-Goals

  • Deleting branches that still have remote tracking branches.
  • Performing multi-selection or per-branch deletion choices.
  • Handling complex Git merge conflicts or advanced branch management scenarios.

Installation

First, add the marketplace

/plugin marketplace add EveryInc/compound-engineering-plugin
/plugin install compound-engineering@compound-engineering-plugin

Quality Score

Verified
97 /100
Analyzed about 21 hours ago

Trust Signals

Last commitabout 21 hours ago
Stars16.7k
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.