Template for deepseek-harness plugin development.
- Language
- TypeScript
- License
- MIT
- Branch
- main
Install
$ dsh plugin --profile web add --allow-build=dsh-plugin-template github:bugmaker2/dsh-plugin-templateRun the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial
Install via your agent
Install the DeepSeek Harness plugin bugmaker2/dsh-plugin-template for me: review the repository at https://github.com/bugmaker2/dsh-plugin-template first, then run the install command and verify the plugin loads successfully.
Paste this instruction to the DSH Web GUI assistant — it will install and verify for you.
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
Read the usage guide →
Install steps, key points, FAQ and compatibility for this plugin — auto-derived from indexed fields.
Listing badge
[](https://deepseek-plugin.org/plugins/bugmaker2/dsh-plugin-template)Paste this markdown into your GitHub README to link back to this listing. The badge only states the listing — not a security endorsement.