跳到正文
cccskills
免费在 GitHub 公开中文介绍

version-release

用于准备次要版本或补丁版本发布,整理分支与拉取请求流程,并编写 GitHub Release 说明。它说明哪些更改会触发 CI 自动打标签和创建发布,以及版本号由谁处理。

原文查看原文说明

Version release workflow — release process and GitHub Release notes (not docs/changelog pages).

lobehub/lobehub星标 83,504(GitHub 83,504 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

适用场景

  • 准备功能更新的次要版本发布
  • 准备每周发布或紧急修复
  • 确认拉取请求是否触发发布
  • 编写 GitHub Release 说明

中文介绍

功能

此技能用于准备次要版本或补丁版本发布。它说明应从哪个分支创建发布分支、拉取请求标题应采用什么格式,以及不同发布类型分别遵循哪些步骤。还会整理拉取请求合并后,CI 创建发布所需的条件和版本号的确定方式。package.json 的版本更新和标签创建由 CI 负责,因此不需要手动执行。编写 GitHub Release 正文时,应根据 Git 中的变更和相关信息整理内容。

适用场景

准备功能更新的定期发布、每周更新、紧急修复,或与模型上线、数据库迁移相关的发布时,可以使用此技能。需要判断某个拉取请求是否会触发发布,或区分 GitHub Release 说明与网站变更历史时,也可以参考。

使用示例

  • “把这项更改按每周补丁版本发布来准备。”
  • “确认合并这个拉取请求后是否会创建发布。”
  • “编写 GitHub Release 说明。”

注意事项

此技能不负责网站变更历史页面,例如 docs/changelog/*.mdx。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料明确由CI更新版本和创建标签,并禁止手动执行这些操作。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足资料列出了CI工作流名称,但未说明环境要求或安装步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(8)

  • SKILL.md4.8 KB
  • agents/openai.yaml43 B
  • references/changelog-example/db-migration.md1.7 KB
  • references/changelog-example/hotfix.md956 B
  • references/changelog-example/weekly-release.md3.7 KB
  • references/minor-release.md1.8 KB
  • references/patch-release-scenarios.md4.5 KB
  • references/release-notes-style.md13.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Version Release Workflow

This skill is a router. The detailed steps live in references/.

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:

  • ../../../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):

TypeUse CaseFrequencySource BranchPR Title FormatVersionReference
MinorFeature iteration release~Every 4 weekscanary🚀 release: v{x.y.0}Manually setreferences/minor-release.md
PatchWeekly release / hotfix / model / DB migration~Weekly or as neededcanary or mainCustom (e.g. 🚀 release: 20260222)Auto patch +1references/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/* 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.

Automated Actions

  1. On the release PR (release-pr-version.yml) — if package.json is 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.
  2. After merge (auto-tag-release.yml) — tag v{x.y.z} on the merge commit and create the GitHub Release. Patch version is latest stable tag +1, not package.json +1.
  3. sync-main-to-canary — runs on push to main.

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 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

Routing

Pick the right reference and follow it end-to-end:

  • 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.json version — 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 git per references/release-notes-style.md § Computing Inputs — never from memory or descriptions.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

acceptance

免费有简介

通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。

  • 实际检查更改后的产品行为
  • 收集截图或其他验证证据
  • 编写验证计划和报告
lobehub/lobehub8.4万2026年10月26日 更新

add-model-provider

免费有简介

本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。

  • 为 LobeHub 接入新的 AI 模型提供商
  • 更新提供商设置说明或介绍
  • 判断添加模型是否需要新的提供商集成
lobehub/lobehub8.4万2026年10月26日 更新

add-setting-env

免费有简介

本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。

  • 通过环境变量设置用户偏好默认值
  • 将设置接入服务器配置和用户状态
  • 更新环境变量示例及文档
lobehub/lobehub8.4万2026年10月26日 更新

agent-runtime-hooks

免费有简介

说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。

  • 记录智能体步骤和错误
  • 测试时模拟工具结果
  • 通过 Webhook 允许或拒绝工具调用
lobehub/lobehub8.4万2026年10月26日 更新

agent-signal

免费有简介

此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。

  • 添加事件触发的后台任务
  • 将工作移出对话请求
  • 防止动作重复执行
lobehub/lobehub8.4万2026年10月26日 更新

agent-testing-bot

免费有简介

本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。

  • 检查真实 Discord 频道中的机器人回复
  • 测试 Slack 或 Telegram 的对话流程
  • 记录 macOS 应用中的操作结果
lobehub/lobehub8.4万2026年10月26日 更新

查看 lobehub 的全部技能

报告此技能的问题