sync-branches

Official

Clean up merged Git branches.

Authorindexnetwork
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the cleanup of local and remote Git branches that have been merged into the main development branch, preventing clutter and improving repository management.

Core Features & Use Cases

  • Detects Merged Branches: Identifies branches that are fully merged into upstream/dev.
  • Deletes Local Branches: Safely removes merged branches from your local repository.
  • Deletes Remote Branches: Cleans up corresponding branches on the origin remote.
  • Optional Closed PR Branch Cleanup: Can be configured to remove branches associated with closed (but not necessarily merged) Pull Requests.
  • Use Case: After merging a feature branch into dev, you can use this skill to automatically delete both your local copy and the remote branch, keeping your repository tidy.

Quick Start

Use the sync-branches skill to clean up all branches merged into upstream/dev.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: sync-branches
Download link: https://github.com/indexnetwork/index/archive/main.zip#sync-branches

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 223,000+ vetted skills library on demand.