New to Claude Skills? Learn how to install them →

Msbuild skills

Free agent skills tagged msbuild, ready to install into any SKILL.md-compatible agent.

M

MSBuild Anti-Patterns

dotnet

Detect and fix common MSBuild issues in project files.

Developer Toolsintermediate5.1k repo

Detect OutputPath Clashes

dotnet

Identify MSBuild project output conflicts quickly.

Developer ToolsintermediateShell5.1k repo
I

Incremental Build Optimization

dotnet

Streamline your MSBuild incremental builds for faster performance.

Developer ToolsintermediateShell5.1k repo
B

Build Performance Baseline

dotnet

Establish baselines and optimize your .NET builds.

Developer ToolsintermediateShell5.1k repo
M

MSBuild Extension Points

dotnet

Enhance your MSBuild process with custom hooks and imports.

Developer Toolsintermediate5.1k repo

Build Performance Diagnostics

dotnet

Identify MSBuild performance bottlenecks effectively.

Developer ToolsintermediateShell5.1k repo
I

Including Generated Files

dotnet

Ensure generated files are included in your MSBuild process.

Developer Toolsintermediate5.1k repo
M

MSBuild Property Patterns

dotnet

Streamline your MSBuild property definitions and management.

Developer Toolsintermediate5.1k repo
C

Custom Target Authoring

dotnet

Streamline your MSBuild target authoring process.

Developer Toolsintermediate5.1k repo
M

MSBuild Item Management

dotnet

Streamline your MSBuild item group management.

Developer Toolsintermediate5.1k repo
C

Convert to Central Package Management

Convert .NET projects and solutions (.sln, .slnx) to NuGet Central Package Management (CPM) using Directory.Packages.props. USE FOR: converting to CPM, centralizing or aligning NuGet package versions across multiple projects, inlining MSBuild version properties from Directory.Build.props into Directory.Packages.props, resolving version conflicts or mismatches across a solution or repository, updating or bumping or syncing package versions across projects. Also activate when packages are out of sync, drifting, or inconsistent -- even without the user mentioning CPM. Provides baseline build capture, version conflict resolution, build validation with binlog comparison, and a structured post-conversion report. DO NOT USE FOR: packages.config projects (must migrate to PackageReference first) or repositories that already have CPM fully enabled.

M

MSBuild Modernization

Guide for modernizing and migrating MSBuild project files to SDK-style format. USE FOR: converting legacy .csproj/.vbproj with verbose XML to SDK-style, migrating packages.config to PackageReference, removing Properties/AssemblyInfo.cs in favor of auto-generation, eliminating explicit <Compile Include> lists via implicit globbing, consolidating shared settings into Directory.Build.props. Indicators of legacy projects: ToolsVersion attribute, <Import Project="$(MSBuildToolsPath)">, .csproj files > 50 lines for simple projects. DO NOT USE FOR: projects already in SDK-style format, non-.NET build systems (npm, Maven, CMake), .NET Framework projects that cannot move to SDK-style.

B

Build Organization for MSBuild

Guide for organizing MSBuild infrastructure with Directory.Build.props, Directory.Build.targets, Directory.Packages.props, and Directory.Build.rsp. USE FOR: structuring multi-project repos, centralizing build settings, implementing NuGet Central Package Management (CPM) with ManagePackageVersionsCentrally, consolidating duplicated properties across .csproj files, setting up multi-level Directory.Build hierarchy with GetPathOfFileAbove, understanding evaluation order (Directory.Build.props → SDK .props → .csproj → SDK .targets → Directory.Build.targets). Critical pitfall: $(TargetFramework) conditions in .props silently fail for single-targeting projects — must use .targets. DO NOT USE FOR: non-MSBuild build systems, migrating legacy projects to SDK-style (use msbuild-modernization), single-project solutions with no shared settings.

C

Copy To Output Directory

Choosing an MSBuild CopyToOutputDirectory / CopyToPublishDirectory mode: Never, PreserveNewest, Always, and IfDifferent (MSBuild 17.13+), plus $(SkipUnchangedFilesOnCopyAlways). USE FOR: removing the per-build Always copy perf hit; resetting output files mutated between builds. DO NOT USE FOR: general incremental-build diagnosis (use incremental-build); non-MSBuild build systems.