用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/whiteguo233/OpenBiliClaw --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | release |
| description | Use when releasing a version, bumping project versions, or pushing release tags. |
Follow all six steps in order. Stop when any gate fails; never publish a partially verified release.
Require a clean worktree on main, pull the latest commit, and run the full test suite:
git status --short
git branch --show-current
git pull --ff-only
.venv/bin/python -m pytest -q
Do not continue until git status --short is empty and the branch is main.
Use the repository tool as the only writer for mechanical version fields:
.venv/bin/python scripts/release.py --bump X.Y.Z
When the extension version changes, include --extension X.Y.Z; the flag may also be used
alone for an extension-only release. Never hand-edit mechanical version fields. The changelog
heading and README callout content in the next steps are deliberate hand edits.
Hand-edit the top of docs/changelog.md with ## vX.Y.Z: theme (YYYY-MM-DD) and the release's
verified changes. The final scripts/release.py --check warns if this heading is missing.
Hand-edit the 📌 callouts under the recent-updates sections. Follow CLAUDE.md rule 10; the three hard limits are:
README.md and README_EN.md in lockstep with the same items and order.Then verify every mechanical field and both user-facing version headers:
.venv/bin/python scripts/release.py --check
Review the release-only diff, stage only those files, and commit:
git commit -m "chore: release X.Y.Z" -- <release-paths>
Create the aggregate openbiliclaw-vX.Y.Z tag and the applicable backend-vX.Y.Z,
extension-vX.Y.Z, and desktop-vX.Y.Z channel tags. Push one tag per git push
invocation. A four-tag push previously emitted no GitHub events, leaving all four release
workflows silently dead; never combine tag refspecs in one push.
git push origin openbiliclaw-vX.Y.Z
git push origin backend-vX.Y.Z
# Push each other applicable channel tag in its own invocation.
Run gh run list --limit 10 and confirm that each pushed tag triggered exactly one run of its
corresponding release workflow. Inspect failures before retrying or pushing another tag. After
the container workflow succeeds, confirm the GHCR package is public; new packages may require
their visibility to be changed to public manually.