Spec Kit — self (CLI maintenance)
Maintain the Specify CLI itself with the specify self command group.
Prerequisite: needs the
specifyCLI. Ifspecify --versionfails, install it with the speckit-cli-setup skill first.
When to use
- The user asks whether a newer
specify-clirelease exists. - The user wants to upgrade the CLI, or preview what an upgrade would do.
How to invoke
# Read-only: is a newer release available?
specify self check
# Preview the upgrade without changing anything
specify self upgrade --dry-run
# Upgrade in place
specify self upgrade
# Upgrade to a specific pinned release
specify self upgrade --tag <version>
Notes
specify self checkis read-only and safe.- Run
specify self upgrade --dry-runfirst and show the user the preview before performing an actual in-place upgrade. - After upgrading, run
specify version(see the speckit-check skill) to confirm the new version.