← ClaudeAtlas

new-dotnet-clilisted

Use when creating a new .NET CLI/console project from the agent-harness template ("new cli tool", "new console app", "new dotnet project"). Scaffolds, stamps provenance, and verifies guardrails.
ryan75195/dotnet-agent-harness · ★ 2 · AI & Automation · score 64
Install: claude install-skill ryan75195/dotnet-agent-harness
# New .NET CLI Project Scaffold a .NET 10 console solution by delegating to the standalone `new-project` CLI (the single source of truth for scaffold -> stamp -> setup -> verify). ## Inputs - **Name** (required): PascalCase solution name, e.g. `MyTool`. Ask if not given. - **Destination** (optional): defaults to `<cwd>/<Name>`. ## Steps 1. **Resolve the harness repo:** ```powershell $repo = & "${CLAUDE_PLUGIN_ROOT}/scripts/resolve-repo.ps1" | Select-Object -Last 1 ``` 2. **Run the CLI** (omit `-Destination` when defaulted): ```powershell & "$repo/new-project.ps1" dotnet-cli <Name> -Destination <dir> ``` This installs the templates, scaffolds, stamps provenance, runs setup, and verifies (`dotnet build` + `dotnet test`). If it prints a git-identity error, relay the fix and stop until the user configures git, then re-run. 3. **Report** what the CLI printed: the project path, the development lifecycle from the project's CLAUDE.md (issue -> feat branch -> commit -> PR), and that analyzers fire at error severity. Never hand-edit `.harness.json` — the CLI writes it.