dev.worktrees

Community

Standardize git worktrees with a fixed layout.

Authorkevinslin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes and streamlines the creation and management of git worktrees by enforcing a deterministic on-disk layout rooted at ~/.worktrees, avoiding scattered or nested worktrees.

Core Features & Use Cases

  • Create worktrees for existing or new branches under ~/.worktrees, keeping each workspace isolated per repository and branch.
  • List, prune, and remove worktrees from a single centralized location to simplify maintenance and auditing.
  • Enforce conventions such as resolving the repo name from the main repo directory, never placing worktrees inside the main repo or other worktrees, and prompting before deviating from the default location.

Quick Start

Create a worktree for an existing branch by running git worktree add ~/.worktrees/<repo>/<branch-name> <branch-name>.

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: dev.worktrees
Download link: https://github.com/kevinslin/skills/archive/main.zip#dev-worktrees

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.