一键导入
git-wtpr
Opens a GitHub pull request in a git-wt worktree from a PR number or URL. Use when creating or switching to a worktree for a specific PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Opens a GitHub pull request in a git-wt worktree from a PR number or URL. Use when creating or switching to a worktree for a specific PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run a code review using Codex CLI. Use when the user wants a code review of uncommitted changes, a specific commit, or changes against a base branch.
Guides execute-inspect-adjust development and t-wada Red-Green-Refactor TDD. Use for exploratory implementation or when stable behaviour needs an executable test-first contract.
Prevents and handles GitHub API rate limits with gh-nix. Use when Nix, flakes, nixpkgs commands, or comma may fetch GitHub-backed inputs.
Manages worktree lifecycle operations through git-wt without replacing an existing linked worktree. Use when creating, switching, listing, renaming, or deleting worktrees.
Runs the full PR workflow — creates a feature branch, commits, pushes, and opens the pull request. Use when the user asks to create or open a PR ("create a PR", "push this up and open a PR").
Resolves missing CLI tools. Use when a command is unavailable, a shell reports command not found, or a tool must be run without installing it globally.
基于 SOC 职业分类
| name | git-wtpr |
| description | Opens a GitHub pull request in a git-wt worktree from a PR number or URL. Use when creating or switching to a worktree for a specific PR. |
Use git wtpr to create or switch to a worktree checked out at a PR head.
Builds on git-wt — prefer this over gh pr checkout when isolation in a
worktree is needed.
git wtpr <number|url> [git-wt flags...]
Examples:
git wtpr 25
git wtpr https://github.com/owner/repo/pull/3984
Interactive use (with git-wtpr --init fish) cds into the worktree,
same as git wt. Do not pass --nocd unless you only need the path.
Confirm availability with command -v git-wtpr or git-wtpr --help.
gh pr view (number or URL).pull/<n>/head from the remote.git wt on the PR head branch name.main/master, uses pr-<number> instead.--nocd / wt.nocd).Status goes to stderr. The worktree path is the last stdout line.
git wtpr --nocd <pr> — shell cd does not persist across tool
calls, so capture the printed path and use it as the working directory.git branch --show-current and
git status --short.git-wt
skill — git wtpr only opens PR worktrees.git-wt skill for worktree create/switch/delete/renameagents/shared/git-worktrees.md for when not to create a new worktree