using-git-worktrees

Create isolated Git worktrees for feature branches with safety checks.

Updated Dec 30, 2025
One-click install
npx skills add https://github.com/bluefishs/CK_Missive --skill using-git-worktrees-bluefishs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/bluefishs/CK_Missive/tree/main/.claude/skills/_shared/shared/superpowers/using-git-worktrees
Command: npx skills add https://github.com/bluefishs/CK_Missive --skill using-git-worktrees-bluefishs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams start feature work in isolation from the current workspace by creating Git worktrees with guided directory selection and safety verification.

Core Features & Use Cases

  • Create isolated worktrees tied to specific branches to avoid mixing work in the main checkout.
  • Enforce ignore checks and directory preferences to prevent accidental commits of worktree contents.
  • Auto-detect project setup commands (install/build/test) based on detected project files.

Quick Start

Ask me to set up an isolated Git worktree for your current feature branch.

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 a feature branch?

To create an isolated Git worktree, this skill guides directory selection and applies safety verification to separate your feature branch from the main checkout. It ensures a clean baseline without altering your current workspace.

When do I need to use Git worktrees for multi-branch development?

You need Git worktrees for multi-branch development when you require isolated workspaces to separate feature work. Worktrees prevent mixing branches in the main checkout, allowing simultaneous work without switching contexts.

How does this skill ensure safe directory selection when setting up worktrees?

Safe directory selection is enforced through guided preferences and ignore verification. This prevents accidental commits of worktree contents into your main repository, ensuring a safe and clean baseline setup.

Can I auto-detect project setup commands like install and build for my worktree?

Yes, the skill auto-detects project setup commands based on detected project files. It automatically identifies and prepares install, build, and test commands to establish a clean baseline for your isolated worktree.

What is the best way to isolate feature work from my current checkout?

The best way to isolate feature work is creating Git worktrees tied to specific branches. This approach separates feature work from the current checkout, enforcing ignore checks to prevent accidental commits.

Do I need to change my main workspace to work on a different branch?

No, you do not need to change your main workspace. Git worktrees provide isolated workspaces for multi-branch development, allowing you to work on separate features without altering the main checkout.