/dsh-plugin-upgrade-skill:plugin-upgradefrom dsh-plugin-upgrade-skill
Safely handles DSH plugin compatibility, migration, upgrade, and regression diagnosis with three modes: inspect (read-only), update (installed plugins), and author-migrate (source repos).
Ships in dsh-plugin-upgrade-skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
English | 简体中文
Safely handle three task types: read-only update inspection, installed-plugin upgrades, and DSH host version compatibility migration. If user intent is unclear, confirm the mode first; never let "help me check for updates" slide into installing or changing code.
Note: the version cards and reference docs under references/ are in English; card IDs and cited commands are language-neutral.
| Mode | User intent | Default allowed action |
|---|---|---|
| A · inspect | Check for updates or assess impact from a DSH release | Read-only investigation and report; then stop |
| B · update | Upgrade an installed plugin to an explicit version | Plan and confirm before changing composition or dependencies |
| C · author-migrate | Upgrade a plugin author's source repository for a newer DSH host | Baseline, build the version corridor and touchpoint inventory, then implement the approved migration |
This skill does not handle "upgrade DSH core only and leave the plugins alone," and it must not modify DSH core to conceal plugin incompatibility.
Upgrading the dsh host itself (npm install -g @deepseek-ai/dsh@…) is not Mode B/C plugin
work — and when the requesting agent runs INSIDE a dsh session it is structurally fatal:
the session IS the host process, npm removes/replaces the very package tree it executes
from, the host dies mid-install (the tool call never returns), and the interrupted install
leaves package content present WITHOUT regenerated shims — the dsh command itself is
gone until an external pinned re-install repairs it. Never execute the global host
upgrade from inside a session on that host; hand the user the external procedure:
npm install -g @deepseek-ai/dsh@<exact-version> (a bare package name resolves to the
latest dist-tag and can silently downgrade to an older line);dsh web, hard-refresh the browser, verify version markers and plugins.Because the host is fully stopped before npm runs, nothing crashes mid-install — a crash during the upgrade is a signature of doing it wrong, not a risk to tolerate. If an install was already interrupted: repair from an external shell by re-running the pinned formal install (never hand-copy package directories or hand-write shims).
AGENTS.md / CLAUDE.md; check branch, HEAD, working tree, and submodules. Stop and report unfamiliar changes or untracked files; never auto-stash, reset, clean, or checkout.0.6.4 → 0.7.0-alpha.0) is not the DSH host corridor (0.1.0-rc.6 → 0.1.2-alpha.4). GitHub owner/repo and registry scope/package are independent coordinates — do not derive or rewrite one from the other.package.json / lockfile: package and dependencies;dsh-plugin.json: community-standard manifest (if adopted);cordis.patch.yml / agent.cordis.yml / legacy cordis.yml: profile composition;.npmrc contents, credentials, or session logs.Report: current/available versions, source, compatibility range, breaking changes, recommended target, risks, and a validation plan. Do not edit files, install dependencies, run lifecycle scripts, git pull, or switch versions. If the user decides to proceed, enter Mode B or C with separate confirmation.
git pull a dirty worktree.from → to metadata in references/README.md — never by filename lexicographic order. If the source is older than the earliest card, mark that segment as an unsupported gap and derive it from exact-tag source, packed declarations, and reproducible tests; do not pretend a later card covers it.package.json and the lockfile; a successful install with mixed old/new peers is not a migration. If a selector or callback unexpectedly becomes any, run one diagnostic typecheck with skipLibCheck: false and declare the packages that own the consumed declarations directly. capability cards are suggestions only — never adopt them automatically.dsh-client-runtime, keyed chat snapshots, command execution signature, or Workspace navigation (connectWorkspace / pickDirectory), use the alpha.2 API ledger and DSH-0.1.2-A1-32.gateway/internal or other failures by default; retry only when the error is retryable, the operation is idempotent, and policy allows;Validate at least the applicable layers:
Structure the report as:
| File | Purpose |
|---|---|
| references/README.md | Version corridors, card schema, and maintenance rules |
| references/pre-flight.md | Seven-class touchpoint self-check and summary template |
| references/troubleshooting.md | Post-migration symptom → root cause → card lookup |
| references/v0.1.1-rc.1.md | rc.8→rc.1 draft cards: repository-plugins mechanism removal, dshClient→dsh.client manifest merge, client-modules scan → bundle dsh.client, strict injection + weak ctx.get, session event contract, self-rendering client session aggregation, tasks.peek removal, 0812 service renames (vlln plugin migrations; corridor is the closest published-tag alignment for the internal 0810–0812 snapshot window) |
| references/v0.1.1-rc.2.md | rc.1→rc.2 reviewed cards (3, DSH-0.1.1-R2) |
| references/v0.1.2-alpha.1.md | rc.2→alpha.1 curated cards |
| references/v0.1.2-alpha.2.md | alpha.1→alpha.2 curated cards |
| references/v0.1.2-alpha.3.md | alpha.2→alpha.3 curated cards (2): optional SQLite Session-persistence provider removed (opt-in databases need an older build to export, DSH-0.1.2-A3-02) and additive settings.plugin.item keyed-slot settings card capability (DSH-0.1.2-A3-01); carries the verification record |
| references/v0.1.2-alpha.4.md | alpha.3→alpha.4 curated cards (6): report tool package removed in favour of send_message, Python code-runtime package renamed, Session.events replaced by seq/eventAt/snapshotEvents, branded SessionSeq/SessionLogOffset + seedLength→isSeeded, PTC preset drops workflow, base bundle enables web_fetch; carries a three-host verification record |
| references/v0.1.2-alpha.5.md | alpha.4→alpha.5 curated cards (3): storage domains gain optional compatibleVersions read tolerance and invalidRecords: 'backup-and-skip' salvage; host fix for rc.2/alpha.3-era homes that refused to boot or dropped session titles on alpha.4; carries a storage-layer reproduction record |
| references/v0.1.2-rc.1.md | alpha.5→rc.1, the first release candidate of the 0.1.2 series (zero cards: pure version bump, no plugin-facing changes; verification record plus a release-notes coverage matrix mapping the rc.1 summary onto the corridor cards, with backfill candidates) |
| references/v0.1.3-alpha.1.md | 0.1.2-rc.1→0.1.3-alpha.1 cards (8): A1-01/A1-02 session-log corridor measured on the release-tarball build 0.1.3-alpha.1-9523542 (the v0→v1 session migrator refuses 0.1.2-alpha.x-writer logs — top-level replayState.kind/version: 1, all pre-alpha.4-writer history unloadable, fail-closed with the source artifact untouched; cross-version resume reports cursor behind the last applied entry, tag alignment pending); A1-03 Windows install fails on the fs-ext native build without MSVC; pnpm-patch recipe, single-host field report; A1-04…A1-06 git-tag anchored: outbound HTTP(S)/ALL_PROXY bootstrap install (dsh-http-proxy, $DSH_HOME/.env home layer), session persistence SessionHandle + async agentLoop.create() + per-session lock, Session log format v2 + released migration catalog; A1-07/A1-08 unpublished-cohort source-launch recipe + composer/read_image runtime re-verification |
| references/v0.1.3-alpha.2.md | 0.1.3-alpha.1→0.1.3-alpha.2 curated cards (5): persona splits into prefix + suffix (text/persona keys and PERSONA_SECTION removed), SubprocessHandle.pid removed, base bundle drops the tool-str-replace-editor default row, launcher runCli()/import.meta.main gate, pi-ai ^0.84.2→^0.85.1; first 0.1.3 build on npm (alpha.1 items debut for npm upgrades) |
| references/v0.1.5-alpha.1.md | 0.1.3-alpha.2→0.1.5-alpha.1 curated cards (20, version-jump edge): Session log format V3 (session-format-v2-to-v3, EpochHeader.system removed, no downgrade read), ctx.agent removal + explicit AgentSetup(agentCtx, agent)/parentAgent, Inbox type interface at agent.inbox, tighter session-event payload validation, PTC vocabulary rename, token-meter export removal + contextBreakdown stateVersion 4, system prompts in message history, forwarded scoped Remote events must carry the Agent, CLI rejects --profile desktop, --from-default-profile/loadProfileDirectory(), workspaceFiles/readByteRange//api/file file surface + file-address helpers, goal/activation-changed + paused-goal resume refusal, fs-ext→node-addon-system packaging, Web Client details→rightbar rework, injection-surface signature changes, right-sidebar/resource extension points, sidebar file opening, tool-subagent scoped-preset requirement, host SSH/directory-picker/instruction-discovery seams; A1-20 (real-host verified): an in-place npm-global upgrade can serve a client combo that omits newly-added bundle modules — one dropped module fails every client plugin's registration, and a host restart self-heals the roster/combo mismatch |
| references/v0.1.5-alpha.2.md | 0.1.5-alpha.1→0.1.5-alpha.2 curated cards (24): workspaceFiles drops the Agent first parameter for a Typert workspaceFileScope (client resource type, reload/restat, absolute scope authorization), file reads leave the workspace root with a maxFileBytes cap and readAll/readRelated, the conversation slot moves under root-scoped main with sidebar.panellist, minimal profiles become persistent-shell-only, two non-ignorable session events (deliverables/presented, subagent/catalog), dsh-llm-pi-ai config/type changes, scope-aware tool guidance, present/reveal delivery surface, document previews + ui-sidebar-textpreview→ui-sidebar-documentpreview, new chunked-list/tool-present packages, MCP pagination-cursor rejection, session-format-status doc; client/packaging cards: rightbar root scope + rightbar.session and the layout service/store rewrite (selectPanel, beginNavigation, usePanelInfo), client-resources drops reload, ui-primitives FileTypeIcon/classifyFileType, ui-dockkit contract drift, ui-message-feedback injected surface, ui-workspace openSession/openWorkspace/forkSession, ChatFileMentions.forClosing(owner, sessionId) + deliverables turn tail, browser-only deps → devDependencies, ctx.documentPreviews registry, ActionSpec commands, command-feedback subpaths + sessionFeedback Host Remote, lazy sidebar default pages/close rules; on npm since 2026-09-09 |
| references/v0.1.5-rc.1.md | 0.1.5-alpha.2→0.1.5-rc.1 curated cards (5): the base bundle's default agent model id moves to deepseek-flash; deepseek-flash (V41 Flash) joins the adapter catalog with image input, systemPromptUpdate: 'in-history' and no gateway probe; document renderers gain a required scrollportRef; sidebar guide entries gain an optional description; negative evidence plus a 17-repository fleet verification record. This edge is 17 commits |
| references/v0.1.5-rc.2.md | 0.1.5-rc.1→0.1.5-rc.2 draft cards (6): the feedback surface's injected contract loses toggle/acknowledge, openDialog gains a required rating and MessageFeedbackToggleResult leaves the exports (supersedes the injected half of the alpha.2 feedback card, which is still in an open pull request); both ratings now confirm in the dialog and a failed submission becomes a 6s warning toast; FileTypeIcon's 48 code-category icons move to the injected design-export artwork with per-instance dsh-code-icon-* ids; the completed-turn footer and file-section spacing become a 20/16/20px contract; service-stability is re-labelled in both languages; and the edge carries negative evidence that no Host-plane package changed (272 of its 334 files are version strings). Note: npm latest still resolves to 0.1.5-rc.1 — rc.2 sits on next |
| references/v0.1.6-alpha.1.md | 0.1.5-rc.2→0.1.6-alpha.1 draft cards (38, the widest edge carded here: 800 commits / 4015 files). Host: agent/session-start deleted and agent/created becomes serial + awaited, auditStartupEntries replaces the assertEntries* pair, session event reads deprecated, registerMessageProjection() with a refusal when no pure interpreter is registered, session-log-deepseek uploads by default. Runtime: codeRuntime→ptcRuntime with a resolve/run split, async SandboxProvider.confine and ShellExecutor.start, subprocess terminalEnvironment() + optional control channel, workflow-ptc replaces the worker-thread provider, MCP 2.0 SDK, new ctx.mcpResources and ctx.ssh capabilities. LLM: adapters report IMAGE_OFFLOAD_REQUIRED instead of projecting images, deepseek-official defaults to the Anthropic Messages protocol, images move to the v41 token grid, projection stateVersion 5, AssistantProvenance→AssistantProviderMetadata. Web Client: producer/provider renames, required CommandClaim.name, new conversation.input.permission and keyed guide-entry slots, ConnectionIndicator.reconnectLabel removed, context-aware diffs, ?fixture mode replaced by the assembly tier. Composition/packaging: base swaps workflow-worker-thread for ptc-runtime + workflow-ptc, mounts image-offload (required-on-read image/offload) and mcp-resources, disables tool-ralph by default, the Web bundle drops the code-runtime row, a +22/−7 package ledger, headless --session-id/--json, public package manifest rebuild, experimental publication flipped to a denylist, node-addon-require-builtin floor ^0.1.4→^0.1.6; negative evidence that SESSION_FORMAT_VERSION (3), the engine floor and the launcher CLI grammar did not move |
| references/v0.1.6-alpha.2.md | 0.1.6-alpha.1→0.1.6-alpha.2 draft cards (4): SessionListState.current is removed with multi-instance Session references — resolve the main Session through ctx.uiSession.adapter.current.getSnapshot() (works on both tags) or the retainedBy.mainView marker; GlobalStandardProps swaps useSessionPendingInteraction for useSessionStatus + useSessionRetainInfo while useSessions stays; the new plugin-manager service manages profile bundles (dsh.profile.bundles + pnpm) and writes row toggles into the profile cordis.patch.yml, with first-hand evidence that link-installed plugins stay outside its bundle management; npm publish lags the GitHub release (E404 window). Read the 0.1.6-alpha.1 cards first |
| references/v0.1.7-alpha.1.md | 0.1.6-alpha.2→0.1.7-alpha.1 draft cards (10): the client primitives icon set drops every *16 export for *Medium/*Regular variants (a missing export vanishes the whole slot entry via React #130), workspaceFiles reads unify on readBytes, settings move into the current Profile's plugin configuration with a one-time settings.yaml import, bundle-declared agent presets, session log V4 with a batch migration tool, the official DeepSeek adapter is Messages-API only, ordered multi-patch bundles and no-reload config fields, tolerant Profile loading, locale-aware plugin metadata, and custom-event attachments no longer auto-read. The preceding edge 0.1.6-alpha.1→0.1.6-alpha.2 is carded separately |
| references/v0.1.7-alpha.2.md | 0.1.7-alpha.1→0.1.7-alpha.2 draft cards (4): spill-policy maxInlineBytes becomes maxInlineTokens with a shared head/tail token budget, vendored dependency auto-updates pin to same-minor patches, the first plugin install auto-selects the most responsive npm registry, and client bundles are cached at host boot (an install-tree client edit needs a host restart) while Web pages reconnect after a server restart |
| references/v0.1.7-rc.1.md | 0.1.7-alpha.2→0.1.7-rc.1 draft cards (5): DSH peer ranges are enforced at install and startup with exact-version exemptions in <profile>/compatibility.json — with the host's semver ^7.8.5 (caret change since 7.8.3) and includePrerelease, ^0.1.7/~0.1.7/>=0.1.7 refuse 0.1.7-rc.1, and --dump-config still lists a denied row; tool.call.toolview owners become a preparing/start/result phase union with argsRaw only on started calls; Conversation Definitions accept transient starts; the work-detail setting gains four modes (default standard); Plugin Manager bounds silent pnpm runs and prechecks GitHub reachability |
| references/v0.2.0-rc.1.md | 0.1.7-rc.2→0.2.0-rc.1 draft cards (6): host packages cross to 0.2.0-rc.1, so every ^0.1.x-floored DSH peer is refused and ^0.2.0 does not admit 0.2.0-rc.1 either (use ^0.1.0 || ^0.2.0-rc.1 or ^0.2.0-rc.1); Web work-details default detailed with an optional transcriptView; Schedule rows move to @deepseek-ai/dsh-experimental-schedule-bundle; telemetry rows join the bundle composition; fork gains onCreated; Explorer path-opening spawns visible. The preceding 0.1.7-rc.1→0.1.7-rc.2 edge is not yet carded (corridor gap) |
| references/v0.2.0-rc.2.md | 0.2.0-rc.1→0.2.0-rc.2 draft cards (3): Desktop runner surface, first-hand on a real Desktop 0.2.0-rc.2 install — the Electron shell forwards renderer requests through dsh-app://app after deleting host/origin/cookie/sec-fetch-site and rewrites the WS origin, so plugin fences requiring an affirmative browser marker 403 every route (realign with the platform fence trust semantics); the two former field notes are folded in as cards (Desktop ctx.sessions registry empty — upstream discussion linked; minimal subprocess PATH on Windows); unattributed field note: readSession seeded-session replay validation |
| references/v0.2.1-alpha.1.md | 0.2.0-rc.2→0.2.1-alpha.1 draft cards (8): runtime invariant plugins and ./invariant exports removed, composer stats split into activity/usage, subpath plugins export display text and icons, Schedule in the default Web composition, owner-tracked style injection, installs report the actual version, dependency-mapping lifecycle, HMR manifest refresh |
| references/v0.2.1-alpha.2.md | 0.2.1-alpha.1→0.2.1-alpha.2 draft cards (11): tool presentation both mode removed, managed subagent activations, Agent Team direct inbox delivery, dshHome key removed, Python PTC needs sandbox/sandboxPolicy, {{cwd}} prompt variable removed, the Web profile drops webRuntime for webStartup, and more |
| references/v0.2.1-alpha.3.md | 0.2.1-alpha.2→0.2.1-alpha.3 draft cards (5): Azure provider renamed azure, API-key priority splits by surface, plugin updates hot-apply, --from-default-profile replaces an existing config wholesale |
| references/v0.2.1-alpha.4.md | 0.2.1-alpha.3→0.2.1-alpha.4 draft cards (3): compatibility prefers engines.dsh (evaluated with includePrerelease), custom plugin index sources |
| references/v0.2.1-alpha.5.md | 0.2.1-alpha.4→0.2.1-alpha.5 draft cards (2): new single-owner conversation.input.model.label slot, /-menu refresh on plugin toggles and other fixes |
| references/jump-0.2.0-rc.2-to-0.2.1-alpha.5.md | 0.2.0-rc.2⇒0.2.1-alpha.5 jump cards (20): not a corridor edge, but a merged net-change view for a deployment jumping from 0.2.0-rc.2 straight to 0.2.1-alpha.5 (~1900 commits): engines.dsh first with peers→requirements, invariants retired, webRuntime→webStartup, {{cwd}} removed, the subagent delegation rework, the config-key removal band, client API removals, protocol-peer breakages, a Windows fleet-mechanics card; the per-edge cards are A1–A5 |
| references/v0.2.1-rc.1.md | 0.2.1-alpha.5→0.2.1-rc.1 draft cards (3): dependency sync across the plugin lifecycle, five experimental plugin seats, capability round-up |
| references/v0.2.1-rc.3.md | 0.2.1-rc.1→0.2.1-rc.3 draft cards (3): rc.2 + rc.3 as one edge: V4.1-Flash-1017 adapter and opt-in DeepSeek Search/Fetch, plugin discovery menus, New Session reuses blank Sessions again (reverses DSH-0.2.1-A2-07) |
| references/v0.2.1-rc.4.md | 0.2.1-rc.3→0.2.1-rc.4 draft cards (1): synchronization release: byte-identical CLI lib/, only an ACP stdout diagnostics fix |
| references/v0.2.1-rc.5.md | 0.2.1-rc.4→0.2.1-rc.5 draft cards (1): conversation.chat.reasoning.body text becomes display-ready text, raw output moves to a new rawText |
| references/v0.2.2-alpha.2.md | 0.2.1-rc.4→0.2.2-alpha.2 draft cards (3): start of the 0.2.2 line (diverges from rc.5): Plugin Manager third-party updates, Web Client mobile overhaul, six-plugin contract sweep; 34 upstream upgrade guides not yet carded (incl. breaking ones such as the Node.js 24.9 floor), listed at the end of the file |
| references/jump-0.2.1-alpha.5-to-0.2.2-alpha.2.md | 0.2.1-alpha.5⇒0.2.2-alpha.2 jump cards (6): not a corridor edge, but a merged view for a deployment jumping from 0.2.1-alpha.5 straight to 0.2.2-alpha.2: the compatibility-ledger gate, the dependency-aware plugin lifecycle, model and web surfaces, README detail pages, the new Web Client, the fleet verification record; shares the per-edge file's gap of 34 uncarded upstream guides |
| references/jump-0.1.5-rc.2-to-0.1.7-rc.1.md | 0.1.5-rc.2→0.1.7-rc.1 version-jump curated cards (34, DSH-0.1.7-J1): host/runtime plane — DSH peer-compatibility enforcement at install and startup with exact-version exemptions, PTC runtime rename (codeRuntime→ptcRuntime, Node engine in a separate process), declarative agent presets (dsh-agent-presets split), settings into the profile plugin Config (settings.register removed), Session log V4 + session-format-v3-to-v4 + attachment-carrier narrowing, Remote duplex/binary + readBytes, async Agent lifecycle (agent/session-start removed, agent/created gains source), the Message role union + createSystemMessage(text), Messages-only DeepSeek adapter (/anthropic), subagent Config/depth, E2B removal + POSIX SSH providers, Ralph off, token-budgeted spill-policy, read-only tool-cordis, bundle ordered patch lists, the package-rename ledger, new CLI/headless surfaces, Agent Team single bundle, experimental speech/browser/computer-use, bundled LibreOffice + packaged-app Node requirement, MCP resources, session-log privacy default; Web Client plane — toolview preparing phase, chat-node/turnTail reshape, presentation-policy channel, *16→*Regular/*Medium icon renames, settingsScope→configForms, right-sidebar tab contract, new sidebar packages, component factories, plugin-manager page + pluginManager Remote, ModelDirectory.select results, ui-cordis @pluginId removal, session-row action slots, and two new settings-page seats (settings.launcher, settings.models.sign-in). The per-edge 0.1.6/0.1.7 card files cover the same window edge by edge; this file is the jump view, not a corridor edge, and is not read by plan-migration.mjs |
| references/api-migration-0.1.2-alpha.2.md | Exact rc.2→alpha.2 interface ledger; read when API, Remote, Settings, events, Headless, packaging, or composition surfaces are hit; includes the removed client runtime and keyed chat snapshots (API-10) |
| references/rollup-0.1.2.md | 0.1.1 → 0.1.2 corridor (rollup): cross-cohort coexistence, unpublished-cohort installation, RemoteResult error flow, pre-migration baseline attribution, bounded retry for boot race, base-only preset precondition, type-surface export drift, host-self safety boundary, install-channel pitfalls (mirror lag, pnpm 11 supply-chain rules, peer-floor prerelease semantics), and the layered validation checklist; based on rc.1 and subject to final-release review |
| references/precision-checklist.md | Alpha.2 static-migration precision checklist: peer floors, runtime module composition versus type declarations, locale pairing, channel authentication with protocol preservation, landing discipline and citations; pair with scripts/inject-lint.mjs for residue/peer checks and manual route-review candidates |
| scripts/README.md | Executable helper scripts: plan-migration (read-only migration planner), verify-runtime (offline runtime contract checker), and ghost-host-check (ghost-host classifier for pre-flight step 1.5) |
| examples/legacy-plugin/ | Static fixture for the seven touchpoint classes (never execute) |
| examples/08-real-web-client-alpha2-migration.md | Real Host + Web Client source migration from an older unsupported corridor segment |
Normative background: dsh-community-standard owns manifests, contract coordinates, and negotiation conventions; this skill handles practical upgrades of existing plugins, reusing that classification without redefining it. The official call for contributions is deepseek-harness discussion #5120.
SKILL.zh-CN.md (opens in a new tab)evals/evals.json (opens in a new tab)examples/01-simple-client-plugin.en.md (opens in a new tab)examples/01-simple-client-plugin.md (opens in a new tab)examples/02-host-side-plugin.en.md (opens in a new tab)examples/02-host-side-plugin.md (opens in a new tab)examples/03-client-remote-plugin.en.md (opens in a new tab)examples/03-client-remote-plugin.md (opens in a new tab)examples/04-dual-cohort-plugin.en.md (opens in a new tab)examples/04-dual-cohort-plugin.md (opens in a new tab)examples/06-real-world-batch-migration.en.md (opens in a new tab)examples/06-real-world-batch-migration.md (opens in a new tab)examples/07-multi-repo-batch-migration.en.md (opens in a new tab)examples/07-multi-repo-batch-migration.md (opens in a new tab)examples/08-real-web-client-alpha2-migration.en.md (opens in a new tab)examples/08-real-web-client-alpha2-migration.md (opens in a new tab)examples/README.en.md (opens in a new tab)examples/README.md (opens in a new tab)examples/face-contracts/README.md (opens in a new tab)examples/face-contracts/check.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub oh-my-dsh/dsh-plugin-upgrade-skill --plugin dsh-plugin-upgrade-skill12 skills in this plugin
/dsh-benchmark-caseUse when the user hands over a dsh plugin repository (or a real migration commit / version corridor) and wants its upgrade experience extracted into one auto-graded Harbor benchmark exam task — produce tasks/<id>/ (fixture + instruction.md + task.toml + judge.mjs + solution) that harbor run can grade 0–1 and that folds into the dsh-plugin-upgrade-skill benchmark suite; also applies to turning existing version cards (references/v*.md) into executable exam tasks. Not for writing upgrade cards; not for running the benchmark./dsh-upgrade-auditAudit external compatibility between two DSH (DeepSeek Harness) versions and detect reverts, producing an upgrade-report directory; compares git tags with a source checkout, or published npm packages without one. Use whenever the user asks to check/compare/audit two DSH versions or whether upgrading is safe — e.g. "more changes or reverts in dsh-vX -> dsh-vY", "compare the breaking changes" — even with only two version numbers and no source location. Read-only outside the report directory; npm mode installs in isolation with --ignore-scripts./generic-migrationFramework-agnostic methodology for migrating a plugin, extension, or integration across a breaking upstream release — inventory coupling points, classify changes, stage the migration, and verify in layers. Use when upgrading any plugin from one host-framework version to another without access to framework-specific migration notes. Not a substitute for vendor release notes; contains no framework-specific facts./plugin-fast-adaptDSH 插件适配与破坏性变更核查,兼造插件脚手架与性能架构审计。run.mjs 一键编排全流程并把每次运行写进本地日志(list 回看、doctor 交叉核对宿主日志、sanitize 脱敏后才能外发);查 DeepSeek 官方最新版本,取该版本的官方升级指南,扫描本机插件代码(package 命中自动到目标宿主 node_modules 实测核查),报出哪些地方踩了破坏性变更并给出官方修法;seams 接缝查询一个包名/API 符号在指南与本机宿主里的双源结论(还在不在、哪个版本移除的);scaffold 一条命令生成五形态可冒烟的插件骨架(package.json 不变量+形态入口+挂载层+命名投影,生成即验证);同时巡检本机 DSH 环境(profiles 覆盖层旧包残留、共享 node_modules 农场悬空软链、两层 patch(各 profile 层+全局 ~/.dsh/cordis.patch.yml)、已装插件、运行中宿主、宿主半与客户端半双面启用就绪度——dsh.client 声明/产物/注入名册死链,web 端与桌面端一视同仁)。修完可秒级冒烟验证,--real-smoke 再补干净 profile 真装真启档(桥接原仓库 verify-runtime),升级时可顺带做插件性能与架构审计。老版本插件(官方指南覆盖不到 v0.1.7-rc.2 之前的走廊)转迁移 SOP,对照原仓库 plugin-upgrade 的人工卡片走廊走七阶段流程。当需要把 DSH 插件适配到新版本或老版本、从零创建 DSH 插件、给新插件生成起步骨架、排查升级后插件报错、核查插件是否用了已移除的包或 API、查某个包/API 在目标宿主还在不在、检查 ~/.dsh 覆盖层有无旧包残留、给插件做性能与架构体检、诊断宿主启动失败日志(端口占用/未声明 inject/客户端入口死链)、把独立仓的技能面同步到下游技能目录时使用。触发词:适配 DSH 插件、升级插件、插件不兼容、dsh 升级后报错、插件用了废弃 API、接缝查询、这个 API 还在不在、检查覆盖层旧包、客户端卡 loading、entry did not activate、web boot 失败、注入死链、老版本 DSH 适配、历史走廊迁移、创建 DSH 插件、写 DSH 插件、插件脚手架、插件冒烟测试、插件性能审计、插件装了没生效、宿主启动失败、StartupError、EADDRINUSE、日志诊断、下游同步、技能漂移。/plugin-fleet-sweepUse when the DSH host itself has been upgraded (or is about to be) and the whole installed fleet of Web/client plugins must be checked against the new host - one or more surfaces broke, vanished, or need their compatibility re-verified and re-released. Also use after a host upgrade to sweep for silent breaks before the user reports them, and to run the per-plugin fix/release loop (branch, bump, changelog, tag, mirrors)./plugin-heavy-depUse when adding a heavyweight browser dependency (diagram/chart renderers like mermaid, code editors, big wasm-adjacent libs) to a lightweight DSH Web plugin that must stay small, when wiring a lazy-loaded chunk through a host route, when the lazy import intermittently fails or falls back, or when rendering untrusted markup (SVG/HTML) produced by such a dependency.Other plugins' skills for the same job