worktree-manager

Manages Git worktrees with create, switch, list, merge, remove workflows and Worktrunk dependency.

2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/jtsang4/efficient-coding --skill worktree-manager-jtsang4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree-manager
Source: https://github.com/jtsang4/efficient-coding/tree/main/skills/worktree-manager
Command: npx skills add https://github.com/jtsang4/efficient-coding --skill worktree-manager-jtsang4

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a streamlined approach to managing Git worktrees, allowing users to create, switch, list, merge, and remove worktrees safely, ensuring parallel development and cleanups without losing uncommitted work.

Core Features & Use Cases

  • Worktree Management: Create, switch, list, merge, and remove Git worktrees.
  • Safe Operations: Ensures all operations are safe and avoid destructive flags unless explicitly requested.
  • Guardrails: Implements guardrails for safety checks before merges or removals.
  • Workflow: Offers a decision tree for different user requests and potential issues.
  • Quick Start: Use the wt command to manage your Git worktrees with minimal setup.

Quick Start

Run the wt switch command to switch to a specific worktree.

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 development without losing uncommitted work?

You can manage Git worktrees for parallel development by using the `wt` command, which provides a structured decision tree to safely create, switch, list, merge, and remove worktrees without losing uncommitted work.

What is the safest way to remove a Git worktree?

The safest way to remove a Git worktree is through built-in guardrails that perform safety checks before removal, avoiding destructive flags unless explicitly requested to prevent accidental data loss.

Do I need to install Worktrunk before managing Git worktrees with this Skill?

Yes, you need to install Worktrunk before using this Skill, as it requires the Worktrunk dependency to enable full functionality for its Git worktree management operations.

How do I switch to a specific Git worktree quickly?

To switch to a specific Git worktree quickly, run the `wt switch` command, which allows you to transition between worktrees with minimal setup required.

Can I merge Git worktrees safely without encountering errors?

You can merge Git worktrees safely because the Skill implements guardrails for safety checks before merges and operates within a decision tree to handle potential user requests and errors.

What should I do if my Git worktree management hits a wall or anticipates edge cases?

If your Git worktree management hits a wall, the Skill operates within a structured decision tree to handle potential issues and errors, ensuring safe operations by avoiding destructive flags unless explicitly requested.