Bandersnatch0x/design-playbook--packages-dsh-design-playbook ↗★ 1
dsh-design-playbook
Thin DSH bundle that bridges design-playbook's preview + evidence MCP servers into a DeepSeek Harness profile. Depends on the design-playbook package for the server implementations.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Bandersnatch0x/design-playbook#33c1298d0eb5c0f0564c29235fcaf612e0a94c47&path:packages/dsh-design-playbook说明文档
阅读完整 README ↗dsh-design-playbook
Thin DSH (DeepSeek Harness) bundle that bridges design-playbook's preview and evidence MCP servers into a DSH profile.
What this is
A separate, thin npm package (dsh-design-playbook) that declares a DSH bundle patch. When installed into a profile via dsh plugin add, it appends two @deepseek-ai/dsh-mcp-client rows to the profile's patch layers, each launching one of design-playbook's Python stdio MCP servers:
mcp__design-playbook-preview__preview_prototypemcp__design-playbook-evidence__execute_capture_plan
The skills provider (P1) lives in the main design-playbook package and is unaffected.
How resolution works
The Cordis !!js evaluation scope provides no global require, but:
- DSH runs on Node ≥ 22.19, where
process.getBuiltinModule('node:module')is available. - The DSH Loader exposes the profile directory as
baseUrl.
So each MCP row resolves the server path via:
process.getBuiltinModule('node:module')
.createRequire(baseUrl)
.resolve('design-playbook/mcp/preview/server.py')
baseUrl points at the profile root; createRequire(baseUrl) resolves from the profile's node_modules, where design-playbook is installed as a dependency of this bundle. No hardcoded paths, no cwd dependence, no profile-name dependence.
Install
dsh plugin --profile add dsh-design-playbook
This installs both dsh-design-playbook and its dependency design-playbook into the profile. Reconcile activates the bundle layer automatically.
Verify
dsh --profile --dump-config # see the two mcp rows
Both MCP tools should appear in the tool catalog:
mcp__design-playbook-preview__preview_prototype
mcp__design-playbook-evidence__execute_capture_plan