Agent skill

Create Release

by WrBug in WrBug/PolyHermes

创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。

MITAuto-check passedDevOps & Cloud

Install Create Release

skills CLI
$ npx skills add WrBug/PolyHermes --skill create-release -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install WrBug/PolyHermes create-release --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/WrBug/PolyHermes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/common/create-release .claude/skills/create-release && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-release
GitHub stars
228
Token cost
~1.3k tokens
SKILL.md length
234 words
Files
2 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。

  • Works in 3 steps: GitHub CLI 已安装:确保 gh 命令可用 → 已登录 GitHub:运行 gh auth status 确认 → 工作目录干净:建议先提交所有更改
  • DevOps & Cloud work in your project
  • SKILL.md covers 使用时机, 前置条件, 指令 and ⚠️ 安全提醒, plus 6 more sections
  • Runs Shell scripts from its folder; calls gh and git

What it does

Create Release is an agent skill from WrBug/PolyHermes. 创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/create-release.sh`).

It sits in DevOps & Cloud. It works with GitHub and Docker. The repository describes itself as: 一个功能强大的 Polymarket 预测市场跟单交易系统,支持自动化跟单、多账户管理、实时订单推送和统计分析。 The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/create-release”

Requirements

  • A Bash shell
  • Docker

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. GitHub CLI 已安装:确保 gh 命令可用
  2. 已登录 GitHub:运行 gh auth status 确认
  3. 工作目录干净:建议先提交所有更改

What it can do on your machine

Read from SKILL.md and the folder at commit 1087591. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • gh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • hub.docker.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Release loads about 1.3k tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 234 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from WrBug/PolyHermes at commit 1087591, republished under its MIT licence (© WrBug). 234 words, ~1,346 tokens.

Download SKILL.mdSave it as .claude/skills/create-release/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
create-release
description
创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。

Create Release

创建 PolyHermes 项目的 GitHub Release,包括创建 Git tag、推送 tag、创建 GitHub Release(支持 pre-release),并自动在 Issue #1 发布公告。

使用时机

  • 用户要求「发布版本」「创建 release」「打 tag」「发布新版本」时
  • 用户要求「创建 pre-release」「beta 版本」时
  • 用户提到「v1.x.x」等版本号相关操作时

前置条件

  1. GitHub CLI 已安装:确保 gh 命令可用
  2. 已登录 GitHub:运行 gh auth status 确认
  3. 工作目录干净:建议先提交所有更改

指令

步骤 1:收集发布信息

询问用户以下信息:

  • 版本号(格式:vX.Y.Z,如 v1.0.0)
  • 是否为 Pre-release(测试版本)
  • Release 标题和描述(可选,如未提供则自动生成)
步骤 2:生成 Release 内容

重要:如果用户未提供描述,需要根据 Git commits 自动生成。

  1. 获取上一个版本的 tag:

    bash
    git describe --tags --abbrev=0 HEAD
  2. 获取版本间的 commits:

    bash
    git log <PREVIOUS_TAG>..HEAD --oneline --no-merges
  3. 过滤 commit 规则:

    • 排除:版本内新增功能的修复 commit
    • 判断方法:如果一个 commit 的消息包含「fix」「修复」「bugfix」等关键词,且是针对同一版本内新增代码的修复,则不包含
    • 保留:新功能、性能优化、重构、文档更新等
  4. 生成中英文 Release 内容:

    • 格式要求:中文在上,英文在下
    • 使用分隔线 --- 分隔中英文部分
    • 按功能类型分组(新功能、改进、修复等)

    示例格式:

    markdown
    ## 新功能
    
    - 添加了 A 功能
    - 支持了 B 操作
    
    ## 改进
    
    - 优化了 C 性能
    
    ---
    
    ## New Features
    
    - Added feature A
    - Supported operation B
    
    ## Improvements
    
    - Optimized performance C
步骤 3:运行发布脚本

在项目根目录下执行:

bash
cd .cursor/skills/common/create-release/scripts && \
chmod +x create-release.sh && \
./create-release.sh -t <VERSION> [-T "<TITLE>"] [-d "<DESCRIPTION>"] [-p] [-y]
步骤 4:发布公告到 Issue #1

重要:Release 创建成功后,必须自动在 Issue #1 下发布公告 comment。

  1. 生成公告内容(面向用户,通俗易懂):

    公告格式模板:

    markdown
    # 🎉 PolyHermes vX.X.X 版本发布公告
    
    ## 📅 发布日期
    
    YYYY年MM月DD日
    
    ---
    
    ## ✨ 本次更新亮点
    
    ### 🚀 新功能
    
    **功能名称**
    - 用通俗的语言描述这个功能是什么
    - 用户能从中获得什么好处
    - 如何使用这个功能
    
    ### 🔧 改进优化
    
    - 优化了 XXX,现在 XXX 更快/更稳定了
    - 改进了 XXX 体验,操作更简单了
    
    ### 🐛 问题修复
    
    - 修复了 XXX 问题,不再出现 XXX 情况
    
    ---
    
    ## 📦 如何更新
    
    ### Docker 部署(推荐)
    
    ```bash
    # 拉取最新镜像
    docker pull wrbug/polyhermes:vX.X.X
    
    # 重启服务
    docker-compose -f docker-compose.prod.yml down
    docker-compose -f docker-compose.prod.yml up -d

    ⚠️ 安全提醒

    请务必使用官方 Docker 镜像源,避免财产损失!

    官方镜像地址:wrbug/polyhermes


    📚 相关链接

  2. 公告内容编写原则:

    • ✅ 通俗易懂:避免技术术语,用用户能理解的语言
    • ✅ 突出价值:告诉用户这个更新对他们有什么好处
    • ✅ 简洁明了:每个功能点用 1-2 句话说明
    • ✅ 包含操作指引:告诉用户如何使用新功能
    • ✅ 中英文双语:中文在上,英文在下(可选)
    • ❌ 避免:commit hash、代码细节、内部实现
  3. 执行发布公告命令:

    bash
    gh issue comment 1 --repo WrBug/PolyHermes --body "$(cat <<'EOF'
    # 🎉 PolyHermes vX.X.X 版本发布公告
    
    [公告内容...]
    
    ---
    EOF
    )"

    或使用文件方式(内容较长时推荐):

    bash
    echo "[公告内容...]" > /tmp/announcement.md
    gh issue comment 1 --repo WrBug/PolyHermes --body-file /tmp/announcement.md
Show full SKILL.md (122 more words)Show less
参数说明
参数说明示例
-t, --tag版本号(必需)-t v1.0.0
-T, --titleRelease 标题-T "Release v1.0.0"
-d, --descriptionRelease 描述-d "## 新功能\n- 功能1"
-f, --description-file从文件读取描述-f CHANGELOG.md
-p, --prerelease标记为 Pre-release(自动加 -beta 后缀)-p
-y, --yes无交互模式-y

版本号格式

  • 必须格式:v数字.数字.数字(如 v1.0.0, v1.10.2, v1.1.12)
  • 如果指定 --prerelease,会自动拼接 -beta 后缀(如 v1.0.1 → v1.0.1-beta)

Release 内容生成规则

中英文格式

Release 描述必须使用中英文双语格式:

markdown
## 中文标题

- 内容项1
- 内容项2

---

## English Title

- Item 1
- Item 2
Commit 过滤规则

需要排除的 commit 类型:

  1. 版本内修复:对同一版本新增功能的后续修复

    • 例如:v1.0.1 新增了功能 A,然后有一个 commit 修复功能 A 的 bug → 不包含
    • 判断依据:commit 消息包含「fix」「修复」「bugfix」且相关功能在本版本新增
  2. 琐碎修改:

    • typo 修正
    • 代码格式调整
    • 注释更新

需要保留的 commit 类型:

  1. 新功能(feat、feature)
  2. 改进/优化(improve、optimize、enhance)
  3. 重要 bug 修复(针对旧版本的 bug)
  4. 重构(refactor)
  5. 文档更新(docs)
分组建议
  • 新功能 / New Features
  • 改进 / Improvements
  • 修复 / Bug Fixes(仅包含对旧版本 bug 的修复)
  • 其他 / Others

公告内容示例

以下是一个面向用户的公告示例:

markdown
# 🎉 PolyHermes v1.2.0 版本发布公告

## 📅 发布日期

2026年3月2日

---

## ✨ 本次更新亮点

### 🚀 新功能

**系统自动更新**
- 现在可以在网页上直接更新系统,无需手动重启 Docker
- 更新过程约 30-60 秒,系统会自动处理
- 如果更新失败,系统会自动恢复到旧版本

**RPC 节点管理**
- 可以在系统设置中添加、编辑、删除自定义 RPC 节点
- 可以随时启用或禁用节点
- 系统会自动选择可用的节点

### 🔧 改进优化

- **更快的跟单响应**:通过实时监听链上交易,跟单速度提升到秒级
- **更准确的盈亏统计**:系统会自动追踪实际成交价,统计数据更准确
- **内存占用优化**:修复了内存泄漏问题,系统可以长时间稳定运行

### 🐛 问题修复

- 修复了部分市场无法正确查询价格的问题
- 修复了卖出订单偶发失败的问题

---

## 📦 如何更新

### 方式一:网页更新(推荐)

1. 登录系统,进入 **系统设置** → **系统更新**
2. 点击 **检查更新**
3. 如果有新版本,点击 **立即升级**
4. 等待更新完成即可

### 方式二:Docker 更新

```bash
docker pull wrbug/polyhermes:v1.2.0
docker-compose -f docker-compose.prod.yml down
docker-compose -f docker-compose.prod.yml up -d

⚠️ 安全提醒

请务必使用官方 Docker 镜像源!

官方镜像:wrbug/polyhermes


📚 相关链接


## 发布流程

1. 验证版本号格式
2. 检查 Git 工作目录状态
3. 检查 tag 是否已存在
4. 生成 Release 内容(中英文)
5. 创建本地 tag
6. 推送 tag 到远程
7. 创建 GitHub Release
8. **生成面向用户的公告内容**
9. **发布公告到 Issue #1**
10. 返回 Release URL 和公告链接

## 注意事项

- Pre-release 版本不会触发 Telegram 通知
- GitHub Actions 会自动触发构建流程
- 如果 tag 已存在,会提示是否删除并重新创建
- **必须**在 Release 创建成功后发布公告到 Issue #1

## 可选目录说明

- `scripts/`:包含 `create-release.sh` 发布脚本

© WrBug, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .cursor/skills/common/create-release of WrBug/PolyHermes.

  • SKILL.md
  • scripts/create-release.sh

Open the folder on GitHubat commit 1087591

Compare with similar skills

Create Release next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Release compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Release this skillWrBug/PolyHermes228—~1.3kAutomated safety check: PassMIT
Reflexo ReleaseMyriad-Dreamin/typst.ts1.2k—~1.5kAutomated safety check: PassApache-2.0
Opentagamplifthq/opentag1.4k—~1.3kAutomated safety check: NotesMIT
1panel App Builderarch3rPro/1Panel-Appstore213—~1.3kAutomated safety check: PassMIT
Releasebmeares/Meerschaum154—~1.1kAutomated safety check: NotesApache-2.0
CI CDEliasOulkadi/shokunin114—~3.4kAutomated safety check: NotesMIT

Similar skills

  • Reflexo Release

    Myriad-Dreamin/typst.ts

    Guide Reflexo/typst.ts release preparation and operator handoffs.

    1.2k GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Opentag

    amplifthq/opentag

    Deploy or operate OpenTag's supported paired setup when a user needs to bootstrap the self-hosted Docker Compose Control Plane and Slack Source App, configure or pair a local ACP Runner with a…

    1.4k GitHub stars~1.3k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes
  • 1panel App Builder

    arch3rPro/1Panel-Appstore

    A skill your agent uses when packaging Docker deployments as 1Panel local app store apps, including GitHub projects, docker-compose.yml files, docker run commands, app metadata, version directories…

    213 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Release

    bmeares/Meerschaum

    Meerschaum release process — bump version, update changelog, stage dev→main PR, run CI, publish to PyPI, tag, GitHub release, build/push Docker images, rebuild docs on prod VPS.

    154 GitHub stars~1.1k tokensUpdated 29 days ago
    DevOps & CloudAuto-check: notes
  • CI CD

    EliasOulkadi/shokunin

    Design CI/CD pipelines for GitHub Actions, GitLab CI, and CircleCI with matrix builds, test sharding, caching, Docker layer caching, OIDC auth, deployment strategies (rolling, blue-green, canary)…

    114 GitHub stars~3.4k tokensUpdated 3 days ago
    DevOps & CloudAuto-check: notes
  • Release

    matrixorigin/memoria

    Cut a Memoria release. An agent skill from matrixorigin/memoria.

    608 GitHub stars~494 tokensUpdated today
    DevOps & CloudAuto-check passed

More from WrBug/PolyHermes

  • Check I18n Keys

    WrBug/PolyHermes

    检查前端多语言 key 完整性。当用户要求检查 i18n、多语言缺失、翻译 key 或运行 check-i18n 时使用。

    228 GitHub stars~231 tokensUpdated 4 mo ago
    Auto-check passed

Works with

Categories

Questions about Create Release

What does Create Release do?

创建 PolyHermes 项目的 GitHub Release。当用户要求发布版本、创建 release、打 tag 或发布新版本时使用。. Create Release is an agent skill from WrBug/PolyHermes.

When should I use Create Release?

Create Release fits situations like: devOps & Cloud work in your project.

How do I install Create Release in Claude Code?

Run `npx skills add WrBug/PolyHermes --skill create-release -a claude-code`. Or copy the skill folder (.cursor/skills/common/create-release in WrBug/PolyHermes) into .claude/skills/create-release in your project. Claude Code loads it when a task matches its description.

How do I install Create Release in Codex?

Run `npx skills add WrBug/PolyHermes --skill create-release -a codex`. Or copy the skill folder (.cursor/skills/common/create-release in WrBug/PolyHermes) into .agents/skills/create-release in your project. Codex loads it when a task matches its description.

Can I use Create Release in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WrBug/PolyHermes --skill create-release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-release, .gemini/skills/create-release, .github/skills/create-release and .opencode/skills/create-release in your project.

What does Create Release need to run?

Going by SKILL.md and its folder, Create Release needs a shell for the scripts in its folder and the command-line tools its instructions call (gh and git). Our summary lists: A Bash shell; Docker.

Does Create Release access the network?

SKILL.md names 1 domain. As links in the text: hub.docker.com. This is read from the text; nothing was executed.

Is Create Release safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Create Release use?

Create Release is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Release use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Release?

Skills that share tags, products or a category with Create Release: Reflexo Release (Myriad-Dreamin/typst.ts, 1.2k stars), Opentag (amplifthq/opentag, 1.4k stars), 1panel App Builder (arch3rPro/1Panel-Appstore, 213 stars) and Release (bmeares/Meerschaum, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Release?

WrBug (a GitHub user) maintains it in WrBug/PolyHermes, which has 228 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on May 26, 2026.

Source: WrBug/PolyHermes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.