Build with Nuke Build

VerifiedSafe

Uses Nuke Build for all .NET build operations (compile, test, clean, restore). Ensures consistent and reproducible builds, avoiding raw dotnet commands. Helpful when the user asks to build, test, or perform any .NET build task.

Sby Skills Guide Bot
DevelopmentBeginner
906/2/2026
Claude Code
#dotnet#nuke#build-automation#testing

Recommended for

Our review

This skill uses Nuke Build for all .NET build, test, clean, and restore operations, avoiding raw dotnet commands.

Strengths

  • Ensures consistent builds across local and CI environments
  • Handles project dependencies and build ordering correctly
  • Runs code generators and pre/post-build tasks

Limitations

  • Requires Nuke to be installed and configured in the project
  • Does not cover non-.NET projects
When to use it

When you need to build, test, or clean a .NET project that uses Nuke Build.

When not to use it

For simple .NET projects without Nuke, where dotnet build is sufficient.

Security analysis

Safe
Quality score88/100

The skill only instructs running nuke build commands, which are standard build automation. No destructive, exfiltrative, or obfuscated actions are present.

No concerns found

Examples

Build solution
Build the .NET solution using Nuke.
Run all tests
Run all tests with Nuke.
Clean and rebuild
Clean and then rebuild the project using Nuke.

name: build version: 0.1.0 kind: cli description: "Build, test, or compile the solution using Nuke. Use when asked to build, compile, run tests, clean, restore, or perform any .NET build operation." contracts: success: "Build completes successfully with zero errors" failure: "Build fails with compilation errors or missing dependencies"

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:

  1. Use the appropriate nuke command from the table above
  2. Report build errors clearly from the output
  3. Never suggest dotnet build, dotnet test, or other raw dotnet commands as alternatives
  4. If a specific project needs building, check if there's a Nuke target for it first
Related skills