·git-worktree
</>

git-worktree

在與專案根目錄相同的目錄層級為目前儲存庫建立一個 git 工作樹。此技能可自動建立分支、根據專案-T-分支格式命名目錄以及初始專案設定(例如,依賴項安裝)。當使用者想要在不切換目前工作空間的情況下處理新功能或修復時,請使用此功能。

12安裝·0熱度·@hu-wentao

安裝

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

如何安裝 git-worktree

透過命令列快速安裝 git-worktree AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:hu-wentao/wyatt_skills。

SKILL.md

查看原文

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]

在與專案根目錄相同的目錄層級為目前儲存庫建立一個 git 工作樹。此技能可自動建立分支、根據專案-T-分支格式命名目錄以及初始專案設定(例如,依賴項安裝)。當使用者想要在不切換目前工作空間的情況下處理新功能或修復時,請使用此功能。 來源:hu-wentao/wyatt_skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree
分類
</>開發工具
認證
收錄時間
2026-02-23
更新時間
2026-03-10

Browse more skills from hu-wentao/wyatt_skills

快速解答

什麼是 git-worktree?

在與專案根目錄相同的目錄層級為目前儲存庫建立一個 git 工作樹。此技能可自動建立分支、根據專案-T-分支格式命名目錄以及初始專案設定(例如,依賴項安裝)。當使用者想要在不切換目前工作空間的情況下處理新功能或修復時,請使用此功能。 來源:hu-wentao/wyatt_skills。

如何安裝 git-worktree?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/hu-wentao/wyatt_skills --skill git-worktree 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

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

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-23