Favicon of msbuild-antipatterns

msbuild-antipatterns Skill

AI Agent SkillC#Open source

Catalog of MSBuild anti-patterns with detection rules and fix recipes. USE FOR: reviewing, auditing, or cleaning up .csproj, .vbproj, .fsproj, .props, .targets, or .proj files. Each anti-pattern has a symptom, explanation, and concrete BAD→GOOD transformation. Covers Exec-instead-of-built-in-task, unquoted conditions, Published by microsoft in testfx.

What is msbuild-antipatterns Skill?

Catalog of MSBuild anti-patterns with detection rules and fix recipes. USE FOR: reviewing, auditing, or cleaning up .csproj, .vbproj, .fsproj, .props, .targets, or .proj files. Each anti-pattern has a symptom, explanation, and concrete BAD→GOOD transformation. Covers Exec-instead-of-built-in-task, unquoted conditions, Published by microsoft in testfx. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
75/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using testfx

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use msbuild-antipatterns Skill

  • Use it for developers using testfx.

Built with

C#Copy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/testfx
  • Skill file: .agents/skills/msbuild-antipatterns/SKILL.md

What it does

Catalog of MSBuild anti-patterns with detection rules and fix recipes. USE FOR: reviewing, auditing, or cleaning up .csproj, .vbproj, .fsproj, .props, .targets, or .proj files. Each anti-pattern has a symptom, explanation, and concrete BAD→GOOD transformation. Covers Exec-instead-of-built-in-task, unquoted conditions,

Skill instructions

MSBuild Anti-Pattern Catalog A numbered catalog of common MSBuild anti-patterns. Each entry follows the format: - Smell: What to look for - Why it's bad: Impact on builds, maintainability, or correctness - Fix: Concrete transformation Use this catalog when scanning project files for improvements. --- AP-01: <Exec for Operations That Have Built-in Tasks Smell: <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. xml <!-- 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)" / </Target Buil

Explore related resources

Frequently asked questions

What is msbuild-antipatterns?

msbuild-antipatterns is a open-source AI agent skill with Copy skill directory. Catalog of MSBuild anti-patterns with detection rules and fix recipes. USE FOR: reviewing, auditing, or cleaning up .csproj, .vbproj, .fsproj, .props, .targets, or .proj files.

Who is msbuild-antipatterns best for?

msbuild-antipatterns is best for reusing agent instructions, scripts, and references.

How do I install msbuild-antipatterns?

Install or run msbuild-antipatterns using Copy skill directory. Check msbuild-antipatterns for the latest setup command.

Is msbuild-antipatterns actively maintained?

msbuild-antipatterns may need a closer maintenance check before production use.

Share:

Stars
1,031
Forks
305
Last commit
9 days ago
Repository age
10 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to msbuild-antipatterns