.NET MAUI is a C# and XAML framework for building native mobile and desktop applications from one shared codebase. Developers use it to create apps for Android, iOS, iPadOS, macOS, and Windows. The catalogue entries provide skills, instructions, and agents for working with .NET MAUI.
Borrowing it
Nothing to install: this file belongs to dotnet/maui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dotnet/maui/main/.github/skills/review-test-failures/SKILL.mdgit clone --depth 1 https://github.com/dotnet/mauiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dotnet/maui/review-test-failures)<a href="https://agentmods.dev/skills/dotnet/maui/review-test-failures"><img src="https://agentmods.dev/badge/skills/dotnet/maui/review-test-failures.svg" alt="Measured on agentmods" height="20"></a>- Snyk warn
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.07510 |
| Opus 5 | $0.00028 | $0.03755 |
| Sonnet 5 | $0.00011 | $0.01502 |
| Haiku 4.5 | $0.00006 | $0.00751 |
Grade A, and why
review-test-failures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review Test Failures
Classify failing CI checks and tests associated with a PR, compare them against the base branch, and decide whether the PR's CI is ready to merge. The goal is to tell the author whether failures are likely caused by the PR changes or likely unrelated (flaky tests, infrastructure, missing baselines, or failures already present on the base branch), and to summarize that into one overall merge-readiness verdict.
This is the automated, deterministic counterpart to the interactive
azdo-build-investigator skill. Both reason from the same shared facts (see below);
this skill additionally runs in the gh-aw runtime where the ci-analysis plugin is
not available, so it relies entirely on the gathered context files.
Shared MAUI CI facts
Read .github/docs/maui-ci-facts.md for the canonical pipeline names/IDs, AzDO data
sources, XHarness exit-0 blind spot, test deduplication rule, baseline-comparison rule,
visual-baseline rule, platform-mismatch guidance, Gradle/CFSClean signatures, common
failure patterns, and the merge-readiness criteria. Do not restate those facts from
memory — they change in one place.
Inputs
Use the context produced by .github/skills/review-test-failures/scripts/Gather-TestFailureContext.ps1.
Expected context files:
context.json— structured PR, check, build, log, baseline, and deduplicated test-failure data.context.md— compact human-readable summary of the same data.
Key fields to use:
gate— deterministic merge-readiness gate computed in the gatherer (not LLM judgment). Use it as a hard ceiling, never override it upward:gate.verdictCeiling— the most favorable overall verdict the evidence permits (Insufficient data/Needs human investigation/Not ready/No failures found/Ready to merge). Your overall verdict MUST NOT be more favorable than this.gate.ceilingReasons[]— exact reasons (with check names) that set the ceiling.- Coverage counts:
totalChecks,passingOrNeutralChecks,failingChecks,pendingChecks,inaccessibleFailingChecks,unmappedFailingChecks,unexplainedFailedLegs(failed build legs that produced no extractable failure — a build break with no test name, or an unreadable log; any value > 0 caps the ceiling atNeeds human investigation). gate.unaccountedFailingChecks(+unaccountedFailingCheckNames[]) — failing checks backed by an accessible build that produced no extractable failure and no unexplained-leg record (the build's log threw, had no log id, or fell past the per-build failed-record cap). This is the earned-green guard: a red check we could reach but pulled zero reason from must not be read as green. Any value > 0 caps the ceiling atNeeds human investigation.gate.abortedFailingChecks(+abortedFailingCheckNames[]) — failing checks whose GitHub conclusion did not finish cleanly:CANCELLED,TIMED_OUT,STARTUP_FAILURE,STALE, orACTION_REQUIRED. A cancelled/timed-out check is red but its aborted AzDO legs can carry noerrorissue (so they never become unexplained legs) — e.g. a PR-induced hang that got a job cancelled. Without this guard, a dismissible sibling failure on the same build could "earn" the build green and mask the abort. An aborted check is never a trustworthy pass, so any value > 0 caps the ceiling atNeeds human investigation.gate.canceledBuildChecks(+canceledBuildCheckNames[]) — checks backed by an AzDO build whose own metadata result iscanceled, regardless of how the GitHub check conclusion reads. This is broader thanabortedFailingChecks(which keys only on the GitHub conclusion): a build can be canceled mid-flight while a leg had already postedFAILUREor evenSUCCESS, so the canceled build slips past the conclusion-based guard. A canceled build's legs frequently carry noerrorissue, so a dismissible sibling can falsely "account" for it. A canceled build is never a trustworthy pass, so any value > 0 caps the ceiling atNeeds human investigation.gate.deviceTestUnverified(+deviceTestUnverifiedNames[]) — device-test checks (maui-pr-devicetests) that read GREEN but whoseFailed == 0could not be positively confirmed. XHarness exits 0 even when device tests fail, so a green device-test check is not evidence of a clean run. The gatherer force-inspects every device-test build and only clears it when a fail count was positively observed and was all-zero (Helix aggregated, or the authenticated test-API when a token is present) over a COMPLETE, error-free read — the Helix path requires every discovered job's aggregate to be read without a thrown error, and the test-API path pages through all test runs and refuses confirmation if the run set was truncated (a failing run could sit in the unread tail). When no such confirmation is available — the common case in the gh-aw runner, which has no AzDO token — the green device-test check is unverified and caps the ceiling atNeeds human investigation. A SKIPPED device-test check does not cap (tests did not run); a RED one is handled as an ordinary failing check.gate.legsRegressedVsBase(+legsRegressedVsBaseNames[]) — distinct failures that are red on the PR but GREEN on the same leg across several recent completed base builds and red on none of them (a deterministic, computed job-level regression). Any value > 0 caps the ceiling atNot ready— aReady to merge/No failures foundverdict is then forbidden. Sampling several base builds (not one) is what separates a real regression from a base-branch flake that merely happened to pass its one sampled base run — except a deterministic build break (crossgen/NativeAOT/linker/ MSBuild, which compiles or it doesn't), where a single green base build is proof enough. This is the comparison that catches build-job breaks (crossgen/R2R, NativeAOT) the test-level baseline cannot. A device-test BUILD break (source = azdo-build-error) IS counted here because it is deterministic; only device-test TEST results are excluded (XHarness exit-0 blind spot) — they are surfaced but never hard-capped.gate.unattributedFailures(+unattributedFailureNames[]) — distinct failures the deterministic prior could attribute neither way: not a clean regression vs base, not pre-existing on base, not a known issue (deterministicAttribution = indeterminate). Causes: the leg was flaky on base (red on some sampled base builds, green on others →flaky-on-base), the leg was green on base but on too few samples to confirm a regression (succeeded-on-base-unconfirmed), the base build was missing/unreadable, or a device-test TEST result outside the build-error class. They are neither provably PR-caused nor dismissible as pre-existing/known, so any value > 0 caps the ceiling atNeeds human investigation.- Evidence counts:
failuresAlsoOnBaseline,failuresMatchingKnownIssue,failuresRetriedStillFailing,baselineInconclusiveRows.
failures.unique[]— distinct PR failures (deduped by test name + OS platform). This includes build-job breaks (crossgen/R2R, NativeAOT/ILC, linker, MSBuilderror, and fatal non-coded breaks — native crash/segfault/OOM, test-host crash, unhandled exception), which carry a synthetic name likeBuild macOS (Debug) - Failed to load assemblyand asourceofazdo-build-error— they are real failures, not noise. Each carries:alsoFailsOnBaseline(truewhen the same test+platform also fails on the most recent base-branch build — scoped to the same pipeline definition, so a failure in one pipeline is never dismissed by a same-named failure that only occurred in another),legBaselineResult/legRegressedVsBase/legAlsoFailsOnBase— the computed job-level baseline diff for this failure's leg, computed over the last few completed base builds (not a single base build) so a base-branch flake is not mistaken for a regression:succeeded-on-base+legRegressedVsBase = truemeans the SAME leg was GREEN across several recent base builds and red on none of them, and is now red on the PR (strongest PR-caused signal);failed-on-base+legAlsoFailsOnBase = truemeans the same leg was already red on at least one sampled base build — but note this is only leg-level corroboration, NOT proof that this specific test is pre-existing (the leg can fail on base at a different test), so on its own it does not dismiss the failure;flaky-on-basemeans the leg was red on some sampled base builds and green on others (demonstrably flaky on base) — indeterminate, never a regression;succeeded-on-base-unconfirmedmeans the leg was green on base but on too few samples (fewer thanMinBaseGreenSamples, e.g. only one readable base build) to rule out flakiness — indeterminate, not a confident regression;absent-on-basemeans the leg name did not exist on the sampled base builds (indeterminate — do not treat as a regression). The computedregressed-vs-baseset is pre-filtered to stay trustworthy: a provisioning/infrastructure failure (Android SDKFailed to find package, avdmanager, disk-full — environmental and nondeterministic) and any failure that was flaky on base in another leg are both held tolegRegressedVsBase = falseso they fall toindeterminaterather than masquerading as a deterministic regression. Each failure also carriesbaseSampleCount/baseGreenCount/baseFailedCount(how many recent base builds were read, and on how many the leg was green vs red) as regression-confidence evidence,deterministicAttribution— a computed prior you MUST start from, one ofregressed-vs-base(treat as Likely PR-caused unless you can cite why the base comparison is invalid, e.g. a known-flaky base leg),pre-existing-on-base(treat as Likely unrelated — the exact test+platform is also red on base, the only signal strong enough to dismiss),known-issue(the exact test+platform is also red on base and the failure message matches a known issue — a richer label for the same dismissable, not-PR-caused case), orindeterminate(everything else: a leg-only base match, an uncorroborated known-issue text match (a known-issue regex hit on a test that did not exact-match base — a leg being red on base at a different test is no longer treated as corroboration), a base/PR reason conflict (seebaselineReasonConflict), an ambiguous/missing base, or a genuinely unknown failure — NOT dismissable, caps the ceiling atNeeds human investigation). You may overrideregressed-vs-base/pre-existing-on-baseonly with an explicit, cited reason,matchesKnownIssue({number,title,url}when the failure message matches an openKnown Build Errorissue;nullotherwise) — a documented-flake hint. A text match alone is NOT enough to dismiss a red check (a broad matcher can shadow a real PR break): it only becomes the dismissabledeterministicAttribution = known-issuewhen the exact same test+platform also failed on the base build (leg-level corroboration is too coarse and no longer dismisses). Cite the issue number, but defer to the computed attribution,matchesCiScan({number,title,url,class,branch,occurrences,matchKind}when this failure is documented in the repo's open[ci-scan]registry for the PR's base branch family;nullotherwise) — the[ci-scan]issues are the MAUI CI Failure Scanner (an agenticci-status-*workflow) trackingrecurringflakes,regressions, andbuild breaks on themain/net11.0base branches across many builds — i.e. multi-build base-branch history, strictly broader than the few recent base builds the leg diff samples. It is used in one direction only: when the leg diff computed a few-buildregressed-vs-baseand ci-scan documents that exact test (matchKind=test) or its whole leg (matchKind=leg, only for OneTimeSetUp/mass/env/build-break leg-wide issues) as failing on the base branch, the regression is demoted toindeterminate(NHI) andciScanDemoted=trueis set. This is a false-RED reduction only — a ci-scan hit can NEVER turn a red check green (it is an LLM-generated, possibly-stale hint, so it is never a dismissal-to-green signal; it only moves an over-confidentNot readydown toNeeds human investigation). Branch family must match (amainPR is never demoted by anet11.0ci-scan issue). Surface the linked issue + occurrence count for the human,retriedStillFailing(truewhen CI retried the leg and it still failed — this is evidence the failure is persistent, NOT a one-off flake).baselineReasonConflict(truewhen this failure exact-matches a base failure by name+platform but the two fail for different reasons — e.g. a PR-introducedNullReferenceExceptionvs a base-branchTimeoutExceptionin the same test). The name-based dedup key is message-blind for test failures, so without this a PR-caused break could be laundered aspre-existing-on-base. When set, the dismissal is refused and the attribution is forced toindeterminate. It fires when both reasons are known and differ (wrapper exceptions likeAggregateExceptionare unwrapped to the inner cause — and when a wrapper carries multiple inner exceptions they are collapsed into a sorted compound token, so a PR-introduced inner cannot hide behind a base-matching first inner), and — for test failures where neither side yields a known reason — as a fallback when the PR's normalized message fingerprint is absent from base for that test (the fingerprint preserves identifier-internal digits and hashes any long tail, so two distinct breaks that differ only by an identifier digit or a far-out-of-line suffix stay distinct). These paths fire only on data present on both sides; the one exception is a dismissible test failure that exposes no reason token and no message text at all (e.g. a device/UI result with an emptyerrorMessage) — that offers zero corroboration that it is the same failure as the name-matched base failure, so it is also forced toindeterminaterather than laundered as pre-existing. A noisy or partially-present message still never inflates false reds.scopeGuardTripped(truewhen apre-existing-on-baseorknown-issuedismissal was refused because the PR actually edits the test file behind the failure). When the PR touches the very test that is failing, a base or known-issue text match is no longer safe grounds to dismiss it — the PR may have changed the test so it now fails for a new reason that merely coincides with the base/known text. The attribution is forced toindeterminate(which caps the ceiling atNeeds human investigation) instead of being laundered green.
failures.baseline[]— distinct failures extracted from the base-branch build(s).failures.baselineMatchCount— how many distinct PR failures also fail on the base.visualEvidence— public AzDO result/attachment metadata for visual snapshot failures. It is supplementary evidence and never changes the deterministic gate.visualAssets— present when the trusted publisher produced durable GitHub-hosted images. A deterministic merger inserts a bounded subset of these comparisons into the single final analysis comment.knownIssues—{queried, matcherCount, error}. Ifqueriedisfalse(gh failed), the absence of amatchesKnownIssuehit proves nothing — say so.baselineSummary[]— which base build was inspected per pipeline definition, its result, and how many baseline failures were found (a succeeded base build is noted as strong evidence that matching failures are not pre-existing).checks.interesting[],builds[],scope.*— failing checks, AzDO build evidence, and the PR's changed-file/platform/area scope.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/Gather-TestFailureContext.ps1 244 KB runs code
- scripts/Gather-TestFailureContext.Tests.ps1 51 KB runs code
- scripts/Merge-TestVisualsIntoComment.ps1 33 KB runs code
- scripts/Merge-TestVisualsIntoComment.Tests.ps1 37 KB runs code
- scripts/Publish-TestVisualAssets.ps1 45 KB runs code
- scripts/Publish-TestVisualAssets.Tests.ps1 31 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 410 lines · 55 tokens per session scan A 0d17bd464077
review-test-failures is a skill published in the GitHub repository dotnet/maui (23,319 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 7,510 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
author-test
Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.
generate-code-cs
Generate the code from typespec for C#. Parameter: C# SDK repository root location .
build-sample-matrix
Build the matrix of all the samples throughout different frameworks.
translate-a-sample
Translate the Azure SDK sample from python to C# and generate markdownn file for the sample. Parameters: C# SDK repository root; python SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; The name of sample file in Python SDK repository.
update-changelog
Update the CHANGELOG.md files of C# projects. Parameters: csroot C# SDK repository root.
budget-checker
Validates that a proposed trip fits within the user's stated budget.