一键导入
release-prep
Prepare a release including version bump, testing, and PR creation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare a release including version bump, testing, and PR creation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create commits following Angular Conventional Commits format with proper scope naming for consistent changelog generation
Run tests, linting, and formatting checks for cargo-fmt-toml
Bump version in Cargo.toml using cargo-version-info bump command
| name | release-prep |
| description | Prepare a release including version bump, testing, and PR creation |
Use this skill when preparing a new release.
Run all quality checks before releasing:
# Format check
cargo +nightly fmt --all -- --check
# Lint check
cargo +nightly clippy --all-targets --all-features -- -D warnings -W missing-docs
# Run tests
cargo test
# Current version
cargo version-info current
# Latest published release
cargo version-info latest
# Check for uncommitted changes
git status
# Check if version already changed
cargo version-info changed
Choose the appropriate bump type:
cargo version-info bump --patch
# or --minor / --major
# Check the commit
git log -1
# Verify version in Cargo.toml
cargo version-info current
# Check what files changed
git diff HEAD~1 --stat
# Push branch
git push origin HEAD
# Create PR (if on feature branch)
gh pr create --title "chore(version): bump to X.Y.Z" --body "Release X.Y.Z"
Once the PR is merged to main:
vX.Y.ZThis is why all commits must follow Angular Conventional Commit style
(<type>(<scope>): <subject>) - Cocogitto parses these to generate
the changelog automatically.
# Check latest release on GitHub
cargo version-info latest
# Check crates.io
cargo search cargo-fmt-toml
If cargo version-info changed returns true but you haven't released:
# Check what the current version is
cargo version-info current
# Check what the latest release is
cargo version-info latest
Check that:
You cannot republish the same version to crates.io. Bump to a new patch version instead.