easy-worktree

Manage Git worktrees with the Rust-based wt command.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/igtm/easy-worktree-rs --skill easy-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: easy-worktree
Source: https://github.com/igtm/easy-worktree-rs/tree/main/skills/easy-worktree
Command: npx skills add https://github.com/igtm/easy-worktree-rs --skill easy-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees are powerful but managing them can be error-prone and cumbersome without a clear guide. This skill provides minimal steps and best practices for using the Rust-based wt command to create, switch, and maintain multiple worktrees in the easy-worktree-rs project.

Core Features & Use Cases

  • Minimal, repeatable workflows: Initialize, create, switch, and clean worktrees with consistent commands.
  • Two-letter aliases and shortcuts: Shorten frequent actions for rapid daily development.
  • Practical usage patterns: Real-world scenarios like feature development in parallel, stash-driven context switching, PR-based environments, and bare-repo workflows.

Quick Start

Initialize the repository with wt in, create a feature worktree with wt ad feature-123, switch to it with wt se feature-123, and then exit.

Frequently Asked Questions about easy-worktree

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

FAQPage Schema
How do I manage Git worktrees without running into errors?

Manage Git worktrees safely using a guided set of CLI commands with safe defaults. This approach standardizes initialization, creation, and removal to prevent manual errors during feature branch workflows.

What is the best way to switch between feature branches using worktrees?

The best way to switch feature branches is using stash-driven context switching with two-letter aliases. This enables rapid creation and switching across parallel worktrees without disrupting your current development environment.

Can I use Git worktrees with a bare repository?

Yes, Git worktrees fully support bare-repo scenarios. The workflow provides specific commands and practical patterns to manage multiple branches directly from a bare repository for reproducible development.

How do I create a worktree for a pull request environment?

Create a worktree for a PR environment using the wt command to add and switch to a feature-branch. This isolates PR code in a dedicated directory, allowing you to review and test changes independently.

How do I clean up and remove unused Git worktrees?

Clean up and remove unused Git worktrees using explicit CLI commands for removal and cleaning. These safe defaults ensure reproducible development by safely deleting stale worktrees and associated branches.