git-worktrees

Create and manage git worktrees with baseline verification and cleanup workflows.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ArtemioPadilla/agent-triforce --skill git-worktrees-artemiopadilla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktrees
Source: https://github.com/ArtemioPadilla/agent-triforce/tree/main/.claude/skills/git-worktrees
Command: npx skills add https://github.com/ArtemioPadilla/agent-triforce --skill git-worktrees-artemiopadilla

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees let you isolate feature work from the main repository, preventing accidental changes to the primary workspace.

Core Features & Use Cases

  • Isolated per-feature worktrees to enable parallel development without polluting the main workspace.
  • Baseline verification and cleanup to keep the repository clean and auditable.
  • Subagent isolation: agents can operate within their own worktree contexts to improve safety.

Quick Start

Create a new feature worktree and begin work in its isolated directory.

Frequently Asked Questions about git-worktrees

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

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

Git worktrees isolate feature work into separate directories, enabling parallel development without polluting the main workspace. You can create a new worktree to start implementation and experimentation safely without touching the primary repository baseline.

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

Isolating feature branches is best achieved by creating dedicated git worktrees. This approach keeps your main repository clean and auditable, allowing multiple features to be developed simultaneously in their own isolated directory contexts.

Can I run multiple subagents in isolated git worktrees?

Yes, git worktrees support subagent isolation by allowing agents to operate within their own dedicated worktree contexts. This improves safety by ensuring each agent's operations are contained, preventing accidental changes to the primary workspace.

How do I verify my baseline and clean up git worktrees after feature work?

You can verify your baseline and clean up git worktrees using dedicated workflows with built-in guardrails and safety checks. These workflows ensure the repository remains clean and auditable after completing feature development or safe handoffs.

Do I need any dependencies to manage git worktrees?

No external dependencies are required to manage git worktrees. The process relies on standard git worktree commands to implement creation, baseline verification, and cleanup workflows directly within your existing repository structure.

When should I avoid using git worktrees for branch management?

You should avoid using git worktrees when you do not need parallel development or isolated experimentation. If your workflow only requires simple sequential branch switching within a single directory, the overhead of managing multiple worktree directories may be unnecessary.