Skill Press

No. 370 · dsh-create-upgrade-guide

DSH Create Upgrade Guide

A field guide from DeepSeek

DeepSeek

When to use it

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.

Rank
No. 370 of 971
Installs
Not listed yet
Built for
DeepSeek
Runs in
DeepSeek
Length
522 words · 2 min
Files
3
License
MIT

Get this skill

Download the skill folder (.zip, 10 KB) ↓ · SKILL.md only ↓

DeepSeek Harness

This contributor skill is already included in a checkout of DeepSeek Harness.

  1. To use the downloaded edition in another Harness project, extract the ZIP into .agents/skills/ at the project root.
  2. Check for .agents/skills/dsh-create-upgrade-guide/SKILL.md and start a Harness session in that project.
DeepSeek skill discovery ↗

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "dsh-create-upgrade-guide" Agent Skill by DeepSeek, from https://github.com/deepseek-ai/deepseek-harness.

1. Fetch the whole folder .agents/skills/dsh-create-upgrade-guide — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/deepseek-ai/deepseek-harness.git 2e39e70496aa02986ca6a820c5d497e816b69d7e
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "dsh-create-upgrade-guide":
   - Claude Code: ~/.claude/skills/dsh-create-upgrade-guide/ (all projects) or .claude/skills/dsh-create-upgrade-guide/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that dsh-create-upgrade-guide/SKILL.md exists and its frontmatter says name: dsh-create-upgrade-guide.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/deepseek-ai/deepseek-harness/tree/2e39e70496aa02986ca6a820c5d497e816b69d7e/.agents/skills/dsh-create-upgrade-guide --skill dsh-create-upgrade-guide

Contents

  1. Scope
  2. Location
  3. Maintenance
  4. Format
  5. Verify

The skill, in full

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:

  • dsh commands, 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; its guide states only the reader’s actions and links that record.

Location

docs/upgrade-guide/v<version>/<item>/guide.md

  • <version> is the version field of the root package.json when you write the guide, for example v0.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 example profile-flag-rename.
  • Each item directory holds exactly guide.md, its Chinese counterpart guide.zh.md, and the pairing record guide.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. When a release lands while your pull request is open, move its guides to the new version directory: Policy / Pre-Merge Check runs verify-upgrade-guides --base on the merged tree and rejects a guide added outside the root version’s directory unless the release/dsh-<x.y.z> branch of that guide’s version line already contains it. Never write a guide spanning more than one release.

Format

Start from the upgrade-guide template. verify-upgrade-guides enforces:

  • frontmatter with exactly kind: upgrade-guide and a one-sentence description naming what breaks; add a key only together with its gate check, then backfill every guide;
  • one # title, then exactly the ## Change and ## Migration sections in guide.md, and ## 变更 and ## 迁移 in guide.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, and turn repeated mechanical steps into a script or dsh command that the guide invokes.

Follow dsh-prose-standard. Write the Chinese counterpart in the same change under the bilingual pairing rules, 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

More in Writing & Documents

All Writing & Documents skills →

More from DeepSeek

From deepseek-ai/deepseek-harness at 2e39e70, MIT. Install counts from skills.sh.