dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Scaffold a battle-tested DeepSeek Harness plugin (bundle, tool, skill, tests, CI) in one command
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.
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
The template encodes community pitfalls (see the tutorial):
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.