Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

create-github-releasecreate GitHub 发布

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

349

周安装

15

GitHub Stars

12

下载量

122
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill create-github-release

简介

用于围绕 GitHub 仓库、Issue、Pull Request、分支和提交提供辅助能力,适合查询项目状态、整理变更并生成可执行下一步。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境,支持语义化版本发布与协作事项管理。
  • 通过命令行安装,需确认 token 权限与仓库范围,区分只读查询与写入操作以避免越权。
  • 涉及创建 PR、修改 Issue 或访问私有仓库时,应验证用户授权与目标仓库安全边界。
  • create-github-release 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Create GitHub Release

Create a tagged GitHub release with release notes and optional artifacts.

When to Use

  • Marking a stable version of software for distribution
  • Publishing a new version of a library or application
  • Creating release notes for stakeholders
  • Distributing build artifacts (binaries, tarballs)

Inputs

  • Required: Version number (semantic versioning)
  • Required: Summary of changes since last release
  • Optional: Build artifacts to attach
  • Optional: Whether this is a pre-release

Procedure

Step 1: Determine Version Number

Follow semantic versioning (MAJOR.MINOR.PATCH):

ChangeExampleWhen
MAJOR1.0.0 -> 2.0.0Breaking changes
MINOR1.0.0 -> 1.1.0New features, backward compatible
PATCH1.0.0 -> 1.0.1Bug fixes only

Expected: A version number is chosen that accurately reflects the scope of changes since the last release.

On failure: If unsure whether changes are breaking, review the public API diff. Any removal or signature change of an exported function is a breaking change requiring a MAJOR bump.

Step 2: Update Version in Project Files

  • DESCRIPTION (R packages)
  • package.json (Node.js)
  • Cargo.toml (Rust)
  • pyproject.toml (Python)

Expected: The version number is updated in the appropriate project file and committed to version control.

On failure: If the version was already updated in a previous step (e.g., via usethis::use_version() in R), verify it matches the intended release version.

Step 3: Write Release Notes

Create or update changelog. Organize by category:

## What's Changed

### New Features
- Added user authentication (#42)
- Support for custom themes (#45)

### Bug Fixes
- Fixed crash on empty input (#38)
- Corrected date parsing in UTC (#41)

### Improvements
- Improved error messages
- Updated dependencies

### Breaking Changes
- `old_function()` renamed to `new_function()` (#50)

**Full Changelog**: https://github.com/user/repo/compare/v1.0.0...v1.1.0

Expected: Release notes are organized by category (features, fixes, breaking changes) with issue/PR references for traceability.

On failure: If changes are hard to categorize, review git log v1.0.0..HEAD --oneline to reconstruct the list of changes since the last release.

Step 4: Create Git Tag

git tag -a v1.1.0 -m "Release v1.1.0"
git push origin v1.1.0

Expected: An annotated tag v1.1.0 exists locally and on the remote. git tag -l shows the tag.

On failure: If the tag already exists, delete it with git tag -d v1.1.0 && git push origin:refs/tags/v1.1.0 and recreate it. If push is rejected, ensure you have write access to the remote.

Step 5: Create GitHub Release

Using GitHub CLI (recommended):

gh release create v1.1.0 \
  --title "v1.1.0" \
  --notes-file CHANGELOG.md

With artifacts:

gh release create v1.1.0 \
  --title "v1.1.0" \
  --notes "Release notes here" \
  build/app-v1.1.0.tar.gz \
  build/app-v1.1.0.zip

Pre-release:

gh release create v2.0.0-beta.1 \
  --title "v2.0.0 Beta 1" \
  --prerelease \
  --notes "Beta release for testing"

Expected: Release visible on GitHub with tag, notes, and attached artifacts (if any).

On failure: If gh is not authenticated, run gh auth login. If the tag does not exist on the remote, push it first with git push origin v1.1.0.

Step 6: Auto-Generate Release Notes

GitHub can auto-generate notes from merged PRs:

gh release create v1.1.0 \
  --title "v1.1.0" \
  --generate-notes

Configure categories in .github/release.yml:

changelog:
  categories:
    - title: New Features
      labels:
        - enhancement
    - title: Bug Fixes
      labels:
        - bug
    - title: Documentation
      labels:
        - documentation
    - title: Other Changes
      labels:
        - "*"

Expected: Release notes are auto-generated from merged PR titles, categorized by label. .github/release.yml controls the categories.

On failure: If auto-generated notes are empty, ensure PRs were merged (not closed) and had labels assigned. Manually write notes as a fallback.

Step 7: Verify Release

# List releases
gh release list

# View specific release
gh release view v1.1.0

Expected: gh release list shows the new release. gh release view displays the correct title, tag, notes, and assets.

On failure: If the release is missing, check the Actions tab for any release workflows that may have failed. Verify the tag exists with git tag -l.

Validation

  • Version tag follows semantic versioning
  • Git tag points to the correct commit
  • Release notes accurately describe changes
  • Artifacts (if any) are attached and downloadable
  • Release is visible on the GitHub repository page
  • Pre-release flag is set correctly

Common Pitfalls

  • Tagging wrong commit: Always verify git log before tagging. Tag after version-bump commit.
  • Forgetting to push tags: git push doesn't push tags. Use git push --tags or git push origin v1.1.0.
  • Inconsistent version format: Decide on v1.0.0 vs 1.0.0 and stick with it.
  • Empty release notes: Always provide meaningful notes. Users need to know what changed.
  • Deleting and recreating tags: Avoid changing tags after push. If needed, create a new version instead.

Related Skills

  • commit-changes - staging and committing workflow
  • manage-git-branches - branch management for release prep
  • release-package-version - R-specific release workflow
  • configure-git-repository - Git setup prerequisite
  • setup-github-actions-ci - automate releases via CI

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

40.51%
按下载量换算49

Claude

28.72%
按下载量换算35

Cursor

17.75%
按下载量换算22

Gemini CLI

10.47%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills