What problem does it solve?
Triaging CI failures on dotnet/runtime pull requests is tedious: you must read Build Analysis output, check AzDO logs, search for existing Known Build Errors (KBEs), and file new issues. This Skill automates that triage loop for a single PR, skipping failures Build Analysis already knows and drafting or filing KBEs only for genuinely new failures.
Core Features & Use Cases
- PR-targeted failure triage: Parses the Build Analysis check run and raw CI check runs for a PR's head SHA to separate known failures from unknown candidates, including pipelines excluded from Build Analysis.
- KBE matching and drafting: Runs the shared KBE lookup flow, classifies each failure as new KBE needed, existing KBE missed by Build Analysis, or unhandled, and writes reviewable markdown draft files.
- Dry-run and live modes: In dry-run mode it only writes local draft files; in live mode it asks for per-issue confirmation before creating GitHub issues under the authenticated user's account, with an AI disclosure note.
- Use Case: A developer sees red CI on their PR and runs
/pr-failure-scan <PR URL> dryrun to get draft KBE markdown files for each new failure without creating any GitHub issues.
Quick Start
Ask the assistant to run /pr-failure-scan on your dotnet/runtime pull request URL, optionally adding dryrun to only produce local draft files.