pr-status-triage
预览截图
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "pr-status-triage":https://skillpi.com/zh/skills/deepskill-ba1a7b17026f85f40918893b355ec0a184cb9552149d17d826884196707358c2。安装前核对上游来源和版本:https://github.com/vercel/next.js。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
pr-status-triage:使用 scripts/pr-status.js 对 CI 失败和 PR 审查评论进行分级处理。适用于调查失败的 CI 任务、不稳定的测试或 PR 审查反馈。涵盖“阻塞优先”排序(构建 > 代码规范检查 > 类型检查 > 测试)、用于本地复现的 CI 环境变量匹配,以及区分“已知不稳定测试”。元数据:内部使用:true。
介绍来源: third_party · vercel · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 当用户在 Next.js monorepo 中询问 PR 状态, CI 失败,或审查评论时使用此技能 。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
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.
metadata:
internal: truePR 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
node scripts/pr-status.js [PR] --wait # background mode, waits for CI to finish
node scripts/pr-status.js --skip-flaky-check # skip flaky test detection
Thread interaction:
node scripts/pr-status.js reply-thread <threadNodeId> "<body>" # reply to a review thread
node scripts/pr-status.js resolve-thread <threadNodeId> # resolve a review thread
node scripts/pr-status.js reply-and-resolve-thread <threadNodeId> "<body>" # reply and resolve in one step
References
- workflow.md — prioritization, common failure patterns, resolving review threads
- local-repro.md — mode/env matching and isolation guidance
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对 CI 失败和 PR 审查评论的分级处理,解决开发流程中的高频刚需场景
- 提供阻塞优先排序策略,显著提升故障排查效率
亮点
- 触发词精准覆盖 CI 失败、不稳定测试、PR 审查反馈等核心场景
- 边界清晰,避免与其他 Skill 重叠
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
文档结构完整但未显式标注 When to Use 章节
改进建议:建议在 Workflow 前添加 When to Use 章节以提升可读性
-
文档过长 原报告严重程度:轻微
主文档约 400 行,超出理想长度
改进建议:考虑将部分细节移至引用文档或折叠次要信息
亮点
- Workflow 步骤清晰,包含端到端示例和出口条件
- Quick Commands 提供即用型命令模板
亮点
- 工具来源明确,参数正确,覆盖主要异常场景
- 提供重试机制和已知不稳定测试区分,确保执行闭环
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。