# Build

> Build, test, or compile the solution using Nuke. Use when asked to build, compile, run tests, clean, restore, or perform any .NET build operation. Use when this capability is needed.

- Skill: `tomevault-io/build-9` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/build-9`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/build-9/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/build-9

---


# 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

```bash
nuke compile
```

### Run all tests

```bash
nuke test
```

### Clean and rebuild

```bash
nuke clean compile
```

### List available targets

```bash
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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/giantcroissant-lunar) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

