← ClaudeAtlas

review-stagedlisted

Walk through staged PR reviews from the task store conversationally — APPROVEs first, then COMMENTs, smallest diff to largest within each. For each PR, present a concise summary and accept owner direction (post, skip, draft, discuss). Use when asked to "drain the staged reviews", "walk through staged reviews", or "what's staged".
app-vitals/shipwright · ★ 6 · Code & Development · score 71
Install: claude install-skill app-vitals/shipwright
# Review Staged Conversational walkthrough of staged reviews. The owner sees one PR at a time and steers each with a verb. No reviews are posted without an explicit "post it". This skill assumes `/shipwright:review` has already staged the reviews into the task store (`staged: true`) and written review files to `state/reviews/PR_REVIEW_{pr}.md` and `state/reviews/pr_review_{pr}.json`. It does **not** review new PRs and does **not** merge anything — merging is handled exclusively by `/shipwright:deploy`. --- ## 1. Load state Fetch staged PR records from the task store for each configured repo: ```bash curl -sf -H "Authorization: Bearer $SHIPWRIGHT_TASK_STORE_TOKEN" \ "$SHIPWRIGHT_TASK_STORE_URL/prs?repo={org}/{repo}&staged=true" | jq -c '.prs[]' ``` For each record, fetch current GitHub metadata (title, additions, deletions, headRefOid, url): ```bash gh pr view {prNumber} --repo {org}/{repo} \ --json number,title,author,headRefName,baseRefName,headRefOid,isDraft,reviews,commits,additions,deletions,url ``` `diffSize` = `additions + deletions`. Treat a record with `reviewState: "approved"` as an APPROVE verdict; `reviewState: "posted"` as a COMMENT verdict. `reviewState: "in_progress"` also maps to COMMENT — backwards compatibility for records staged before the verdict-persist fix (those records had their verdict omitted from the staging PATCH). If no staged records exist across all repos: print `No staged reviews. Run /shipwright:review to stage some.` and stop. R