🔍 Using Git Worktrees

This skill helps you start isolated feature work by creating git worktrees with safe paths, baseline checks, and clean status verification.

QUICK INSTALL
npx playbooks add skill vadimcomanescu/codex-skills --skill using-git-worktrees

Using Git Worktrees instructions

Using Git Worktrees

Create isolated workspaces without disrupting the main working tree.

Quick Start

  1. Choose a worktree root (prefer .worktrees/ if present).
  2. Ensure the worktree path is ignored by git.
  3. Create the worktree for the target branch.
  4. Run project setup and verify clean status.

Guardrails

  • Don’t create worktrees in unignored paths.
  • Keep one branch per worktree.
  • Verify git status is clean before starting work.

References

  • Extended examples: references/examples.md

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.