release-template
Automates template releases by bumping templates/VERSION, cutting templates/CHANGELOG.md, and creating the template git tag via tag-template.ts. Use when preparing or publishing a new template-vX.Y.Z release.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 25
- Forks
- 9
01 前言 Front Matter
- name
- release-template
- owner
- pm
- scope
- workspace
- status
- active
- version
- 1.0.0
- metadata
- { "type": "release", "triggers": [ "release template", "template release", "bump templates version", "tag template", "publish template version" ] }
- description
- Automates template releases by bumping templates/VERSION, cutting templates/CHANGELOG.md, and creating the template git tag via tag-template.ts. Use when preparing or publishing a new template-vX.Y.Z release.
- l2_propagate
- false
- last_reviewed
- 1788912000000
03 SKILL.md 正文
Release Template
Use this skill only from the workspace root when preparing a template release.
Procedure
- Review pending template changes and decide the next semantic version.
- Dry-run the atomic release helper:
Usebun scripts/release-template.ts --version X.Y.Z --dry-run--bump patch|minor|majorinstead of--versionwhen the currenttemplates/VERSIONshould be incremented mechanically. - Prepare the release without publishing the tag remotely:
This updatesbun scripts/release-template.ts --version X.Y.Ztemplates/VERSION, movestemplates/CHANGELOG.md[Unreleased]content into## [X.Y.Z] - YYYY-MM-DD, and creates the localtemplate-vX.Y.Ztag throughtag-template.ts --no-push. - Verify:
bun scripts/validate-templates.ts bun scripts/verify-scripts.ts --verify - Publish only after the release commit is ready:
Or run the helper withgit push origin template-vX.Y.Z--pushwhen remote publication should be part of the same operation.
Safety Rules
- Do not edit
templates/VERSION,templates/CHANGELOG.md, and template tags as separate manual steps. - Use
--no-tagonly when testing changelog/version output in a temporary branch. - If
tag-template.tsfails,release-template.tsrestorestemplates/VERSIONandtemplates/CHANGELOG.mdand deletes the local release tag.
04 同仓库更多 Skills
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.
i18n-layout
Text layout and encoding guidance: character encoding (UTF-8, legacy Korean code pages, BOM hazards), line endings, RTL/bidi handling, and script-specific font selection (Hangul focus). Use when: encoding is corrupted or mojibake appears, an RTL locale must render correctly, fonts must be chosen for a script, or CRLF/BOM issues surface.