Triage CI failures and PR review comments using scripts/pr-status.js. Use when investigating failing CI jobs, flaky tests, or PR review feedback. Covers blocker-first prioritization (build > lint > types > tests), CI env var matching for local reproduction, and the Known Flaky Tests distinction.
Resources
2Install
npx skillscat add vercel/next-js/pr-status-triage Install via the SkillsCat registry.
SKILL.md
PR Status Triage
Use this skill when the user asks about PR status, CI failures, or review comments in the Next.js monorepo.
Workflow
- Run
node scripts/pr-status.js(ornode scripts/pr-status.js <number>). - Read generated files in
scripts/pr-status/. - Prioritize blocking jobs first: build, lint, types, then test jobs.
- Treat failures as real until disproven; check the "Known Flaky Tests" section before calling anything flaky.
- Reproduce locally with the same mode and env vars as CI.
Quick Commands
node scripts/pr-status.js
node scripts/pr-status.js <number>Detailed References
- workflow.md - prioritization and common failure patterns
- local-repro.md - mode/env matching and isolation guidance