Rust release
Cut a Rust crate release. Bumps version in Cargo.toml, updates CHANGELOG.md, runs full check suite, creates git tag, and pushes. Triggers on "release urchin", "bump version", "cut a release", "release X crate", "tag rust release", "ship rust version".From its SKILL.md
npx -y skills add samhcus/skills --skill rust-releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 348 tokens by cl100k_base, as published. Nobody here has run it
Rust Release
Cut a versioned release of a Rust workspace crate.
Arguments
$ARGUMENTS = new version (e.g. 0.3.6) and optionally the workspace path.
Steps
1. Confirm current version
bash ~/.claude/commands/rust-release/scripts/bump-version.sh --current
2. Run pre-release checks
bash ~/.claude/commands/cargo-check/scripts/check.sh
3. Bump version
Edit Cargo.toml in the workspace root: change version = "X.Y.Z" to the new version.
Also update any workspace member Cargo.toml files that inherit the version.
bash ~/.claude/commands/rust-release/scripts/bump-version.sh NEW_VERSION
4. Update CHANGELOG.md
Add a new ## [NEW_VERSION] - YYYY-MM-DD section at the top. Summarize commits since last tag:
git log --oneline $(git describe --tags --abbrev=0)..HEAD
Group as: Added, Changed, Fixed, Removed. Be concise.
5. Commit, tag, push
git add Cargo.toml Cargo.lock CHANGELOG.md
git commit -m "chore: release vNEW_VERSION"
git tag vNEW_VERSION
git push origin main --tags
Verify
git tag | tail -5
cargo metadata --no-deps | python3 -c "import json,sys; m=json.load(sys.stdin); print(m['packages'][0]['version'])"
What ships with it: 1 file
764 B alongside SKILL.md, 1 of them executable
scripts/
- bump-version.shruns764 B