build

A command for implementing planned coding tasks one at a time, or all together in automatic mode.

In plain words
What is it for?
It helps developers complete planned work incrementally, verify it, and record each finished task in Git.
Why use it?
It gives each task a repeatable loop: write a failing test, implement the change, run checks, build, and commit.

Command for Claude Code

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/borhen68/skillengine/build
Clone the repo
git clone --depth 1 https://github.com/borhen68/SkillEngine

Made for: Claude Code.

Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00027 $0.00924
Opus 5 $0.00014 $0.00462
Sonnet 5 $0.00005 $0.00185
Haiku 4.5 $0.00003 $0.00092

Measured yesterday against content hash 74cc85b5092f, 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 yesterday.

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.

Origin

This is a copy

100% identical to build — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/build.md · 45 lines

How it starts

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

Invoke the agent-skills:incremental-implementation skill alongside agent-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. Note: 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 code, patterns, types)
  3. Write a failing test for the expected behavior (RED)
  4. Implement the minimum code to pass the test (GREEN)
  5. Run the full test suite to check for regressions
  6. Run the build to verify compilation
  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 agent-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 → regression → build → 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 agent-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 data migrations, payments, deletions, deploys, anything touching secrets, or anything you can't undo with git revert → follow agent-skills:doubt-driven-development and get explicit sign-off before continuing

Read the full file on GitHub · 45 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. yesterday First seen · 45 lines · 27 tokens per session scan A 74cc85b5092f

Subscribe to this mod's changes

build is a command published in the GitHub repository borhen68/SkillEngine (17 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 924 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to build, differing in 0 lines, and is treated as a copy.