build

build is a command for coding agents from peterblazejewicz/claude-plugins. It costs 42 tokens per session (1,444 once invoked), scanned A, original, MIT.

A command for implementing a .NET development plan one task at a time using failing tests, working code, and cleanup. TDD, or test-driven development, means writing a test for the expected behavior before writing the implementation.

In plain words
What is it for?
Use it to implement planned C# tasks with xUnit or MSTest, run `dotnet test`, build with warnings treated as errors, and optionally process the whole approved plan automatically.
Why use it?
It turns a large change into smaller steps that can be checked as they are completed. Each step includes tests and build checks, helping catch regressions while the work is underway.

Command

Part of the dotnet-skills plugin — 24 skills, 9 commands, 4 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/peterblazejewicz/claude-plugins/build
Clone the repo
git clone --depth 1 https://github.com/peterblazejewicz/claude-plugins

Or install dotnet-skills, the plugin that ships this one along with the rest of its 24 skills, 9 commands, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build

README.md
[![agentmods](https://agentmods.dev/badge/commands/peterblazejewicz/claude-plugins/build.svg)](https://agentmods.dev/commands/peterblazejewicz/claude-plugins/build)
Your own site
<a href="https://agentmods.dev/commands/peterblazejewicz/claude-plugins/build"><img src="https://agentmods.dev/badge/commands/peterblazejewicz/claude-plugins/build.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,444 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00042 $0.01444
Opus 5 $0.00021 $0.00722
Sonnet 5 $0.00008 $0.00289
Haiku 4.5 $0.00004 $0.00144

Measured 4d ago against content hash a369a48565dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-skills/commands/build.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Invoke the dotnet-skills:incremental-implementation skill alongside dotnet-skills:test-driven-development.

Modes

  • /build — implement the next pending task, then stop (careful, one slice at a time).
  • /build auto — generate the plan if needed, get a single approval, then implement every task without stopping between them.

$ARGUMENTS selects the mode. Treat auto (canonical) or all as autonomous mode; anything else (or empty) is the default single-task mode. Autonomous mode is not faster per task — it runs the same test-driven loop — it only removes the human stepping between tasks.

Default: one task

Pick the next pending task from the plan. Then:

  1. Read the task's acceptance criteria
  2. Load relevant context — existing C# code, project conventions, analyzer settings (.editorconfig, nullable reference-type mode), types in MyApp.Contracts / MyApp.Core
  3. Write a failing xUnit or MSTest test for the expected behavior (RED)
  4. Implement the minimum C# code to pass the test (GREEN)
  5. Run the full test suite to check for regressions: dotnet test
  6. Run the build with warnings-as-errors to verify compilation: dotnet build -warnaserror
  7. Commit with a descriptive message
  8. Mark the task complete and stop

Autonomous: the whole plan (/build auto)

Use this once a spec exists and you want to collapse plan + build into one run. It removes the manual stepping between tasks — not the verification. Every task still earns a passing test and its own commit.

  1. Require a spec. Look only for a spec at a known path: SPEC.md at the repo root, docs/SPEC.md, or a file under spec/. A README or arbitrary doc does not count. If none exists, stop and tell the user to run /spec first — do not invent requirements.
  2. Establish a clean baseline. Run git status --porcelain. If there are uncommitted changes outside the expected planning artifacts (SPEC.md, docs/SPEC.md, spec/*, tasks/plan.md, tasks/todo.md), stop and ask the user to commit, stash, or confirm how to handle them. Autonomous per-task commits must not absorb unrelated local work, or the clean-rollback guarantee breaks.
  3. Plan if needed. If there is no tasks/plan.md, invoke dotnet-skills:planning-and-task-breakdown to generate one.
  4. Single checkpoint. Present the full plan and wait for an unambiguous affirmative (e.g. "approve", "go", "yes"). Treat hedged responses ("looks reasonable", "I guess") as not approved. This is the only human gate — after approval, run autonomously. If you generated tasks/plan.md, commit it as a single preparatory commit now so it doesn't bleed into the first task's commit.
  5. Execute every task in dependency order. Use each task's declared dependencies; if they aren't explicit, execute in the order the plan lists them. For each task, run the full default loop above (RED → GREEN → dotnet test regression → dotnet build -warnaserror → commit → mark complete). Stage only the files that task touched plus its task-status update — never git add -A blindly — and make one commit per task so any point is a clean rollback.
  6. Stop and ask the user (do not push through) when:
    • a test can't be made to pass or the build breaks without an obvious fix → follow dotnet-skills:debugging-and-error-recovery
    • the spec is ambiguous, or a task needs a decision the spec doesn't cover
    • a task is high-risk or irreversible — auth/permission changes, destructive EF Core migrations (dropping or renaming columns/tables, data backfills), changes behind a feature-flag gate (IOptions<FeatureOptions> / Microsoft.FeatureManagement), payments, deletions, deploys, anything touching secrets, or anything you can't undo with git revert → follow dotnet-skills:doubt-driven-development and get explicit sign-off before continuing

Read the full file on GitHub · 54 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 54 lines · 42 tokens per session scan A a369a48565dd

Subscribe to this mod's changes

build is a command published in the GitHub repository peterblazejewicz/claude-plugins (7 stars, last pushed 2mo ago), licensed MIT. It adds 42 tokens to every session and 1,444 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.