create-worktree

Community

Automates feature worktrees and clean setups.

Authorjeffh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of isolated development workspaces for feature development or bug fixes, enabling parallel work without polluting the main repository.

Core Features & Use Cases

  • Git worktrees / jj workspaces: Create a new git worktree (and branch) or a new jj workspace (and bookmark) with a single action.
  • Automated setup: Runs make setup to install dependencies in the new worktree.
  • Thoughts initialization (optional): Initialize thoughts directory if requested.
  • Environment cloning: Copy .claude directory into the new worktree if present.
  • Safe cleanup: Automatically cleans up failed setups and removes created worktrees/workspaces on demand.

Quick Start

Provide a worktree name (or allow automatic name generation) and a base branch; the tool will create the new worktree under $HOME/wt/[repo-name], copy configuration, install dependencies, and prompt you to start work in the new location.

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: create-worktree
Download link: https://github.com/jeffh/claude-plugins/archive/main.zip#create-worktree

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository