using-git-worktrees

Create isolated git worktrees with directory selection and safety checks.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/bbohhu-prog/waxs --skill using-git-worktrees-bbohhu-prog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/bbohhu-prog/waxs/tree/main/.claude/skills/superpowers/using-git-worktrees
Command: npx skills add https://github.com/bbohhu-prog/waxs --skill using-git-worktrees-bbohhu-prog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees provide isolated workspaces that share the same repository, enabling concurrent feature work without disturbing the main workspace.

Core Features & Use Cases

  • Directory selection follows a clear priority: existing worktrees, CLAUDE.md preference, then user prompt.
  • Safety verification ensures worktrees are ignored by gitignore before creation, preventing accidental commits.
  • Auto-setup and environment preparation supports post-creation setup commands.
  • Clear reporting of the final worktree location and status.

Quick Start

Tell me to set up an isolated git worktree for my feature branch and I will configure it and prepare the project.

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 parallel feature development?

To create an isolated git worktree, this skill enforces directory selection priorities, verifies gitignore safety, and automates environment setup to provide a deterministic workspace sharing your main repository for parallel branch work.

What is the safest way to manage git worktrees without accidental commits?

The safest way to manage git worktrees involves verifying gitignore configurations before creation. This skill performs safety verification to ensure worktrees are properly ignored, preventing accidental commits to your main workspace.

Can I set up automated environment preparation after creating a git worktree?

Yes, you can set up automated environment preparation after creating a git worktree. This skill supports post-creation setup commands to configure your project environment automatically once the isolated workspace is established.

How does directory selection work when initiating multiple git worktrees?

Directory selection for git worktrees follows a strict priority order: existing worktrees first, then CLAUDE.md preferences, followed by user prompts, ensuring deterministic and safe workspace creation for your feature branches.

Why use git worktrees instead of cloning repositories for branch isolation?

Git worktrees provide isolated workspaces that share the same repository, enabling concurrent feature work without cloning overhead. This maintains a protected mainline and reproducible baselines while allowing parallel development across multiple branches.