treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:WilShi/dsh-plugin-builder
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A guarded, in-editor plugin workshop for DeepSeek Harness — a settings tab plus the cordis-plugin-development skill it hands to your agent.
English | 中文
DSH plugins are small Cordis packages: a Host half that registers services, tools or skills, and an optional browser half that adds UI. Writing one well means knowing the live API of the host you are running against, not the API from a blog post.
This package puts that workflow inside DSH:
cordis-plugin-development skill globally, so the agent can follow a guided design → prototype → implement → validate → package → install workflow;inspect-target.mjs (read the real host versions), scaffold-package.mjs (generate a buildable package), validate-package.mjs (check the package contract), plus the prototype contract and validation matrix references.The tab never installs anything by itself. It creates a session, seeds the prompt, and leaves the confirmation gates to the agent and to you.
4.0.5). The plugin is validated against that line: it type-checks against the published @deepseek-ai/*@0.2.1-rc.5 declarations, builds a ModuleLoader client bundle, and its unit tests run on Node 22/24.^22.19.0 || ^24.0.0.skills service (every standard DSH Web/Desktop profile does).dsh plugin --profile web add dsh-plugin-builder
Restart that profile. The row is mounted by the package's own cordis.patch.yml, so no manual edit of your profile patch layer is needed:
- insert:
- id: dsh-plugin-builder
name: dsh-plugin-builder
/cordis-plugin-development … plus your requirement in the composer, and closes itself. It does not send the message for you.If the selected preset is missing or broken, the tab reports it before creating a session, so you never end up with an empty session and a silent failure.
| Path | Purpose |
|---|---|
lib/index.js |
Host entry: parses the bundled SKILL.md and registers it through ctx.skills.register() |
lib/client.js |
Browser bundle: window.__ModuleLoader__.load closure factory registering the settings.plugins.tab surface |
lib/client-helper.js |
Shared helper (placeSkillPromptInDraft, focusComposerSoon) exported for other tabs |
skills/cordis-plugin-development/ |
The skill itself: SKILL.md, the prototype contract, the validation matrix, and the three toolkit scripts |
lib/types/ |
Generated declarations |
DSH 0.2.1 already ships a skill named cordis-plugin-development with its agent presets. When that skill is present the plugin keeps it and skips its bundled copy, so load order can never decide which workflow the agent follows. On hosts that do not ship the skill, the bundled copy is registered instead. The workshop tab keeps working either way.
name, description, invocation, source: 'bundled', provider, resourceBase, path, content) matches the 0.2.1 SkillRegistration type, and the client injects only shell-provided modules.skills/cordis-plugin-development/references/ was written against the 0.1.5-rc.2 interface line. The skill therefore tells the agent to call inspect-target.mjs first and to treat those references as background, not as an API contract. Read them the same way.npm install
npm run build # esbuild host/client bundles + tsc declarations
npm run typecheck # tsc against the published 0.2.1-rc.5 declarations
npm test # unit tests (scaffold tests need DSH_SOURCE_CHECKOUT, see below)
npm run validate:package
The scaffold/validation tests exercise the toolkit against a real DSH source checkout. Point DSH_SOURCE_CHECKOUT at a deepseek-harness checkout to run them; without it that suite is skipped (the published package has no checkout).
cordis-plugin-development skill in scope (it is registered globally, so it is).MIT © WilShi. The bundled skill and toolkit are part of this package.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: developer-tools、plugin-development。