msbuild-antipatterns

Official

Fix MSBuild project file issues.

Authordotnet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps identify and fix common anti-patterns in MSBuild project files (.csproj, .props, .targets), leading to more robust, maintainable, and efficient build processes.

Core Features & Use Cases

  • Anti-Pattern Catalog: Provides a comprehensive list of common MSBuild anti-patterns with explanations and concrete fixes.
  • Code Transformation: Offers direct BAD→GOOD examples for transforming problematic MSBuild code.
  • Use Case: You're reviewing a .csproj file and suspect it's not building optimally. Use this Skill to scan for issues like hardcoded paths, redundant SDK defaults, or incorrect use of <Exec> tasks, and get clear instructions on how to fix them.

Quick Start

Use the msbuild-antipatterns skill to identify and fix anti-patterns in the provided MSBuild file.

Dependency Matrix

Required Modules

None required

Components

references

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: msbuild-antipatterns
Download link: https://github.com/dotnet/skills/archive/main.zip#msbuild-antipatterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.