msbuild
by thecybercore
Coding Agents & IDEsBrief
This skill provides a practical, **prioritized** set of the **80 most useful command templates** for working.
Description
What This Skill Does
A prioritized set of 80 MSBuild and dotnet CLI command templates for .NET and ASP.NET projects. Covers the full day-to-day workflow from restore and build through test, publish, NuGet packaging, and build diagnostics. Commands are ranked by frequency and impact.
Having 80 ranked templates in one place eliminates flag lookups across scattered docs when moving between restore, build, test, and publish tasks in the same session.
When to Use It
- Running a Release build with determinism flags for CI pipelines
- Publishing a self-contained single-file executable for Linux
- Capturing a binary log to diagnose a failing build
- Running tests with code coverage collection and TRX report output
- Packing a NuGet library and stamping it with a version number
Example Workflow
User asks: Publish my ASP.NET app as a self-contained single-file for Linux x64
- 1
Identify the target project .csproj path
- 2
Set /t:Publish with /p:Configuration=Release
- 3
Add /p:RuntimeIdentifier=linux-x64 and /p:SelfContained=true
- 4
Add /p:PublishSingleFile=true
- 5
Suggest adding /bl to capture a binary log if the publish fails
dotnet msbuild src/MyWeb/MyWeb.csproj /t:Publish /p:Configuration=Release /p:RuntimeIdentifier=linux-x64 /p:SelfContained=true /p:PublishSingleFile=true
Installation
clawhub install thecybercore/msbuildRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.