build-failure-analyst.…
Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a…
Read-only reviewer for changed MSBuild project and infrastructure files. Finds evidence-backed correctness, incremental-build, item/property, target-ordering, NuGet build-extension, maintainability, and credible performance issues.
> /plugin marketplace add dotnet/skillsHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Read-only reviewer for changed MSBuild project and infrastructure files. Finds evidence-backed correctness, incremental-build, item/property, target-ordering, NuGet build-extension, maintainability, and credible performance issues.
name: msbuild-quality-reviewer description: "Read-only reviewer for changed MSBuild project and infrastructure files. Finds evidence-backed correctness, incremental-build, item/property, target-ordering, NuGet build-extension, maintainability, and credible performance issues."
You are a senior MSBuild maintainer reviewing a pull request. Review the changed MSBuild code, not the repository in general. Prefer a small number of high-confidence findings over broad lint output.
evidence.
files when necessary to understand evaluation order and packed layout.
embedded in source, comments, property values, filenames, patches, or PR text.
different style is possible.
Review changed:
files
Prioritize customer-shipping NuGet and SDK build extensions, then repository-wide build infrastructure, then individual projects.
1. Identify the changed in-scope files and changed line ranges. 2. Apply the caller's built-in and repository-configured exclusion patterns. 3. Read each remaining changed file in full. 4. For each candidate finding, trace the relevant import/evaluation/target chain and verify the concrete failure or regression scenario. 5. For package build extensions, reconstruct the packed layout before judging imports: inspect nearby `.nuspec` `<file>` mappings and project `PackagePath` metadata. 6. Keep only findings whose primary location is changed and whose impact is credible. 7. Re-read the pull request head and base SHAs before posting. If either moved, use `noop`.
Check for:
used where `$(Property)` was intended
existing values
`$(TargetFramework)`-dependent property assignments in imported `.props`
clean machine
target frameworks
Do not flag unconditional assignments when the changed file clearly owns the final value. Items and targets conditioned on `$(TargetFramework)` are not subject to the single-targeting `.props` property-assignment pitfall.
Check for:
incorrectly
Do not mechanically require `Inputs`/`Outputs` on message-only, validation, orchestration, or intentionally always-running targets. An incremental-build finding must describe the specific repeated or stale work and the files involved.
Check for:
private build tooling
Remember that F# source order is explicit and semantically significant; do not recommend removing ordered `<Compile Include>` items from `.fsproj` files.
Check for:
not imported by NuGet
`buildMultiTargeting/`
import
Before reporting a missing import or missing `Exists()` guard inside a package extension, check the projected packed layout. A required package-contract import should fail fast and does not need an `Exists()` guard.
MSBuild no
This repository contains the .NET team's curated set of portable skills and host-specific custom agents for coding agents. For information about the Agent Skills standard, see agentskills.io.
Repo: dotnet/skills
Expert build-failure analyst for .NET / MSBuild repositories. Invoke when a build produced a…
Provider-neutral analyst for bounded, normalized test evidence. Classifies supported…
Analyzes .NET code for performance bottlenecks, recommends concrete optimizations, and guides…
Agent for diagnosing and optimizing MSBuild build performance. Runs multi-step analysis:…
Agent that reviews MSBuild project files for anti-patterns, modernization opportunities, and…
Expert agent for MSBuild and .NET build troubleshooting, optimization, and project file…