branch-cleanup-after-pr

Community

Clean up local branches post-PR.

Authorpkuppens
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the cleanup of local Git branches after a pull request has been merged, ensuring your local repository stays tidy and up-to-date with remote changes.

Core Features & Use Cases

  • Sync Local Branches: Automatically checks out the main branch, pulls the latest changes, and fetches remote updates with pruning.
  • Remove Obsolete Branches: Identifies and deletes local branches that have been merged into the main branch or whose remote counterparts have been deleted.
  • Use Case: After successfully merging a feature branch into main on GitHub, run this Skill to remove the now-redundant local feature branch and ensure your local main is current.

Quick Start

Run the branch cleanup skill to sync your local branches after a pull request merge.

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: branch-cleanup-after-pr
Download link: https://github.com/pkuppens/on_prem_rag/archive/main.zip#branch-cleanup-after-pr

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.