Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

bump-release碰撞释放

Agent Skill

bump-release 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,216

周安装

817

GitHub Stars

51

下载量

6,732
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/paulrberg/agent-skills --skill bump-release

简介

用于发布常规或 beta 版本的软件包。bump-release 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 支持指定版本号、创建 beta 标签或 dry-run 预览。
  • 自动定位 package.json 所在目录,支持 monorepo 场景。
  • 会检查 CHANGELOG.md 和 justfile 等关键文件是否存在。
  • 建议在非生产环境先行 dry-run 验证流程完整性。

SKILL.md

Bump Release

Support for both regular and beta releases.

Parameters

  • version: Optional explicit version to use (e.g., 2.0.0). When provided, skips automatic version inference
  • --beta: Create a beta release with -beta.X suffix
  • --dry-run: Preview the release without making any changes (no file modifications, commits, or tags)

Steps

  1. Locate the package - The user may be in a monorepo where the package to release lives in a subdirectory. Look for package.json in the current working directory first; if not found, ask which package to release. All file paths (CHANGELOG.md, package.json, justfile) are relative to the package directory.
  2. Update the CHANGELOG.md file with all changes since the last version release (skip this step for beta releases).
  3. Bump the version in package.json:

- Regular release: Follow semantic versioning (e.g., 1.2.3) - Beta release: Add -beta.X suffix (e.g., 1.2.3-beta.1)

  1. Format files - If a justfile exists in the repository, run just full-write to ensure CHANGELOG.md and package.json are properly formatted
  2. Commit the changes with a message like "docs: release "
  3. Create a new git tag by running git tag -a v<version> -m "<version>"

Note: When --dry-run flag is provided, display what would be done without making any actual changes to files, creating commits, or tags.

Tasks

Process

  1. Check for arguments - Determine if version was provided, if this is a beta release (--beta), and/or dry-run (--dry-run)
  2. Check for clean working tree - Run git status --porcelain to verify there are no uncommitted changes unrelated to this release. If there are, run the commit skill to commit them before proceeding
  3. Write Changelog - Examine diffs between the current branch and the previous tag to write Changelog. Then find relevant PRs by looking at the commit history and add them to each changelog (when available). If package.json contains a files field, only include changes within those specified files/directories. If no files field exists, include all changes except test changes, CI/CD workflows, and development tooling
  4. Follow format - Consult references/common-changelog.md for the Common Changelog specification
  5. Check version - Get current version from package.json
  6. Bump version - If version argument provided, use it directly. Otherwise, if unchanged since last release, increment per Semantic Versioning rules:

- For regular releases: - PATCH (x.x.X) - Bug fixes, documentation updates - MINOR (x.X.x) - New features, backward-compatible changes - MAJOR (X.x.x) - Breaking changes - For beta releases (--beta flag): - If current version has no beta suffix: Add -beta.1 to the version - If current version already has beta suffix: Increment beta number (e.g., -beta.1-beta.2) - If moving from beta to release: Remove beta suffix and use the base version - When unsure — If the changes are ambiguous (e.g., a new feature that may also break consumers, or a mix of fixes and features), use AskUserQuestion to let the user decide the semver level: Use the user's choice and skip step 7 - header: "Version" - question: "Changes include both <summary>. Which release level?" - options: list the plausible semver levels with their resulting version (e.g., "1.3.0 (minor)", "2.0.0 (major)") - multiSelect: false

  1. Confirm version - When the version was confidently inferred (no explicit version argument), use AskUserQuestion to confirm before proceeding: If the user picks an alternative, use that version for the remaining steps. Skip this step when --dry-run is active (show the inferred version in the preview instead)

- header: "Version" - question: "Release <current><inferred>?" - options: - The inferred version label (e.g., "1.3.0 (minor)") — mark as "(Recommended)" - One alternative that is one semver level higher (e.g., "2.0.0 (major)") - One alternative that is one semver level lower when possible (e.g., "1.2.4 (patch)") - multiSelect: false

Beta Release Logic

When --beta flag is provided in the $ARGUMENTS

  1. Check for explicit version - If version provided:

- If version already has beta suffix → use as-is - If version has no beta suffix → append -beta.1

  1. Otherwise, parse current version from package.json and determine beta version:

- If current version is 1.2.3: Create 1.2.4-beta.1 (increment patch + beta.1) - If current version is 1.2.3-beta.1: Create 1.2.3-beta.2 (increment beta number) - If current version is 1.2.3-beta.5: Create 1.2.3-beta.6 (increment beta number)

  1. Skip CHANGELOG.md update - Beta releases don't update the changelog
  2. Commit and tag with beta version (e.g., v1.2.4-beta.1)

Output

For regular releases only, generate changelog entries in CHANGELOG.md following the format and writing guidelines in references/common-changelog.md. Use the Changed, Added, Removed, Fixed categories (in that order). Every entry must begin with a present-tense verb in imperative mood.

Inclusion Criteria

For regular releases only (changelog generation is skipped for beta releases):

  • Files field constraint - If package.json contains a files field, only include changes to files/directories specified in that array. All other codebase changes should be excluded from the CHANGELOG
  • Production changes only - When no files field exists, exclude test changes, CI/CD workflows, and development tooling
  • Reference pull requests - Link to PRs when available for context
  • Net changes only - Examine diffs between the current branch and the previous tag to identify changes
  • Only dependencies and peerDependencies changes - Exclude changes to devDependencies

Examples

Regular Release

# Create a regular patch/minor/major release
/bump-release

# Preview what a regular release would do
/bump-release --dry-run

Beta Release

# Create a beta release with -beta.X suffix
/bump-release --beta

# Preview what a beta release would do
/bump-release --beta --dry-run

Explicit Version

# Specify exact version
/bump-release 2.0.0

# Specify exact beta version
/bump-release 2.0.0-beta.1

# Combine with flags
/bump-release 2.0.0 --dry-run

Version Examples

Current VersionRelease TypeNew Version
1.2.3Regular1.2.4 (patch)
1.2.3Beta1.2.4-beta.1
1.2.3-beta.1Beta1.2.3-beta.2
1.2.3-beta.5Regular1.2.3
1.2.32.0.02.0.0
1.2.32.0.0 + Beta2.0.0-beta.1

Resources

  • references/common-changelog.md — Common Changelog format and writing guidelines

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.67%
按下载量换算2,401

Claude

30.5%
按下载量换算2,053

Cursor

16.51%
按下载量换算1,111

Gemini CLI

8.62%
按下载量换算580

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills