dsh-plugin-starter
Identified★ 3Scaffold a battle-tested DeepSeek Harness plugin (bundle, tool, skill, tests, CI) in one command
dsh-plugin-starter
Scaffold a battle-tested DeepSeek Harness plugin in one command: host plugin,
tool, runtime skill, unit tests, CI, and the bundle manifest. The base scaffold
has zero runtime dependencies and no build step; the optional
--with-settings variant adds build tooling.
Quick start
Requires Node.js 18 or later. Run directly from GitHub without cloning:
npx --yes github:ciceroyang/dsh-plugin-starter my-plugin --verify
Or clone the source:
git clone https://github.com/ciceroyang/dsh-plugin-starter.git
cd dsh-plugin-starter
node generator.mjs my-plugin --desc "One-line description"
node generator.mjs my-plugin --out ./packages/my-plugin
node generator.mjs my-plugin --verify # smoke-test right after scaffolding
node generator.mjs my-plugin --with-settings # settings card (client half, tsdown + React)
The scaffold passes its own tests immediately (run node --test inside it).
Layout:
index.js host plugin (example tool + runtime skill)
lib/hello.js pure-function example (unit-test friendly)
skills/<name>/SKILL.md model-facing skill manual
tests/hello.test.js node:test suite
cordis.patch.yml bundle patch layer
package.json dsh.bundle manifest + peer deps
.github/workflows/ci.yml four-node matrix
Why this shape
The template encodes community pitfalls (see the tutorial):
- object output schemas need additionalProperties
- --patch absolute-path plugins resolve deps from their own directory
- registrations are effects: collect disposers, clean up on unload
- optional services via ctx.get('skills'), not inject
- keep deterministic logic in lib/ so tests stay harness-free
Settings-card variant (--with-settings)
Adds client/index.tsx (settings.section registration + minimal form), the dsh.client manifest, and tsdown build scripts/deps on top of the base scaffold. After generation run pnpm install && pnpm build to emit lib/client.js. The settings RPC is loopback-only (remote browsers get no settings page). Full mechanism: docs/settings-guide.md.
Publishing your plugin
- Edit index.js and SKILL.md
- Create the GitHub repo and add the dsh-plugin topic
- Open a listing PR against awesome-deepseek-harness
References
- Field guide with 6 real pitfalls: https://github.com/ciceroyang/dsh-report-studio/blob/main/docs/tutorial-zh.md
- Complete example plugin: https://github.com/ciceroyang/dsh-report-studio
Comments
Loading…
Similar plugins
by goatliamia
Plugin development toolkit for DeepSeek Harness with scaffolding, contract checks, plugin vetting, impact analysis, and upstream compatibility tracking.
★ 2
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add dsh-plugin-makerby lilwhich
for better dsh
★ 9
MIT
JavaScript
Sep 9, 2026
dsh plugin --profile web add my_better-dshby Qingzhou-Joshua
DeepSeek Harness plugin—a simple toolkit for developers.
★ 0
MIT
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-dev-toolboxby andrepontesmelo
The DSH productivity suite: plugins + agent skills for the DeepSeek Harness, installable in one command.
★ 0
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add @andrepontesmelo/dsh-suiteby hellosky983
Plugin Foundry — a self-extending, everything-is-a-plugin compiler for DeepSeek Harness (DSH). Blueprint registry + scaffold/validate tools.
★ 3
↓ 154/wk
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-foundryby svcgv
An experimental Debug Mode bundle for DeepSeek Harness, currently in the engineering-foundation phase.
★ 0
MIT
TypeScript
Sep 9, 2026
dsh plugin --profile web add dsh-debug-mode