managedcode/dotnet-skills/target-authoring
Canonical patterns for writing custom MSBuild targets. USE FOR: diagnosing and fixing custom target authoring anti-patterns; broken SDK target chains across files (e.g., Directory.Build.targets silently redefining SDK targets); targets that replace CompileDependsOn instead of extending it with $(CompileDependsOn); query targets returning stale results from Outputs vs Returns misuse; missing Inputs/Outputs causing unnecessary rebuilds; missing FileWrites registration. Covers DependsOnTargets vs B
Agent skill · version 0.0.0-main.1794330593.g268856b · from managedcode/dotnet-skills
Install
npx yarkr-cli add skill:managedcode/dotnet-skills/target-authoringWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/target-authoring
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/target-authoringOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:managedcode/dotnet-skills/target-authoringWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.