快速了解
它能做什么
DSH 工作流技能
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
选择前先看
DSH 工作流技能 供应的技能文档描述了其工作流和边界。
适合谁
需要可重复工程工作流的用户。
常见任务
- 在任务符合其触发条件时按文档工作流执行。
权限与数据
该技能用于指导本地工作流决策;外部行为未经过独立审计。
权限- 使用文档中的工作流。
- 本轮未独立审计数据处理方式。
- 外部服务以供应项目说明为准。
- 本轮未独立测试凭据要求。
局限
- 运行时兼容性和安装行为尚未得到证明。
DSHub 已核对
- 已记录固定源代码和技能文档。
DSHub 未核对
- 本轮未安装或运行测试。
固定版本安装
主要操作
这个独立 Skill没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
Skill 使用说明
name: dsh-release description: This skill guides Oh-DSH stable application releases from version preparation through GitHub artifact publication and recovery. Use when preparing a vX.Y.Z release, changing package.json for a release, creating or pushing a release tag, monitoring the Release workflow, or recovering from packaging failure.
Oh-DSH Stable Release
This skill covers the application release workflow in
.github/workflows/release.yml. The
runtime-only workflow is separate and must not be used for a stable application
release.
Prepare a release PR
Start from an up-to-date
mainwith a clean worktree. Confirm the target version has no local or remote tag or GitHub Release.Set
package.jsonto the numeric semverX.Y.Z; thevprefix belongs only to the Git tagvX.Y.Z.Validate the invariant before publishing:
VERSION="${VERSION:?set VERSION to the numeric X.Y.Z release}" node scripts/validate-release-tag.mjs \ --tag "v$VERSION" --version "$(node -p "require('./package.json').version")"Run
pnpm run typecheck,pnpm test,pnpm run build, the Agent Notes checks, the bilingual pairing check, andgit diff --check.Commit the version change and any release-process maintenance in English, using
<module>: <subject>with a body that explains why and impact. Open a PR that lists scope, checks, and the exact version/tag pair.Do not create the tag until this PR is merged and
origin/maincontains the validated version.
Cut and monitor the release
Fetch
origin/mainand tags. Derive the release values from the current manifest so this phase does not depend on a previous shell:VERSION="$(node -p "require('./package.json').version")" TAG="v$VERSION"Verify the checked-out
mainis the exact commit to release, the manifest/tag validation passes, and the target tag is absent remotely.Create an annotated tag on that commit and push only that tag:
git tag -a "$TAG" origin/main -m "Oh-DSH Desktop $TAG" git push origin "$TAG"Find the
Releaseworkflow run for the tag withgh run list, then usegh run watch <run-id> --exit-status. Treat each matrix package as pending until the run finishes; inspect failures withgh run view <run-id> --log-failed.On success, verify the GitHub Release and its expected desktop, Web, TUI, runtime, checksum, and updater-metadata assets before reporting completion.
Recover from a packaging failure
Do not delete a tag while its workflow is still running. First capture the run
URL and failed job, confirm the failure is deterministic and source-related,
and confirm no Release or partial published assets require maintainer recovery.
For a source fix, delete only the verified failed tag, create a fix PR from
main, run the relevant checks, and wait for that PR to merge before retagging
the new origin/main commit:
git push origin --delete "$TAG"
git tag -d "$TAG"
Do not force-push or delete an unrelated tag. Reuse the release name only after
the failed tag is verified deleted, the fix PR is merged, and the new
origin/main commit passes version validation. For an infrastructure-only
failure, prefer rerunning the failed workflow when possible. If a Release or
assets already exist, stop and use the repository's maintainer recovery path
instead of deleting history.
Handoff
Report the merged version commit, tag object and target commit, workflow URL, final matrix result, Release URL, asset verification, and any unresolved gap.
有意识地管理
安装与管理
前置条件与目标 Profile
目标: 没有原生 DSH Profile 目标。
交付方式: Skill 文件 — https://github.com/hust-open-atom-club/oh-dsh。
兼容性与访问范围
requires_host_review: Not established by supplied evidence。
风险事实
Review instructions before use.
证据 ↗证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
在核对来源内容和不可变发布记录后,已由人工批准发布。AI 参与了内容草稿生成,最终发布决定由人工完成。
人工审查于 2026/8/29 UTC 15:16。GitHub 事实核对日期: 2026/8/29 UTC 15:11。
自当前证据基线以来,没有记录到重要源码变化。