Prompt file imported from rapideditor/temaki (
.github/prompts/release.prompt.md). Fill in{{version}}before use. Copyright stays with the author.
description: Prepare a new release (CHANGELOG, version bump)
argument-hint: version number, for example: A.B.C or A.B.C-pre.D
You are preparing release {{version}} for this repo. Do the following steps in order:
-
Confirm the version — the new release version is
{{version}}. Readpackage.jsonto verify this is a valid bump from the current version.- The version must follow semver format, for example:
A.B.CorA.B.C-pre.D - It must be strictly greater than the current version in
package.json - If either check fails, stop immediately and explain the problem clearly — do not proceed with any further steps.
- The version must follow semver format, for example:
-
Identify commits since the last release by running:
git log --onelineFind the commit that corresponds to the previous release (look for the version bump or a release tag) and note all commits after it.
-
Look up PR numbers — read the repo URL from
package.json(the"repository"field) to confirmownerandrepo(rapideditor/temaki), then fetch the closed PRs list:https://github.com/rapideditor/temaki/pulls?q=is%3Apr+is%3AclosedMatch each commit to its PR number. PR titles listed there are authoritative — prefer them over raw commit messages.
-
Update
CHANGELOG.md— insert a new section immediately above the previous release heading. Follow the existing format exactly:- Header:
# {{version}} - Date:
##### YYYY-MMM-DD(use today's date) - Bullet points for each user-visible change (new icons, fixes, improvements)
- For new icons, list each one as
[`icon_name`]with a link at the bottom - For bug/fix commits, write a plain bullet
- Internal/dev-only commits (CI config, agent setup, etc.) can be omitted or grouped into a single terse bullet
- Add reference links at the bottom of the section:
- Icon links:
[`icon_name`]: https://rapideditor.github.io/temaki/docs/#icon-temaki-icon_name - PR links:
[#NNN]: https://github.com/rapideditor/temaki/issues/NNN
- Icon links:
- Header:
-
Update
package.json— set"version"to"{{version}}".