dsh-plugin-template
bugmaker2/dsh-plugin-template
Template for deepseek-harness plugin development.
4
stars
1
forks
MIT
License
2026-08-13
Created
2026-08-14
Last push
README
dsh-plugin-template
English | 中文
A minimal TypeScript DeepSeek Harness plugin bundle. It prints hello world when Harness loads it.
Start from a fork
git clone https://github.com/YOUR-USER/dsh-plugin-template.git
cd dsh-plugin-template
pnpm install
pnpm run check
dsh plugin --profile hello add .
dsh --profile hello --dump-config | grep dsh-plugin-template
dsh --profile hello
A successful run includes this line in the Harness output:
[dsh-plugin-template] hello world
For development, edit src/index.ts, run pnpm run build, then restart the profile. The generated lib/ directory is included in the package so direct Git installs can load the built JavaScript entry.
If you rename the package, keep these values in sync:
package.json→namesrc/index.ts→namecordis.patch.yml→ bothidandname
Remove it with:
dsh plugin --profile hello remove dsh-plugin-template
The whole plugin
package.json # declares the dsh.bundle patch and built entry
src/index.ts # TypeScript Cordis plugin entry
lib/index.js # generated Harness entry
cordis.patch.yml # registers the package in a profile
tsconfig.json # TypeScript type-checking configuration
pnpm-lock.yaml # locked development dependencies
package.json is the only manifest Harness needs: dsh.bundle.patch makes the package an installable profile bundle. cordis.patch.yml inserts the plugin row, and src/index.ts is compiled to the ordinary Cordis name/apply entry point. This template uses TypeScript and tsdown, but intentionally has no React Client bundle, Remote contract, or test framework. Add those only when the plugin actually needs them.
Discoverability
Add the GitHub topic dsh-plugin to your fork. The topic is repository metadata, not a file in the repository:
gh api --method PUT repos/YOUR-USER/dsh-plugin-template/topics \
-H 'Accept: application/vnd.github+json' \
-f 'names[]=dsh-plugin'
License
MIT
More in Plugin Tooling
awesome-deepseek-harness-plugins
by zhiyuan-fan
Curated DeepSeek Harness (DSH) plugins, extensions, tools, skills, clients, runtimes, integrations, and verified references — English and Chinese.
awesome-deepseek-harness
by libukai
DeepSeek Harness 终极指南:快速入门、资源推荐、精选插件与实用工具 |The Ultimate Guide to DeepSeek Harness: QuickStart, Resources, Plugins&Toolkit
awesome-deepseek-harness-plugins
by imsai-sh
DeepSeek Harness plugin store, marketplace and hub — 3,100+ dsh plugins with search, rankings, install commands and a free public API. DeepSeek Harness 插件市场 / 插件商店:自动收集与格式校验,免费搜索 API。deepseek1024.com
dsh-market
by 2bingling
DeepSeek Harness 插件市场 · 持续收录 1500+ DSH 插件:中文搜索 + 实用五维评分 + 一键安装。Web 版与 DSH 侧边栏插件双形态。Plugin marketplace for DeepSeek Harness: 1500+ plugins, Chinese search, 5-dim scoring, one-click install.
