| name | pr-status-triage |
| description | 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.
|
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 (or node 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.
- After addressing review comments, reply to the thread describing what was done, then resolve it. See
thread-N.md files for ready-to-use commands.
Quick Commands
node scripts/pr-status.js
node scripts/pr-status.js <number>
Detailed References