pr-status-triage
Installation
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 --waitin the background (timeout 1 min), then readscripts/pr-status/results/index.md. - Analyze each
job-{id}.mdandthread-{N}.mdfile inscripts/pr-status/results/for failures and review feedback. - 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. Use
reply-and-resolve-threadto do both in one step, or usereply-thread+resolve-threadseparately. Seescripts/pr-status/results/thread-N.mdfiles for ready-to-use commands. - When the only remaining failures are known flaky tests and no code changes are needed, retrigger the failing CI jobs with
gh run rerun <run-id> --failed. Then wait 5 minutes and go back to step 1. Repeat this loop up to 5 times.
Quick Commands
node scripts/pr-status.js # current branch PR
node scripts/pr-status.js <number> # specific PR
Related skills
More from vercel/next.js
update-docs
This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
2.4Kauthoring-skills
>
982runtime-debug
>
949react-vendoring
>
909flags
>
867dce-edge
>
810