.agents/skills/version-release/SKILL.md
This skill is a router. The detailed steps live in references/.
This skill is only for:
auto-tag-release.yml)This skill is not for writing docs/changelog/*.mdx.
If the user asks for website changelog pages, load ../docs-changelog/SKILL.md.
For every /version-release execution, you MUST load and apply:
../microcopy/SKILL.mdThe primary development branch is canary. All day-to-day development happens on canary. When releasing, canary is merged into main. After merge, auto-tag-release.yml automatically handles tagging, version bumping, creating a GitHub Release, and syncing back to the canary branch.
Only two release types are used in practice (major releases are extremely rare and can be ignored):
| Type | Use Case | Frequency | Source Branch | PR Title Format | Version | Reference |
|---|---|---|---|---|---|---|
| Minor | Feature iteration release | ~Every 4 weeks | canary | ๐ release: v{x.y.0} | Manually set | references/minor-release.md |
| Patch | Weekly release / hotfix / model / DB migration | ~Weekly or as needed | canary or main | Custom (e.g. ๐ release: 20260222) | Auto patch +1 | references/patch-release-scenarios.md |
For writing the release-note body (any release type), see references/release-notes-style.md.
auto-tag-release.yml)After a PR is merged into main, CI determines whether to release based on the following priority:
PR title matches ๐ release: v{x.y.z} -> uses the version number from the title.
Triggered by the following priority:
hotfix/* or release/* -> triggers directly (skips title detection)style / ๐ stylefeat / โจ featfix / ๐ fixrefactor / โป๏ธ refactorhotfix / ๐ hotfix / ๐ฉน hotfixbuild / ๐ท buildPRs that don't match any conditions above (e.g. docs, chore, ci, test) will not trigger a release when merged into main.
package.json โ commits ๐ chore(release): release version v{x.y.z} [skip ci]v{x.y.z}sync-main-to-canary โ syncs main back to canaryWhen the user requests a release:
Before creating the release branch, verify the source branch:
release/weekly-*): must branch from canarymain; run git merge-base --is-ancestor main <branch> && echo OKPick the right reference and follow it end-to-end:
references/minor-release.mdreferences/patch-release-scenarios.mdreferences/release-notes-style.mdpackage.json version โ CI handles it.๐ release: v{x.y.z}).git per references/release-notes-style.md ยง Computing Inputs โ never from memory or descriptions.