with one click
approve
Approve a reviewed issue — merge branch, cleanup worktree, mark done
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Approve a reviewed issue — merge branch, cleanup worktree, mark done
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Register a problem as a viban issue
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
Checkout a review issue's branch for IDE diff review
Install viban dependencies and configure project workflow via interview
| name | approve |
| description | Approve a reviewed issue — merge branch, cleanup worktree, mark done |
Approve a review-status issue after IDE review. Merges the branch, removes the worktree, and marks the card done.
CLI only (no direct viban.json access)
Input: $ARGUMENTS (required: issue ID)
viban get $ID
Confirm the issue is in review status. If not, tell the user and exit.
BRANCH="issue-$ID"
WT_DIR="$PWD/.viban/worktrees/$ID"
Detached HEAD from /viban:review — branch is intact, just switch back:
git checkout main
PR_NUM=$(gh pr list --head "$BRANCH" --json number --jq '.[0].number' 2>/dev/null)
If PR found:
gh pr merge "$PR_NUM" --squash --delete-branch
git pull origin main
git merge "$BRANCH" --no-ff -m "Merge issue-$ID: <title>"
git branch -d "$BRANCH"
If merge conflicts: help user resolve.
Nothing to merge. Proceed to Step 4.
[ -d "$WT_DIR" ] && git worktree remove "$WT_DIR" --force 2>/dev/null
viban done $ID
Check for stash:
STASH=$(git stash list | grep "viban-review: before #$ID" | head -1 | cut -d: -f1)
[ -n "$STASH" ] && git stash pop "$STASH"
Check for temp commit:
TEMP=$(git log --oneline -1 | grep "viban-review: temp commit before #$ID")
[ -n "$TEMP" ] && git reset HEAD~1
Report: "Issue #$ID approved and merged."
| Command | Description |
|---|---|
viban get <id> | View issue details |
viban done <id> | Mark issue as done |