worktree

Automate Git worktree creation, cleanup, and synchronization for feature branches.

1|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/wizact/dotclaude --skill worktree-wizact
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/wizact/dotclaude/tree/main/wizact-marketplace/plugins/wizact-dev-essentials/skills/worktree
Command: npx skills add https://github.com/wizact/dotclaude --skill worktree-wizact

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of Git worktrees, automating the creation, cleanup, and synchronization of feature branches, thereby reducing manual Git operations and preventing common workflow errors.

Core Features & Use Cases

  • Feature Branch Workflow: Easily create new worktrees for isolated feature development.
  • Post-Merge Cleanup: Automatically remove worktrees and branches once features are merged.
  • Synchronization: Keep your main development branch up-to-date with remote changes.
  • Status Overview: Get a clear view of all active worktrees and their status.

Quick Start

Use the worktree skill to create a new feature branch named 'feat/user-profile'.

Frequently Asked Questions about worktree

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

FAQPage Schema
How do I create a Git worktree for isolated feature development?

Creating a Git worktree for isolated feature development is automated by this Skill, which manages the creation of new feature branches and their associated worktrees to ensure a streamlined development workflow.

What is the best way to clean up merged Git worktrees and branches?

The best way to clean up merged Git worktrees is using this Skill's automated post-merge cleanup, which removes the worktree and its corresponding branch once a feature is successfully merged.

How can I synchronize my main development branch with remote changes?

You can synchronize your main development branch with remote changes using this Skill's built-in synchronization feature, which automatically updates your main branch to keep your repository current.

How do I get an overview of all active Git worktrees and their status?

To get an overview of all active Git worktrees and their status, this Skill provides a status overview command that lists every active worktree and tracks its current state within your development workflow.

Do I need a specific repository configuration to use Git worktree automation?

Yes, Git worktree automation requires repositories configured for Git worktrees, ensuring isolated development environments can be properly established and managed without manual directory setup.

Why should I use Git worktrees instead of standard branch switching?

Git worktrees provide isolated development environments for each feature branch, preventing workflow errors from manual branch switching and allowing simultaneous work on multiple branches without stashing changes.