npx skills add ...
npx skills add oh-my-dsh/dsh-plugin-upgrade-skill --skill plugin-release
Package, publish, and distribute DeepSeek Harness (DSH) plugins — npm pack artifact validation, GitHub/npm/hub release-track selection, tarball overrides installs for the unpublished cohort (0.1.2-alpha.*), and CI/release gates with rollback. Use when publishing a plugin, packing a tarball, wiring a plugin into a profile/hub, or installing an alpha version that is not on npm; show a plan and obtain user confirmation before any publish action.
npx skills add oh-my-dsh/dsh-plugin-upgrade-skill --skill plugin-release
English | 简体中文
Ship developed, tested plugins safely. Publishing is a one-way outbound action — show a plan and obtain confirmation before any actual publish or tag push; this skill does not decide version numbers for you, and it never bumps versions automatically.
| Release track | Applies to | Key facts |
|---|---|---|
| GitHub direct install | dsh plugin --profile <p> add github:owner/repo | Consumers resolve the default-branch HEAD; publishing = pushing to main — run the full gate before pushing |
| npm registry | npm publish | Official release line only; alpha/rc-prefixed @deepseek-ai/* versions are not guaranteed on npm — verify with npm view <pkg> versions before publishing |
| hub listing | register in the hub catalog | Registration is a separate action and does not replace packaging validation |
| collection | member plugins vendored into a pack artifact | Follow the owning collection repository's own process |
The unpublished cohort (for example a cohort version that was never published to npm — alpha.1 was GitHub-only; alpha.2 through alpha.4 are published under the alpha dist-tag) goes through the overrides flow in references/publish-playbook.md. Do not look for versions that do not exist on npm, and do not switch package managers because of it.
package-lock.json → npm, pnpm-lock.yaml → pnpm);npm pack / pnpm pack;files covers every runtime relative import and asset; no .ts leftovers in the artifact; the manifest files such as cordis.patch.yml / dsh.plugin.json / SKILL.md are all present;dsh --profile compat --dump-config → the tool is genuinely registered and executes).npm install on any machine;<0.2.0) to cover unpublished alphas/rcs;--dump-config alone does not complete this layer;v${package.json.version};-, before the + build metadata) must match the GitHub Release's prerelease status;next or alpha — the skill does not hard-code a specific name); only stable versions without a suffix go to latest;latest (npm view <pkg> dist-tags.latest) and refuse to publish when the semver is lower than the existing latest, to prevent moving latest backwards to a lower version.NPM_PUBLISH_ENABLED switch)..npmrc contents, session logs, or private paths;| File | Contents |
|---|---|
| references/publish-playbook.md | Unpublished-cohort installation, dual-compatibility pattern, CI/release gates, real pitfall list, and rollback recipes |
| references/profile-dependency-management.md | Profile install/update recipes: github dependency lock caching, three-place sync on package rename, junction cleanup, and host-upgrade linkage |