ctx:worktree

Community

Master Git worktrees: diagnose, fix, and optimize.

AuthorShakes-tzd
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill resolves frustrating Git worktree issues like locked files, removal errors, orphaned branches, and performance degradation, ensuring your development environment remains clean and efficient.

Core Features & Use Cases

  • Automated Diagnosis & Fixes: Quickly identify and safely resolve common worktree problems such as "locked" errors or "already exists" conflicts.
  • Intelligent Cleanup: Implement tailored cleanup strategies, from pruning stale references to removing merged worktrees, reclaiming disk space and improving performance.
  • Best Practices & Prevention: Learn proper worktree lifecycle management and receive guidance to prevent future issues, including automated maintenance scripts.

Quick Start

I can't remove my 'feature-x' worktree, it says it's locked.

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: ctx:worktree
Download link: https://github.com/Shakes-tzd/contextune/archive/main.zip#ctx-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.