relay-dsh-plugin-skill-creator
安全与治理 活跃维护

relay-dsh-plugin-skill-creator

yangbobo2021/relay-dsh-plugin-skill-creator

插件,可将已完成的对话内容自动打包为经过校验的可复用Skill资源包,无需手动整理就能把对话中的有效经验沉淀为可直接调用的技能资产。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
57 KB
仓库大小
17 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:yangbobo2021/relay-dsh-plugin-skill-creator
git clone https://github.com/yangbobo2021/relay-dsh-plugin-skill-creator.git
git clone git@github.com:yangbobo2021/relay-dsh-plugin-skill-creator.git
README.md main

relay-dsh-plugin-skill-creator

A public DeepSeek Harness plugin that registers conversation-to-skill: a bundled Skill for turning a completed DSH conversation into a reusable, reviewed, and validated DSH Skill directory.

The generated bundle can include SKILL.md, references/, scripts/, and assets/. Resources are created only when the extracted workflow needs them.

Install in DSH

Add the public npm package to the DSH host and apply its bundled Cordis patch:

npm install relay-dsh-plugin-skill-creator

For repository development, installation from GitHub remains supported with npm install github:yangbobo2021/relay-dsh-plugin-skill-creator.

The included cordis.patch.yml inserts relay-dsh-plugin-skill-creator into the host configuration.

Use

At the end of a useful multi-turn DSH conversation, ask DSH to turn the conversation into a Skill or invoke conversation-to-skill. The Skill first converts user corrections into numbered requirement/evidence/test/oracle contracts, then proposes the target path, complete file tree, requirement coverage, exclusions, and validation plan. It writes only after explicit confirmation.

Completion includes structural validation, a captured runtime PII-canary gate, generated-script checks, and DSH discovery. When Session creation is available, one fresh Session on the same DSH account tests natural routing and reuse; no cross-Agent accounts are required. Small bundles also carry proposal and generation token budgets whose overruns are reported honestly.

V1 uses the conversation and artifacts visible in the current DSH context. It does not claim access to expired or hidden history.

Development

npm ci
npm run verify

The tests use the real DSH SkillRegistry, exercise the standalone validator, and inspect the package produced by npm.

See SPEC.md, architecture, security model, acceptance matrix, and DSH compatibility.

Releases

Version tags publish through GitHub Actions using npm Trusted Publishing (OIDC), with no long-lived npm token. See the release guide for the one-time first-package bootstrap and publisher binding.

License

MIT