New Worktree — Git skill for Claude Code
Create a git worktree and branch for a new task with correct naming.
How to install New Worktree
Installs to ~/.claude/commands/lazynet-lazy-harness-new-worktree.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/lazynet/lazy-harness/HEAD/.claude/commands/new-worktree.md -o ~/.claude/commands/lazynet-lazy-harness-new-worktree.md Restart Claude Code, or start a new session, for it to be picked up.
What New Worktree does
description: Create a git worktree and branch for a new task with correct naming argument-hint: / (type ∈ feat|fix|docs|chore|refactor)
You are creating a new git worktree for the task identified by `$ARGUMENTS`.
Validation (do this first)
- Confirm
$ARGUMENTSmatches the pattern/whereis one offeat,fix,docs,chore,refactor. If it does not match, stop and tell the user the expected format. - Extract
Alternatives in Git
- Clean Worktrees (Automatic) — Automatically remove all worktrees for branches merged into master 25.5k ★
- Local Review — You are tasked with setting up a local review environment for a colleague's branch 10k ★
- Codexia — Agent Workstation for Codex CLI + Claude Code — with task scheduler, git worktree & remote control, skills man 638 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Hybrid Worktree
Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode. Creates worktree, branch, loads exist
Hybrid Complete
Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f
Worktree Check
Check current worktree status, branch, and assigned task
Tooling Agent Skill Multi Repository Name Conventions
Cross-agent repository naming convention skill for Claude, Cursor, Copilot, Gemini, and any AGENTS.md-reading
Worktree Tasks
Implement each task in a separate git worktree with an opus subagent then sequentially merge and commit them b
Task Parallel
Intelligent git worktree orchestrator for parallel development tasks
Related Agents
Wh Builder
Build-phase agent. Executes exactly one task from plan.md using test-driven development inside an isolated git
Wave Worker
Worker for agent-waves orchestration: executes ONE task spec inside ONE assigned git worktree. The coordinator
08 GitHub Ops
Git and GitHub workflow specialist. Invoked TWICE per brief by architect — FIRST at the start of the brief to