Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").
Install
npx skills add maragudk/skills --skill worktreesnpx skills add maragudk/skills --skill worktrees -a claude-code -gnpx skills add maragudk/skills --skill worktrees -a codex -ggemini skills install https://github.com/maragudk/skills.git --path worktreesgh skill install maragudk/skills worktreesgit clone --depth 1 https://github.com/maragudk/skills /tmp/maragudk__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/maragudk__skills/worktrees ~/.claude/skills/worktrees # Claude Code
cp -R /tmp/maragudk__skills/worktrees ~/.agents/skills/worktrees # Codex, Cursor, Gemini CLI, Copilot, OpenCode