release
Original:🇺🇸 English
Translated
1 scripts
Manage releases for this project. Validates changelog, installs git hooks, and cuts releases. Use when user says "/release", "release 1.0.5", "cut a release", or asks about the release process. NOT auto-invoked by the model.
2installs
Sourcetobi/qmd
Added on
NPX Install
npx skill4agent add tobi/qmd releaseTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Release
Cut a release, validate the changelog, and ensure git hooks are installed.
Usage
/release 1.0.5/release patchProcess
When the user triggers :
/release <version>-
Gather context — run. This silently installs git hooks and prints everything needed: version info, working directory status, commits since last release, files changed, current
skills/release/scripts/release-context.sh <version>content, and the previous release entry for style reference.[Unreleased] -
Commit outstanding work — if the context shows staged, modified, or untracked files that belong in this release, commit them first. Use the /commit skill or make well-formed commits directly.
-
Write the changelog — ifis empty, write it now using the commits and file changes from the context output. Follow the changelog standard below. Re-run the context script after committing if needed.
[Unreleased] -
Cut the release — run. This renames
scripts/release.sh <version>→[Unreleased], inserts a fresh[X.Y.Z] - date, bumps[Unreleased], commits, and tags.package.json -
Show the final changelog — print the full+ minor series rollup via
[Unreleased]. Ask the user to confirm before pushing.scripts/extract-changelog.sh <version> -
Push — after explicit confirmation, run.
git push origin main --tags -
Watch CI — after the push, start a background dispatch to watch the publish workflow. Usein dispatch mode with:
interactive_shellgh run watch $(gh run list --workflow=publish.yml --limit=1 --json databaseId --jq '.[0].databaseId') --exit-statusThe agent will be notified when CI completes and should report the result.
If any step fails, stop and explain. Never force-push or skip validation.
Changelog Standard
The changelog lives in and follows Keep a Changelog conventions.
CHANGELOG.mdHeading format
- — accumulates entries between releases
## [Unreleased] - — released versions
## [X.Y.Z] - YYYY-MM-DD
Structure of a release entry
Each version entry has two parts:
1. Highlights (optional, 1-4 sentences of prose)
Immediately after the version heading, before any section. The elevator
pitch — what would you tell someone in 30 seconds? Only for significant
releases; skip for small patches.
###markdown
## [1.1.0] - 2026-03-01
QMD now runs on both Node.js and Bun, with up to 2.7x faster reranking
through parallel contexts. GPU auto-detection replaces the unreliable
`gpu: "auto"` with explicit CUDA/Metal/Vulkan probing.2. Detailed changelog ( and )
### Changes### Fixesmarkdown
### Changes
- Runtime: support Node.js (>=22) alongside Bun. The `qmd` wrapper
auto-detects a suitable install via PATH. #149 (thanks @igrigorik)
- Performance: parallel embedding & reranking — up to 2.7x faster on
multi-core machines.
### Fixes
- Prevent VRAM waste from duplicate context creation during concurrent
`embedBatch` calls. #152 (thanks @jkrems)Writing guidelines
- Explain the why, not just the what. The changelog is for users.
- Include numbers. "2.7x faster", "17x less memory".
- Group by theme, not by file. "Performance" not "Changes to llm.ts".
- Don't list every commit. Aggregate related changes.
- Credit contributors: end bullets with for external PRs. No need to credit the repo owner.
#NNN (thanks @username)
What not to include
- Internal refactors with no user-visible effect
- Dependency bumps (unless fixing a user-facing bug)
- CI/tooling changes (unless affecting the release artifact)
- Test additions (unless validating a fix worth mentioning)
GitHub Release Notes
Each GitHub release includes the full changelog for the minor series back
to x.x.0. The script handles this, and the
publish workflow () calls it to populate the GitHub release.
scripts/extract-changelog.shpublish.ymlGit Hooks
The pre-push hook () blocks tag pushes unless:
scripts/pre-pushv*- version matches the tag
package.json - has a
CHANGELOG.mdentry for the version## [X.Y.Z] - date - CI passed on GitHub (warns in non-interactive shells, blocks in terminals)
Hooks are installed silently by the context script. They can also be installed
manually via or automatically via
(prepare script).
skills/release/scripts/install-hooks.shbun install