All skills
vercel avatar

/pr-status-triage

@1ae4910 official
by vercelvercel/next.js143k stars
33,550

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.

  • 3 files
  • 6.1 KB
  • Updated 2 weeks ago
  • GitHub

Use this Skill: https://skilld.dev/gh/vercel/next.js/pr-status-triage

This session only. Nothing lands on disk.

workflow.md

≈390 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CI Triage Workflow

Prioritization Order

  1. Build failures
  2. Lint failures
  3. Type failures
  4. Test failures
  5. Review comments (after CI blockers)

Failure Handling Rules

  • Investigate each failing job as if it is caused by the current changes.
  • Do not assume flakiness by default.
  • If the job output has a "Known Flaky Tests" section, use it as historical context, not as automatic dismissal.

Common Patterns

  • rust check / build:
    • Run cargo fmt -- --check
    • Fix with cargo fmt
  • lint / build:
    • Run pnpm prettier --write <file>
    • Run the repo lint command if needed
  • test failures:
    • Run the exact failing test file locally
    • Match dev vs start mode to the CI job

Resolving Review Threads

After addressing a review comment (e.g., making the requested code change), or when you detect the current code already addresses it:

  1. Reply to the thread describing what action was taken:
    node scripts/pr-status.js reply-thread <threadNodeId> "Done -- <description of changes>"
  2. Then resolve the thread:
    node scripts/pr-status.js resolve-thread <threadNodeId>

Or do both in one step:

node scripts/pr-status.js reply-and-resolve-thread <threadNodeId> "Done -- <description of changes>"

The ready-to-use commands with the correct thread IDs are at the bottom of each thread-N.md file in scripts/pr-status/results/.

Important: Always reply with a description of the actions taken before resolving. This gives the reviewer context about what changed.

Source: SKILL.md on GitHub

No third-party reports yet.

Signed by skilld at 1ae4910. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 11 hours ago.

Activeupdated 2 weeks ago
metadata
{
  "internal": true
}

README badge

README badge for vercel/next.js/pr-status-triage