cargo-release

Automate version bumps, git tagging, and crates.io publishing for Rust projects.

220|14|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/ushironoko/octorus --skill cargo-release-ushironoko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cargo-release
Source: https://github.com/ushironoko/octorus/tree/main/.claude/skills/cargo-release
Command: npx skills add https://github.com/ushironoko/octorus --skill cargo-release-ushironoko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Releasing Rust/Cargo projects is error-prone and time-consuming due to manual version bumps, git operations, and crate publishing. This skill automates the end-to-end release process to ensure consistency across local and CI environments.

Core Features & Use Cases

  • Phase-driven workflow: bump version in Cargo.toml, update Cargo.lock, commit changes, tag release, and publish to crates.io.
  • GitHub Release integration: triggers release workflows and creates GitHub releases automatically.
  • CI/CD readiness: supports validation steps, checks, and automatic retries in CI pipelines.

Quick Start

Run the cargo-release command with a target version to initiate a release, e.g. /cargo-release 0.2.0.

Frequently Asked Questions about cargo-release

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Rust crate publishing to crates.io with version bumps and git tagging?

Automated Rust crate publishing uses a phase-driven workflow to bump versions in Cargo.toml, update Cargo.lock, commit changes, tag the release, and publish to crates.io. This ensures consistency across local and CI release pipelines for Rust projects.

What is the best way to release a Rust binary or library end-to-end?

The best way to release a Rust library or binary end-to-end is an automated workflow that handles version bumping, git operations, and crate publishing. This applies across local and CI release pipelines, including GitHub releases and crate publishing.

Can I trigger GitHub release workflows automatically when publishing a Rust crate?

Yes, you can trigger GitHub release workflows automatically when publishing a Rust crate. The workflow integrates GitHub Release creation and triggers release workflows automatically, ensuring reliable releases with validation steps and checks in CI pipelines.

Does automated Rust release workflow support validation steps and cargo checks in CI?

Yes, automated Rust release workflows support validation steps, cargo checks, and automatic retries in CI pipelines. The workflow satisfies requirements such as argument validation, cargo checks, git push, and gh workflow triggering to ensure a reliable release.

How do I update Cargo.toml and Cargo.lock versions for a Rust release?

Update Cargo.toml and Cargo.lock versions by running the automated release command with a target version, such as specifying 0.2.0. The workflow bumps the version in Cargo.toml and updates Cargo.lock as part of its phase-driven release process.