
msbuild-antipatterns
DO NOT INVOKE when the primary request explicitly asks to convert, migrate
by dotnetFree
Description
MSBuild Antipatterns is an agent skill with a numbered catalog of common MSBuild anti-patterns. The agent uses the catalog when it scans project files for improvements. Each entry follows the same format: a smell, which is what to look for; the reason it is bad, covering its impact on builds, maintainability or correctness; and a fix, which is a concrete transformation. The skill also sets an output contract for reviews and audits. The agent should not edit files unless the user asks for fixes. It returns prioritized findings grounded in the supplied file, each with its impact and a targeted recommendation. Confirmed defects are kept apart from conditional risks and from patterns that are already correct, and the review stays the final answer rather than being replaced by a short summary of changes. The skill says not to use it when the request is to convert, migrate, modernize or rewrite a legacy project to SDK style, which the separate msbuild-modernization skill covers. It is published by dotnet/skills on skills.sh with about 5.1K installs.…
Highlights
- Numbered catalog of common MSBuild anti-patterns
- Each entry gives a smell, its impact and a fix
- Confirmed defects kept apart from conditional risks
- No file edits unless the user asks for fixes
- Not used for legacy-to-SDK-style migrations
Ratings & Reviews
No ratings yet
Be the first to rate msbuild-antipatterns.
People also visit
msbuild-antipatterns FAQ
What is the MSBuild Antipatterns skill?
It is an instruction set for an AI coding agent. It checks MSBuild project files against a catalog of common mistakes and reports prioritized findings.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill msbuild-antipatterns in your project.
Will it change my project files?
Not unless you ask for fixes. The skill tells the agent to review and report by default.
When should I not use it?
When the request is to convert, migrate, modernize or rewrite a legacy project to SDK style. The msbuild-modernization skill covers that job.
Does the skill pass its security audits?
Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best msbuild-antipatterns alternatives?
Popular alternatives to msbuild-antipatterns include msbuild-modernization, directory-build-organization and property-patterns. See all msbuild-antipatterns alternatives





