weedmo

Worktree Spawn — Git skill for Claude Code

Git community

Spawn an isolated git worktree with a deterministic PORT_BASE so heavy multi-port dev servers can run in parallel across Claude sessions.

How to install Worktree Spawn

Installs to ~/.claude/skills/weedmo-skills-worktree-spawn/SKILL.md

Terminal
mkdir -p ~/.claude/skills/weedmo-skills-worktree-spawn && curl -fsSL https://raw.githubusercontent.com/weedmo/skills/HEAD/commands/worktree-spawn.md -o ~/.claude/skills/weedmo-skills-worktree-spawn/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Worktree Spawn does


description: "Spawn an isolated git worktree with a deterministic PORT_BASE so heavy multi-port dev servers can run in parallel across Claude sessions." argument-hint: " [base-branch] | --list | --remove [--force]"

Run the worktree-spawn helper. Pass `$ARGUMENTS` straight through.

bash ~/.claude/scripts/worktree-spawn.sh $ARGUMENTS

After the script finishes:

  • If a worktree was created, show the user the path and PORT_BASE, and remind them to run `d

Alternatives in Git

  • Fullstack Dev Skills — by jeffallan - A comprehensive Claude Code plugin with 65 specialized skills covering full-stack development a 7k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
  • Loki Verify — Run Loki's deterministic PR verification on the current change and summarize the evidence verdict 1.1k ★

Full documentation available on GitHub

View Source Repository