·git-worktree
</>

git-worktree

Create a git worktree for the current repository at the same directory level as the project root. This skill automates branch creation, directory naming according to the format project-T-branch, and initial project setup (e.g., dependency installation). Use this when the user wants to work on a new feature or fix without switching their current workspace.

12Installs·0Trend·@hu-wentao

Installation

$npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree

How to Install git-worktree

Quickly install git-worktree AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: hu-wentao/wyatt_skills.

SKILL.md

View raw

This skill allows you to quickly create a new git worktree for the current project. The worktree is created in the same parent directory as the current project's root, following the naming convention PROJECT-NAME-T-BRANCH-NAME.

Crucially, if the user does not respond to a question or provides no alternative, proceed immediately using your suggested values instead of repeating the question. The goal is to minimize friction while allowing for customization.

User: "Create a worktree for this repo." Gemini: "I'll create a new worktree for you. I'll use the branch name feat-wyattskills-260221 based on the current branch main. Is that okay, or would you like a different name?" User: "That's fine." Gemini: [Runs the script and confirms the path /Users/huwentao/proj/wyattskills-T-feat-wyattskills-260221]

Create a git worktree for the current repository at the same directory level as the project root. This skill automates branch creation, directory naming according to the format project-T-branch, and initial project setup (e.g., dependency installation). Use this when the user wants to work on a new feature or fix without switching their current workspace. Source: hu-wentao/wyatt_skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree
Category
</>Dev Tools
Verified
First Seen
2026-02-23
Updated
2026-03-10

Browse more skills from hu-wentao/wyatt_skills

Quick answers

What is git-worktree?

Create a git worktree for the current repository at the same directory level as the project root. This skill automates branch creation, directory naming according to the format project-T-branch, and initial project setup (e.g., dependency installation). Use this when the user wants to work on a new feature or fix without switching their current workspace. Source: hu-wentao/wyatt_skills.

How do I install git-worktree?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/hu-wentao/wyatt_skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-23