一键导入
wt
Manage git worktrees for isolated parallel development
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage git worktrees for isolated parallel development
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Deep interview for a single feature or module brief that produces a final spec or implementation plan.
@nextnode-solutions/logger standards. Reference this skill when a project uses @nextnode-solutions/logger or when logger integration is being added.
Manage n8n workflows on the NextNode automation instance with the local n8n-cli tool.
NextNode brand guidelines — color palette, typography, logo system, and per-project branding rules. Use when doing UI/frontend work on a NextNode project.
NextNode ecosystem hub. Auto-load when working on any NextNode or SaaS project — covers nextnode.toml config, CI workflows, docker-compose rules, and cross-references to package skills.
Audit a NextNode/SaaS project against all NextNode standards — produces a compliance report with pass/fail/missing status for every required item.
| name | wt |
| description | Manage git worktrees for isolated parallel development |
| user-invocable | true |
| argument-hint | <new|switch|clean|list|status> <branch> [-y] |
| allowed-tools | Bash |
Manage git worktrees using the wt shell function. Worktrees provide isolated working directories for parallel development — each worktree has its own branch and working tree, stored in ~/development/worktrees/.
Before running any wt command, verify the function is available:
type wt
If wt is not found, inform the user:
The
wtfunction is not available in your shell. Make sure your zsh functions are loaded.
/wt new <branch> [-y]Create a new worktree for the given branch and cd into it.
wt new <branch-name> -y
~/development/worktrees/<project>-<branch>/-y skips all confirmation prompts (required for automation)/wt switch <branch>Switch to an existing worktree.
wt switch <branch-name>
Already non-interactive when a branch name is provided.
/wt clean <branch...> [-y]Remove one or more worktrees by branch name.
wt clean <branch-name> -y
-y skips the removal confirmation prompt/wt listList all worktrees for the current project.
wt list
/wt statusShow git status for all worktrees.
wt status
Other skills (like /swarm) can use wt via Bash for worktree isolation:
# Create isolated worktree for a feature
wt new feat/<session-name> -y
# ... do work in the worktree ...
# Cleanup after PR creation
wt clean feat/<session-name> -y
The -y flag is essential for automation — it makes all operations fully non-interactive.