Introduction¶
When maintaining self-developed plugins in the DSH ecosystem, a common workflow involves: verifying that the directory can be successfully packed via npm pack, bumping version numbers according to semantic versioning and leaving a record in the CHANGELOG, and finally writing down “how to publish” as a human-executable list of commands. If these steps are done entirely by hand, it is prone to omissions, inconsistent version fields, or accidental publishing without pre-checks.
Below is an introduction to dsh-release-kit (npm package name @deepwhale-cn/dsh-release-kit, repository feely0208/dsh-release-kit). It is a skill-type plugin without a standalone dashboard: after installation, the DSH agent calls the CLI according to skill instructions; the toolkit focuses on “pre-release preparation” and only generates artifacts and checklists, it does not automatically execute publish.
What is it¶
dsh-release-kit is released by maintainer feely0208, with the current npm version 0.1.0 (MIT). Its positioning is the release automation preparation for plugin directories: scanning the plugin root directory and packing pre-checks, version bumping (including CHANGELOG skeleton), and generation of a publish command list.
Unlike tools that offer “one-click publish to npm”, this plugin explicitly only handles generation and verification, leaving the final publish to the developer to confirm and execute manually, reducing the risk of accidental publishing.
Core Features¶
The following capabilities are derived from the project README and package.json description and can be understood via three CLI sub-commands:
- scan: Scans the plugin root directory and performs a pre-check using
npm pack; if packing fails, the process exit code will be 1, making it suitable as a gate in CI. - bump: Bumps the version on a specified directory by levels such as
major/minor/patchand generates a CHANGELOG skeleton; a change note can be attached via--note. - cmds: Generates a publish command list based on the root directory; the output file can be specified (e.g.,
发布命令.md).
Runtime environment requirements: node >= 18; DSH engine >=0.1.0-rc.6 and <0.3.0. The package type is ESM ("type": "module"), has @deepseek-ai/dsh-skill as a peer dependency, and depends on @deepwhale-cn/dsh-guard-core.
Installation and Enablement¶
Install in DSH (command must match the official README):
dsh plugin --profile web add @deepwhale-cn/dsh-release-kit
After installation, there is no separate dashboard; the typical path is for the intelligent agent to call npx @deepwhale-cn/dsh-release-kit ... according to the skill, or to use npx directly in a local terminal.
Note: Plugin logic runs with the permissions of the current DSH process; please review the repository source code and the MIT license yourself before installing or using to ensure it meets team security and compliance requirements.
Typical Usage¶
The following examples match the README, with <插件目录> replaced by your actual plugin root path.
Directory scan and pack pre-check:
npx @deepwhale-cn/dsh-release-kit scan --root <插件目录>
Version bump (minor example) and write change note:
npx @deepwhale-cn/dsh-release-kit bump --dir <插件目录> --level minor --note "新增 X"
Generate publish command list:
npx @deepwhale-cn/dsh-release-kit cmds --root <插件目录> --out 发布命令.md
Suggested order: perform scan first to confirm pack capability, then bump to change the version and CHANGELOG skeleton, and finally use cmds to produce a publish step document that can be reviewed, followed by manually executing the publish-related commands within it.
Applicable Scenarios and Notes¶
Who is it for: Developers maintaining DSH plugin repositories who want to do pack pre-checks and version/document preparation before releasing; teams that need to block merges in CI using the scan failure exit code.
Must Remember:
- The toolbox only generates, never auto-publishes; commands in the list still need to be manually confirmed and executed.
- The plugin is classified as a skill-type plugin; capability boundaries are defined by
skilland CLI, do not assume a visual publish dashboard exists. - Community directory page: feely0208/dsh-release-kit on skillhub.cn; the DeepSeek Harness ecosystem advocates “everything is a plugin”; this directory is a community site and has no official affiliation with DeepSeek or Huanfang.
Conclusion¶
dsh-release-kit condenses “can we publish, how to remember the version, how to list the commands” into three scriptable, CI-ready steps, while keeping the publish decision in human hands. For installation instructions and issue tracking, you can refer to the GitHub Repository and the SkillHub directory page mentioned above.