Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ufomiao/git-worktree
Manage Git worktrees in project-level ../.zcf/project-name/ directory with smart defaults, IDE integration and content migration
Passed 19 of 21 test cases with the skill, and 12 of 21 without it.
and 10 more in the full report
8 fixed12 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
需要新建一个名为 `checkout-flow` 的工作区,如果只指定路径 `checkout-flow` 而不传 `-b` 参数,系统默认会基于哪个基础分支创建,创建出的分支叫什么名字?
| Checked | Without skill | With skill |
|---|---|---|
| uses the path name as the default branch name when `-b` is omitted | Passed | Passed |
| bases the new branch off `main` or `master` by default | Missed | Passed |
The instructions your model reads when the skill loads.
管理 Git worktree,支持智能默认、IDE 集成和内容迁移,使用结构化的 ../.zcf/项目名/ 路径。
直接执行命令并提供简洁结果。
# 基本操作
/git-worktree add <path> # 从 main/master 创建名为 <path> 的新分支
/git-worktree add <path> -b <branch> # 创建指定名称的新分支
/git-worktree add <path> -o # 创建并直接用 IDE 打开
/git-worktree list # 显示所有 worktree 状态
/git-worktree remove <path> # 删除指定的 worktree
/git-worktree prune # 清理无效 worktree 记录
# 内容迁移
/git-worktree migrate <target> --from <source> # 迁移未提交内容
/git-worktree migrate <target> --stash # 迁移 stash 内容
| 选项 | 说明 |
|---|---|
add [<path>] | 在 ../.zcf/项目名/<path> 添加新的 worktree |
migrate <target> | 迁移内容到指定 worktree |
list | 列出所有 worktree 及其状态 |
remove <path> | 删除指定路径的 worktree |
prune | 清理无效的 worktree 引用 |
-b <branch> | 创建新分支并检出到 worktree |
-o, --open | 创建成功后直接用 IDE 打开(跳过询问) |
--from <source> | 指定迁移源路径(migrate 专用) |
--stash | 迁移当前 stash 内容(migrate 专用) |
--track | 设置新分支跟踪对应的远程分支 |
--guess-remote | 自动猜测远程分支进行跟踪 |
--detach | 创建分离 HEAD 的 worktree |
test cases passed, vs 12 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.