tool-worktree

Manage git repositories with bare and worktree layouts for parallel branches.

7|3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/eriklieben/agentic-dev-workflow --skill tool-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-worktree
Source: https://github.com/eriklieben/agentic-dev-workflow/tree/main/.claude/skills/tool-worktree
Command: npx skills add https://github.com/eriklieben/agentic-dev-workflow --skill tool-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill solves the context-switching bottleneck in git development by enabling a bare + worktree repository structure, allowing you to work on multiple branches simultaneously in separate directories without stashing or checking out.

Core Features & Use Cases

  • Parallel Development: Manage multiple feature branches as independent directories, keeping your main branch clean and ready for updates.
  • Automated Syncing: Perform bulk rebasing and synchronization across all active worktrees to keep your local environment up-to-date with the remote.
  • Repository Migration: Easily convert standard git clones into the more efficient bare + worktree layout.

Quick Start

Use the tool-worktree skill to add a new worktree for the feature branch named login-fix.

Frequently Asked Questions about tool-worktree

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

FAQPage Schema
How do I work on multiple git branches at the same time without stashing changes?

Git worktree allows you to work on multiple branches simultaneously by creating separate directories. This skill manages a bare and worktree repository structure to facilitate parallel branch development without checking out or stashing.

How do I convert a standard git clone to a bare and worktree layout?

You can migrate standard git clones into a bare and worktree layout using this skill's repository migration features. It converts existing repositories to manage multiple branches as independent directories.

Can I synchronize and rebase all active worktrees with the remote at once?

Yes, this skill supports automated bulk rebasing and synchronization across all active worktrees. It performs branch synchronization to keep your local environment up-to-date with the remote.

Do I need PowerShell to manage git worktrees across CI environments?

Yes, PowerShell is required for path resolution and repository state management. The skill uses it to support repository cloning, worktree creation, and layout migration across local and CI environments.

What is the best way to manage parallel development directories in git?

The bare and worktree pattern is an efficient approach for parallel development, keeping your main branch clean. This skill automates worktree creation and layout migration to manage feature branches as independent directories.