OneZero-Y/dsh-plugin-kit
Agent skills and a working template for building standalone DeepSeek Harness (DSH) plugins
Project Overview项目介绍
dsh-plugin-kit is a standalone development kit for DeepSeek Harness plugins. It bundles seven staged agent skills (dsh-forge-guide plus six stage skills), a working template/ skeleton, and docs/plugin-contract-reference.md enforcing Cordis and Schemastery contract rules. Use it to scaffold a new repo-based plugin or to add the build workflow to an existing plugin repository. Caveat: DSH is still a developer preview, and pinned Cordis or Schemastery versions may break; consult the host's docs before upgrading.
dsh-plugin-kit 是面向 DeepSeek Harness 的独立插件开发套件,提供七阶段 Agent 技能(dsh-forge-guide 及其下属六步)与可运行的 template/ 骨架,配合 docs/plugin-contract-reference.md 校验 Cordis 与 Schemastery 契约。适用于通过 dsh plugin add 新建或改造仓库型 DSH 插件的开发流程。注意:DSH 仍为开发者预览,宿主版本可能破坏兼容,应核对宿主 docs 而非随意升级依赖。
请帮我了解并安装插件:【dsh-plugin-kit】【https://github.com/OneZero-Y/dsh-plugin-kit】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
git clone https://github.com/OneZero-Y/dsh-plugin-kit.git
把 OneZero-Y/dsh-plugin-kit 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-kit
简体中文 | English
Agent skills and a template for building a standalone DeepSeek Harness (DSH) plugin — one that lives in its own repository and installs into a profile with dsh plugin add.
Quick start
Scaffold a new plugin:
git clone https://github.com/OneZero-Y/dsh-plugin-kit.git
cp -r dsh-plugin-kit/template my-plugin
cp -r dsh-plugin-kit/.agents my-plugin/.agents
cp -r dsh-plugin-kit/docs my-plugin/docs
cd my-plugin
Then, in an agent session pointed at my-plugin/, say:
Load dsh-forge-guide and scaffold a plugin that <describe what it should do>.
The agent will replace the template's placeholders, implement the behavior, wire it into a test profile, write tests, and prepare it for distribution — asking you when a decision needs your input.
Add the skills to an existing plugin repository, instead of scaffolding fresh:
cp -r dsh-plugin-kit/.agents your-existing-repo/.agents
cp -r dsh-plugin-kit/docs/plugin-contract-reference.md your-existing-repo/docs/
Then load dsh-forge-guide (or a specific stage skill — see the table below) in that repository.
What's included
.agents/skills/dsh-forge-*/ seven skills, one per stage of building a plugin
docs/plugin-contract-reference.md the DSH rules those skills apply
template/ a working plugin skeleton to scaffold from
Skills
Load dsh-forge-guide to run the full workflow, or load a single stage skill directly if you're picking up partway through:
| Skill | Use it for |
|---|---|
dsh-forge-design |
Deciding plugin form, dependencies, and config before writing code. |
dsh-forge-init |
Scaffolding a repository from template/. |
dsh-forge-build |
Implementing tools, events, and behavior. |
dsh-forge-wire |
Installing the plugin into a real profile and confirming it activated. |
dsh-forge-verify |
Writing tests that catch DSH's actual failure modes. |
dsh-forge-ship |
Preparing the package for distribution (npm, tarball, or git). |
dsh-forge-guide |
Orchestrating the six stages above. |
template/
A working, tested plugin skeleton — npm install && npm run build && npm test passes as shipped. dsh-forge-init handles copying and renaming it for you; to do it by hand, replace every occurrence of @your-scope/dsh-plugin-template and dsh-plugin-template with your package's real name and id.
template/
├── src/{index,config,runtime}.ts Loader entry / config schema / behavior
├── tests/{index,runtime}.spec.ts
├── cordis.patch.yml, package.json
├── README(.zh).md, LICENSE
└── optional-client-half.md guidance for adding a Web GUI half, if needed
Verified against a real DSH profile: installs with dsh plugin add, loads and unloads cleanly, and its config defaults apply correctly. See docs/plugin-contract-reference.md for what else this kit checked and where each rule comes from.
Compatibility
template/package.json pins @deepseek-ai/cordis and @deepseek-ai/schemastery against currently published versions. DSH is a developer preview with compatibility-breaking changes expected — if a pinned range no longer matches your target host, check the host's own docs/ for the current contract rather than just bumping the version.
License
MIT — copy freely into your own plugin repositories.
YuJunZhiXue/dsh-purge
yejiming/MuseAI
superdesigndev/superdesign-skill
FSMargoo/dsh-at-file
Rain-kl/dsh-preset-plus
bugmaker2/dsh-plugin-template