When you need to review a PR while keeping your feature work untouched, or run long tests on main while continuing development, worktrees let you check out multiple branches simultaneously in separate directories. Instead of stashing or cloning, you get parallel working directories that share the same Git database. The skill covers the essential commands (add, remove, list, prune) plus practical patterns like comparing implementations side by side, cherry-picking specific commits between worktrees, and maintaining a locked reference checkout of main. The one gotcha: each branch can only be checked out in one worktree at a time, so you can't accidentally work on the same branch in two places.
npx -y skills add neolabhq/context-engineering-kit --skill git-worktrees --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
cursor/plugins
github/awesome-copilot
alirezarezvani/claude-skills
microsoft/win-dev-skills