Command Palette

Search for a command to run...

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

release-network-docs

БесплатноБез исполняемых скриптовНе проверен

Update network/operator documentation for a mainnet or testnet release without touching developer docs

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

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

Release Network Docs

Update the Aztec network/operator documentation for a new release. Queries the network for current info, updates contract addresses, cuts a versioned snapshot of the operator docs in a temporary worktree, builds it, and carries the results back to the destination branch as one commit. Nothing is pushed.

This is a lightweight alternative to /release-docs. Use it when only the network/operator docs need updating (new contract addresses, a network upgrade, config changes) and the developer docs remain unchanged.

Supports mainnet and testnet releases only: the operator docs have no devnet or nightly versions. The release type is detected from the version string (Step 1); if it does not self-identify, ask the user to confirm.

This skill does NOT:

  • generate developer API docs (aztec-nr or TypeScript) or the developer CLI references
  • update the developer version config or cut developer versioned docs
  • update migration notes
  • build aztec-node or need nargo or bb

It does regenerate the Node JSON-RPC API reference (Step 5a, from the pinned checkout's yarn-project source at the tag) and the operators' aztec start reference (Step 5b, from the release CLI).

RPC endpoints: public vs operator

Network Public (goes in docs) Operator (needs a key)
Mainnet https://aztec-mainnet.drpc.org canonical.mainnet.rpc.aztec-labs.com
Testnet https://aztec-testnet.drpc.org testnet-v<N>.rpc2.aztec-labs.com

Query the public endpoint first. Use an operator endpoint only when the public one does not answer or does not yet report the release; its key is read from AZTEC_NODE_API_KEY, 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. Whatever you query, networks.md publishes only the public endpoint: readers have no key, and the gated hosts reject them (403 from rpc2, 401 No API key found in request from the Kong gateways).

Usage

/release-network-docs https://aztec-mainnet.drpc.org
/release-network-docs https://aztec-testnet.drpc.org

Release model

The rules of /release-docs (its "Release model" section) apply unchanged:

  • The docs are authored here and quote the aztec-node commit docs/aztec-node.json pins, through its checkout $AZTEC_NODE_DIR, never the labs/ submodule.
  • A Labs version is a tag of aztec-node and is only ever addressed in that checkout (git -C "$AZTEC_NODE_DIR" …) or on aztec-node's remote; this repository's tags of the same name are unrelated Foundation commits.
  • Toolchain and package versions come from the pin (node docs/scripts/aztec_node.mts env).
  • The cut runs in its own worktree ($CUT) created from the destination commit and moves the cut's pin to the Labs tag; the destination, and its pins, are not touched until Step 10.
  • A release whose major has a dev line (docs/lines/v<major>/: a v6.x release while docs/lines/v6/ exists) is a line cut: Step 2c promotes the line into the cut's main paths (docs/scripts/promote_line.sh), and every later step reads the line's operator pages and pin there (docs/CLAUDE.md, "Two dev lines: change both").
  • A release build links example snippets ($EXAMPLES: docs/examples/, or a line cut's docs/lines/<line>/examples/) to this repository at DOCS_COMMIT, the destination's base on origin/next, and the cut never changes them.
  • State lives in ~/.cache/aztec-docs-cut/<cut>/, whose env.sh every command block from Step 2 on sources. <cut> is network-v<new_version>, or another name (dryrun-network-v<new_version>) for a rehearsal or a second cut of the same version; the cut's branch is docs-cut/<cut>. Step 2b refuses a <cut> whose state or branch exists.
  • A step marked Owner approval required. stops until the owner says yes.
  • Never stash: every worktree of this repository shares one stash stack.

v5 releases come from this repository's own v5* tags; see /release-docs "v5 releases".

Workflow

Step 1: Query Network Info and Detect Release Type

# The two gateway families read different headers: Kong (*.rpc.aztec-labs.com) reads
# x-aztec-api-key, AWS (*.rpc2.aztec-labs.com) reads x-api-key; each ignores the other.
# ${AUTH[@]+...}: expanding an empty array under set -u fails in macOS's bash 3.2.
AUTH=()
[ -n "${AZTEC_NODE_API_KEY:-}" ] && AUTH=(
  -H "x-api-key: ${AZTEC_NODE_API_KEY}"
  -H "x-aztec-api-key: ${AZTEC_NODE_API_KEY}"
)
# The status goes to stderr so a rejection stays visible instead of a bare null.
curl -sS -w '%{stderr}[http %{http_code}]\n' -X POST -H 'Content-Type: application/json' \
  ${AUTH[@]+"${AUTH[@]}"} \
  -d '{"jsonrpc":"2.0","id":1,"method":"aztec_getNodeInfo","params":[]}' <RPC_URL> | jq '.result // .'
  • On error -32601 (dRPC used to serve only the legacy node_ namespace), repeat with node_getNodeInfo.
  • `403 {"mess
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Update network/operator documentation for a mainnet or testnet release without touching developer docs

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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