New Worktree banner
lazynet lazynet

New Worktree

Git community

Description

--- description: Create a git worktree and branch for a new task with correct naming argument-hint: <type>/<short-name> (type ∈ feat|fix|docs|chore|refactor) --- You are creating a new git worktree for the task identified by `$ARGUMENTS`. ## Validation (do this first) 1. Confirm `$ARGUMENTS` matches the pattern `<type>/<short-name>` where `<type>` is one of `feat`, `fix`, `docs`, `chore`, `refactor`. If it does not match, stop and tell the user the expected format. 2. Extract `<short-name>`

Installation

Installs to ~/.claude/commands/lazynet-lazy-harness-new-worktree.md

Terminal
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.

Full documentation available on GitHub

View Source Repository