using-git-worktrees

Create isolated Git worktrees with safety checks and setup tasks.

2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/tizee/skills --skill using-git-worktrees-tizee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/tizee/skills/tree/main/superpowers-skills/using-git-worktrees
Command: npx skills add https://github.com/tizee/skills --skill using-git-worktrees-tizee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolate feature work by creating dedicated Git worktrees that share the same repository, keeping the main workspace clean and focused.

Core Features & Use Cases

  • Directory-aware worktree creation in preferred locations (local or global) with automatic safety checks.
  • Automatic project detection, ignore verification, and setup execution to prepare a ready-to-work feature branch.
  • Clear readiness reporting and guided workflows to implement new features without disturbing ongoing work.

Quick Start

Ask me to set up an isolated feature worktree, I will detect the project, create a new worktree in the preferred location, verify ignore rules, run any setup tasks if required, and report readiness before you begin.

Frequently Asked Questions about using-git-worktrees

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

FAQPage Schema
How do I create an isolated Git worktree for feature development?

To create an isolated Git worktree, the Skill auto-detects your project, creates a worktree in your preferred local or global location, verifies ignore rules, runs setup tasks, and reports readiness so you can begin feature work without disturbing your main workspace.

What's the best way to isolate feature branches from my main workspace?

Using Git worktrees is the best way to isolate feature branches because they share the same repository while keeping the main workspace clean, and built-in safety checks prevent accidental commits to the wrong branch during development.

Can I use CLAUDE.md to configure preferred Git worktree locations?

Yes, you can use CLAUDE.md-based preferences to configure where isolated Git worktrees are created, allowing you to specify project-local or global directory locations for consistent feature work isolation across your development workflow.

How do Git worktrees prevent accidental commits to the main branch?

Git worktrees prevent accidental commits through automatic safety checks that validate ignore rules and verify project setup before reporting readiness, ensuring your feature work stays isolated from the main workspace.

Does setting up Git worktrees require manual project detection and configuration?

No, setting up Git worktrees does not require manual project detection because the Skill automatically detects the project, creates the worktree in preferred locations, validates ignore rules, and runs any required setup tasks autonomously.

When should I use Git worktrees instead of cloning a repository?

You should use Git worktrees instead of cloning when you need to isolate feature work while sharing the same repository, keeping the main workspace clean and focused without the overhead of managing multiple full clones.