zero

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Zero

Zero

Zero is the programming language for agents.
Install this skill once in an agent's skill manager. Keep it thin; Zero's own CLI serves the version-matched workflow for each installed compiler.
Install the latest release:
sh
curl -fsSL https://zerolang.ai/install.sh | bash
export PATH="$HOME/.zero/bin:$PATH"
zero --version
Zero 是面向 Agent 的编程语言。
在 Agent 的技能管理器中安装一次该技能。保持其轻量化;Zero 自身的 CLI 会为每个已安装的编译器提供版本匹配的工作流。
安装最新版本:
sh
curl -fsSL https://zerolang.ai/install.sh | bash
export PATH="$HOME/.zero/bin:$PATH"
zero --version

Version-Matched Skills

版本匹配的技能

This file is a discovery stub. Do not treat it as the full Zero workflow.
Before editing, checking, testing, or repairing Zero code, ask the installed compiler for the skill content that matches that exact binary:
sh
zero skills list
zero skills get zero
zero skills get zero --full
If the user has multiple Zero binaries, use the same binary that will run the project:
sh
/path/to/zero skills list
/path/to/zero skills get zero --full
Use
zero skills list
to discover additional skills bundled with that Zero version. Use
zero skills get <name>
to load the one relevant to the task. Common inner skills include
zero-agent
,
zero-language
,
zero-diagnostics
,
zero-packages
,
zero-builds
,
zero-testing
, and
zero-stdlib
.
此文件是一个发现存根,请勿将其视为完整的 Zero 工作流。
在编辑、检查、测试或修复 Zero 代码之前,请向已安装的编译器请求与该精确二进制文件匹配的技能内容:
sh
zero skills list
zero skills get zero
zero skills get zero --full
如果用户拥有多个 Zero 二进制文件,请使用将运行项目的同一二进制文件:
sh
/path/to/zero skills list
/path/to/zero skills get zero --full
使用
zero skills list
发现该 Zero 版本附带的其他技能。使用
zero skills get <name>
加载与任务相关的技能。常见的内部技能包括
zero-agent
zero-language
zero-diagnostics
zero-packages
zero-builds
zero-testing
zero-stdlib

Common Entry Points

常用入口点

sh
zero check --json <file-or-package>
zero graph --json <file-or-package>
zero size --json <file-or-package>
zero explain <diagnostic-code>
zero fix --plan --json <file-or-package>
In a Zero repository checkout, prefer
bin/zero
when the task is about that checkout rather than the globally installed compiler.
sh
zero check --json <file-or-package>
zero graph --json <file-or-package>
zero size --json <file-or-package>
zero explain <diagnostic-code>
zero fix --plan --json <file-or-package>
在 Zero 仓库检出目录中,当任务针对该检出版本而非全局安装的编译器时,优先使用
bin/zero