New advertisers: 50% off your first month with code FIRSTMONTHSee slots
vercel avatar

Pr Status Triage

Triage CI failures and PR review feedback in the Next.js monorepo via scripts/pr-status.js, blocker-first.

skills.sh installs
839
GitHub stars
143.6K
last updated
May 16, 2026
View on GitHub

What it does

  • Covers the triage workflow: fetching PR status, reading the results index, handling review threads, and retriggering flaky jobs
  • Includes quick commands for current-branch or numbered PRs, --comments-only, --wait, and --skip-flaky-check, plus thread reply and resolve operations
  • Enforces blocker-first prioritization of build, lint, types, then test jobs, and requires checking the "Known Flaky Tests" section before calling a failure flaky
  • Designed for maintainers reproducing CI failures locally with matching webpack or turbopack modes and environment variables

Install

$ npx -y skills add vercel/next.js --skill pr-status-triage -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PR Status Triage

Use this skill when the user asks about PR status, CI failures, or review comments in the Next.js monorepo.

Workflow

Start by fetching data to answer the user's query:

  • For a targeted question about specific review comments, run node scripts/pr-status.js [PR] --comments-only. This skips all Actions run, job, log, and flaky-test requests.
  • For CI status or general triage, run node scripts/pr-status.js [PR] (no --wait) to snapshot the current state, then start triaging immediately from the jobs that have already finished. Re-fetch on demand as more results land instead of waiting for the whole workflow to complete.
  • Use --wait only when the final run state itself is what you need: confirming an all-green run before handing back, or picking up results after retriggering failed jobs.

Then:

Details

Repository
github.com/vercel/next.js
Categories
Git & Releases, Testing & QA, DevOps & Cloud
First seen
Apr 16, 2026

More from vercel/next.js

All 14

Similar to Pr Status Triage

More Git & Releases