一键导入
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 rhusky
Bump version in Cargo.toml
| name | release-prep |
| description | Prepare a release including version bump, testing, and PR creation |
Use this skill when preparing a new release of rhusky.
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
grep '^version' Cargo.toml
# Check for uncommitted changes
git status
# Check latest git tag
git describe --tags --abbrev=0 2>/dev/null || echo "No tags yet"
Choose the appropriate bump type:
Cargo.toml and update the version fieldcargo update --workspacegit add Cargo.toml Cargo.lock
git commit -m "chore(version): bump X.Y.Z -> A.B.C"
# Check the commit
git log -1
# 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
gh release list --limit 1
# Check crates.io
cargo search rhusky
Check that:
You cannot republish the same version to crates.io. Bump to a new patch version instead.