build

build is a command for Claude Code from vinvcn/addyosmani-agent-skills-zh. It costs 30 tokens per session (1,066 once invoked), scanned A, original, MIT.

A command for carrying out the next unfinished coding task from a plan, including writing tests, implementing the change, checking the project, and committing it. TDD, or test-driven development, means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to select the next pending task, write its acceptance test, build the smallest implementation, run tests and the build, and create a descriptive commit.
Why use it?
It gives a repeatable path from a planned task to a checked-in change and helps catch regressions before the work is marked complete.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the agent-skills plugin — 26 skills, 10 commands, 4 agents shipped together

Good fit Use it to select the next pending task, write its acceptance test, build the smallest implementation, run tests and the build, and create a descriptive commit.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vinvcn/addyosmani-agent-skills-zh/build
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.

Clone the repo
git clone --depth 1 https://github.com/vinvcn/addyosmani-agent-skills-zh

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 26 skills, 10 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/vinvcn/addyosmani-agent-skills-zh/build/github.svg)](https://agentmods.dev/commands/vinvcn/addyosmani-agent-skills-zh/build)
Your own site
<a href="https://agentmods.dev/commands/vinvcn/addyosmani-agent-skills-zh/build"><img src="https://agentmods.dev/badge/commands/vinvcn/addyosmani-agent-skills-zh/build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build

Your own site · 80×15
<a href="https://agentmods.dev/commands/vinvcn/addyosmani-agent-skills-zh/build"><img src="https://agentmods.dev/badge/commands/vinvcn/addyosmani-agent-skills-zh/build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00030 $0.01066
Opus 5.5 $0.00012 $0.00426
Sonnet 5.5 $0.00006 $0.00213
Haiku 4.5 $0.00003 $0.00107

Measured 1mo ago against content hash 78b26a741d55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

.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.

同时调用 agent-skills:incremental-implementation skill 和 agent-skills:test-driven-development。

模式

  • /build — 实现下一个 pending task,然后停止(谨慎推进,一次一个切片)。
  • /build auto — 如有需要先生成 plan,获得一次批准,然后不间断地实现每一个 task。

$ARGUMENTS 用于选择模式。将 auto(规范写法)或 all 视为 autonomous 模式;其他任何值(或空)都是默认的 single-task 模式。注意:autonomous 模式并不会让单个 task 更快 —— 它运行同样的 test-driven loop —— 它只是去掉了 task 之间的人工介入。

默认:单个 task

从 plan 中选择下一个 pending task。然后:

  1. 阅读该 task 的 acceptance criteria
  2. 加载相关上下文(现有代码、patterns、types)
  3. 为预期行为编写一个失败测试(RED)
  4. 实现能让测试通过的最小代码(GREEN)
  5. 运行完整 test suite 检查 regressions
  6. 运行 build 验证 compilation
  7. 使用描述性 message 提交
  8. 标记该 task 完成并停止

Autonomous:整个 plan(/build auto)

当 spec 已存在、你想把 plan + build 合并为一次运行时使用。它去掉的是 task 之间的人工介入 —— 而不是验证。每个 task 仍然必须拿到通过的测试和自己的 commit。

  1. 要求有 spec。 只在已知路径查找 spec:仓库根目录的 SPEC.md、docs/SPEC.md,或 spec/ 下的文件。README 或随便某个文档不算数。如果都不存在,停止并告诉用户先运行 /spec —— 不要凭空编造需求。

  2. 建立干净的 baseline。 运行 git status --porcelain。如果存在预期 planning 产物(SPEC.md、docs/SPEC.md、spec/*、tasks/plan.md、tasks/todo.md)之外的未提交变更,停止并请用户 commit、stash 或确认如何处理。autonomous 的按 task 提交绝不能吸收无关的本地工作,否则干净回滚的保证就被破坏了。

  3. 如有需要先生成 plan。 如果没有 tasks/plan.md,调用 agent-skills:planning-and-task-breakdown 生成一份。

  4. 单一检查点。 展示完整 plan 并等待明确的肯定答复(例如 "approve"、"go"、"yes")。将含糊的回应("看起来合理"、"我猜行吧")视为未批准。这是唯一的人工门禁 —— 批准后即自主运行。如果你生成了 tasks/plan.md,现在就把它作为一个单独的准备性 commit 提交,避免它混进第一个 task 的 commit。

  5. 按 dependency 顺序执行每一个 task。 使用每个 task 声明的 dependencies;如果不明确,就按 plan 中列出的顺序执行。对每个 task,运行上面完整的默认循环(RED → GREEN → regression → build → commit → 标记完成)。只 stage 该 task 触及的文件加上其 task 状态更新 —— 绝不盲目 git add -A —— 每个 task 一个 commit,这样任何时点都是一个干净的回滚点。

  6. 停止并询问用户(不要硬推)当:

    • 某个测试无法通过,或 build 被破坏且没有明显的修法 → 遵循 agent-skills:debugging-and-error-recovery
    • spec 含糊,或某个 task 需要一个 spec 未覆盖的决策
    • 某个 task 高风险或不可逆 —— auth/permission 变更、破坏性数据迁移、支付、删除、部署、任何触及 secrets 的事,或任何你无法用 git revert 撤销的事 → 遵循 agent-skills:doubt-driven-development 并在继续之前获得明确签核

    用户解决阻塞项后,重新运行 /build auto —— 它会从下一个 pending task 恢复。

  7. 最后总结: 完成的 tasks、新增的 tests、提交的 commits,以及任何被跳过、被标记或留给用户的事项。

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. 1mo ago Changed · +26 lines · +16 tokens per session 78b26a741d55
  2. 1mo ago First seen · 19 lines · 14 tokens per session scan A 52029f337eeb

Subscribe to this mod's changes

build is a command published in the GitHub repository vinvcn/addyosmani-agent-skills-zh (44 stars, last pushed 6d ago), licensed MIT. It adds 30 tokens to every session and 1,066 once invoked, about $0.0001 per session on Opus 5.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-30.