Engineering Advanced GitWorktreesParallel Dev

Git Worktree Manager

Parallel development with port isolation and env sync.

$skillfish add ~skills/git-worktree-manager

Real Conversations

See how the Git Worktree Manager skill responds to actual requests. These are representative examples of what your AI agent will produce.

You

I'm working on three features simultaneously for a Next.js app: a new auth flow, a billing redesign, and a data export feature. I keep stashing and switching. How do I use git worktrees to run all three at once?

Agent

Git worktrees give you three independent working directories — each on its own branch, all from the same .git object store. No stashing, no context switching.

Setup:

git worktree add ../myapp-auth    feature/auth-redesign
git worktree add ../myapp-billing feature/billing-redesign
git worktree add ../myapp-export  feature/data-export

git worktree list
# /Users/you/myapp          abc1234 [main]
# /Users/you/myapp-auth     def5678 [feature/auth-redesign]
# /Users/you/myapp-billing  ghi9012 [feature/billing-redesign]
# /Users/you/myapp-export   jkl3456 [feature/data-export]

Port isolation — each worktree on a different port:

# myapp-auth/.env.local
PORT=3001
NEXTAUTH_URL=http://localhost:3001

# myapp-billing/.env.local
PORT=3002

# myapp-export/.env.local
PORT=3003

Start all three:

# Three terminals — all run simultaneously
cd ../myapp-auth    && pnpm dev   # → localhost:3001
cd ../myapp-billing && pnpm dev   # → localhost:3002
cd ../myapp-export  && pnpm dev   # → localhost:3003

Important: each worktree needs its own node_modules — run pnpm install in each after creation. The .git directory is shared, so commits, fetches, and git log work identically in every worktree.

Get Started

How to install and use this skill in your preferred environment.

Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.

Models & Context

Which AI models and context windows work best with this skill.

Recommended Models

Best
Claude Opus 4 Claude Sonnet 4 GPT-4.1 Gemini 2.5 Pro Grok 3 Kimi K2
Good
Claude Haiku 4.5 GPT-4.1 mini Gemini 2.5 Flash Grok 3 mini

Larger models produce more detailed, production-ready outputs.

Context Window

This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.

8K Skill only
32K+ Skill + conversation
100K+ Skill + references + codebase

All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.

Pro tips for best results

1

Be specific

Include numbers — users, budget, RPS — so the skill can size the architecture.

2

Share constraints

Compliance needs, team size, and existing stack all improve the output.

3

Iterate

Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.

4

Combine skills

Pair with companion skills below for end-to-end coverage.

Ready to try Git Worktree Manager?

Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.

$skillfish add ~skills/git-worktree-manager
← Browse all 169 skills