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.

Decision snapshot

Is this a fit?

Best for

Developers using testfx, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Permission behavior not yet detected.

Setup

Copy skill directory

Project health

2 months ago · MIT license

Considerations

No specific cautions were detected. Review the source and requested permissions before installing.

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. See how SkillIndex evaluates profiles.

Key capabilities

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

Declared skill metadata

  • Declared license: MIT
  • Source file: .agents/skills/msbuild-antipatterns/SKILL.md

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

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

Verified compatibility and discovery

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
2 months ago
Last verified
Aug 28, 2026
Metadata fetched
Aug 28, 2026
Repository age
10 years
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to msbuild-antipatterns