alfredocarta

Create Worktree Prompt — Git skill for Claude Code

Git community

Create a git worktree with isolated configuration for parallel development.

How to install Create Worktree Prompt

Installs to ~/.claude/commands/alfredocarta-ai-agent-audit-trail-create_worktree_prompt.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alfredocarta/ai-agent-audit-trail/HEAD/.claude/commands/create_worktree_prompt.md -o ~/.claude/commands/alfredocarta-ai-agent-audit-trail-create_worktree_prompt.md

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

What Create Worktree Prompt does


model: claude-sonnet-4-5-20250929 description: Create a git worktree with isolated configuration for parallel development argument-hint: [branch-name] [port-offset] allowed-tools: Bash, Read, Write, Edit, Glob, Grep

Purpose

Create a new git worktree in the `trees/` directory with completely isolated configuration for parallel execution. This enables running multiple instances of the observability system simultaneously without port conflicts, database collisions, or hook misconfigurat

Alternatives in Git

  • Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
  • Worktree Parallel Init — Create multiple git worktrees for parallel development: $ARGUMENTS 23.4k ★
  • Superclaude — by SuperClaude-Org - A versatile configuration framework that enhances Claude Code with specialized commands 21.7k ★

Full documentation available on GitHub

View Source Repository