cleanup-worktree

Community

Clean up local branches post-merge.

Authormjbellantoni
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the process of cleaning up your local Git environment after a branch has been successfully merged into the main branch, preventing clutter and ensuring your local repository stays tidy.

Core Features & Use Cases

  • Automated Branch Deletion: Safely removes merged local branches.
  • Detached HEAD: Resets your working directory to the latest state of the main branch.
  • Use Case: After merging your feature branch into main and confirming the pull request is closed, you can use this skill to automatically delete the feature branch locally and reset your HEAD to the latest main.

Quick Start

Use the cleanup-worktree skill to clean up the current working branch after it has been merged.

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: cleanup-worktree
Download link: https://github.com/mjbellantoni/scm-tools-claude/archive/main.zip#cleanup-worktree

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.