Agent Skill
2/7/2026

review

Detects all open PRs and spawns reviewer agents for each. Use when starting batch review.

N
ncukondo
0GitHub Stars
1Views
npx skills add ncukondo/search-hub

SKILL.md

Namereview
DescriptionDetects all open PRs and spawns reviewer agents for each. Use when starting batch review.

name: review description: Detects all open PRs and spawns reviewer agents for each. Use when starting batch review.

Batch Review

全てのオープンPRを検出し、レビューエージェントを一括起動します。

Open PRs

!gh pr list --state open --json number,headRefName,title --jq '.[] | "PR #\(.number): \(.title) (\(.headRefName))"' 2>/dev/null

Active Reviewers

!./scripts/monitor-agents.sh 2>/dev/null

Steps

1. Detect Open PRs

gh pr list --state open --json number,headRefName,title

2. Spawn Reviewers

Pane limit: max 4 reviewers (main + 4 reviewers = 5 panes). Before spawning, check current pane count:

tmux list-panes | wc -l  # Must be < 5

If more PRs than available slots, review sequentially — wait for one to finish before spawning the next.

For each PR (parallel, up to pane limit). Worktrees are auto-created:

./scripts/spawn-reviewer.sh --pr <pr-number> &
# ... more PRs ...
wait

Or with explicit branch names:

./scripts/spawn-reviewer.sh <branch-name> <pr-number> --create &

4. Apply Layout

./scripts/apply-layout.sh

5. Start Orchestration

./scripts/orchestrate.sh --background

6. Report

List spawned agents:

  • PR number
  • Branch name
  • Pane ID

Monitor command:

./scripts/monitor-agents.sh --watch

Notes

  • If no open PRs, report that and exit
  • Verify tmux session before spawning
  • Agents autonomously review and post results to GitHub
  • Orchestrator handles transitions after review completion
Skills Info
Original Name:reviewAuthor:ncukondo