using-git-worktrees

Create isolated Git worktrees with safety checks and directory selection.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/tense-i/stock-market-simulator --skill using-git-worktrees-tense-i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/tense-i/stock-market-simulator/tree/main/skills/using-git-worktrees
Command: npx skills add https://github.com/tense-i/stock-market-simulator --skill using-git-worktrees-tense-i

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolate feature work by creating separate Git worktrees that share the same repository, preventing changes to the main workspace while developing.

Core Features & Use Cases

  • Project-local and global worktrees are created with automatic directory selection and safety checks.
  • Directory preference and CLAUDE.md guidance allow predictable workspace locations.
  • Safety verification ensures worktrees are created only after ignoring files are respected, with baseline setup across common language ecosystems.

Quick Start

Create a new isolated git worktree for a feature branch, choosing a preferred location, and verify it is ignored before proceeding.

Frequently Asked Questions about using-git-worktrees

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate feature development work using git worktrees?

Git worktrees isolate feature development by creating separate working directories that share the same repository, preventing changes to the main workspace while you develop concurrently.

What is the safest way to create a git worktree for concurrent branch work?

The safest way to create a git worktree involves running safety verification checks that ensure your ignore files are respected before proceeding with directory selection and worktree creation.

Can I use git worktrees for Node, Rust, Python, and Go project setups?

Yes, you can use git worktrees for Node, Rust, Python, and Go projects, as the creation process includes optional baseline project setup across these common language ecosystems.

How do I set up a global git worktree with automatic directory selection?

Global git worktrees are set up using automatic directory selection based on project-name detection, allowing predictable workspace locations guided by your directory preferences.

Why should I verify gitignore rules before creating a new git worktree?

Verifying gitignore rules before creating a git worktree ensures the worktree directory is properly ignored, preventing accidental tracking of isolated workspace folders in your main repository.