| name | release |
| description | Create a Jant release changeset for @jant/core and create-jant using the repository's fixed-version workflow. Use when the user invokes $release by itself, asks to release, prepare a changeset, add a changeset, cut release notes, or run the old Claude release command. |
Create a Release Changeset
Create one changeset file for @jant/core and create-jant. Jant uses fixed
versioning, so both packages always release together. This workflow only creates
and commits the changeset file; CI handles version bumps, changelogs, and
publishing.
Default Invocation
When invoked with no additional user instructions, treat the invocation as a
request to run this workflow now. Start by checking changeset status and
summarizing unreleased commits.
Workflow
-
Run mise run changeset-status to check for pending changesets.
-
Summarize unreleased commits with:
git log $(git describe --tags --abbrev=0)..HEAD --oneline
-
Show the user the unreleased summary and determine the version bump:
patch, minor, or major. Use a bump already supplied by the user; if no
bump is supplied and the user does not answer, default to patch.
-
Write a concise changelog summary from the commits.
-
Run the repository task to create the changeset:
mise run changeset-add <bump> "<summary>"
-
Stage and commit only the new .changeset/*.md file with:
git add .changeset/<new-file>.md
git commit -m "chore: add changeset"
-
Report the committed changeset and remind the user to create a PR.
Rules
- Do not run
mise run version, mise run release, or
mise run release-local.
- Do not modify
package.json, CHANGELOG.md, or files other than the new
.changeset/*.md file.
- Use
mise run changeset-add; do not write changeset files by hand.
- Do not stage or commit unrelated work. If the working tree contains existing
changes, leave them untouched unless they are the new changeset file.