一键导入
update-sdk-docs
Update the SDK book documentation to reflect changes in the SDK source code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update the SDK book documentation to reflect changes in the SDK source code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guide runtime release process for Bulletin Chain networks
Run all formatting, linting and cleaning checks before committing code
Build the console UI (same as CI)
Review local changes or a pull request (authoritative review criteria)
| name | update-sdk-docs |
| description | Update the SDK book documentation to reflect changes in the SDK source code |
When SDK source code changes (Rust or TypeScript), update the corresponding book documentation to stay in sync.
If no arguments are passed, detect what changed by diffing the current branch against main and update all affected docs.
If arguments are passed (e.g., rust, typescript, api-reference), only update those sections.
Diff against the base branch to find what changed:
git diff main --name-only -- sdk/rust/src/ sdk/typescript/src/
Categorize changes:
For Rust SDK changes, read:
sdk/rust/src/lib.rs — root re-exports and constantssdk/rust/src/prelude.rs — prelude modulesdk/rust/src/client.rs — BulletinClientsdk/rust/src/transaction.rs — TransactionClient (std)sdk/rust/src/types.rs — all shared types, enums, configssdk/rust/src/storage.rs — StorageOperation, BatchStorageOperationsdk/rust/src/chunker.rs — Chunker trait, FixedSizeChunkersdk/rust/src/dag.rs — DagBuilder, UnixFsDagBuildersdk/rust/src/authorization.rs — AuthorizationManagersdk/rust/src/renewal.rs — RenewalOperation, RenewalTrackersdk/rust/src/cid.rs — CID functionssdk/rust/src/error.rs — Error enum (if separate)For TypeScript SDK changes, read:
sdk/typescript/src/index.ts — all re-exportssdk/typescript/src/client.ts — AsyncBulletinClientsdk/typescript/src/builder.ts — StoreBuilder, CallBuilder, AuthCallBuildersdk/typescript/src/preparer.ts — BulletinPreparersdk/typescript/src/mock.ts — MockBulletinClientsdk/typescript/src/chunker.ts — FixedSizeChunkersdk/typescript/src/dag.ts — UnixFsDagBuildersdk/typescript/src/cid.ts — CID utility functionssdk/typescript/src/types.ts — all types, enums, interfacessdk/typescript/src/error.ts — BulletinError, ErrorCodesdk/typescript/src/constants.ts — constantsMap SDK changes to book pages:
| SDK area | Book pages to update |
|---|---|
| Client constructors/setup | README.md, quickstart.md, {lang}/README.md, {lang}/basic-storage.md |
| Store methods | {lang}/basic-storage.md, {lang}/chunked-uploads.md |
| Authorization methods | {lang}/authorization.md |
| Renewal methods | {lang}/renewal.md |
| Error types/codes | {lang}/error-handling.md |
| CID functions | concepts/storage.md, {lang}/basic-storage.md |
| Chunking/DAG | {lang}/chunked-uploads.md, concepts/manifests.md |
| Types/enums/constants | {lang}/api-reference.md |
| Any public API change | {lang}/api-reference.md |
| PAPI integration | typescript/papi-integration.md |
| Mock client | rust/mock-testing.md |
| no_std changes | rust/no_std.md |
Where {lang} is typescript/ or rust/ depending on which SDK changed.
When updating documentation:
{lang}/api-reference.md.AsyncBulletinClient, Rust uses TransactionClient.StoreOptions not StoreOpts, HashAlgorithm not HashAlgo, etc.After updating, run:
cd docs/book && mdbook build
Fix any broken links or build errors.
After completing updates, provide a summary of: