worktree-home

Community

Deterministic git worktrees in one place

Authornthpaul
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents scattered, ad-hoc git worktrees by giving every branch a predictable worktree path under a single repository-rooted directory.

Core Features & Use Cases

  • Canonical worktree root: Stores all worktrees for the repo under one discoverable directory so agents only need to list a single location.
  • Deterministic branch-to-folder mapping: Converts branch names into safe, stable folder names by replacing / with -, ensuring the same branch always resolves to the same path.
  • Pre-create path resolution: Lets you compute the exact worktree destination before the worktree exists using a helper script, avoiding mismatched layouts across sessions.

Quick Start

Run the path resolver script for your target branch, then use the printed path as the destination when adding the git worktree.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: worktree-home
Download link: https://github.com/nthpaul/dotfiles/archive/main.zip#worktree-home

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.