worktree

Installation
SKILL.md

input = $ARGUMENTS

Branch Name

Derive from user input (ask if missing). Default format: <type>/<kebab-description> using conventional commit types (feat when ambiguous). Check git branch first — if the repo uses a different convention (e.g., feature/JIRA-123-desc), match it.

Show the derived name before proceeding.

Worktree Location

  • {repo_root}/.claude/worktrees/{branch_slug} where branch_slug replaces / with -
  • repo_root = git rev-parse --show-toplevel
  • Ensure .claude/worktrees/ exists and is in .gitignore

Base Branch

Branch from the latest remote default, not from HEADHEAD can be stale or on an unrelated branch, silently seeding the worktree with the wrong history.

Installs
2
GitHub Stars
9
First Seen
Mar 12, 2026
worktree — jhostalek/dotclaude