Prepare Rust crates for publishing with Cargo metadata, versioning, README and license checks, package dry-runs, feature verification, docs.rs readiness, examples, changelog notes, and secret-safe release gates. Use before cargo publish, crate release PRs, or sharing a reusable Rust library.
SkillScore100Maintained
Automatic
◆Coding pack
Last verified 8/16/2026
What it changes
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
Without skill95%
With skill100%
Checks it passed that the model alone missed
Recommends publishing from a clean tagged release state
1 fixed21 passed either way0 still failing0 broke
Pass-rate lift
+5 pp
Tokens
-12%
Agent turns
0%
Response time
-26%
Model gemini-3.6-flashMeasured 8/16/2026v122 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
A test case the skill fixed. Same model, same prompt, with and without the skill.
Prompt
Provide a complete end-to-end operational checklist sequence for publishing my Rust crate `event-bus-tokio` safely to crates.io.
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends verifying package metadata before release
Passed
Passed
Recommends executing a dry run before release
Passed
Passed
Recommends publishing from a clean tagged release state
Missed
Passed
case-22 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md28 lines2 files
Rust Crate Publishing Readiness
Use this skill before publishing or sharing a Rust crate. It focuses on the
consumer-facing package, not on deployment of a running service.
Core Workflow
Verify package metadata, license, README, repository, and categories.
Check public API, feature flags, examples, and docs from a consumer's view.
Run tests, docs, formatting, and feature-matrix checks.
Run cargo package or cargo publish --dry-run.
Inspect packaged contents for missing files and accidental secrets.
Publish only from a clean, tagged, intentional release state.
Read Next
Task
Load
Prepare a crate release PR
guidelines.md, workflows/prepare-crate-release.md
Review Cargo metadata and package contents
references/publishing-patterns.md
Diagnose dry-run failures
references/publishing-patterns.md
Source Notes
Guidance is transformed and paraphrased from Herbert Wolverson,
Advanced Hands-On Rust, especially Chapter 15 on sharing libraries and the
earlier chapters on tests, docs, benchmarks, and features. Examples are
original skeletons.