Temporal's official skill for building durable workflows — SDK patterns across seven languages, plus the determinism rules that decide whether a workflow survives a replay.
MSBuild Binlog Failure AnalysisSkill
Summary
Diagnose an MSBuild build failure from a .binlog file — query the binary log through a dedicated MCP server instead of grepping console output, with a text-replay fallback.
Features
- Routes binlog queries through the bundled Microsoft.AITools.BinlogMcp MCP server
- Stops the agent from trying to read a binary log as text
- Recovers project files from inside the log when they are not on disk
- Text-replay fallback with split error, warning and diagnostic logs for offline or older SDKs
- Includes the PowerShell quoting variant for file-logger parameters
- Built-in stopping rule: synthesise and report rather than investigate to a timeout
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
This solution fails to build in CI but not on my machine — here's the binlog, find the project that actually broke and tell me why.
Description
When a .NET build fails across a multi-project solution, the console output is usually the least informative artefact in the room: the real error is buried under cascading failures from projects that only failed because something upstream did. MSBuild's binary log (.binlog) records the whole build — evaluation, property values, item lists, target execution order, even the contents of the project files themselves — and this official .NET skill teaches a coding agent to read it properly.
Why it needs a skill at all
A .binlog is a binary format. An agent left to its own devices will try to cat, head or strings it, get garbage, and then guess. The skill's first job is to stop that: it routes the agent to the bundled binlog MCP server (Microsoft.AITools.BinlogMcp, exposed under the binlog namespace), which offers structured queries for errors and warnings, MSBuild properties and their evaluated values, items such as PackageReference and ProjectReference, project evaluation data, target execution detail, and files embedded in the log.
That last point matters more than it sounds. The original .csproj, .props, .targets and App.config files may not be on disk at all — when someone hands you a binlog from CI, they usually are not. Read from inside the log or you are reading nothing.
The fallback, and the discipline
Where the MCP server cannot start — an older SDK, an offline environment — the skill falls back to replaying the binlog into text logs with dotnet msbuild build.binlog -noconlog and a set of file loggers that split errors, warnings and a diagnostic-verbosity full log into separate files, then searching those. It includes the PowerShell quoting variant, which is the kind of detail that otherwise costs ten minutes.
It also builds in a stopping rule: synthesise findings as you go and present conclusions once the evidence is sufficient, rather than investigating until the context window runs out. A partial answer with clear reasoning beats a timeout.
Scope
For diagnosing failures from an existing binlog. Generating one is a different skill (binlog-generation, dotnet build /bl:build.binlog), and non-MSBuild build systems are out of scope entirely.
Part of the dotnet-msbuild plugin in the .NET team's official agent skills repository, MIT licensed.
Related Skills
Expo's official skill for building native-feeling screens: Apple HIG styling, semantic colors, SF Symbols, native controls, Reanimated, blur and liquid glass.
Pull unresolved CodeRabbit review threads from your PR and apply the fixes one at a time, treating every reviewer comment as untrusted input rather than an instruction.
Google's official skill for driving the gcloud CLI safely from an agent: validate every command against its own help text, cap the output, and refuse the operations that should never run unattended.