git-worktree

Create and manage isolated Git worktrees with a single manager script.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/fro-bot/systematic --skill git-worktree-fro-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree
Source: https://github.com/fro-bot/systematic/tree/main/components/git-worktree
Command: npx skills add https://github.com/fro-bot/systematic --skill git-worktree-fro-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Creates and coordinates isolated Git worktrees to enable parallel feature development and safer code reviews, reducing context switching and merge conflicts.

Core Features & Use Cases

  • Unified management of Git worktrees through a single script
  • Automatic .gitignore updates and environment file handling
  • Support for creating, listing, switching, and cleaning up worktrees across workflows

Quick Start

Create a new worktree from main using the manager script and automatically copy environment files.

Frequently Asked Questions about git-worktree

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

FAQPage Schema
How do I use git worktree for parallel feature development?

Git worktree allows parallel feature development by creating isolated working directories linked to the same repository. This Skill uses a single manager script to coordinate worktree creation, enabling you to switch contexts and develop features simultaneously without constant branch switching.

How do I copy environment files when creating a new git worktree?

Copying environment files into a new git worktree ensures consistent setups across isolated branches. This Skill handles environment file copying automatically during worktree creation, applying necessary configurations immediately so the new working directory is ready for development.

Does git worktree automatically update .gitignore for new branches?

Git worktree requires proper .gitignore management to prevent tracking conflicts across parallel branches. This Skill updates .gitignore automatically when coordinating worktrees, ensuring isolated directories remain clean and properly ignored from the main repository context.

What is the best way to manage multiple git worktrees during code reviews?

Managing multiple git worktrees during code reviews is best handled through a unified script that tracks and switches contexts safely. This Skill coordinates isolated worktrees specifically for safer reviews, allowing you to review branches without disrupting your current feature development.

How do I clean up git worktrees after merging parallel branches?

Cleaning up git worktrees after merging parallel branches removes isolated directories and prevents repository clutter. This Skill supports cleanup scenarios within its workflows, allowing you to safely delete obsolete worktrees and their associated branch references through the manager script.

Can I use a single script to manage all git worktree operations?

Managing all git worktree operations through a single script is exactly what this Skill provides. It coordinates creation, listing, switching, and cleanup across workflows, ensuring environment files are copied and .gitignore is updated automatically for consistent parallel development setups.