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

version-update版本更新

Agent Skill

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

总安装

832

周安装

35

GitHub Stars

3

下载量

291
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alpoxdev/hypercore --skill version-update

简介

用于查找、检索和筛选相关信息,支持基于关键词或任务场景快速定位候选结果。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中辅助信息收集与线索整理。
  • 可结合来源仓库和原始 README 进一步验证具体功能与使用方式。
  • 安装命令:npx skills add https://github.com/alpoxdev/hypercore --skill version-update
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件操作。

SKILL.md

Version Update Skill

Cross-stack semantic version update for node/rust/python with conditional git-commit handoff.
  • Update one semantic version across node, rust, and python version-bearing files.
  • Keep discovered manifest files and inline version markers synchronized.
  • Prefer the installed git-commit skill for the final git add/commit/push flow.
  • Fall back to local direct git execution only when git-commit is unavailable.

<trigger_conditions>

User intentActivate
"bump this package to 1.4.0"yes
"update the version and commit it"yes
"increase patch version for this crate"yes
"just make a git commit"no, use git-commit
"rewrite this release runbook"no

</trigger_conditions>

<supported_targets>

  • package.json
  • Cargo.toml
  • pyproject.toml
  • setup.py
  • python __version__ declarations
  • inline .version('x.y.z') code patterns

</supported_targets>

Available scripts

ScriptPurpose
scripts/stack-detect.shDetect stacks (node, rust, python)
scripts/version-find.sh [--plain]Discover version-bearing files
scripts/version-current.sh [file]Extract current semver (`file
scripts/version-bump.sh <current> <type>Calculate next semver
scripts/version-apply.sh <new> [files...]Apply version to discovered/selected files
scripts/git-commit-detect.shDetect whether a usable project-local git-commit skill exists in repository skill directories
scripts/git-commit.sh "msg" [files]Fallback direct commit helper when git-commit is not installed
scripts/git-push.shFallback direct push helper when git-commit is not installed

<git_integration>

  • Run scripts/git-commit-detect.sh before the final git step.
  • The detector checks, in order: skills/git-commit, .agents/skills/git-commit, .claude/skills/git-commit, and .codex/skills/git-commit inside the current repository.
  • Use git-commit only when the detector returns installed|....
  • When handing off to git-commit, pass only the files changed by version-update and use chore: bump version to x.y.z unless the user requested a different message.
  • If the detector returns missing|..., use the local fallback scripts in skills/version-update/scripts/.
  • If the user asked for version-only work, stop after the version files and diff review. Do not commit or push.
  • If push is requested and the detector returns installed|..., let git-commit own push confirmation. Otherwise use scripts/git-push.sh only after explicit user request.

</git_integration>

<version_rules>

ArgumentActionExample
+1 / +patchPatch +10.1.13 -> 0.1.14
+minorMinor +10.1.13 -> 0.2.0
+majorMajor +10.1.13 -> 1.0.0
x.y.zExplicit set0.1.13 -> 2.0.0

</version_rules>

Workflow

# 1) detect stack(s)
scripts/stack-detect.sh

# 2) find version-bearing files
scripts/version-find.sh

# 3) read current version
scripts/version-current.sh
# output: <file>|<version>

# 4) compute next version
scripts/version-bump.sh 1.2.3 +minor
# -> 1.3.0

# 5) apply to all discovered files (or selected files)
scripts/version-apply.sh 1.3.0

# 6) review the final diff and changed file list
git diff --stat
git diff

# 7) detect whether a git-commit skill is actually usable
scripts/git-commit-detect.sh
# -> installed|/abs/path/to/current-repo/skills/git-commit
# or missing|comma,separated,current-repo,paths|reason

# 8a) if git-commit is installed and usable, hand off the git step to that skill
# target message: chore: bump version to 1.3.0

# 8b) otherwise, use the local fallback
scripts/git-commit.sh "chore: bump version to 1.3.0" package.json

# 9) optional push only when explicitly requested
scripts/git-push.sh

<stack_targets>

StackPrimary filesAdditional patterns
Nodepackage.json.version('x.y.z') in code
RustCargo.toml ([package].version).version('x.y.z') in code
Pythonpyproject.toml, setup.py, __version__ in .py.version('x.y.z') in code

</stack_targets>

CategoryRequired
InputParse ARGUMENT as bump rule or explicit semver
DiscoveryRun version-find.sh before applying updates
Current stateRead the current version with version-current.sh before computing the target version
ConsistencyKeep all discovered version files synchronized
Git detectionRun scripts/git-commit-detect.sh before choosing the git path
Git scopeIf handing off to git-commit, constrain it to the version-update file set
SafetyUse conventional commit message (chore: bump version to x.y.z) unless the user requests otherwise
GitKeep git write operations sequential

<scope_boundaries>

  • version-update owns version discovery, target calculation, file updates, and diff review.
  • git-commit owns repository inspection, staging discipline, commit creation, and push confirmation when the detector confirms that a repository-local skill is usable.
  • The local git scripts are fallback helpers, not the preferred path when git-commit is available.

</scope_boundaries>

Positive triggers

  • "bump this repo from 0.8.2 to 0.9.0 and commit it"
  • "increase the patch version for this Python package"
  • "update package.json and Cargo.toml to 2.0.0"

Negative triggers

  • "make a git commit for these docs changes"
  • "summarize our release process"

Boundary trigger

  • "update the version only, do not commit yet"

Trigger checks:

  • At least 3 positive trigger examples remain valid
  • At least 2 negative trigger examples stay out of scope
  • At least 1 boundary example stays explicit about commit vs no-commit

Execution checklist:

  • Current version identified with version-current.sh
  • Target version computed via version-bump.sh (or explicit semver validated)
  • version-apply.sh updated all intended files
  • git diff reviewed
  • scripts/git-commit-detect.sh run before choosing the git path
  • The detector searched only skills/git-commit, .agents/skills/git-commit, .claude/skills/git-commit, and .codex/skills/git-commit inside the current repository
  • If the detector returns installed|..., the final git step is handed off with the narrowed version-update scope
  • If the detector returns missing|..., the fallback scripts/git-commit.sh is used with only the version-update files
  • Optional push executed only when requested

Forbidden:

  • Starting updates without reading current version
  • Updating only one file when multiple version files exist
  • Using the fallback git scripts when the detector already returned installed|... without reason
  • Force-pushing protected branches

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.47%
按下载量换算103

Claude

31.44%
按下载量换算91

Cursor

20.95%
按下载量换算61

Gemini CLI

9.96%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills