zero

โดย vercel

ติดตั้ง Zero และโหลดเวิร์กโฟลว์ที่ตรงกับเวอร์ชันด้วยทักษะ zero

npx skills add https://github.com/vercel-labs/zerolang --skill zero

Zero

Zero is an agent-first programming language. zero.graph is the program; .0 files are projections of it. Edit through zero patch.

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.

Use the zero already on PATH or at ~/.zero/bin/zero when one exists; environments often pin a specific compiler, and replacing it silently breaks version-matched stores and workflows. Install only when zero is missing:

command -v zero >/dev/null 2>&1 || { curl -fsSL https://zerolang.ai/install.sh | bash; }
export PATH="$PATH:$HOME/.zero/bin"
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:

zero skills
zero skills get zero
zero skills get zero --full
zero skills get stdlib --topic std.time   # one section instead of the whole topic

If the user has multiple Zero binaries, use the same binary that will run the project:

/path/to/zero skills
/path/to/zero skills get zero --full

Use zero skills get <name> to load only what the task needs, and fetch each topic at most once per session: the content is fixed for a given compiler binary, so refetching a loaded topic returns the same text. Topics and approximate served sizes:

  • zero (~2 KB): this discovery stub
  • agent (~4 KB): read-edit-verify loop, zero query usage, edit surfaces, verification
  • language (~6 KB): syntax, types, effects, control flow, generics
  • graph (~9 KB): zero.graph store, query/view, patch operations, import/export/merge
  • diagnostics (~4 KB): reading diagnostics, zero explain, typed fix plans
  • packages (~5 KB): manifests, package layout, creation and repair
  • builds (~5 KB): build/run, targets, profiles, emitted artifacts
  • testing (~3 KB): test blocks, filters, runtime checks
  • stdlib (~39 KB): full signature reference, including ready-made validators: std.time (RFC 3339 incl. the exact leap-second rule), std.inet (IPv4/IPv6/hostname), std.regex (ECMA subset), std.unicode (strict UTF-8). Check here before hand-writing any parsing or validation logic. Fetch one module's section (~1 KB) with zero skills get stdlib --topic <prefix>, e.g. --topic std.time.

Before hand-writing any parsing or validation, check the stdlib catalog: zero skills get stdlib --topic <module> serves one section (std.time covers RFC 3339 incl. leap seconds).

Edit through the graph: zero patch covers everything from surgical in-function text edits (--replace-in-fn <fn> --old <text> --new <text>, Edit semantics) to complete helper creation (upsertFunction ... end) and whole function bodies (--replace-fn <fn> --body-file - with a heredoc). Direct .0 text edits are a last resort for changes no patch op expresses; package commands refresh zero.graph from edited source, but patch keeps the loop faster and preserves node identity. Read one function with zero view --fn <name> instead of whole files. Prefer concise text output during interactive agent work; use --json only for automation, exact spans, contracts, or machine-readable diagnostics.

Common Entry Points

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.

Skills เพิ่มเติมจาก vercel

benchmark-sandbox
vercel
เรียกใช้สถานการณ์ประเมินผลของ vercel-plugin ใน Vercel Sandboxes แทนแผง WezTerm ในเครื่อง จัดเตรียม microVM ชั่วคราวที่ติดตั้ง Claude Code และปลั๊กอินไว้ล่วงหน้า…
official
emil-design-eng
vercel
ทักษะนี้เข้ารหัสปรัชญาของ Emil Kowalski เกี่ยวกับการตกแต่ง UI การออกแบบคอมโพเนนต์ การตัดสินใจเรื่องแอนิเมชัน และรายละเอียดที่มองไม่เห็นซึ่งทำให้ซอฟต์แวร์รู้สึกดี
official
vercel-react-best-practices
vercel
แนวทางปฏิบัติที่ดีที่สุดในการเพิ่มประสิทธิภาพ React และ Next.js จากทีมวิศวกรรมของ Vercel ควรใช้ทักษะนี้เมื่อเขียน ตรวจสอบ หรือปรับโครงสร้างโค้ด React/Next.js…
official
vercel-react-best-practices
vercel
แนวทางปฏิบัติที่ดีที่สุดในการเพิ่มประสิทธิภาพ React และ Next.js จากทีมวิศวกรรมของ Vercel ควรใช้ทักษะนี้เมื่อเขียน ตรวจสอบ หรือปรับโครงสร้าง React/Next.js…
official
write-guide
vercel
ผลิตคู่มือทางเทคนิคที่สอนกรณีการใช้งานในโลกจริงผ่านตัวอย่างแบบค่อยเป็นค่อยไป แนวคิดจะถูกนำเสนอเมื่อผู้อ่านต้องการเท่านั้น
official
release
vercel
ปลั๊กอิน Vercel สำหรับการปล่อย — รัน gates, เพิ่มเวอร์ชัน, สร้าง artifacts, คอมมิต และพุช ใช้เมื่อถูกขอให้ "release", "ship", "bump and push" หรือ "cut a release
official
deepsec
vercel
รัน DeepSec กับโปรเจกต์ Vercel ที่เช็คเอาท์จาก dev3000 ใช้สำหรับการตั้งค่า DeepSec แบบคลิกเดียว การบูตสแตรปบริบทโปรเจกต์ การประมวลผลรอบแรกแบบมีขอบเขต และ…
official
backport-pr
vercel
ย้อนกลับ pull request ของ Next.js ที่รวมแล้วจาก canary ไปยังสาขารุ่นก่อนหน้า เช่น next-16-2 ใช้เมื่อผู้ใช้ขอให้ย้อนกลับ, cherry-pick, หรือเปิด...
official