bugmaker2/dsh-plugin-template

Template for deepseek-harness plugin development.

dsh-plugin-template (bugmaker2) is a minimal TypeScript DeepSeek Harness plugin bundle that prints hello world when Harness loads it. The whole plugin is five files: 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 (type-checking configuration), plus pnpm-lock.yaml for locked dev dependencies. The README also documents adding the dsh-plugin GitHub topic to your fork for discoverability (gh api --method PUT repos/YOUR-USER/dsh-plugin-template/topics).

Other ★ 10 updated 2026-08-27 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile hello add .

This is a minimal TypeScript DeepSeek Harness plugin bundle template, not a ready-made plugin — fork the repository, then git clone your fork, pnpm install, pnpm run check, and add it to a test profile with dsh plugin --profile hello add ., then run dsh --profile hello and confirm the [dsh-plugin-template] hello world line in the output. Remove with dsh plugin --profile hello remove dsh-plugin-template. If you rename the package, keep package.json name, src/index.ts name, and cordis.patch.yml id/name in sync.

Compatibility

DeepSeek Harness plugin development: package.json declares the dsh.bundle.patch (making it an installable profile bundle), cordis.patch.yml inserts the plugin row, src/index.ts compiles to the ordinary Cordis name/apply entry point. Intentionally has no React Client bundle, Remote contract, or test framework — add those only when the plugin actually needs them. The generated lib/ directory is included in the package so direct Git installs can load the built JavaScript entry.

Details

Recent updates

The current README documents the fork-and-run workflow, the five-file plugin anatomy, the rename checklist, the GitHub topic discoverability command, and the MIT license.

FAQ

Is this an installable plugin?
It is a template — fork it, rename the package (keeping package.json name, src/index.ts name, and cordis.patch.yml id/name in sync), and develop your own plugin from the skeleton.
What does it include?
A TypeScript Cordis plugin entry, tsdown build, cordis.patch.yml profile registration, tsconfig, and locked dev dependencies — deliberately no React client, Remote contract, or test framework.
How do I verify it loads?
dsh plugin --profile hello add . then dsh --profile hello — a successful run includes the line [dsh-plugin-template] hello world.

Alternatives

omdsh-dev/plugin-template · omdsh-dev/dsh-plugin-skills · w2112515/dsh-plugin-development

More plugins in Other

Browse more in Other

Guides for Other plugins