Update version

From Jxck/sptth · View interactive version

Update version is an AI agent skill from the GitHub repository Jxck/sptth. Update project versions and release tag in one consistent flow (Cargo.toml, xtask, docs, and git tag).

How to use this skill

Skill file

update-version Skill

Use this skill when preparing a release version update so crate versions and git tags do not drift.

Goal

Keep release identifiers consistent across:

  1. Cargo.toml ([package].version)
  2. xtask/Cargo.toml ([package].version)
  3. docs/examples that embed a fixed release version
  4. git annotated tag (vX.Y.Z)

Required Inputs

  1. Optional bump kind argument:

Required Procedure

  1. Baseline checks
  1. Update versioned files
  1. Validate
  1. Commit
  1. Tag
  1. Push (if requested)

Command Examples

# bump examples
# /update-version          -> patch bump (default)
# /update-version minor    -> minor bump
# /update-version major    -> major bump

# example computed target: 0.0.4
git tag --list "v0.0.4"
cargo run -p xtask -- fmt-check
cargo test -q
cargo check --workspace
git tag -a v0.0.4 -m "v0.0.4"
git show --no-patch --oneline v0.0.4

Output Format

Provide:

  1. Updated files
  2. Validation results (fmt-check/test/check)
  3. Commit hash
  4. Tag name and tagged commit
  5. Push status (done or pending)

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.