Agent Skills › emavgl/oinkoin › new-release

new-release

GitHub

用于创建 GitHub Release 的自动化技能,通过对比历史版本生成用户可见的单行更新日志,经确认后执行打标签和发布操作。

.claude/skills/new-release/SKILL.md emavgl/oinkoin

Trigger Scenarios

用户希望发布新版本 需要生成并确认 Release 内容

Install

npx skills add emavgl/oinkoin --skill new-release -g -y
More Options

Non-standard path

npx skills add https://github.com/emavgl/oinkoin/tree/master/.claude/skills/new-release -g -y

Use without installing

npx skills use emavgl/oinkoin@new-release

指定 Agent (Claude Code)

npx skills add emavgl/oinkoin --skill new-release -a claude-code -g -y

安装 repo 全部 skill

npx skills add emavgl/oinkoin --all -g -y

预览 repo 内 skill

npx skills add emavgl/oinkoin --list

SKILL.md

Frontmatter
{
    "name": "new-release",
    "description": "Creates a GitHub release for Oinkoin with a tag, release name, and a one-line changelog summary. Use when the user wants to ship a new version.",
    "argument-hint": "<version>"
}

Skill: new-release

Create a release on GitHub for the given version.

Usage

/new-release 1.9.0

Steps

Step 1 — Confirm the version

The version comes from the skill argument (e.g. 1.9.0). If the user didn't provide one, ask for it before continuing.

Step 2 — Find the previous release tag

gh release list --limit 10

Identify the most recent non-draft, non-pre-release tag to use as the comparison base.

Step 3 — Collect commits since the previous tag

git log <previous-tag>..HEAD --oneline

Step 4 — Draft the changelog with the user

From the commit list, propose a single-line summary of the user-facing changes. Rules:

  • The whole changelog is one line, under 100 characters total — not a bullet list, not per-bullet
  • Do not reference issue/PR numbers (e.g. no (#123))
  • Skip internal/chore commits (version bumps, CI, typos) unless they matter to users
  • Condense multiple changes into a single concise sentence rather than listing them separately
  • Write in plain English, present tense ("Add X", "Fix Y", "Improve Z")
  • Show the draft to the user and ask for approval or edits before creating the release

Step 5 — Create the tag and release

Once the user approves the changelog:

# Create and push the tag
git tag <version>
git push origin <version>

# Create the release
gh release create <version> \
  --title "<version>" \
  --notes "<approved bullet points>"

Step 6 — Confirm

Print the release URL returned by gh release create so the user can review it on GitHub.

Version History

  • 7468a7c Current 2026-08-20 12:20

Same Skill Collection

.claude/skills/add-setting/SKILL.md
.claude/skills/announcement/SKILL.md
.claude/skills/commit/SKILL.md
.claude/skills/frameit/SKILL.md
.claude/skills/logging/SKILL.md
.claude/skills/markup-text/SKILL.md
.claude/skills/translate/SKILL.md
website/.claude/skills/write-article/SKILL.md

Metadata

Files
0
Version
9f47487
Hash
eacdd57f
Indexed
2026-08-20 12:20

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-09 19:59
浙ICP备14020137号-1