What problem does it solve? Feature work done directly in a shared checkout risks polluting the current branch, mixing unrelated changes, and breaking the user's working state. This Skill guarantees that implementation work happens in an isolated workspace before any code changes begin. ## Core Features & Use Cases - Isolation Detection: Detects whether the agent is already inside a linked worktree or a git submodule before creating anything, preventing nested worktrees. - Native Tool Preference: Uses platform-native worktree tools (e.g., EnterWorktree) when available, falling back to manual git worktree add only when no native tool exists. - Safe Directory Selection: Follows a priority order for worktree placement (existing .worktrees/, legacy global path, declared preference, default) and verifies the directory is git-ignored before creation. - Baseline Verification: Runs project-appropriate tests (npm, cargo, pytest, go) to confirm a clean starting state and reports failures before proceeding. - Use Case: Before implementing a new feature branch, an agent checks for existing isolation, creates .worktrees/my-feature, runs the test suite, and reports a clean baseline ready for development. ## Quick Start Use the using-git-worktrees skill to set up an isolated workspace before starting this feature implementation.