一键导入
review
Checkout a review issue's branch for IDE diff review
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checkout a review issue's branch for IDE diff review
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Register a problem as a viban issue
Approve a reviewed issue — merge branch, cleanup worktree, mark done
Assign first backlog issue and resolve it through to review
Assign and resolve multiple independent backlog issues in parallel using git worktrees and coordinated agents
Reject a reviewed issue — return to in_progress with feedback
Install viban dependencies and configure project workflow via interview
| name | review |
| description | Checkout a review issue's branch for IDE diff review |
Checkout a review-status issue's branch into the main worktree so the user can review all changes as staged diffs in their IDE.
CLI only (no direct viban.json access)
Input: $ARGUMENTS (optional: issue ID)
If $ARGUMENTS contains an issue ID, use it. Otherwise find the first review card:
viban list --status review
If no review cards exist, tell the user and exit.
Extract the issue ID. Store as $ID.
viban get $ID
Show the user a one-line summary: #ID [PRIORITY] Title.
BRANCH="issue-$ID"
WT_DIR="$PWD/.viban/worktrees/$ID"
If worktree exists, detach it to free the branch:
[ -d "$WT_DIR" ] && git -C "$WT_DIR" checkout --detach 2>/dev/null
git status --porcelain
If dirty, ask user with AskUserQuestion:
git stash push -m "viban-review: before #$ID"git add -A && git commit -m "viban-review: temp commit before #$ID"If clean, proceed directly.
git checkout --detach "$BRANCH"
git reset --soft main
This checks out the branch's commit without moving the branch pointer. Now all changes appear as staged diffs in the IDE, and the $BRANCH ref stays intact.
PR_INFO=$(gh pr list --head "$BRANCH" --json number,url --jq '.[0]' 2>/dev/null)
Tell the user:
Reviewing #$ID — all changes are staged in your IDE.
{PR #N: <url> if PR exists}
Run /viban:approve $ID or /viban:reject $ID when ready.
Done. Do not wait for user input. The skill exits here.
| Command | Description |
|---|---|
viban list --status review | List review-status issues |
viban get <id> | View issue details |