git-worktree

Create, list, switch, and clean up Git worktrees.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/GuitarAlchemist/ix --skill git-worktree-guitaralchemist
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree
Source: https://github.com/GuitarAlchemist/ix/tree/main/.claude/skills/git-worktree
Command: npx skills add https://github.com/GuitarAlchemist/ix --skill git-worktree-guitaralchemist

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of managing Git worktrees, enabling isolated parallel development with ease.

Core Features & Use Cases

  • Worktree Creation: Create new worktrees from the main branch with clear branch names.
  • Listing and Switching: List and switch between worktrees for parallel work.
  • Cleanup: Clean up completed worktrees automatically.
  • Interactive Interface: Provides an interactive interface following KISS principles.
  • Environment Management: Manages .env file copying from the main repo to new worktrees.
  • Use Case: Ideal for code reviews, feature work, and parallel development scenarios.

Quick Start

Create a new worktree for a feature branch named 'feature-login'.

Frequently Asked Questions about git-worktree

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

FAQPage Schema
How do I manage Git worktrees for isolated parallel development?

Git worktree management for isolated parallel development is handled by creating, listing, switching, and cleaning up worktrees from the main branch with clear names. It provides an interactive interface following KISS principles.

Can I copy .env files automatically when creating new Git worktrees?

Yes, .env file copying from the main repository to new Git worktrees is supported automatically during worktree creation. This ensures proper environment management across isolated branches.

How do I list and switch between Git worktrees for parallel work?

Listing and switching between Git worktrees for parallel work is done through an interactive interface. This allows quick navigation between isolated development branches without stashing changes.

Do I need to set up .gitignore manually for new Git worktrees?

No, automatic .gitignore setup is supported when creating new Git worktrees. This prevents unnecessary files from being tracked in isolated parallel development environments.

What is the best way to clean up completed Git worktrees automatically?

Cleaning up completed Git worktrees automatically is handled by the Skill's cleanup functionality. It removes finished worktrees to maintain a tidy repository structure during parallel development.

Does Git worktree management work outside of an existing Git repository?

No, Git worktree management requires Git and operates strictly within a Git repository context. An existing repository is necessary to create, list, and manage isolated parallel development environments.