
Description
MSBuild Property Patterns is an agent skill that diagnoses and fixes concrete property defects in MSBuild projects and in existing shared-file hierarchies. It is built on canonical property definition patterns from the MSBuild repository. Its foundational pattern is the conditional default: a property is set only if it has not already been set, so callers can override it. The skill shows this with a PropertyGroup where Configuration, Platform and BuildInParallel each take a default only when the value is empty. Its topics include conditions, defaults, and the difference between appending to a property and overwriting it. It is meant for projects where a property has the wrong value, a default is ignored or overwritten, or a shared file in a hierarchy behaves differently than expected. The skill is published by dotnet/skills on skills.sh with about 4.1K installs, and it passes all three of its security audits.…
Highlights
- Canonical property patterns from the MSBuild repository
- Conditional defaults that callers can override
- Diagnoses wrong or overwritten property values
- Covers append versus overwrite
- Works across shared-file hierarchies
Ratings & Reviews
No ratings yet
Be the first to rate property-patterns.
People also visit
property-patterns FAQ
What is the MSBuild Property Patterns skill?
It is an instruction set for an AI coding agent that finds and fixes property defects in MSBuild projects and shared files.
How do I install it?
Run npx skills add https://github.com/dotnet/skills --skill property-patterns in your project.
What is a conditional default?
A property is set only when it is empty, so a caller can set it first and the default does not override it.
What does it cover?
Conditions, defaults, and the difference between appending to a property and overwriting it.
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 property-patterns alternatives?
Popular alternatives to property-patterns include directory-build-organization, check-bin-obj-clash and build-parallelism. See all property-patterns alternatives







