dsh-create-upgrade-guide 精选
Use when a deepseek-harness change breaks an externally perceptible surface (CLI, profiles, cordis.yml or settings keys, persisted user data, SDK or wire APIs, published package entry points), or when changing a surface that an unreleased upgrade guide already covers, to write or update docs/upgrade-guide/v<version>/<item>/guide.md.
安装方式
cp -r .agents/skills/dsh-create-upgrade-guide ~/.claude/skills/dsh-create-upgrade-guide把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/deepseek-ai/deepseek-harness/d743267388641bc76f17c45ce8b4c231aed1d32c/.agents/skills/dsh-create-upgrade-guide/SKILL.md下载后另存为 ~/.claude/skills/dsh-create-upgrade-guide/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/deepseek-ai/deepseek-harness.git
依赖与权限
- 无需 API Key
- 无需联网
- 依赖外部命令:
pnpmpython - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
DSH Create Upgrade Guide
An upgrade guide tells a reader who runs release vT what to change to run the next release. Write it in the change that introduces the break, as soon as the break is recognized; do not defer it to release preparation.
Scope
Write a guide only for breaks that someone outside the repository can observe after upgrading:
dshcommands, flags, and profile names;cordis.yml, patch, overlay, and settings keys or their accepted values;- persisted user data: Session logs, SQLite stores, and user data directories;
- TypeScript and Python SDK exports, JSON-RPC, HTTP, and ACP messages;
- published package names and entry points.
Pre-stable internal APIs whose consumers are all updated in the same change need no guide. A Session-format change still follows [type acknowledgements](../../../docs/cookbook/reviewing-persistence-type-changes.md); its guide states only the reader's actions and links that record.
Location
docs/upgrade-guide/v<version>/<item>/guide.md
<version>is theversionfield of the rootpackage.jsonwhen you write the guide, for examplev0.1.7-rc.2. The guide describes the upgrade from that release to the next one.<item>is a kebab-case name of the changed surface, for exampleprofile-flag-rename.- Each item directory holds exactly
guide.md, its Chinese counterpartguide.zh.md, and the pairing recordguide.i18n.yaml: no index, no attachments.
Maintenance
While the root version is unchanged, the current version directory describes the delta from vT to current master. When a later change touches a surface a guide there covers, update that guide in the same change; delete the guide when the break is reverted. After the version bump, guides in older version directories are frozen; a new break goes into the new version directory. Never write a guide spanning more than one release.
Format
Start from the [upgrade-guide template](../dsh-doc/templates/upgrade-guide.md). verify-upgrade-guides enforces:
- frontmatter with exactly
kind: upgrade-guideand a one-sentencedescriptionnaming what breaks; add a key only together with its gate check, then backfill every guide; - one
#title, then exactly the## Changeand## Migrationsections inguide.md, and## 变更and## 迁移inguide.zh.md, in that order; - at most 500 words in
guide.md, frontmatter included.
Change states the old and new behavior of the surface and who is affected. Migration lists ordered steps that name exact files, keys, commands, or symbols, and states how to confirm the migration worked.
When a guide needs more than 500 words, the extra text belongs elsewhere: link source files or symbols instead of restating code, move rationale into an [Agent Note](../../notes/README.md), and turn repeated mechanical steps into a script or dsh command that the guide invokes.
Follow [dsh-prose-standard](../dsh-prose-standard/SKILL.md). Write the Chinese counterpart in the same change under the [bilingual pairing rules](../../../docs/AGENTS.md), then record the pair with pnpm run verify-translation-pairing --write docs/upgrade-guide/v<version>/<item>/guide.md.
Verify
pnpm run verify-upgrade-guides
pnpm run verify-translation-pairing docs/upgrade-guide/v<version>/<item>/guide.md
pnpm run verify-md-links质量与来源
- 所属仓库
- deepseek-ai/deepseek-harness
- 仓库星标
- 25 万
- 最近更新
- 3 天前
- 采集时间
- 今天
- commit
- d74326738864
- 内容指纹
- sha256:0ee972372b3fa02
- 文件路径
- .agents/skills/dsh-create-upgrade-guide/SKILL.md