zero

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Zero

Zero

Zero is an agent-first programming language where the graph is the program database and
.0
files are human-readable projections.
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为核心的编程语言,其中图是程序数据库,
.0
文件是人类可读的投影文件。
只需在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 only a discovery stub. Do not treat it as the full Zero workflow or as command reference.
Before editing, checking, testing, or repairing Zero code, ask the installed compiler for the skill content that matches that exact binary:
sh
zero skills
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
/path/to/zero skills get zero --full
Use
zero skills
to discover additional skills bundled with that Zero version. Use
zero skills get <name>
to load only what is relevant to the task. Common inner skills include
agent
,
language
,
graph
,
diagnostics
,
packages
,
builds
,
testing
, and
stdlib
.
Agents should normally author through the graph and use
.0
projections only for human review or explicit import/export work. Prefer concise text output during interactive agent work; use
--json
only for automation, exact spans, contracts, or machine-readable diagnostics.
本文件仅为发现存根,请勿将其视为完整的Zero工作流或命令参考。
在编辑、检查、测试或修复Zero代码之前,请向已安装的编译器请求与该二进制文件完全匹配的技能内容:
sh
zero skills
zero skills get zero
zero skills get zero --full
如果用户拥有多个Zero二进制文件,请使用将运行该项目的同一二进制文件:
sh
/path/to/zero skills
/path/to/zero skills get zero --full
使用
zero skills
发现该Zero版本附带的其他技能。使用
zero skills get <name>
仅加载与任务相关的内容。常见的内部技能包括
agent
language
graph
diagnostics
packages
builds
testing
stdlib
Agent通常应通过图进行创作,仅将
.0
投影用于人工审核或显式导入/导出工作。在交互式Agent工作期间,优先选择简洁的文本输出;仅在自动化、精确范围、合约或机器可读诊断场景下使用
--json
参数。

Common Entry Points

常用入口点

sh
zero query [graph-or-package]
zero patch [graph-or-package] --op '<operation>'
zero check [graph-or-package]
zero test [graph-or-package]
zero run [graph-or-package] -- <args>
zero diff [graph-or-package]
zero explain <diagnostic-code>
zero fix --plan [graph-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 query [graph-or-package]
zero patch [graph-or-package] --op '<operation>'
zero check [graph-or-package]
zero test [graph-or-package]
zero run [graph-or-package] -- <args>
zero diff [graph-or-package]
zero explain <diagnostic-code>
zero fix --plan [graph-or-package]
在Zero代码库检出目录中,如果任务是针对该检出目录而非全局安装的编译器,请优先使用
bin/zero