using-git-worktrees

Create isolated Git worktrees for feature branches with safety checks.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/PlazaCC/antes-da-tela --skill using-git-worktrees-plazacc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-git-worktrees
Source: https://github.com/PlazaCC/antes-da-tela/tree/main/.agents/skills/using-git-worktrees
Command: npx skills add https://github.com/PlazaCC/antes-da-tela --skill using-git-worktrees-plazacc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates creating isolated git workspaces to safely start feature work without affecting the main workspace.

Core Features & Use Cases

  • Determines preferred worktree location (.worktrees or worktrees) following a priority flow.
  • Respects CLAUDE.md preferences and asks when no clear option exists.
  • Performs safety verification to ensure the chosen path is ignored by git.
  • Creates the worktree on the target branch and prepares the project environment.

Quick Start

Request a new isolated git worktree for the current feature branch and switch your working directory to the new worktree.

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 feature development?

To create an isolated Git worktree, the automation detects a preferred directory like .worktrees or worktrees, verifies the path is in gitignore for safety, and sets up the new workspace on your target branch without affecting the main repository.

Why do I need an isolated Git worktree for multi-branch workflows?

You need an isolated Git worktree to safely switch branches and start feature work without disrupting your main workspace, preventing file conflicts and preserving your current development environment during multi-branch workflows.

How does branch management automation handle worktree location preferences?

Branch management automation handles worktree location by checking CLAUDE.md preferences and applying a priority flow to detect .worktrees or worktrees directories, asking for user input only when no clear option exists.

Does Git worktree automation verify that the new workspace is gitignored?

Yes, Git worktree automation performs safety verification to ensure the chosen worktree path is properly ignored by git, preventing the isolated workspace from cluttering your main repository status.

Can I use Git worktrees for bug fixes and experimentation safely?

Yes, you can use Git worktrees for bug fixes and experimentation safely by creating dedicated, isolated workspaces that preserve your main environment, allowing you to test changes without risking your primary branch state.

What is the best way to manage multiple Git branch environments simultaneously?

The best way to manage multiple Git branch environments simultaneously is using automated worktree isolation, which creates safe, dedicated directories for each branch while keeping your main workspace completely preserved and unaffected.