一键导入
jackin-checkout-pr
Switches the current jackin❯ repo onto a pull request's branch via gh pr checkout, guarding the working tree first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Switches the current jackin❯ repo onto a pull request's branch via gh pr checkout, guarding the working tree first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Turns a jackin❯ roadmap item's intent into concrete design decisions through freeform discussion, written into its
Opens a pull request for a small jackin❯ change with the correct body shape and auto-selected verify-locally blocks.
Distills a jackin❯ roadmap item — plus optional plan files — into a self-contained /goal prompt capped at 4000 characters.
Runs the jackin❯ pre-merge gate, retires the roadmap item into docs, and squash-merges a pull request.
Opens a jackin❯ feature or idea as a roadmap item draft plus an early PR; never writes code.
Reconciles an open jackin❯ pull request's title and body against the current diff — regenerates the Verify-locally block selection and rewrites prose that has drifted.
| name | jackin-checkout-pr |
| description | Switches the current jackin❯ repo onto a pull request's branch via gh pr checkout, guarding the working tree first. |
| argument-hint | <PR number | URL | branch> |
| disable-model-invocation | true |
Switch the working repo onto a PR's branch via gh pr checkout. Accepts a number, URL, or branch name.
Resolve to a PR number. Number or URL → pass to gh pr checkout directly. Branch name → gh pr list --head <branch> --state all --json number -q '.[0].number'; no match → STOP, do not fall back to raw git checkout.
Guard the working tree. git status --porcelain — if dirty, STOP and ask the operator to commit, stash, or discard first. Never auto-stash. Note git branch --show-current (the way back).
Check the PR is open. gh pr view <N> --json state,headRefName. MERGED or CLOSED → warn (the branch may be stale) and confirm before proceeding.
Switch. gh pr checkout <N>. Verify git branch --show-current matches headRefName.
Report. Switched from <old> to <headRefName> (PR #N). Way back: git switch <old>.