← ClaudeAtlas

merge-reviewlisted

Review one or more open PRs across WRFCoin repos. For each PR: read the linked issue, review the diff, check CI, post a structured review comment, then merge or request changes. Use when the user says "review PR", "check this PR", "review and merge", "merge PR #N", or pastes a PR URL.
wrfcoin/agent-orchestration · ★ 0 · Code & Development · score 72
Install: claude install-skill wrfcoin/agent-orchestration
# PR Review Review open PRs against their linked GitHub issues. Post structured findings before any merge decision. ## Workflow ### 1. Gather PR details ```bash gh pr view <num> --repo wrfcoin/<repo> \ --json url,state,mergeStateStatus,files,commits,statusCheckRollup,body,reviews gh pr diff <num> --repo wrfcoin/<repo> gh issue view <issue-num> --repo wrfcoin/<repo> --json title,body ``` ### 2. Notify the issue ```bash gh issue comment <issue-num> --repo wrfcoin/<repo> --body \ "Merge-manager reviewing PR #<pr-num> for this issue. Will post findings shortly." ``` ### 3. Codex review wait-gate (MANDATORY for enabled repos) Codex-enabled repos: **core4, infra, frontend, backend**. (mobile, storage-providers, defi-protocols, security-testing, smart-contracts do NOT have codex auto-review configured — skip the gate there.) For any PR in an enabled repo: ```bash REPO=<repo>; PR=<num> # Codex triggers on "ready for review" state �� if the PR is draft, flip # it first (`gh pr ready $PR --repo wrfcoin/$REPO`). Then wait up to 120s # for a review to land against the current HEAD. HEAD_SHA=$(gh api repos/wrfcoin/$REPO/pulls/$PR --jq '.head.sha') deadline=$((SECONDS + 120)) while [[ $SECONDS -lt $deadline ]]; do latest=$(gh api repos/wrfcoin/$REPO/pulls/$PR/reviews \ --jq '[.[] | select(.user.login | contains("codex"))][-1] // {}') latest_commit=$(echo "$latest" | jq -r '.commit_id // ""') if [[ "$latest_commit" == "$HEAD_SHA" ]]; then echo "codex reviewed HE