Rust Release
Rule
Validate before publishing and require explicit approval for irreversible operations.
Hard Stops
Stop before:
- Tagging, publishing to crates.io, pushing release pages, signing artifacts, uploading
binaries, publishing containers, or using credentials.
- Releasing from a dirty tree or with failing validation unless explicitly approved.
- Adding
release-plz, cargo-dist, signing, SBOM, or provenance automation without
approval.
- Publishing public crates without checking SemVer and package contents.
Defaults
- Run full validation, inspect
cargo package, and keep generated artifacts out of git.
- Use
cargo semver-checks for public library crates when configured or before publishing.
- Use
release-plz for crate release PRs/changelogs/version bumps when approved.
- Use
cargo-dist for binary distribution when cross-platform installers/artifacts are
needed and approved.
- Generate checksums for binary artifacts; add signing/SBOM/provenance only when policy
requires it.
- Start new automation with dry runs.
Workflow
- Inspect version policy, changelog, git state, CI, crate metadata, features, and release
targets.
- Confirm target version and publish targets.
- Run
just check, package/build/doc checks, semver checks when relevant, and
cargo package --list.
- Build artifacts in ignored directories and inspect contents.
- Ask before tagging, publishing, signing, or uploading.
- Verify published crates or artifacts when approved.
Completion
Report target version, files changed, artifacts, package checks, tag/publish actions
performed or skipped, and verification results.
Source: nyquistwilder/personal-pi — distributed by TomeVault.
1---2name: rust-release3description: Rust release workflow for version bumps, changelogs, tags, cargo package, crates.io publishing, release-plz, cargo-dist, checksums, binaries, SBOMs, safeguards, and post-release verification. Use when this capability is needed.4---56# Rust Release78## Rule910Validate before publishing and require explicit approval for irreversible operations.1112## Hard Stops1314Stop before:1516- Tagging, publishing to crates.io, pushing release pages, signing artifacts, uploading17 binaries, publishing containers, or using credentials.18- Releasing from a dirty tree or with failing validation unless explicitly approved.19- Adding `release-plz`, `cargo-dist`, signing, SBOM, or provenance automation without20 approval.21- Publishing public crates without checking SemVer and package contents.2223## Defaults2425- Run full validation, inspect `cargo package`, and keep generated artifacts out of git.26- Use `cargo semver-checks` for public library crates when configured or before publishing.27- Use `release-plz` for crate release PRs/changelogs/version bumps when approved.28- Use `cargo-dist` for binary distribution when cross-platform installers/artifacts are29 needed and approved.30- Generate checksums for binary artifacts; add signing/SBOM/provenance only when policy31 requires it.32- Start new automation with dry runs.3334## Workflow35361. Inspect version policy, changelog, git state, CI, crate metadata, features, and release37 targets.382. Confirm target version and publish targets.393. Run `just check`, package/build/doc checks, semver checks when relevant, and40 `cargo package --list`.414. Build artifacts in ignored directories and inspect contents.425. Ask before tagging, publishing, signing, or uploading.436. Verify published crates or artifacts when approved.4445## Completion4647Report target version, files changed, artifacts, package checks, tag/publish actions48performed or skipped, and verification results.4950---51> Source: [nyquistwilder/personal-pi](https://github.com/nyquistwilder/personal-pi) — distributed by [TomeVault](https://tomevault.io).52<!-- tomevault:4.0:skill_md:2026-06-16 -->