Worktree

Create a new git worktree on a new branch (off the repo's default branch unless another base is stated) and switch to working inside it for the rest of the session. Use this skill whenever the user asks to "create a worktree", "new worktree", "spin up a worktree", "work from a fresh worktree/branch", "branch off main/master and work from it", or otherwise wants isolated work that must not touch the root checkout. Also covers what a fresh worktree is missing before tests, dev servers, or docker-compose stacks will run from it.

mzvonar Updated

File contents

mzvonar/claude-skills-public/tree/main/plugins/dev-tools/skills/worktree commit 9befc40703

Frequently asked questions

npx skillmds@latest add mzvonar/worktree