vcpkg PR 批量审查
review-vcpkg-prs-today
审查 microsoft/vcpkg 仓库中最近 30 天内更新的、开放的、非草稿状态的 pull request。当被要求进行批量分类、按 PR 生成审查报告、按审查结论分组生成索引,或将修改同一 port 的竞争性 PR 归纳分组时使用。
- License 许可
- MIT
- 所属仓库
- microsoft/vcpkg
- 最近更新
- 2026-11-14
- Stars
- ★ 2.8w
- Forks
- 7.8k
01 前言 Front Matter
- name
- review-vcpkg-prs-today
- description
- Review open non-draft microsoft/vcpkg pull requests updated in the last 30 days. Use when asked for batch triage, per-PR review reports, an index grouped by verdict, or grouping competing PRs that modify the same port.
- disable-model-invocation
- true
02 资源文件 82
- 参考文档canvas-fonts/ArsenalSC-OFL.txt4.3 KB
- 资产文件canvas-fonts/ArsenalSC-Regular.ttf162.0 KB
- 资产文件canvas-fonts/BigShoulders-Bold.ttf92.3 KB
- 参考文档canvas-fonts/BigShoulders-OFL.txt4.3 KB
- 资产文件canvas-fonts/BigShoulders-Regular.ttf92.2 KB
- 参考文档canvas-fonts/Boldonse-OFL.txt4.3 KB
- 资产文件canvas-fonts/Boldonse-Regular.ttf75.4 KB
- 资产文件canvas-fonts/BricolageGrotesque-Bold.ttf88.8 KB
- 参考文档canvas-fonts/BricolageGrotesque-OFL.txt4.3 KB
- 资产文件canvas-fonts/BricolageGrotesque-Regular.ttf88.8 KB
- 资产文件canvas-fonts/CrimsonPro-Bold.ttf104.8 KB
- 资产文件canvas-fonts/CrimsonPro-Italic.ttf106.3 KB
- 参考文档canvas-fonts/CrimsonPro-OFL.txt4.3 KB
- 资产文件canvas-fonts/CrimsonPro-Regular.ttf104.2 KB
- 参考文档canvas-fonts/DMMono-OFL.txt4.3 KB
- 资产文件canvas-fonts/DMMono-Regular.ttf47.7 KB
- 参考文档canvas-fonts/EricaOne-OFL.txt4.3 KB
- 资产文件canvas-fonts/EricaOne-Regular.ttf24.3 KB
- 资产文件canvas-fonts/GeistMono-Bold.ttf76.5 KB
- 参考文档canvas-fonts/GeistMono-OFL.txt4.3 KB
- 资产文件canvas-fonts/GeistMono-Regular.ttf76.4 KB
- 参考文档canvas-fonts/Gloock-OFL.txt4.3 KB
- 资产文件canvas-fonts/Gloock-Regular.ttf92.9 KB
- 资产文件canvas-fonts/IBMPlexMono-Bold.ttf132.8 KB
- 参考文档canvas-fonts/IBMPlexMono-OFL.txt4.3 KB
- 资产文件canvas-fonts/IBMPlexMono-Regular.ttf130.7 KB
- 资产文件canvas-fonts/IBMPlexSerif-Bold.ttf157.2 KB
- 资产文件canvas-fonts/IBMPlexSerif-BoldItalic.ttf165.9 KB
- 资产文件canvas-fonts/IBMPlexSerif-Italic.ttf166.0 KB
- 资产文件canvas-fonts/IBMPlexSerif-Regular.ttf156.6 KB
- 资产文件canvas-fonts/InstrumentSans-Bold.ttf66.5 KB
- 资产文件canvas-fonts/InstrumentSans-BoldItalic.ttf68.4 KB
- 资产文件canvas-fonts/InstrumentSans-Italic.ttf68.3 KB
- 参考文档canvas-fonts/InstrumentSans-OFL.txt4.3 KB
- 资产文件canvas-fonts/InstrumentSans-Regular.ttf66.4 KB
- 资产文件canvas-fonts/InstrumentSerif-Italic.ttf69.2 KB
- 资产文件canvas-fonts/InstrumentSerif-Regular.ttf67.7 KB
- 参考文档canvas-fonts/Italiana-OFL.txt4.3 KB
- 资产文件canvas-fonts/Italiana-Regular.ttf26.5 KB
- 资产文件canvas-fonts/JetBrainsMono-Bold.ttf112.1 KB
- 参考文档canvas-fonts/JetBrainsMono-OFL.txt4.3 KB
- 资产文件canvas-fonts/JetBrainsMono-Regular.ttf112.2 KB
- 资产文件canvas-fonts/Jura-Light.ttf150.7 KB
- 资产文件canvas-fonts/Jura-Medium.ttf150.9 KB
- 参考文档canvas-fonts/Jura-OFL.txt4.3 KB
- 参考文档canvas-fonts/LibreBaskerville-OFL.txt4.3 KB
- 资产文件canvas-fonts/LibreBaskerville-Regular.ttf144.1 KB
- 资产文件canvas-fonts/Lora-Bold.ttf130.7 KB
- 资产文件canvas-fonts/Lora-BoldItalic.ttf137.0 KB
- 资产文件canvas-fonts/Lora-Italic.ttf136.1 KB
- 参考文档canvas-fonts/Lora-OFL.txt4.3 KB
- 资产文件canvas-fonts/Lora-Regular.ttf130.8 KB
- 资产文件canvas-fonts/NationalPark-Bold.ttf77.4 KB
- 参考文档canvas-fonts/NationalPark-OFL.txt4.3 KB
- 资产文件canvas-fonts/NationalPark-Regular.ttf74.6 KB
- 参考文档canvas-fonts/NothingYouCouldDo-OFL.txt4.3 KB
- 资产文件canvas-fonts/NothingYouCouldDo-Regular.ttf31.3 KB
- 资产文件canvas-fonts/Outfit-Bold.ttf54.1 KB
- 参考文档canvas-fonts/Outfit-OFL.txt4.3 KB
- 资产文件canvas-fonts/Outfit-Regular.ttf53.6 KB
- 资产文件canvas-fonts/PixelifySans-Medium.ttf49.9 KB
- 参考文档canvas-fonts/PixelifySans-OFL.txt4.3 KB
- 参考文档canvas-fonts/PoiretOne-OFL.txt4.3 KB
- 资产文件canvas-fonts/PoiretOne-Regular.ttf44.2 KB
- 资产文件canvas-fonts/RedHatMono-Bold.ttf33.6 KB
- 参考文档canvas-fonts/RedHatMono-OFL.txt4.3 KB
- 资产文件canvas-fonts/RedHatMono-Regular.ttf33.7 KB
- 参考文档canvas-fonts/Silkscreen-OFL.txt4.3 KB
- 资产文件canvas-fonts/Silkscreen-Regular.ttf31.2 KB
- 资产文件canvas-fonts/SmoochSans-Medium.ttf58.3 KB
- 参考文档canvas-fonts/SmoochSans-OFL.txt4.3 KB
- 资产文件canvas-fonts/Tektur-Medium.ttf74.5 KB
- 参考文档canvas-fonts/Tektur-OFL.txt4.3 KB
- 资产文件canvas-fonts/Tektur-Regular.ttf73.8 KB
- 资产文件canvas-fonts/WorkSans-Bold.ttf186.8 KB
- 资产文件canvas-fonts/WorkSans-BoldItalic.ttf171.7 KB
- 资产文件canvas-fonts/WorkSans-Italic.ttf170.2 KB
- 参考文档canvas-fonts/WorkSans-OFL.txt4.3 KB
- 资产文件canvas-fonts/WorkSans-Regular.ttf184.5 KB
- 参考文档canvas-fonts/YoungSerif-OFL.txt4.3 KB
- 资产文件canvas-fonts/YoungSerif-Regular.ttf102.7 KB
- 许可证LICENSE.txt11.1 KB
03 SKILL.md 正文
Inputs
| Input | Required | Meaning |
|---|---|---|
investigation-root |
No | Directory for workspaces and intermediate artifacts: sources, builds, installs, logs, and examples. If omitted, infer a short same-drive path when clear; otherwise ask. Never use the Copilot session directory or an arbitrary long temp path. |
review-depth |
No | One of no-examples, examples, or examples-and-patches. Default to no-examples. |
Example invocations
/review-vcpkg-prs-today investigation-root D:/vcpkg-prs/review-vcpkg-prs-today review-depth examples/review-vcpkg-prs-today investigation-root D:/vcpkg-prs and review-depth examples
Procedure
- Before changing directories, resolve
investigation-root,reviews/, and.github/skills/shared/review-vcpkg-pr-guide.mdagainst the caller's original directory to absolute paths. Keep the resolved reviews directory asreviews-root; never rebase it onto a worker's workspace. - Discover candidates using GitHub search (
gh apior the Search API), not the generic pulls list:repo:microsoft/vcpkg is:pr is:open draft:false updated:>=<today minus 30 days>. Prefer authentication viaghorGITHUB_TOKENto avoid low unauthenticated limits. - Fetch each candidate's changed files; identify ports from
ports/<portname>/. - Prepare isolated workspaces as below. Review every candidate independently with a
general-purposeworker using its default high-capability model; do not override it with a fast or lightweight model. Require it to read the entire guide and follow every instruction. Group competition only in the final index. Pass each worker:- PR number (
{{PR_NUMBER}}). - Selected
review-depth. - Absolute workspace and worker-local
investigation-root. - Absolute
{{REPORT_DIR}}(pr-{{PR_NUMBER}}underreviews-root). - Absolute guide path.
- PR number (
- Write each report when completed. Write
index.mdlast from the final per-PR results and port-specific competition groups.
Parallel execution safety
- Give each concurrent worker its own writable detached worktree or equivalent detached-HEAD workspace and intermediate artifacts under
investigation-root. Never share a writable repository path between workers. - Create all isolated workspaces before launching workers. Copy the caller's
vcpkg.exe(Windows) orvcpkg(non-Windows) into each workspace root. - Use the caller's working tree only when exactly one worker is active and the user explicitly allows it.
- If
VCPKG_DOWNLOADSis already nonempty, preserve it for all workers and review commands. Use that shared directory only through vcpkg; never clean or delete it. Otherwise, do not set it.
index.md content
index.md must include:
- Coverage summary, including how many PRs were reviewed, skipped, or failed.
- PRs grouped by the shared guide's verdicts:
approve,approve-with-notes,request-changes, andunknown, with relative links to their reports. - Competing PRs grouped only by the specific modified ports they share.
- PRs with no touched
ports/<portname>/entries. - PRs that failed to review, with a short reason instead of silently omitting them.
Required output layout
Write only final deliverables under the fixed reviews-root, not under investigation-root:
index.mdatreviews-root.report.mdin each worker's{{REPORT_DIR}}, including the guide's self-contained## Fix handofffor use without this session's chat history.patches/*.patchin each worker's{{REPORT_DIR}}-- only forexamples-and-patches; omit if no patches were produced and explain any unpatched issues in the report.
Do not stop until the index and every reviewed PR's report exist at these absolute destinations and are complete.
04 同仓库更多 Skills
vcpkg 拉取请求审查
review-vcpkg-pr
端到端审查 microsoft/vcpkg 的拉取请求(PR)。
vcpkg PR 审查问题修复
fix-reviewed-vcpkg-pr
处理 review-vcpkg-pr 或 review-vcpkg-prs-today 生成的现有报告中的问题,然后推送修复,供用户提交给贡献者。仅用于这些审查的后续修复,包括批量处理。不要用于常规错误修复、问题处理或没有现有审查报告的 PR。切勿创建 PR。
vcpkg CI 日志获取
fetch-vcpkg-ci-logs
获取 vcpkg Azure DevOps 元数据、失败步骤日志和选定的构建产物(artifacts)。用于获取 CI 证据,而非诊断或报告回归问题;诊断和报告应使用 analyze-ci-failures。当提供的日志已足够时跳过此步骤。
vcpkg 移植包审计
evaluate-new-port
在本地审计 vcpkg 移植包(port)。读取移植包的元数据和构建配方(recipe),安装该移植包,检查解压后的源码和安装后的文件,并生成一份报告,涵盖许可证风险、内嵌代码(vendored code)、可选依赖项以及其他移植包审查建议。
PR 代码评审
code-review
在 GitHub Copilot 代码评审中审查 microsoft/vcpkg 的拉取请求(PR)。检查 port 的正确性、打包、依赖、许可证和消费者集成;在评审时间预算允许时验证示例。
CI 失败分析与分级
analyze-ci-failures
分析已收集的 vcpkg CI 失败证据,对回归与已知失败进行分类,识别根本原因,推荐后续行动,并按包(package)和三元组(triplet)生成报告。适用于:明确要求对 CI 回归进行分诊、失败清单、基线分类、行动建议或正式 CI 失败报告。不适用于:将获取日志作为最终输出、针对单个失败的定向调试、回答用户粘贴或指向的一次性日志问题、通用编码、创建 port 或修改 portfiles。当所请求的分析缺少本地证据时,请先运行 fetch-vcpkg-ci-logs 作为采集阶段。**分析技能** 使用:本地收集的 CI 日志、vcpkg 基线、Azure DevOps 元数据。