ciceroyang/dsh-plugin-starter

ciceroyang★ 1JavaScriptLast synced: 2026-08-15

Open on GitHub

Scaffold a battle-tested DeepSeek Harness plugin (bundle, tool, skill, tests, CI) in one command

README excerpt

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 — zero dependencies, no build step. Usage 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 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/ /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 Publishing your plugin 1. Edit index.js …

View full README on GitHub →
Tools / Devdeepseek-harnessdeveloper-toolsdsh-pluginscaffolding

Category