convert-worktree

Community

Turn a worktree into a clean local branch.

AuthorAdamCaviness
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Converts an active git worktree into a regular local branch by rebasing onto the latest base branch, cleaning up resources, removing the worktree, and checking out the branch in the main workspace.

Core Features & Use Cases

  • Rebase the worktree onto the detected base branch (main or master) to ensure the main branch history stays linear.
  • Remove the worktree after transferring work, and switch to the corresponding local branch in the main workspace.
  • Perform project cleanup prior to rebase to preserve environment integrity, while ensuring the overall conversion never blocks on failures.

Quick Start

Run this skill from within a worktree to convert it into a local branch on the main workspace.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: convert-worktree
Download link: https://github.com/AdamCaviness/agentic-toolkit/archive/main.zip#convert-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 471,000+ vetted skills library on demand.