一键导入
publish
Prepare and publish a new crate release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare and publish a new crate release
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update CHANGELOG.md with recent changes following Keep a Changelog format
Format code according to specified style guide
Write Architecture Decision Records (ADRs) and technical documentation. Use when documenting design decisions, architectural choices, or technical specifications.
Senior Rust code reviewer. Use proactively after implementing features to review for correctness, safety, performance, and best practices.
Analyze Rust dependencies for security, quality, and maintenance status. Use proactively to audit Cargo.toml, check for outdated crates, or evaluate new dependencies.
Run and analyze Rust tests. Use when running test suites, debugging test failures, or analyzing test coverage.
| name | publish |
| description | Prepare and publish a new crate release |
| arguments | [{"name":"version","description":"The version number to publish (e.g., 0.5.0)","required":true}] |
Current version in Cargo.toml:
!grep '^version' Cargo.toml
Current changelog state:
!cat CHANGELOG.md
Current README:
!cat README.md
Prepare and publish version $version of the crate.
Bump version — Update version in Cargo.toml to the new version. Run mise run build to
update Cargo.lock.
Update CHANGELOG.md — Convert the ## [Unreleased] section into a versioned release:
## [v$version] - YYYY-MM-DD header (today's date) immediately after ## [Unreleased][unreleased] comparison link at the bottom to compare the new version tag against main[v$version] comparison link comparing the previous version to the new oneUpdate README.md — Review the unreleased changelog entries and update the README to reflect any new or changed functionality:
Cargo.toml dependency snippets (e.g., farg = "X.Y")Format - Run the /format skill to ensure the code is formatted correctly.
Run tests — Run mise run test to confirm everything passes.
Commit — Use the /commit skill to create a commit with the message:
Prepare v$version release
Include a body describing what changed (version bump, changelog, README updates).
Publish — Run mise run publish to publish the crate to crates.io.