Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill pr-failure-scan명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | pr-failure-scan |
| description | > Use when this capability is needed. |
Use this skill for requests like:
/pr-failure-scan <PR URL>/pr-failure-scan <PR number>analyze PR <number> CI failuresscan this xharness PR for Build Analysis missesThis skill is PR-targeted and scoped to dotnet/xharness.
Its job is to analyze one PR's CI state and produce one consolidated PR comment draft that focuses on failures Build Analysis did not already recognize, while also identifying failures that appear to already be tracked by existing repository issues.
This skill does not:
If the skill is run again for the same PR, it should create a new AI-generated comment rather than editing a prior one.
Accept one of:
The source repository is always dotnet/xharness.
Examples:
/pr-failure-scan 1234/pr-failure-scan https://github.com/dotnet/xharness/pull/1234Resolve all of:
The authenticated user matters because any posted PR comment will appear under that user's account.
If the PR is closed, explain that the skill only supports open PRs and stop.
Use the latest completed check runs for the PR head SHA.
Collect all of:
Build Analysis check run payload from the GitHub REST API.If Build Analysis is missing, say so explicitly and continue with the raw CI
evidence instead of pretending Build Analysis passed or analyzed the PR.
Build the candidate list from two sources:
Build Analysis check text for Create issue in this repo
links or equivalent unknown-failure markers and use the surrounding text
as the failure context.Build Analysis warning section listing pipelines excluded from
analysis.Skip failures that Build Analysis already treated as known.
If Build Analysis and the raw PR checks disagree, prefer the raw CI evidence and call out the disagreement in the draft comment and final chat response.
If there are no in-scope failures, report that result in chat and do not post a PR comment.
For each candidate failure, gather the most concrete evidence available:
dotnet/xharness issues when they appear to describe the same
failure.Search repository issues for likely matches. Do not limit this to Known Build Error issues. Search open issues first, then broaden only if needed. Try variations such as:
When you find a plausible issue match, verify that it actually describes the same failure shape rather than a nearby symptom.
For each candidate, answer these questions:
dotnet/xharness issue appear to already track this
problem?Use evidence-based reasoning. Prefer concrete signals such as:
Do not overstate certainty. If the evidence is mixed, mark the result unclear and explain why.
Place each candidate into exactly one of these buckets:
Use not handled only when the logs or evidence are too incomplete to give a useful assessment. In that case, say what evidence is missing.
Use already tracked problem when a repository issue is a strong match for the same failure shape. Include the issue as a clickable Markdown link and explain why it appears to match. A tracked issue does not automatically prove the failure is unrelated to the PR, but if you choose this bucket you should explain why the existing issue is the most useful summary outcome.
Prepare exactly one draft PR comment for the run. The comment must be clearly marked as AI-generated.
Use a structure like this:
> [!NOTE]
> AI-generated CI triage prepared with GitHub Copilot. Please verify details
> before taking action.
I reviewed the current CI failures for this PR that Build Analysis did not
already recognize.
## Already tracked problems
- [`<leg or build>`](<build, timeline, or log URL>) - `<short failure summary>`
- Tracked by: [#<issue>](<issue URL>) - [<issue title>](<issue URL>)
- Why it matches: `<brief evidence-based reasoning>`
## Failures likely caused by this PR
- [`<leg or build>`](<build, timeline, or log URL>) - `<short failure summary>`
- Why: `<brief evidence-based reasoning>`
- Evidence: [<log, timeline, or check detail label>](<URL>)
## Failures likely not caused by this PR
- [`<leg or build>`](<build, timeline, or log URL>) - `<short failure summary>`
- Why: `<brief evidence-based reasoning>`
- Evidence: [<log, timeline, or check detail label>](<URL>)
## Failures that need more investigation
- [`<leg or build>`](<build, timeline, or log URL>) - `<short failure summary>`
- Why unclear: `<what is missing or conflicting>`
- Evidence: [<log, timeline, or check detail label>]()
Guidance:
#1234 / PR #1234 / bare
URLs when you know the destination URL.Before posting the PR comment, show the user:
Ask for explicit confirmation before posting.
If the authenticated user is not the PR author, say so explicitly in the approval prompt.
If the user declines, stop after presenting the draft.
If the user explicitly approves, post the drafted comment as one regular PR comment on the target PR.
Do not split the results across multiple comments.
If the skill is rerun later for the same PR, post a new AI-generated comment for that run instead of editing a previous one.
After the run, report:
State one of:
For each handled candidate, provide:
already tracked problem, likely PR-caused, likely not PR-caused, or unclear),For every unhandled failure, provide:
dotnet/xharness.Source: dotnet/xharness — distributed by TomeVault.