One-click install
npx skills add https://github.com/usadamasa/claude-config --skill git-worktree-usadamasa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree
Source: https://github.com/usadamasa/claude-config/tree/main/dotclaude/skills/git-worktree
Command: npx skills add https://github.com/usadamasa/claude-config --skill git-worktree-usadamasa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the management of Git worktrees, enabling efficient handling of multiple branches simultaneously and streamlining workflows across different development tasks.

Core Features & Use Cases

  • Worktree Management: Create, switch to, list, and delete Git worktrees with simple commands.
  • Shell Integration: Seamlessly integrate git-wt with your shell for enhanced usability.
  • Configuration Options: Customize worktree behavior, including copy settings and post-creation hooks.
  • Use Case: Quickly switch between a feature branch you're developing and a hotfix branch that needs immediate attention without disrupting your current work context.

Quick Start

Use the git-worktree skill to create a new worktree for the 'develop' branch.

Frequently Asked Questions about git-worktree

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

FAQPage Schema
How do I manage multiple Git branches simultaneously without disrupting my current work?

Git worktrees let you manage multiple branches simultaneously without context switching. This Skill uses the git-wt tool to create, switch, list, and remove worktrees, enabling efficient multi-branch development across different tasks without disrupting your current work context.

What is the best way to switch between a feature branch and a hotfix branch in Git?

The best way to switch between a feature branch and a hotfix is using Git worktrees. This Skill leverages the git-wt tool to create isolated worktrees for each branch, allowing you to handle immediate hotfixes without stashing or committing incomplete work on your feature branch.

Do I need to install any external tools to use Git worktrees with this approach?

Yes, you need to install the k1LoW/git-wt tool to use this Git worktree management Skill. It also supports optional shell init scripts that integrate git-wt with your shell to enhance usability and provide a smoother worktree workflow experience.

Can I customize Git worktree behavior like copy settings and post-creation hooks?

Yes, you can customize Git worktree behavior including copy settings and post-creation hooks. This Skill supports configurable options through the git-wt tool, allowing you to tailor worktree creation and management to fit your specific development workflow requirements.

How do I list and delete existing Git worktrees from my repository?

You can list and delete Git worktrees using simple commands provided by the git-wt tool. This Skill streamlines worktree management by supporting these operations along with creation and switching, ensuring your repository worktrees remain organized.