ワンクリックで
release-network-docs
Update network/operator documentation for a mainnet or testnet release without touching developer docs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update network/operator documentation for a mainnet or testnet release without touching developer docs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | release-network-docs |
| description | Update network/operator documentation for a mainnet or testnet release without touching developer docs |
| argument-hint | <RPC_URL> |
Update the Aztec network/operator documentation for a new release. Queries the
network for current info, updates contract addresses, builds the docs, cuts a
versioned snapshot of the operator docs, and prepares changes on next.
This is a lightweight alternative to the full /release-docs skill. Use it
when only the network/operator docs need updating (new contract addresses,
network upgrade, config changes) and the developer docs remain unchanged.
Supports mainnet and testnet releases only. Network operator docs do not have devnet or nightly versions. The release type is auto-detected from the version string returned by the network. If the version string does not self-identify its release type, ask the user to confirm.
This skill does NOT:
This skill DOES regenerate the Node JSON-RPC API reference for the versioned docs (see Step 5a).
/release-network-docs https://aztec-mainnet.drpc.org
/release-network-docs https://rpc.testnet.aztec-labs.com
Fetch node info from the provided RPC URL:
curl -s -X POST -H 'Content-Type: application/json' \
-d '{"method":"node_getNodeInfo"}' <RPC_URL> | jq .result
Parse the response to extract:
nodeVersion (the version string, e.g. 4.1.2 or 4.1.0-rc.2)l1ContractAddresses: registry, rollup, inbox,
outbox, fee juice, staking asset, fee juice portal, fee asset handler, coin
issuer, reward distributor, governance proposer, governance, slash factoryprotocolContractAddresses: instance
registry, class registry, multi-call entrypoint, fee juicerollupVersionl1ChainIdDetect release type from the version string:
mainnet or matches a plain semver like 4.1.2 → release type is mainnettestnet or rc → release type is testnetdevnet → abort: network docs do not support devnet. Direct the
user to use /release-docs instead.mainnet or testnet)Store all values for use in subsequent steps.
The version from Step 1 tells us which git tag the docs should be built from.
The operator docs source in docs/docs-operate/ must reflect the code at the
release tag, not whatever happens to be on next.
git fetch origin
git tag -l "v<nodeVersion>"
git checkout v<nodeVersion>The networks.md L1 table includes contracts that are not returned by
node_getNodeInfo. Resolve these addresses in three tiers:
The Rollup and Registry addresses are already known from the RPC response. Use
them to query additional addresses on L1. Determine the L1 RPC from the chain
ID: 1 → Ethereum mainnet, 11155111 → Sepolia.
# GSE (Governance Staking Escrow) — from Rollup
cast call <ROLLUP_ADDRESS> "getGSE()(address)" --rpc-url <L1_RPC>
# Slasher — from Rollup
cast call <ROLLUP_ADDRESS> "getSlasher()(address)" --rpc-url <L1_RPC>
# Governance — from Registry
cast call <REGISTRY_ADDRESS> "getGovernance()(address)" --rpc-url <L1_RPC>
These addresses are stored internally in contracts with no public getter. They
can be obtained from the Forge deployment script output
(l1-contracts/script/deploy/DeployAztecL1Contracts.s.sol prints JSON with all
addresses). Ask the user if they have deployment output.
RewardLib storage, no getter)These periphery contracts have no on-chain getter. Ask the user to provide new
addresses or confirm that the existing values in networks.md are still correct.
Present a summary table showing: which addresses came from RPC, which were queried on-chain, which came from deployment output, and which are unchanged. Get user confirmation before proceeding.
File: docs/docs/networks.md
Update the column matching the release type (Alpha (Mainnet) or Testnet) in each table:
Network Technical Information table: update the version, rollup version. Update the RPC endpoint only if the user provides a new one (the argument RPC URL may be temporary or internal). Keep bootnodes and block explorer links unless the user requests changes.
L1 Contract Addresses table: update all addresses from the RPC response, on-chain queries, and any additional addresses provided by the user.
https://etherscan.io/address/0xADDR link formathttps://sepolia.etherscan.io/address/0xADDR link formatN/AL2 Contract Addresses table: update if any canonical protocol contract
addresses changed (check the protocolContractAddresses from the RPC
response). SponsoredFPC is always "Not deployed" on mainnet.
Also grep for any old addresses that may appear elsewhere in the docs:
grep -r "<old_address>" docs/
Ask the user if any content changes are needed in docs/docs-operate/:
/updating-changelog)If the user has content changes, apply them to the source files in
docs/docs-operate/. If no content changes are needed, skip to Step 5a.
The Node JSON-RPC API reference is auto-generated from TypeScript source. It must be regenerated from the release tag's source files to ensure the versioned docs reflect the actual API at that release.
cd docs
yarn generate:node-api-reference
This writes to docs/docs-operate/operators/reference/node-api-reference.md
using the source files from the currently checked-out tag. The generator parses
yarn-project/stdlib/src/interfaces/aztec-node.ts and
yarn-project/stdlib/src/interfaces/aztec-node-admin.ts directly (no
yarn-project build needed, but yarn-project/node_modules/ must be installed
so npx tsx can resolve typescript — run yarn install from yarn-project
if needed).
Verify the output lists the expected number of methods and has no ungrouped methods warnings.
The operator-facing CLI reference (docs/docs-operate/operators/reference/cli-reference.md)
is auto-generated from aztec start --help. Regenerate it so the doc matches
the CLI shipped with the release.
Pass the release version with -v so the script verifies the locally-installed
aztec CLI matches before running. The mismatch is fatal in non-interactive
mode (use -f to bypass).
cd docs
yarn generate:operator-cli-reference -v v<new_version>
If aztec --version reports a different version, install the matching one
first with aztec-up v<new_version> and retry.
The script captures aztec start --help, retries on the dockerized-CLI
stdout-truncation race, and writes the file. Verify the resulting file is
~950+ lines and ends with Starts Aztec TXE with options.
Set the environment variables matching the release type so the build preprocessor resolves version placeholders correctly in the operator docs:
MAINNET_TAG=<new_version> RELEASE_TYPE=mainnetTESTNET_TAG=<new_version> RELEASE_TYPE=testnetIMPORTANT: COMMIT_TAG must include the v prefix (e.g., v4.1.2). The
preprocessor uses this for git tag references and GitHub URLs.
cd docs && <TAG_VAR>=<new_version> RELEASE_TYPE=<release_type> COMMIT_TAG=v<nodeVersion> yarn build
Where <TAG_VAR> is MAINNET_TAG for mainnet or TESTNET_TAG for testnet.
Fix any issues reported by the build:
validate_redirect_targets.sh)validate_api_ref_links.sh)Iterate until the build passes.
Before cutting, read docs/network_version_config.json and record the
current version for this release type. This is the old version that will be
cleaned up in Step 8. Save this value — the config will be overwritten next.
cat docs/network_version_config.json
For example, if the config shows "mainnet": "v4.1.2" and you are releasing
v4.2.0 for mainnet, the old version is v4.1.2.
Now create a versioned snapshot of the network/operator docs. The version string
must always be prefixed with v (e.g. v4.1.2, not 4.1.2).
cd docs
<TAG_VAR>=<new_version> RELEASE_TYPE=<release_type> yarn docusaurus docs:version:network v<new_version>
Then update the version config and reconcile:
scripts/update_docs_versions.sh network <release_type> v<new_version>
Verify the results:
docs/network_version_config.json has the new version under the correct
release type (the old version is no longer mapped to this release type)docs/network_versioned_docs/version-v<new_version>/ exists with resolved
macros (check that #release_version was replaced with the actual version
string and #release_network was replaced with mainnet or testnet)docs/network_versioned_sidebars/version-v<new_version>-sidebars.json existsNote: At this point network_versions.json may still list the old version
as an unmapped extra (its directory still exists). This is cleaned up in Step 8.
Use the old version recorded at the start of Step 7.
If this is the first release for this release type (no previous version existed in the config), skip this step.
Ask the user for confirmation before deleting. If approved, remove:
docs/network_versioned_docs/version-<old_version>/docs/network_versioned_sidebars/version-<old_version>-sidebars.jsonThen re-run the reconciliation script so that network_versions.json drops the
old version (its directory no longer exists):
scripts/update_docs_versions.sh network
Verify that both network_version_config.json and network_versions.json no
longer reference the old version.
next Branchgit stash
git checkout next && git pull origin next
git stash pop
Check for stash conflicts. Then report to the user:
git status and git diff --stat to show what changed/release-docs.docs/docs-operate/
must reflect the release tag, not next. Always checkout the tag before
building and cutting versioned docs.aztec CLI to match
the release version (for Step 5b), yarn (for the docs build), curl/jq
(for the RPC query), and cast (for on-chain address queries).yarn generate:node-api-reference
(Step 5a) before building. The generator parses TypeScript source directly, so
no yarn-project build is required — but yarn-project/node_modules/ must exist
(run yarn install from yarn-project if missing).yarn generate:operator-cli-reference
(Step 5b) before building. The script runs aztec start --help and prepends
the hand-curated frontmatter/intro. Requires the matching aztec CLI version
to be installed locally.yarn build succeeds.v prefix: The preprocessor uses COMMIT_TAG for GitHub
URLs and git tag references. Omitting the v will break links in versioned
docs.next: All changes are stashed and moved to the next
branch at the end, ready for a PR.network_version_config.json and network_versions.json. It does not touch
developer_version_config.json or developer_versions.json.Spot-check the health of a live Aztec network deployment by sweeping recent GCP logs for warn/error messages, mapping each to the deployed code, classifying expected vs unexpected, and verifying the hard invariants (no slashing, no attestation timeouts, no unexplained prunes/conflicts). Use when asked to "spot-check", "review logs", or "health check" a network (staging, testnet, devnet, ...) over a recent window.
Reference for merge-train automation internals -- workflows, scripts, CI integration, and configuration. Use when modifying or debugging merge-train infrastructure.
Build and update the developer documentation site for a new release
Guide for working with merge-train branches -- creating PRs, choosing the right base branch, understanding labels, handling failures, and bypassing checks.
Create a well-formed Linear issue — with complete context for a fresh agent, a point estimate (1/2/3/5), and acceptance criteria. Works standalone or as part of planning a project with multiple issues. Use when asked to file/create/open a Linear issue, "make a ticket", or when breaking a plan into tracked work.
Build or adjust a Linear cycle — for a whole team or just yourself. Size capacity from last-3-cycle velocity, fill with backlog bugs/high-priority items first and project work after (in your chosen project focus order), with no unassigned issues. Use when planning/prepping a cycle for a team, or when one member wants to fill/rebalance their own cycle work.