Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-docs

БесплатноЗапускает вложенные скриптыНе проверен

Build and update the developer documentation site for a new release

AztecProtocolот AztecProtocol★ 458 звёзд на GitHub

Об этом скилле

Release Docs

Update the Aztec developer documentation for a new release. Queries the network for current info, updates version defaults, contract addresses and migration notes, cuts a versioned snapshot in a temporary worktree, builds and validates it, and carries the results back to the destination branch as one commit. Nothing is pushed.

Supports devnet, testnet, and mainnet releases. The release type is auto-detected from the version string (Step 1); if it does not self-identify, ask the user to confirm.

Usage

/release-docs https://aztec-testnet.drpc.org
/release-docs https://testnet-v6.rpc2.aztec-labs.com

Prefer the network's public, keyless endpoint (the one networks.md publishes: https://aztec-testnet.drpc.org, https://aztec-mainnet.drpc.org). The operator endpoints (testnet-v<N>.rpc2.aztec-labs.com, canonical.mainnet.rpc.aztec-labs.com) need an API key; use one only when the public endpoint does not answer or does not yet report the release. The key is read from AZTEC_NODE_API_KEY, which must be exported before the session starts (commands inherit the environment as it was at launch). Never paste the key into the conversation or onto a command line.

Release model

  • The docs are authored here; the code they quote is pinned. docs/aztec-node.json pins the aztec-node (Labs) commit that #include_code snippets, the reference checks and the API generators read, together with its toolchain versions. They read it through a checkout of that commit, $AZTEC_NODE_DIR (default docs/.aztec-node/tree), which docs/scripts/aztec_node.mts keeps. The labs/ prefix in snippet paths names that checkout, never the labs/ submodule, which is the Foundation's build input.

  • Labs versions are only addressed in the checkout. This repository has its own tags with the same names (v6.0.0-rc.1, …) on unrelated commits, so a Labs version is only ever a revision in git -C "$AZTEC_NODE_DIR" … or on aztec-node's remote. A root checkout of v6… is the Foundation tree.

  • Toolchain versions come from the pin. Every bb, nargo, aztec CLI and @aztec-labs/* or @aztec-foundation/* version below comes from node docs/scripts/aztec_node.mts env (AZTEC_VERSION, BB_VERSION, NOIR_VERSION, L1_ARTIFACTS_VERSION, and NARGO and BB once provisioned). In the cut that is the release tag's.

  • The cut runs in its own worktree ($CUT), created from the destination commit; it moves the cut's pin to the Labs tag. The destination checkout is not touched until Step 17, and its pins never move: the destination's dev docs keep following their own (docs/CLAUDE.md, "Two dev lines: change both").

  • A line cut. A release whose major has a dev line (docs/lines/v<major>/: a v6.x release while docs/lines/v6/ exists) is cut from that line, on its tag on aztec-node's v<major> branch. Step 2c promotes the line into the cut's main paths (docs/scripts/promote_line.sh), so every later step reads the line's pages and pin there; its examples stay in docs/lines/v<major>/examples/ ($EXAMPLES), which its pages quote. Any other release is cut from main's pages.

  • Release inputs, recorded in the commit that lands the cut (Step 17):

    Input Source
    Content revision this repository's docs/ at the destination commit
    Labs code revision the cut's pin, moved to the tag: its commit, and the published bb and nargo it names
    Foundation dependency revision @aztec-foundation/l1-artifacts at the tag's BB_VERSION
    Snippet links into this repository DOCS_COMMIT: the destination's base on origin/next
    Destination the branch and commit the cut started from
    Labs release notes from v6.1.0: aztec-node's GitHub release notes for the tags the cut spans, each with its updated_at (Step 7c)
  • Snippet links. Snippets under labs/ link to aztec-node at the pinned commit; snippets from the examples ($EXAMPLES: docs/examples/, or a line cut's docs/lines/<line>/examples/) link to this repository at DOCS_COMMIT, which a release build requires (include_code.js refuses to preprocess a RELEASE_TYPE other than nightly without it). The cut never changes them, so those links show the lines the snapshot quotes.

  • Examples build from the pin. docs/examples/bootstrap.sh builds them with the pin's published toolchain against the default checkout, docs/.aztec-node/tree, which their Nargo.toml path dependencies name; it ignores AZTEC_NODE_DIR. In the cut that is a second checkout of the tag's commit, so the examples the snapshot quotes build and run at the tag (Step 15). A line cut builds the line's examples in a staged copy instead (examples/bootstrap.sh --line <line>).

  • State lives in ~/.cache/aztec-docs-cut/<cut>/: env.sh (sourced by every command block from Step 2 on, since shell state does not carry over between commands),

Полный SKILL.md на GitHub

Установить release-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

local_network.sh

FAQ

Что делает скилл release-docs?

Build and update the developer documentation site for a new release

Как установить скилл release-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release-docs запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить release-docs с