manage-worktrees

Manage Git worktrees by listing, inspecting, removing, and navigating them.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sato-dev1234/claude-code-sample --skill manage-worktrees
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-worktrees
Source: https://github.com/sato-dev1234/claude-code-sample/tree/main/skills/manage-worktrees
Command: npx skills add https://github.com/sato-dev1234/claude-code-sample --skill manage-worktrees

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manages Git worktrees efficiently by listing, reporting status, removing, and navigating between worktrees using gwq, reducing manual overhead.

Core Features & Use Cases

  • Create, list, and inspect multiple worktrees for a single repository to support parallel development.
  • Show the status of all worktrees to quickly identify changes and conflicts.
  • Remove and navigate between worktrees safely with prompts to confirm destructive actions.

Use cases include maintaining separate feature branches in isolated worktrees for faster experimentation and clean integration.

Quick Start

List all worktrees for the current repository using gwq.

Frequently Asked Questions about manage-worktrees

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

FAQPage Schema
How do I list all Git worktrees in a repository?

To list Git worktrees, the Skill uses the gwq command to automatically enumerate all working trees for the current repository, reducing manual overhead. This provides a quick overview of active parallel development branches.

How do I navigate between multiple Git worktrees quickly?

You can navigate between Git worktrees using the gwq command integrated by this Skill. It streamlines the process of switching directories across multiple working trees for faster parallel development.

What is the best way to check the status of all Git worktrees?

Checking the status of all Git worktrees is handled by the gwq command through this Skill. It reports the current state of every working tree to help you identify changes and conflicts quickly.

How do I safely remove a Git worktree?

To safely remove a Git worktree, this Skill uses gwq and executes the removal in a controlled workflow. It includes user-guided prompts to confirm destructive actions before pruning.

Do I need gwq installed to manage Git worktrees with this Skill?

Yes, you need gwq installed to manage Git worktrees with this Skill. It ensures the gwq dependency is present before executing any listing, status, removal, or navigation commands.

When do I need to use Git worktrees for parallel development?

Git worktrees are needed when maintaining separate feature branches in isolated directories for a single repository. This approach supports faster experimentation and clean integration without cloning.