BehindTheMusicTree

New Worktree And Serve — Git skill for Claude Code

Git community

Create a git worktree and branch for a new task, then start the repo's dev servers in it if it has a dev-up.sh script.

How to install New Worktree And Serve

Installs to ~/.claude/skills/behindthemusictree-agent-config-new-worktree-and-serve/SKILL.md

Terminal
mkdir -p ~/.claude/skills/behindthemusictree-agent-config-new-worktree-and-serve && curl -fsSL https://raw.githubusercontent.com/BehindTheMusicTree/agent-config/HEAD/commands/new-worktree-and-serve.md -o ~/.claude/skills/behindthemusictree-agent-config-new-worktree-and-serve/SKILL.md

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

What New Worktree And Serve does


description: Create a git worktree and branch for a new task, then start the repo's dev servers in it if it has a dev-up.sh script. model: haiku

Same as `new-worktree`, plus starting dev servers in the new worktree — for when you know you'll want the servers running right away, not just the worktree set up.

The branch name is: **$ARGUMENTS**

If no branch name was given, ask for one before proceeding. Optionally the user may also specify a base ref (e.g. "off develop") — if so, pass it

Alternatives in Git

  • Codexia — Agent Workstation for Codex CLI + Claude Code — with task scheduler, git worktree & remote control, skills man 638 ★
  • Worktree New — Create a new git worktree with full dev environment for parallel work 387 ★
  • Hybrid Worktree — Start a new task in an isolated Git worktree with Hybrid Ralph PRD mode 123 ★

Full documentation available on GitHub

View Source Repository