superpower-git-worktrees

Set up and manage isolated git worktrees with safety checks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fernandoxavier02/Codex-superpower --skill superpower-git-worktrees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: superpower-git-worktrees
Source: https://github.com/fernandoxavier02/Codex-superpower/tree/main/skills/using-git-worktrees
Command: npx skills add https://github.com/fernandoxavier02/Codex-superpower --skill superpower-git-worktrees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolate feature workspaces by creating dedicated git worktrees, preventing contamination of the main workspace and enabling parallel development.

Core Features & Use Cases

  • Automatic worktree creation with safe directory selection
  • Project-local and global worktree management with safety checks
  • One-step setup and baseline verification for clean starts

Quick Start

Ask your AI to set up an isolated git worktree for a new feature in your repository.

Frequently Asked Questions about superpower-git-worktrees

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

FAQPage Schema
How do I isolate feature development from my main git workspace?

You can isolate feature work by creating dedicated git worktrees, which establish independent working directories for parallel branch progress without contaminating the main workspace environment.

What is a git worktree and when do I need one for branching?

A git worktree is an isolated directory linked to a single repository that allows simultaneous branch work, needed when running parallel feature development or testing without switching contexts in the main workspace.

How do I set up a git worktree for a new feature safely?

Setting up a git worktree safely involves selecting a project-local or global directory, verifying gitignore constraints, and running baseline setup checks to ensure a clean start for your isolated feature work.

Can I manage git worktrees globally across multiple projects?

Yes, you can manage git worktrees globally across multiple projects by applying worktree configurations to global locations, allowing centralized isolation for feature development outside individual project directories.

Does git worktree isolation work without modifying existing branches?

Git worktree isolation works alongside existing branches by creating separate working directories mapped to specific commits, preserving the main workspace state while enabling independent feature progression.