一键导入
upstream-release
Handle upstream-release issues — read changelog deltas, update spec docs, sync protocol and gateway types, run tests, open PR, tag release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Handle upstream-release issues — read changelog deltas, update spec docs, sync protocol and gateway types, run tests, open PR, tag release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Improve the visual design and UX of the VitePress docs site — layout, colors, typography, components, and responsiveness
Build, preview, and update the VitePress documentation site in docs-site/
Run go test with race detector, analyze failures, fix issues, and re-run until green
Review pull requests against repo standards — Go conventions, test coverage, race detector, CHANGELOG, and docs
Create a GitHub release with tag after a PR merge — follows the repo's tag and gh release create workflow
基于 SOC 职业分类
| name | upstream-release |
| description | Handle upstream-release issues — read changelog deltas, update spec docs, sync protocol and gateway types, run tests, open PR, tag release |
| license | MIT |
| metadata | {"audience":"maintainers","workflow":"github"} |
Automate the full upstream release sync workflow for openclaw-go when a new OpenClaw gateway version is published.
Use this skill when handling GitHub issues labeled upstream-release or when a new OpenClaw gateway version needs to be synced into this library.
Read the issue — extract the changelog excerpt and identify API/protocol deltas (new RPCs, changed params, removed fields, new event types).
Create or update the spec doc — write docs/specs/<version>.md summarizing upstream deltas and required work items.
Update protocol types — add or modify types in protocol/ to match the upstream wire format:
*Params and *Result structsjson tags and field typesgo vet ./protocol/... after changesUpdate gateway methods — add typed convenience methods in gateway/methods.go:
client.Send() → unmarshal resultUpdate tests — add test cases in gateway/methods_test.go:
Update CHANGELOG.md — add entries under [Unreleased] > Added following Keep a Changelog format.
Update docs-site package pages — add new methods to docs-site/packages/gateway.md and any new types to docs-site/packages/protocol.md.
Run validation:
go test ./... -race
go vet ./...
Complete review gates before marking the PR ready:
Open PR to main with:
After PR merge only — create tag and GitHub release:
git tag v<version>
gh release create v<version> --title "v<version>" --notes "..."
Close the issue with a link to the release.
protocol/types.go — wire typesprotocol/constants.go — method strings, scopes, rolesgateway/methods.go — typed RPC methodsgateway/methods_test.go — method testsCHANGELOG.md — release notesdocs/specs/ — version spec documentsdocs-site/packages/ — published package docsmain — always use feature branches and PRs.issue/<number>-upstream-release-v<version>