Build Skill
This project uses Nuke Build for all build operations. Never use raw dotnet commands.
Command Reference
| Operation | Nuke Command | Do NOT Use |
|---|---|---|
| Build | nuke compile |
dotnet build |
| Test | nuke test |
dotnet test |
| Clean | nuke clean |
dotnet clean |
| Restore | nuke restore |
dotnet restore |
| Pack | nuke pack |
dotnet pack |
Common Workflows
Build the solution
nuke compile
Run all tests
nuke test
Clean and rebuild
nuke clean compile
List available targets
nuke --help
Why Nuke (Not dotnet)
- Ensures consistent build behavior across local and CI environments
- Handles project dependencies and build ordering correctly
- Runs code generators and pre/post-build tasks
- Provides reproducible builds with proper configuration
Instructions
When the user asks to build, test, compile, or perform any .NET build operation:
- Use the appropriate
nukecommand from the table above - Report build errors clearly from the output
- Never suggest
dotnet build,dotnet test, or other raw dotnet commands as alternatives - If a specific project needs building, check if there's a Nuke target for it first
Converted and distributed by TomeVault — claim your Tome and manage your conversions.