merge-main-cleanup

Community

Merge to main, delete branches.

Authorcacr92
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates the process of merging a feature branch into the main branch and subsequently cleaning up all other local and remote branches, ensuring only the main branch remains.

Core Features & Use Cases

  • Consolidated Merging: Merges the current branch into the designated base branch (main or master).
  • Branch Pruning: Deletes all local and remote branches except for the base branch after a successful merge.
  • Worktree Cleanup: Removes any associated worktrees tied to the deleted branches.
  • Use Case: After completing a feature and merging it into main, use this skill to automatically remove all feature branches and their associated worktrees, leaving a clean repository.

Quick Start

Run the merge-main-cleanup skill to merge the current branch into main and delete all other branches.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: merge-main-cleanup
Download link: https://github.com/cacr92/WeReply/archive/main.zip#merge-main-cleanup

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.