一键导入
release-check
Pre-release validation checklist. Use before tagging a version or publishing to PyPI. Manual invocation only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pre-release validation checklist. Use before tagging a version or publishing to PyPI. Manual invocation only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build and deploy documentation to GitHub Pages. Verifies the build locally, then triggers the GitHub Actions workflow. Use after docs/code changes to update the live site.
Prepare and publish a new SDK release. Bumps version, runs quality gate, tags, pushes, and triggers PyPI publish. Use with version argument e.g. /prepare-release 2.2.0
Run integration tests against the live OpenClaw gateway at ws://127.0.0.1:18789. Use when verifying SDK changes work against the real gateway.
Find and update documentation after code changes. Use after implementing features, fixing bugs, or changing APIs to keep docs in sync.
Run the full SDK quality gate — pytest, mypy, and ruff. Use after making code changes to verify nothing is broken.
| name | release-check |
| description | Pre-release validation checklist. Use before tagging a version or publishing to PyPI. Manual invocation only. |
| disable-model-invocation | true |
| allowed-tools | ["Bash(poetry *)","Bash(python *)","Bash(git *)","Read","Grep","Glob"] |
Run every gate. ALL must pass before release.
poetry run pytest tests/ --cov=openclaw_sdk --cov-report=term-missing -x
Gate: 0 failures, 90%+ coverage
poetry run mypy --strict src/openclaw_sdk
Gate: 0 errors
poetry run ruff check src/ tests/ && poetry run black --check src/ tests/
Gate: 0 issues
PYTHONIOENCODING=utf-8 python -m mkdocs build 2>&1
Gate: No broken links or warnings
Check that version matches across:
pyproject.toml → version = "..."CHANGELOG.md → has entry for this versionSTATUS.md → reflects current statesrc/openclaw_sdk/__init__.py → __version__ if presentpoetry build
Gate: Produces .tar.gz and .whl without errors
git status
git log --oneline -5
Gate: Clean working tree, on correct branch
Summarize: PASS/FAIL for each gate, total test count, coverage %, version string.