worktree-manager

Create, list, merge, and clean git worktrees for parallel development.

11|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/brolag/neural-claude-code --skill worktree-manager-brolag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-manager
Source: https://github.com/brolag/neural-claude-code/tree/main/skills/worktree-manager
Command: npx skills add https://github.com/brolag/neural-claude-code --skill worktree-manager-brolag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate and manage multiple git worktrees to enable parallel development and experimentation without polluting the main repository. This approach helps teams run independent Claude Code instances or features side-by-side, while keeping changes isolated and easily mergeable.

Core Features & Use Cases

  • Create, list, merge, and clean worktrees to support parallel feature development.
  • Isolate work from the main branch, allowing multiple Claude Code instances to run concurrently.
  • Safe cleanup and memory initialization per worktree, with controlled merging back to main.
  • Use Case: when starting several features at once or running different CLAUDE contexts for testing.

Quick Start

Create a new worktree for a feature using the /wt-new command.

Frequently Asked Questions about worktree-manager

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

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

Managing git worktrees for parallel development involves creating isolated directory branches so you can work on multiple features simultaneously without polluting the main repository. This Skill automates that process using commands like /wt-new and /wt-list to coordinate branches and directories.

Can I run multiple Claude Code instances concurrently in separate git worktrees?

Yes, you can run multiple Claude Code instances concurrently by isolating each instance in its own git worktree. This Skill creates separate worktrees with independent memory initialization, allowing side-by-side testing and feature development without conflicts.

What is the best way to merge changes from a git worktree back to the main branch?

The best way to merge worktree changes back to the main branch is using the /wt-merge command, which coordinates controlled merging of isolated branch directories. This ensures parallel feature work integrates cleanly without polluting the main repository.

Do I need git installed to automate worktree creation and cleanup?

Yes, you need git installed to automate worktree creation and cleanup. This Skill relies on git's native worktree functionality to execute commands like /wt-new, /wt-list, and /wt-clean for managing parallel development directories and branches.

How does worktree cleanup work when I finish a parallel feature branch?

Worktree cleanup works by using the /wt-clean command to safely remove isolated feature directories after merging is complete. This Skill automates the cleanup process, ensuring stale branches and worktree directories are removed without affecting the main repository.

When should I use parallel git worktrees instead of standard feature branches?

You should use parallel git worktrees instead of standard feature branches when you need to start several features at once or run different Claude contexts for testing side-by-side. Worktrees keep changes isolated in separate directories, preventing branch switching overhead and main repository pollution.