基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/microsoft/vcpkg --skill review-vcpkg-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Analyze collected vcpkg CI failure evidence, classify regressions and known failures, identify root causes, recommend actions, and generate a report by package and triplet. USE FOR: explicit requests for CI regression triage, a failure inventory, baseline classification, action recommendations, or a formal CI failure report. DO NOT USE FOR: fetching logs as the final output, targeted debugging of one failure, answering a one-off question about logs the user pasted or pointed at, general coding, creating ports, or modifying portfiles. When requested analysis lacks local evidence, run fetch-vcpkg-ci-logs as the acquisition stage first. **ANALYSIS SKILL** USES: locally collected CI logs, vcpkg baselines, Azure DevOps metadata.
Fetch vcpkg Azure DevOps metadata, failed-step logs, and selected artifacts. Use for acquiring CI evidence, not diagnosing or reporting regressions; use analyze-ci-failures for those tasks. Skip when supplied logs are sufficient.
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.
| name | review-vcpkg-pr |
| description | Review a microsoft/vcpkg pull request end-to-end. |
| Input | Required | Meaning |
|---|---|---|
pr | Yes | Pull request number to review. Substituted for {{PR_NUMBER}} throughout this skill and the shared guide. |
investigation-root | No | Directory for large temporary artifacts such as worktrees, sources, builds, examples, and installs. Final deliverables still go under reviews/ in the caller's current directory. 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. |
/review-vcpkg-pr 12345/review-vcpkg-pr 12345 investigation-root D:/vcpkg-prsRead all of .github/skills/shared/review-vcpkg-pr-guide.md before reviewing; every instruction in it is mandatory.
Review the PR in a detached worktree or equivalent detached-HEAD workspace, with vcpkg.exe (Windows) or vcpkg (non-Windows) copied into it. For example, after git worktree add D:\vcpkg2 origin/master, copy .\vcpkg.exe to D:\vcpkg2. Do not switch branches or run mutable review steps in the caller's current working tree.
Write all final deliverables under reviews/pr-{{PR_NUMBER}} in the caller's current directory, not under investigation-root. The shared guide defines their contents.
reviews/pr-{{PR_NUMBER}}/report.mdreviews/pr-{{PR_NUMBER}}/patches/*.patch — only expected if review-depth is examples-and-patches and patches were producedDo not stop until reviews/pr-{{PR_NUMBER}}/report.md exists and is complete.