用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mikker/wt --skill wt命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | wt |
| description | Manage Git worktrees with wt. Use to create, switch, list, remove, persist, merge, or ship worktrees. |
Use wt to carry out the requested worktree operation:
wt create <name>. To immediately start a command there,
use wt create <name> -- <command> [args...]. Derive a short,
branch-compatible name from the task when possible; ask for one when the
request has no naming context.wt switch <name>, or wt switch to pick one.wt ls.wt rm [<name>].wt persist.wt done.wt ship.By default, worktrees live in the project-local .wt/worktrees/<name>
directory. wt excludes it through .git/info/exclude, so do not add it to
the project's .gitignore. A project can override the location with
worktrees = <path> in .wt/config; relative paths resolve from the main
checkout.
Projects can also commit executable hooks in .wt/: .wt/create runs in a
new worktree after it is added, with the main checkout's absolute path as
$1; .wt/destroy runs in a worktree before it is removed. Consult
wt help hooks before creating or changing either hook.
When integrating an external tool with successful worktree teardown, consult
wt help events for the opt-in WT_EVENT_HANDLER JSON event contract.
For merge and ship requests, run the command and handle resolvable stops:
git add, git rebase --continue, then re-run the same wt command.Never non-ff merge into trunk. Never push unless the user asked for that
(use wt ship, not a manual git push).
wt --help documents all commands.