Analyzes CI build and test status from Azure DevOps and Helix for dotnet repository PRs. Investigates failures, determines merge readiness, and handles queries about test failures, flaky tests, and build errors.
Ships in dotnet-helix. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Analyze CI build status and test failures in Azure DevOps and Helix for dotnet repositories (runtime, sdk, aspnetcore, roslyn, and more).
🚨 NEVER use
gh pr review --approveor--request-changes. Only--commentis allowed. Approval and blocking are human-only actions.
Workflow: Gather PR context (Step 0) → collect failure data → synthesize recommendations. The agent drives the investigation; tools provide the data.
Accessing services: Start with MCP tools if available. Get repo-specific CI guidance early — it provides the investigation workflow, tool selection, failure patterns, and classification algorithm for that repo. The guidance evolves with the toolset, so it always reflects current capabilities. For Build Analysis KBE matches, read the GitHub Build Analysis check report itself; AzDO/Helix tools provide failure evidence, not the check's matches.
If MCP tools aren't loaded, the Helix CLI tool provides the same capabilities via bash with progressive discovery.
For AzDO, multiple tool sets may exist for different organizations — match the org in the build URL to the correct tools (see references/azdo-helix-reference.md). If queries return null, check the org before trying other approaches. For complex investigations, track what you've tried in SQL to avoid repeating failed approaches.
dev.azure.com, helix.dot.net, or GitHub PR links with failing checksNot for: GitHub Actions workflows, non-Helix repos, or build performance (use binlog analysis).
💡 Per-repo CI patterns differ significantly. Get repo-specific guidance early — it tells you which tools to use, what log patterns to search for, and what gotchas to expect. This is the fastest path and prevents wasted calls.
If MCP tools aren't available, the Helix CLI tool provides the same capabilities via bash. A legacy PowerShell script is also available for environments that support it.
For full parameter reference and mode details, see references/script-modes.md.
| PR Type | How to detect | Interpretation shift |
|---|---|---|
| Code PR | Human author, code changes | Failures likely relate to the changes |
| Flow/Codeflow PR | Author is dotnet-maestro[bot], "Update dependencies" | Missing packages may be behavioral, not infrastructure |
| Backport | Title mentions "backport", targets release branch | Check if test exists on target branch |
| Merge PR | Merging between branches | Conflicts cause failures, not individual changes |
| Dependency update | Bumps package versions, global.json | Build failures often trace to the dependency |
🚨 Don't re-fetch data you already have. Only make additional calls for deeper investigation (Helix log searches, binlog analysis, build progression).
Classify each failure. Determine whether it's a build error, test failure, crash, timeout, or infrastructure issue. Exit codes, log patterns, and Helix work item state all contribute — the repo-specific CI guidance includes a classification algorithm with the patterns and recommended next steps for each category. Crashes (exit code -4, 139, 134) don't always mean tests failed — check for recoverable test results before concluding.
Check running lanes for monitor evidence. When the AzDO/Helix queue monitor is enabled for a lane, inspect its already-emitted in-progress AzDO timeline issues and Helix work-item failure details before calling a still-running build green. The monitor streams failure evidence incrementally; a missing monitor failure does not prove the lane is passing, since test-result-only failures may not appear there. The monitor does not perform Build Analysis or Build Insights KBE matching. Treat monitor issues as failures to investigate, not as KBE matches or a complete failure inventory.
Cross-reference with known issues. Read the relevant GitHub Build Analysis check report for the PR, then match its linked AzDO builds/jobs/tests and KBE issues to the failures you're investigating. Start with the PR's head SHA and the check's html_url/output.text (use gh api --paginate "repos/OWNER/REPO/commits/SHA/check-runs?per_page=100" and select the Build Analysis check). Build Analysis updates the check as pipelines finish: an in-progress report may already show KBE matches for completed pipelines. Report those matches now, with their build IDs, without claiming coverage of pending pipelines or an unfinished build. For an older build or a PR with multiple runs, verify the report actually links that build ID; locate the corresponding check/commit if it doesn't. Read the report's known and unmatched sections, not just its conclusion: checks can be manually overridden or still list pending pipelines. See the check-report workflow.
azdo_build_analysis knownIssues: [] and timeline unmatchedFailures reflect AzDO tags/timeline, not Build Analysis KBE matches or its unmatched verdict. An empty knownIssues in the CI script's summary is not proof of zero matches either. If a report is missing or partial, report available positive matches for linked completed builds and mark the rest Build Analysis unavailable/incomplete, not "no known issues." Do not infer zero matches from absence in an in-progress report; only report zero Build Analysis matches after a completed report covers the build and shows none. Search for related issues by error message, test name, or job type for failures the report leaves unmatched; provide a per-failure verdict, not two separate lists.
Correlate with PR changes. If the same files appear in both the PR diff and the failure messages, the failure is likely PR-related. If not, check whether the same test fails on the target branch — that distinguishes pre-existing flakes from regressions.
Verify before claiming. Don't call it "infrastructure" without a Build Analysis match or target-branch verification. Don't call it "safe to retry" unless ALL failures are accounted for.
🚨 Check build progression on multi-commit PRs. If the PR has multiple commits, query AzDO for builds on
refs/pull/{PR}/merge(sorted by queue time, top 10-20). Present a progression table showing which builds passed/failed at which SHAs — this narrows failures to the commit that introduced them. See references/build-progression-analysis.md.
For interpreting error categories, crash recovery, and canceled jobs: references/failure-interpretation.md
For generating recommendations from [CI_ANALYSIS_SUMMARY] JSON: references/recommendation-generation.md
🚨 Keep tables narrow — 4 short columns max (# | Job | Verdict | Issue). Put error descriptions, work item lists, and evidence in detail bullets below the table, not in cells. Wide tables wrap and become unreadable in terminals.
🚨 Use markdown links for PRs (
[#121195](url)), builds ([Build 1305302](url)), and jobs ([job name](azdo-job-url)). The script output and MCP tools provide URLs — thread them through.
Lead with a 1-2 sentence verdict, then the summary table, then detail bullets (one per failure), then recommended actions. For the full format example: references/recommendation-generation.md.
🚨 Every failure verdict needs evidence — no "Likely flaky" without proof. Each row in your summary table must cite a specific source: known issue number, Build Analysis match, or target-branch verification. If Build Analysis covers the build but didn't match a failure and you haven't verified the target branch, the verdict is "Unmatched — needs investigation", not "Likely flaky." If the lane has not been analyzed yet, the BA match is unknown, not unmatched. A test that looks like it could be flaky is not the same as one you've verified is flaky.
❌ Don't label failures "infrastructure" without evidence. Requires: Build Analysis match, identical failure on target branch, or confirmed outage. Exception:
tests-passed-reporter-failedis genuinely infrastructure.
❌ Don't dismiss timed-out builds. A build "failed" due to AzDO timeout can have 100% passing Helix work items. Check Helix job status before concluding failure.
❌ Missing packages on flow PRs ≠ infrastructure. Flow PRs request different packages. Check which package and why before assuming feed delay.
❌ Don't present failures and known issues as separate lists. Cross-reference each
failedJobDetailsentry with the relevant GitHub Build Analysis report: identify its KBE match, an unmatched report entry, or unavailable/incomplete coverage. Anunclassifiedfailure can still match a known issue by error pattern.
❌ Don't say "safe to retry" when the report has unmatched failures or incomplete coverage. Map each failing job to a specific KBE or other verified explanation first; a green override doesn't resolve unmatched failures.
❌ Don't execute
gh issue createwithout explicit user approval. Always present the draft command as text and ask the user to confirm before running it. This applies to KBE issues and any other GitHub issue creation.
❌ Don't use raw REST APIs when higher-level tools are available. Check your available tools for Azure DevOps and Helix operations first. REST API fallback is for when those tools are genuinely unavailable, not a first resort.
[ActiveIssue], [SkipOnHelix], [QuarantinedTest], and [ConditionalFact]/[ConditionalTheory] with skip conditionsreferences/analysis-workflow.md (opens in a new tab)references/azdo-helix-reference.md (opens in a new tab)references/azure-cli.md (opens in a new tab)references/binlog-comparison.md (opens in a new tab)references/build-progression-analysis.md (opens in a new tab)references/delegation-patterns.md (opens in a new tab)references/failure-interpretation.md (opens in a new tab)references/helix-artifacts.md (opens in a new tab)references/kbe-issue-creation.md (opens in a new tab)references/manual-investigation.md (opens in a new tab)references/recommendation-generation.md (opens in a new tab)references/script-modes.md (opens in a new tab)references/sql-tracking.md (opens in a new tab)scripts/Get-CIStatus.ps1 (opens in a new tab)scripts/Test-KnownIssuePattern.ps1 (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/ci-crash-dumpDownload and debug crash dumps from CI test failures in dotnet repositories. Use when a CI test crashed (not just failed), when the user wants to debug a crash dump from a PR or build, or when asked "debug dump", "download dump", "crash dump from CI", "test crashed", "analyze crash in PR", or "why did the test crash". DO NOT USE FOR: test failures that are not crashes (use ci-analysis), build failures, performance analysis, or analyzing dumps you already have locally.
/helix-investigationDeep-dive investigation of Helix test failures starting from AzDO build legs. USE FOR: investigating recurring Helix test failures, downloading and analyzing Helix console logs, comparing passing vs failing runs, identifying machine-specific issues, XHarness timeout analysis, Android emulator DEVICE_NOT_FOUND errors, bulk failure aggregation across legs, "why does this test fail on some machines", "top 5 failing tests in the last 2 days", "download helix logs for build X", "compare passing and failing helix runs", "what are the most common failures". DO NOT USE FOR: high-level CI status checks (use ci-analysis), codeflow PRs (use flow-analysis). INVOKES: Helix and AzDO MCP tools, curl, gh CLI.
/dotnet-helix:ci-analysisfrom dotnet-helix
npx claudepluginhub dotnet/arcade-skills --plugin dotnet-helixOther plugins' skills for the same job