Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reviews MSBuild project and build files for common anti-patterns, with prioritized findings and fixes.
95% 100%+5 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
When constructing a NuGet package helper where `buildTransitive/net8.0/MyPackage.props` forwards to a common sibling file, what TFM value should be used when referencing subfolders in multi-target packages?
Explain that the TFM folder segment must be derived from the file's own folder rather than $(TargetFramework) to prevent transitive consumer build errors.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
A numbered catalog of common MSBuild anti-patterns. Each entry follows the format:
Use this catalog when scanning project files for improvements.
For review, audit, maintainability, or correctness-risk requests:
<Exec> for Operations That Have Built-in TasksSmell: <Exec Command="mkdir ..." />, <Exec Command="copy ..." />, <Exec Command="del ..." />
Why it's bad: Built-in tasks are cross-platform, support incremental build, emit structured logging, and handle errors consistently. <Exec> is opaque to MSBuild.
<!-- BAD -->
<Target Name="PrepareOutput">
<Exec Command="mkdir $(OutputPath)logs" />
<Exec Command="copy config.json $(OutputPath)" />
<Exec Command="del $(IntermediateOutputPath)*.tmp" />
</Target>
<!-- GOOD -->
<Target Name="PrepareOutput">
<MakeDir Directories="$(OutputPath)logs" />
<Copy SourceFiles="config.json" DestinationFolder="$(OutputPath)" />
<Delete Files="@(TempFiles)" />
Next to this one in the catalogue, plus more from the same author.