← ClaudeAtlas

using-git-worktreeslisted

Use when starting feature work or before executing an implementation plan. Creates an isolated git worktree with smart directory selection and safety checks.
AidALL/ghost-alice · ★ 13 · Code & Development · score 83
Install: claude install-skill AidALL/ghost-alice
# Using Git Worktrees ## Contents - [Overview](#overview) - [Directory Selection Process](#directory-selection-process) - [1. Check for an Existing Directory](#1-check-for-an-existing-directory) - [2. Check CLAUDE.md](#2-check-claudemd) - [3. Ask the User](#3-ask-the-user) - [Safety Verification](#safety-verification) - [Project-Local Directory (.worktrees or worktrees)](#project-local-directory-worktrees-or-worktrees) - [Global Directory (~/.config/coding-convention/worktrees)](#global-directory-configcoding-conventionworktrees) - [Creation Steps](#creation-steps) - [1. Detect the Project Name](#1-detect-the-project-name) - [2. Create the Worktree](#2-create-the-worktree) - [3. Run Project Setup](#3-run-project-setup) - [4. Verify a Clean Baseline](#4-verify-a-clean-baseline) - [5. Report the Location](#5-report-the-location) - [Quick Reference](#quick-reference) - [Common Mistakes](#common-mistakes) - [Skipping Ignore Verification](#skipping-ignore-verification) - [Assuming the Directory Location](#assuming-the-directory-location) - [Proceeding with Failing Tests](#proceeding-with-failing-tests) - [Hardcoding Setup Commands](#hardcoding-setup-commands) - [Example Workflow](#example-workflow) - [Red Flags](#red-flags) - [Integration](#integration) ## Overview A git worktree shares the same repository while creating an isolated workspace, so you can work on multiple branches at the same time without switching your current workspace. Core princ