pr-status-triage

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

PR Status Triage

PR状态排查

Use this skill when the user asks about PR status, CI failures, or review comments in the Next.js monorepo.
当用户询问Next.js单体仓库中的PR状态、CI失败或评审评论相关问题时,可使用此技能。

Workflow

工作流程

  1. Run
    node scripts/pr-status.js
    (or
    node scripts/pr-status.js <number>
    ).
  2. Read generated files in
    scripts/pr-status/
    .
  3. Prioritize blocking jobs first: build, lint, types, then test jobs.
  4. Treat failures as real until disproven; check the "Known Flaky Tests" section before calling anything flaky.
  5. Reproduce locally with the same mode and env vars as CI.
  1. 运行
    node scripts/pr-status.js
    (或
    node scripts/pr-status.js <编号>
    )。
  2. 查看
    scripts/pr-status/
    目录下生成的文件。
  3. 优先处理阻塞性任务:构建、代码检查、类型检查,最后是测试任务。
  4. 在未被证伪前,将所有失败视为真实问题;在判定任何测试不稳定前,请先查看「已知不稳定测试」部分。
  5. 使用与CI相同的模式和环境变量在本地复现问题。

Quick Commands

快速命令

bash
node scripts/pr-status.js
node scripts/pr-status.js <number>
bash
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
  • workflow.md - 优先级排序与常见失败模式
  • local-repro.md - 模式/环境匹配与隔离指南