dsh-plugin-dev SKILL.md skillA
dsh-plugin-dev from realchendahuang/dsh-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add realchendahuang/dsh-skill/dsh-plugin-dev@git:20261005.03891cbPins git:20261005.03891cb in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- realchendahuang/dsh-skill
- Path
SKILL.md- Versions recorded
- 2
- Latest version
- git:20261005.03891cb, committed Oct 5, 2026
- First version recorded
- Oct 5, 2026
- Size
- 5,257 bytes
- Repository stars
- 25
- License
- MIT
DeepSeek Harness (DSH) 插件、扩展与技能开发权威规范。当需要为 DSH 编写自定义工具 (Tool)、拦截钩子 (Hook)、UI 扩展、服务提供方或打包发布 DSH 插件时使用。提供官方 Cordis 微内核架构契约、执行流水线、隔离调试与质量校验 SOP。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# DeepSeek Harness (DSH) 插件与扩展开发权威技能指南 本技能向 AI 编程助手交付开发、调试、测试与发布 DeepSeek Harness 插件的完整官方架构契约与标准作业程序(SOP)。 --- ## 1. 核心铁律(违反必翻车) 1. **绝对隔离测试**:严禁直接在用户的日常宿主目录 `~/.dsh` 中进行测试或写入配置文件。必须通过 `DSH_HOME="$(pwd)/.dsh-dev"` 配合本地 `.dsh-dev/` 目录进行隔离开发与冒烟测试。 2. **严格外部化依赖**:在构建打包脚本(esbuild / tsup)中,**必须**将所有 `@deepseek-ai/*` 命名空间及其衍生包(`@deepseek-ai/cordis`、`@deepseek-ai/dsh-tools` 等)声明为 `external`。绝不能将运行时内置包打包进发布产物中。 3. **规范输出与展示分离**:工具主体 `execute` 必须返回符合 `output.schema` 的纯数据结构;面向模型的自然语言由 `output.render` 交付;UI 客户端卡片由纯函数 `presentCall` / `presentResult` 交付。严禁在 `execute` 中直接返回格式化自然语言。 4. **纯函数卡片原则**:`presentCall` 和 `presentResult` 会在实时输出和历史日志回放时重复执行,严禁在其中进行 I/O 操作、异步读取或调用时钟/随机数。 5. **协作式取消响应**:所有异步 I/O、HTTP 请求与外部子进程执行必须透传并监听 `exec.signal`,确保超时或用户取消操作能被及时终止。 --- ## 2. 任务路由与决策树 根据用户的具体需求,查阅对应参考文档与执行 SOP: | 开发任务 | 核心入口 | 关键规范参考 | |---|---|---| | **从零初始化插件项目** | [`playbooks/01-scaffolding.md`](playbooks/01-scaffolding.md) | 包含目录骨架、`package.json`、`tsconfig.json` 与 esbuild 外部化配置 | | **开发模型工具 (Tool)** | [`playbooks/02-tool-plugin.md`](playbooks/02-tool-plugin.md) | 参阅 [`references/tools-contract.md`](references/tools-contract.md) 查看参数校验与卡片规范 | …
Read the whole file at its exact version.
How to install
mdr add realchendahuang/dsh-skill/dsh-plugin-dev@sha256:4a39c97ff54ed337The line at the top of this page pins the label git:20261005.03891cb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_s7bxyenjfnbwh4kt)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Oct 5, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261005.03891cb latest | 2026-10-05 | 03891cb | 5,257 B | A | view · diff |
| git:20261005.8dc5097 | 2026-10-05 | 8dc5097 | 4,697 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5257 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
realchendahuang/dsh-skill · 25 stars · license MIT · pushed 2026-10-13 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_s7bxyenjfnbwh4kt GET https://markdownregistry.com/api/v1/resolve?ref=realchendahuang/dsh-skill/dsh-plugin-dev GET https://markdownregistry.com/api/v1/blob/4a39c97ff54ed337b7230b4b5fca4f960117d3618c6f281424fe717436548fe1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.