using-git-worktrees

Create isolated Git worktrees and set up project environments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Isolates feature work by creating reproducible, separate git worktrees so changes stay isolated from the main workspace and reduce the risk of broken builds.

Core Features & Use Cases

  • Directory discovery and selection for project-local (.worktrees or worktrees) or global locations with safety checks
  • Automatic creation of a new worktree and switching context to the isolated environment
  • Auto-setup of the project environment (dependencies/tools) based on common project files to ensure a clean baseline

Quick Start

Create an isolated git worktree for the current project and automatically set up the appropriate environment

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 my project?

To create an isolated git worktree, this Skill automates directory discovery, verifies ignore rules, creates the worktree, and runs standard environment setup commands based on your specific toolchain.

What is the best way to isolate feature work from my main workspace?

Isolating feature work is best achieved by creating reproducible git worktrees, which safely separate changes from the main workspace and reduce the risk of broken builds.

Does git worktree auto-setup work with Node.js, Rust, Python, and Go projects?

Yes, git worktree auto-setup supports Node.js, Rust, Python, and Go projects by detecting common project files and automatically running the appropriate environment setup commands.

Can I set up git worktrees in a global location instead of project-local?

Yes, you can set up git worktrees in global locations or project-local directories like .worktrees, with the Skill handling directory discovery and applying safety checks.

Why do I need to verify ignore rules before creating a worktree?

Verifying ignore rules before creating a worktree ensures that the isolated environment correctly excludes unnecessary files, maintaining a clean baseline for your feature work.