Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

xerahs-release-bump-tagXerahs 发布凹凸标签

Agent Skill

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

总安装

470

周安装

20

GitHub Stars

239

下载量

165
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sharex/xerahs --skill xerahs-release-bump-tag

简介

用于查找、检索和筛选相关信息。

  • 适合根据关键词、任务场景或来源线索快速定位候选结果。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装命令:npx skills add https://github.com/sharex/xerahs --skill xerahs-release-bump-tag。
  • 安装前建议确认权限范围和维护状态,避免误操作。

SKILL.md

XerahS Release Bump Tag

Overview

Use this skill to run release steps in strict order:

  • Step 1: Execute maintenance chores first (git pull --recurse-submodules and git submodule update --init --recursive)
  • Step 2: Run .ai/skills/update-changelog/SKILL.md second (optional if no CHANGELOG.md exists)
  • Step 3: Verify build, then execute bump/commit/push/tag automation
  • Step 4: Monitor the tag-triggered release workflow every 2 minutes
  • Step 5: If failure occurs, inspect logs, fix issues, and retry with the next patch version
  • Step 6: Ensure standard release notes block is present on the GitHub release
  • Step 7: If requested, set the successful release as pre-release

Step 3 performs:

  • Pre-check: Run dotnet build src/desktop/XerahS.sln; do not proceed if build fails.
  • Prompts for x/y/z bump type (major/minor/patch) unless specified.
  • Updates every tracked Directory.Build.props file that defines <Version>.
  • Syncs build/windows/chocolatey/xerahs.nuspec <version> with the release version.
  • Stages all current repo changes.
  • Commits with version-prefixed message.
  • Pushes current branch and creates/pushes annotated tag vX.Y.Z.

Step 4-5 performs:

  • Find tag run for Release Build (All Platforms).
  • Poll run status every 120 seconds until completion.
  • On failure, inspect failing job logs and identify first blocking error.
  • Fix root cause in code/workflow/scripts.
  • Re-run local pre-check build.
  • Retry release using next patch bump, then monitor again.
  • Repeat until workflow succeeds.

Step 6 performs:

  • Ensures release notes always include:

- Change log: - https://xerahs.com/changelog.html - ### macOS Troubleshooting ("App is damaged") section with Gatekeeper xattr -cr guidance.

  • After the release is published, the tag workflow also builds, smoke-tests, and attaches xerahs.X.Y.Z.nupkg to the GitHub release.
  • build/windows/chocolatey/Sync-ChocolateyPackage.ps1 -Version X.Y.Z remains the manual recovery path for re-syncing checksums or repacking.

Primary Command

From repository root:

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh

Automated monitor + pre-release (recommended):

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh --assume-changelog-done --monitor --set-prerelease --bump z --yes

Manual monitor (fallback, PowerShell example):

gh run list --limit 10 --json databaseId,workflowName,headBranch,status,conclusion,url
Start-Sleep -Seconds 120
gh run view <run-id> --json status,conclusion,jobs,url

Non-Interactive Examples

Patch bump, no prompts:

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh --assume-changelog-done --bump z --yes

Patch bump with built-in 2-minute monitoring:

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh --assume-changelog-done --monitor --monitor-interval 120 --bump z --yes

Minor bump with custom commit token/summary:

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh --assume-changelog-done --bump y --type CI --summary "Prepare release artifacts" --yes

Preview only:

./.ai/skills/xerahs-release-bump-tag/scripts/run-release-sequence.sh --assume-changelog-done --bump z --dry-run --yes

When bash is unavailable (e.g. Windows PowerShell)

On environments where bash is not in PATH, execute the sequence manually:

  1. Step 1 - Maintenance

- git pull --recurse-submodules - git submodule update --init --recursive

  1. Step 2 - Changelog

- Run .ai/skills/update-changelog/SKILL.md. - Skip if no CHANGELOG.md or user confirms skip.

  1. Step 3 - Bump, commit, push, tag

- Run dotnet build src/desktop/XerahS.sln; abort if it fails. - Read current version from root Directory.Build.props. - Compute next version: patch Z+1, minor Y+1.0, major X+1.0.0. - Ensure tag v<new-version> does not exist locally or on origin. - Update all tracked Directory.Build.props files containing <Version>. - Update build/windows/chocolatey/xerahs.nuspec <version> to match. - git add -A -> git commit -m "[v<new-version>] [CI] Release v<new-version>" -> git push origin <current-branch> -> git tag -a v<new-version> -m "v<new-version>" -> git push origin v<new-version>.

  1. Step 4 - Monitor every 2 minutes

- Find run: gh run list --limit 10 --json databaseId,workflowName,headBranch,status,conclusion,url - Poll: Start-Sleep -Seconds 120; then gh run view <run-id> --json status,conclusion,jobs,url

  1. Step 5 - On failure, fix and retry

- Fetch failed job logs: gh run view <run-id> --job <job-id> --log - Fix root cause in repository. - Re-run dotnet build src/desktop/XerahS.sln. - Repeat Step 3 with next patch version.

  1. Step 6 - Ensure standard release notes content

- Read current body: gh release view v<new-version> --json body - Append the standard changelog + macOS troubleshooting block if missing. - Write body: gh release edit v<new-version> --notes-file <file>

  1. Step 7 - Set pre-release (when requested)

- gh release edit v<new-version> --prerelease - Verify: gh release view v<new-version> --json isPrerelease,url,assets

  1. Optional post-release Chocolatey maintenance

- The tag workflow should already have produced and smoke-tested xerahs.<new-version>.nupkg. - Manual repack/re-sync: powershell -File build/windows/chocolatey/Sync-ChocolateyPackage.ps1 -Version <new-version> -Pack - Manual smoke test: powershell -File build/windows/chocolatey/Test-ChocolateyPackage.ps1 -Version <new-version> -SourceDirectory dist\chocolatey - Optionally push after review: powershell -File build/windows/chocolatey/Sync-ChocolateyPackage.ps1 -Version <new-version> -Pack -Push -ApiKey <key>

Default bump when unspecified: patch (z). Default commit type token: CI.

Behavior

  1. Require completion of maintenance-chores first.

- Script behavior: executes maintenance commands automatically unless explicitly bypassed with --skip-maintenance (or legacy alias --assume-maintenance-done).

  1. Require completion of update-changelog second (skip if no CHANGELOG.md or user confirms).
  2. Before bump, run dotnet build src/desktop/XerahS.sln; abort on failure.
  3. Run scripts/bump-version-commit-tag.sh (or PowerShell/manual equivalent when bash unavailable).
  4. After tag push, monitor the release workflow every 120 seconds until complete.
  5. If failed, inspect logs, fix root cause, and retry with next patch version.
  6. Continue retry loop until release workflow is successful.
  7. Ensure standard release notes content is present on the successful release.
  8. If requested, mark successful release as pre-release.

Guardrails

  • Do not skip sequence unless user explicitly requests bypass.
  • Do not skip maintenance unless user explicitly requests bypass (--skip-maintenance).
  • Do not commit/push during maintenance/changelog steps.
  • Always verify build before bump/tag.
  • Always monitor workflow after tag push; do not stop at tag creation.
  • Always inspect logs on failure and fix root cause before retry.
  • Always ensure the standard release notes block exists on the successful release.
  • Always use a new patch version for retries requiring new commits/tags.
  • Abort on detached HEAD.
  • Abort if version format is not X.Y.Z.
  • Abort if matching tag already exists locally or remotely.
  • Support --no-push and --no-tag when partial flow is needed.

Agent usage (Cursor / Codex)

When executing this skill:

  1. Run sequence: maintenance -> changelog -> build verify -> bump/commit/push/tag.
  2. Use bash scripts if bash exists; otherwise use PowerShell/manual flow.
  3. Default bump is patch (z) when unspecified.
  4. Monitor tag workflow every 120 seconds until completion.
  5. On failure, inspect logs, fix issue, and retry with next patch version.
  6. Ensure release notes include changelog link + macOS troubleshooting block.
  7. If requested, set the final successful release to pre-release.
  8. Report final version, commit hash, branch push status, tag push status, run URL, and pre-release status.

Notes (lessons learnt)

  • Windows/PowerShell: bash may be unavailable; manual fallback must be first-class.
  • Build before bump: avoid tagging broken trees.
  • Changelog optional: do not block if CHANGELOG.md does not exist unless user requires it.
  • Version sync: update every tracked Directory.Build.props with <Version> and sync build/windows/chocolatey/xerahs.nuspec.
  • Chocolatey asset naming: build/windows/chocolatey/tools/chocolateyInstall.ps1 resolves XerahS-<version>-win-x64.exe or XerahS-<version>-win-arm64.exe from ChocolateyPackageVersion, so release bumps should not hardcode installer filenames there.
  • Chocolatey checksums for community publication are post-release data because GitHub release assets do not exist until after the tag workflow completes. The tag workflow now performs that sync automatically for release packaging, and build/windows/chocolatey/Sync-ChocolateyPackage.ps1 remains the manual fallback.
  • Release reliability loop: tag push is not the end; monitor, fix, and retry until green.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.01%
按下载量换算58

Claude

30.44%
按下载量换算50

Cursor

16.74%
按下载量换算28

Gemini CLI

7.94%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills