worktree

Create, list, switch, and remove Git worktrees for isolated feature development.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/rnqhstmd/oh-my-bakedpotato --skill worktree-rnqhstmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worktree
Source: https://github.com/rnqhstmd/oh-my-bakedpotato/tree/main/.claude/skills/worktree
Command: npx skills add https://github.com/rnqhstmd/oh-my-bakedpotato --skill worktree-rnqhstmd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees enable parallel feature development by mounting multiple independent checkouts from a single repository, reducing main branch churn and merge conflicts.

Core Features & Use Cases

  • Create, list, switch, status, done, and remove worktrees to manage isolated branches.
  • Enforce branch naming conventions and safe deletion with explicit user confirmations.
  • Ideal for multi-team projects requiring clean, concurrent feature development without rebasing main.

Quick Start

Create a new worktree with /worktree create feat/login to begin an isolated feature development.

Frequently Asked Questions about worktree

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

FAQPage Schema
How do I manage Git worktrees for isolated feature development?

Git worktree management involves creating, listing, switching, and removing independent checkouts from a single repository to enable isolated feature development. This approach reduces main branch churn and merge conflicts in multi-team projects.

What is the best way to isolate feature branches without rebasing main?

Using Git worktrees is the best way to isolate feature branches without rebasing main, as it mounts independent checkouts from a single repository. This enables parallel feature development and reduces main branch churn.

How do I create a new Git worktree for a specific feature?

To create a Git worktree, use the create operation with a feature branch name like feat/login. This mounts an isolated checkout for agile feature development without polluting the main repository.

Does Git worktree management support safe deletion of feature branches?

Yes, Git worktree management enforces safe deletion workflows with explicit user confirmations. The done and remove operations ensure branches are validated before deletion to prevent accidental data loss.

When do I need Git worktrees for multi-branch workflows?

Git worktrees are needed for multi-branch workflows across teams when you require clean, concurrent feature development without polluting the main repository. They support parallel development and reduce merge conflicts.

Can I enforce branch naming conventions when creating Git worktrees?

Yes, Git worktree management enforces branch naming conventions during the creation process. This ensures consistent branch management across multi-team projects using isolated checkouts.