π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
name: version-release description: 'Version release workflow β release process and GitHub Release notes (not docs/changelog pages).' disable-model-invocation: true argument-hint: '[minor|patch] [version?]'
Version Release Workflow
This skill is a router. The detailed steps live in references/.
Scope Boundary (Important)
This skill is only for:
- Release branch / PR workflow
- CI trigger constraints (
auto-tag-release.yml) - GitHub Release note writing
This skill is not for writing docs/changelog/*.mdx.
If the user asks for website changelog pages, load ../docs-changelog/SKILL.md.
Mandatory Companion Skill
For every /version-release execution, you MUST load and apply:
../../../DESIGN.md(Voice & Content)
Overview
The primary development branch is canary. All day-to-day development happens on canary. When releasing, canary is merged into main. Conventional release PRs (π release: β¦, release/*, hotfix/*) get a package.json bump commit from release-pr-version.yml while the PR is open. After merge, auto-tag-release.yml tags the merge commit and creates the GitHub Release. sync-main-to-canary runs on push to main.
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-Release Trigger Rules (auto-tag-release.yml)
After a PR is merged into main, CI determines whether to release based on the following priority:
1. Minor Release (Exact Version)
PR title matches π release: v{x.y.z} -> uses the version number from the title.
2. Patch Release (Auto patch +1)
Triggered by the following priority:
- Branch name match:
hotfix/*orrelease/*-> triggers directly (skips title detection) - Title prefix match: PRs with the following title prefixes will trigger:
style/π stylefeat/β¨ featfix/π fixrefactor/β»οΈ refactorhotfix/π hotfix/π©Ή hotfixbuild/π· build
3. No Trigger
PRs that don't match any conditions above (e.g. docs, chore, ci, test) will not trigger a release when merged into main.
Automated Actions
- On the release PR (
release-pr-version.yml) β ifpackage.jsonis behind, commitπ chore(release): release version v{x.y.z}to the PR head. Minor titlesπ release: v{x.y.z}use that version; weekly /release/*/hotfix/*use latest stable tag + patch. - After merge (
auto-tag-release.yml) β tagv{x.y.z}on the merge commit and create the GitHub Release. Patch version is latest stable tag +1, notpackage.json+1. sync-main-to-canaryβ runs on push tomain.
Agent Action Guide
When the user requests a release:
Precheck (applies to all release types)
Before creating the release branch, verify the source branch:
- Weekly Release (
release/weekly-*): must branch fromcanary - All other release/hotfix branches: must branch from
main; rungit merge-base --is-ancestor main <branch> && echo OK - If the branch is based on the wrong source, recreate from the correct base
Routing
Pick the right reference and follow it end-to-end:
- Desktop Stable sources (Cloud selection, hotfix baselines, rebuild/import) β references/desktop-stable-sources.md. For release branches and PRs, also read the relevant Minor or Patch workflow below.
- Minor release β
references/minor-release.md - Patch release (weekly / hotfix / model launch / DB migration) β
references/patch-release-scenarios.md - Writing the PR body / release notes (any release type) β
references/release-notes-style.md
Hard Rules (apply to every release type)
- Do NOT manually modify
package.jsonversion β CI handles it. - Do NOT manually create tags β CI handles them.
- Minor PR title format is strict (
π release: v{x.y.z}). - Patch PRs do not need an explicit version number.
- Keep release facts accurate; do not invent metrics or availability statements. Release-note inputs (compare base, PR refs, contributor list) must be derived from
gitperreferences/release-notes-style.mdΒ§ Computing Inputs β never from memory or descriptions.