一键导入
git-worktree
Create a git worktree in a peer directory using the plugin worktree script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a git worktree in a peer directory using the plugin worktree script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
| name | git-worktree |
| description | Create a git worktree in a peer directory using the plugin worktree script. |
Resolve <plugin-root> before running plugin scripts:
${CLAUDE_PLUGIN_ROOT}.skills/git-worktree/SKILL.md file.Use the user-provided argument as a kebab-case branch name. If it is not already kebab-case, derive a short kebab-case name from it.
From the repository root, run:
<plugin-root>/scripts/worktree.sh <branch-name>
If the command fails, stop and summarize the error.
If it succeeds, report the created worktree path. Open a new terminal tab only if the user explicitly asks.