一键导入
release
Use when preparing, versioning, tagging, or publishing an omeinsum-rs crate release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when preparing, versioning, tagging, or publishing an omeinsum-rs crate release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when an omeinsum-rs pull request has review comments, local CI failures, or coverage gaps to address
Use when turning a GitHub issue for omeinsum-rs into a scoped implementation plan, branch, and pull request
Use when reviewing omeinsum-rs code changes for correctness, DRY, KISS, cohesion/coupling, CLI/HCI quality, and test quality
| name | release |
| description | Use when preparing, versioning, tagging, or publishing an omeinsum-rs crate release |
Prepare and publish an omeinsum-rs release. Releases are made from main, tagged as vX.Y.Z, and published through the GitHub Release workflow.
/release - determine the next version, verify, then release/release 0.2.0 - release an explicit versionFor Codex, open this SKILL.md directly and treat slash-command forms as aliases.
Confirm the local branch and remote state:
git status --short
git branch --show-current
git log --oneline -10
gh api repos/TensorBFS/omeinsum-rs/tags --jq '.[].name'
gh api repos/TensorBFS/omeinsum-rs/releases --jq '.[].tag_name'
Stop if:
mainRead Cargo.toml and omeinsum-cli/Cargo.toml.
For 0.x releases:
0.x.Y) for bug fixes, docs, CI, and compatibility-only changes.0.X.0) for new public API, CLI features, performance features, or broad behavior changes.If the crate already exists on crates.io, do not reuse a published version.
Run the canonical local gate before publishing:
make check
cargo publish --dry-run
If the release is expected to include CLI packaging behavior, also run:
cargo test -p omeinsum-cli
Do not proceed if verification fails.
Use the Makefile target:
make release V=x.y.z
The target:
Cargo.toml and omeinsum-cli/Cargo.tomlCargo.lock only if this repo starts tracking itvX.Y.ZCheck the release and workflow:
gh release view vX.Y.Z
gh run list --workflow release.yml --limit 3
Report:
| Mistake | Fix |
|---|---|
| Publishing from a dirty tree | Commit or remove unrelated changes first |
| Reusing an existing tag or crate version | Pick the next semver version |
| Only pushing a tag | Create a GitHub Release so the workflow publishes |
Skipping cargo publish --dry-run | Dry-run before make release |
| Assuming CUDA tests are required | Run CUDA tests only when release changes CUDA paths and local support exists |