Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计提醒

version-release版本发布

Agent Skill

version-release 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,079

周安装

524

GitHub Stars

75,917

下载量

4,234
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:version-release(版本发布)
来源仓库:https://github.com/lobehub/lobehub
仓库路径:skills/version-release
安装命令:
npx skills add https://github.com/lobehub/lobehub --skill version-release
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lobehub/lobehub --skill version-release

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库和原始 README 进一步验证具体功能与使用方式。
  • 安装命令:npx skills add https://github.com/lobehub/lobehub --skill version-release
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

SKILL.md

Version Release Workflow

Scope Boundary (Important)

This skill is only for:

  1. Release branch / PR workflow
  2. CI trigger constraints (auto-tag-release.yml)
  3. 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:

  • ../microcopy/SKILL.md

Overview

The 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):

TypeUse CaseFrequencySource BranchPR Title FormatVersion
MinorFeature iteration release~Every 4 weekscanary🚀 release: v{x.y.0}Manually set
PatchWeekly release / hotfix / model / DB migration~Weekly or as neededcanary or mainCustom (e.g. 🚀 release: 20260222)Auto patch +1

Minor Release Workflow

Used to publish a new minor version (e.g. v2.2.0), roughly every 4 weeks.

Steps

  1. Create a release branch from canary
git checkout canary
git pull origin canary
git checkout -b release/v{version}
git push -u origin release/v{version}
  1. Determine the version number — Read the current version from package.json and compute the next minor version (e.g. 2.1.x -> 2.2.0)
  2. Create a PR to main
gh pr create \
  --title "🚀 release: v{version}" \
  --base main \
  --head release/v{version} \
  --body "## 📦 Release v{version} ..."
[!IMPORTANT] The PR title must strictly match the 🚀 release: v{x.y.z} format. CI uses a regex on this title to determine the exact version number.
  1. Automatic trigger after merge: auto-tag-release detects the title format and uses the version number from the title to complete the release.

Scripts

bun run release:branch         # Interactive
bun run release:branch --minor # Directly specify minor

Patch Release Workflow

Version number is automatically bumped by patch +1. There are 4 common scenarios:

ScenarioSource BranchBranch NamingDescription
Weekly Releasecanaryrelease/weekly-{YYYYMMDD}Weekly release train, canary -> main
Bug Hotfixmainhotfix/v{version}-{hash}Emergency bug fix
New Model LaunchcanaryCommunity PR merged directlyNew model launch, triggered by PR title prefix
DB Schema Migrationmainrelease/db-migration-{name}Database migration, requires dedicated changelog

All scenarios auto-bump patch +1. Patch PR titles do not need a version number. See reference/patch-release-scenarios.md for detailed steps per scenario.

Scripts

bun run hotfix:branch # Hotfix scenario

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/* or release/* -> triggers directly (skips title detection)
  • Title prefix match: PRs with the following title prefixes will trigger:

- style / 💄 style - feat / ✨ feat - fix / 🐛 fix - refactor / ♻️ refactor - hotfix / 🐛 hotfix / 🩹 hotfix - build / 👷 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.

Post-Release Automated Actions

  1. Bump package.json — commits 🔖 chore(release): release version v{x.y.z} [skip ci]
  2. Create annotated tagv{x.y.z}
  3. Create GitHub Release
  4. Dispatch sync-main-to-canary — syncs main back to canary

Agent Action Guide

When the user requests a release:

Precheck

Before creating the release branch, verify the source branch:

  • Weekly Release (release/weekly-*): must branch from canary
  • All other release/hotfix branches: must branch from main; run git merge-base --is-ancestor main <branch> && echo OK
  • If the branch is based on the wrong source, recreate from the correct base

Minor Release

  1. Read package.json to get the current version and compute the next minor version
  2. Create a release/v{version} branch from canary
  3. Push and create PR — title must be 🚀 release: v{version}
  4. Inform the user that merge will auto-trigger release

Patch Release

Choose workflow by scenario (see reference/patch-release-scenarios.md):

  • Weekly Release: create release/weekly-{YYYYMMDD} from canary; use git log main..canary for release note inputs; title like 🚀 release: 20260222
  • Bug Hotfix: create hotfix/ from main; use gitmoji prefix title (e.g. 🐛 fix:...)
  • New Model Launch: community PRs trigger automatically via title prefix (feat / style)
  • DB Migration: create release/db-migration-{name} from main; cherry-pick migration commits; include dedicated migration notes

Hard Rules

  • Do NOT manually modify package.json version
  • Do NOT manually create tags
  • Minor PR title format is strict
  • Patch PRs do not need explicit version number
  • Keep release facts accurate; do not invent metrics or availability statements

GitHub Release Changelog Standard (Long-Form Style)

Use this section for writing GitHub Release notes (or release PR body when the PR body is intended to become release notes). Do not use this as docs/changelog page guidance.

Positioning

This release-note style is:

  1. Data-backed at the top (date, range, key metrics)
  2. Narrative first, then structured detail
  3. Deep but scannable (clear sectioning + compact bullets)
  4. Contributor-forward (credits are part of the release story)

Required Inputs Before Writing

Collect these inputs first:

  1. Compare range (<prev_tag>...<current_tag>)
  2. Release metrics (commits, merged PRs, resolved issues, contributors, optional files/insertions/deletions)
  3. High-impact changes by domain (core loop, platform/gateway, UX, tooling, security, reliability)
  4. Contributor list (with standout contributions if known)
  5. Known risks / migrations / rollout notes (if any)

If metrics cannot be reliably computed, omit unknown numbers instead of guessing.

Canonical Structure

Follow this section order unless the user asks otherwise:

  1. # 🚀 LobeHub Release (<YYYYMMDD>)
  2. Metadata lines:

- Release Date - Since <Previous Version> metrics

  1. One quoted release thesis (single paragraph, 1-2 lines)
  2. ## ✨ Highlights (6-12 bullets for major releases; 3-8 for weekly)
  3. Domain blocks with optional ### subsections:

- ## 🏗️ Core Agent & Architecture (or equivalent product core) - ## 📱 Platforms / Integrations - ## 🖥️ CLI & User Experience - ## 🔧 Tooling - ## 🔒 Security & Reliability - ## 📚 Documentation (optional if meaningful)

  1. ## 👥 Contributors
  2. **Full Changelog**: <prev>...<current>

Use --- separators between major blocks for long releases.

Writing Rules (Hard)

  1. No fabricated metrics: all numbers must be traceable.
  2. No vague headline bullets: each bullet must include capability + impact.
  3. No internal-only framing: phrase from user/operator perspective.
  4. Security must be explicit when security-sensitive fixes are present.
  5. PR/issue linkage: use (#1234) when IDs are available.
  6. Terminology consistency: same feature/provider name across sections.
  7. Do not bury migration or breaking changes: elevate to dedicated section or callout.

Style Rules (Long-Form)

  1. Start with an "everyday use" framing, not implementation internals.
  2. Mix narrative sentence + evidence bullets.
  3. Keep bullets compact but informative:

- Good: **Fast Mode (/fast)** — Priority routing for OpenAI and Anthropic, reducing latency on supported models. (#6875, #6960)

  1. Use bold only for capability names, not for whole sentences.
  2. Keep heading depth <= 3 levels.

Release Size Heuristics

  • Minor / major milestone release

- Include full structure with multiple domain blocks. - Highlights usually 8-12 bullets.

  • Weekly patch release

- Keep full skeleton but reduce subsection count. - Highlights usually 4-8 bullets.

  • DB migration release

- Keep concise. - Must include Migration overview, operator impact, and rollback/backup note.

Contributor Ordering

Render contributors as a single flat list (no separate "Community" / "Core Team" subsections). Order: community contributors first, team members after. Within each group, sort by PR count desc. Bots (@lobehubbot, renovate[bot]) go on a separate "maintenance" line.

LobeHub team roster — anyone in this list is a team member; anyone not in this list is a community contributor:

  • @arvinxx
  • @Innei
  • @tjx666 (commit author name: YuTengjing)
  • @LiJian
  • @Neko
  • @Rdmclin2
  • @AmAzing129
  • @sudongyuer
  • @rivertwilight
  • @CanisMinor
Resolving handles — git author names (e.g. YuTengjing) are not always the GitHub handle. Verify via gh pr view <PR> --json author or gh api search/users -f q='<email>' before listing.

If a new contributor appears who is not on this list, treat them as community by default and ask the user whether to add them to the roster.

GitHub Release Changelog Template

# 🚀 LobeHub Release (<YYYYMMDD>)

**Release Date:** <Month DD, YYYY>
**Since <Previous Version>:** <N merged PRs> · <N resolved issues> · <N contributors>

> <One release thesis sentence: what this release unlocks in practice.>

---

## ✨ Highlights

- **<Capability A>** — <What changed and why it matters>. (#1234)
- **<Capability B>** — <What changed and why it matters>. (#2345)
- **<Capability C>** — <What changed and why it matters>. (#3456)

---

## 🏗️ Core Product & Architecture

### <Subdomain>

- <Concrete change + impact>. (#...)
- <Concrete change + impact>. (#...)

---

## 📱 Platforms / Integrations

- <Platform update + impact>. (#...)
- <Compatibility/reliability fix + impact>. (#...)

---

## 🖥️ CLI & User Experience

- <User-facing workflow improvement>. (#...)
- <Quality-of-life fix>. (#...)

---

## 🔧 Tooling

- <Tool/runtime improvement>. (#...)

---

## 🔒 Security & Reliability

- **Security:** <hardening or vulnerability fix>. (#...)
- **Reliability:** <stability/performance behavior improvement>. (#...)

---

## 👥 Contributors

Huge thanks to **<N contributors>** who shipped **<N merged PRs>** this cycle.

@<community-handle> · @<community-handle> · @<team-handle> · @<team-handle>

Plus @lobehubbot and renovate[bot] for maintenance.

---

**Full Changelog**: <previous_tag>...<current_tag>

Quick Checklist

  • Uses top metadata and a clear release thesis
  • Includes Highlights plus domain-grouped sections
  • Every major bullet states both change and user/operator impact
  • Security and reliability updates are explicitly surfaced (when present)
  • Contributor credits and compare range are included
  • All numbers and claims are verifiable

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.14%
按下载量换算1,488

Claude

31.02%
按下载量换算1,313

Cursor

15.91%
按下载量换算674

Gemini CLI

8.8%
按下载量换算373

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills