using-git-worktrees

Create isolated Git worktrees with automatic directory selection and safety verification.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/ClyptAI/Clypt-Backend --skill using-git-worktrees-clyptai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/ClyptAI/Clypt-Backend/tree/main/.agents/skills/superpowers/skills/using-git-worktrees
Command: npx skills add https://github.com/ClyptAI/Clypt-Backend --skill using-git-worktrees-clyptai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a safe, automated approach to creating isolated git worktrees so developers can work on feature branches without disturbing the main workspace or current context.

Core Features & Use Cases

  • Automatic directory selection: uses existing hidden .worktrees, project-local worktrees, or a global location based on preferences.
  • Safety verification: ensures new worktrees are ignored by gitignore and verifies a clean baseline before use.
  • Auto-setup and baseline validation: auto-detects project tooling and prepares the environment for a clean starting point.

Quick Start

Tell me to set up an isolated git worktree for a feature branch using the recommended directory and safety checks.

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 isolated git worktrees for parallel feature branches?

Isolated git worktrees allow you to develop multiple branches in parallel without disturbing the main workspace. This approach prevents accidental commits to the main repository by using automatic directory selection and verifying a clean baseline before use.

What is the best way to manage git worktree directories safely?

The best way to manage git worktree directories safely is using automatic selection across hidden .worktrees, project-local, or global locations based on preferences. This ensures new worktrees are properly ignored by gitignore and Verifies a clean baseline.

How does gitignore verification work when adding a new worktree?

Gitignore verification checks that new worktrees are properly ignored by the repository configuration. This safety mechanism prevents the isolated working directory from being accidentally tracked or committed to the main repository.

Can I auto-setup project tooling and environment when creating a git worktree?

Yes, you can auto-setup project tooling and environment when creating a git worktree. The process auto-detects existing tooling and prepares the environment for a clean starting point, including baseline testing to validate the setup.

Does the worktree creation process respect existing project preferences?

Yes, the worktree creation process respects existing preferences from CLAUDE.md. It uses these preferences to determine directory discovery, ignore verification, environment setup, and baseline testing for the isolated workspace.