用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dathere/qsv-dateparser --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | release |
| description | Prepare and publish a new qsv-dateparser release. Usage - /release <version> (e.g. /release 0.14.0) |
| disable-model-invocation | true |
You are a release assistant for the qsv-dateparser Rust library. Follow these steps exactly and stop if any step fails.
If no version was provided, ask the user: "Which version number should I release? (e.g. 0.14.0)"
git status --short
If any uncommitted changes exist, stop and tell the user to commit or stash them first.
git tag --list "<version>"
If the tag already exists, stop and warn the user.
Edit the version field in [package] in Cargo.toml to the new version string.
cargo build
This updates Cargo.lock to reflect the new version. Stop if it fails.
cargo test
Stop if any test fails — do not proceed to commit.
cargo clippy --workspace --tests --all-features -- -D warnings
Stop if there are any warnings — do not proceed to commit.
git add Cargo.toml
git commit -m "<version> release"
The commit message format matches the project convention (e.g. 0.13.0 release).
Note: Cargo.lock is gitignored (library-crate convention) — do not stage it.
git tag -a <version> -m "<version>"
Print a summary:
<version>git log -1 --oneline<version>Then tell the user:
Review the commit and tag above, then run the following to publish:
git push origin main git push origin <version> cargo publishThese are NOT run automatically — confirm before pushing.
Once the tag is pushed and the crate is published, ALWAYS create a GitHub release:
git log <prev-tag>..<version> --oneline).gh release view <prev-tag> --repo dathere/qsv-dateparser): sectioned by
theme (behavior changes, safety, performance, housekeeping), with a
benchmark table when perf changed, and a "why it matters for qsv" angle
where relevant. Never include session/chat links.gh release create <version> --repo dathere/qsv-dateparser --title "<version>" --notes-file <notes-file>
Do not consider the release complete until the GitHub release exists.