Individual skill

dsh-plugin-development

开发、维护、分发和验证 DeepSeek Harness (DSH) 插件的执行型 Skill。覆盖 host/client 形态判断、bundle/profile 契约、Service 与函数插件、工具、HTTP、持久化、slot、Conversation Node、客户端构建、HMR、GitHub 安装和真实组合验证。

.dsh/skills/dsh-plugin-development/SKILL.md

Read pinned source

Source commit 3331b903f0e954d59ac69be1a75fd4fd7e1de20e

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 2, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
2,751
Repository last updated
Nov 6, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# DSH 插件开发

> 版本适用范围:本文主体保留 2026-08-13 的历史模板,不代表当前 Harness 的 API。在 AgentTeams 仓库内处理升级时,先读项目根目录 `skills/README.md`,再使用项目内 `dsh-upgrade-audit`、`plugin-upgrade` 和 `plugin-test`。独立安装此 skill 时不要求这些同伴文件,仍按 §2 取证。下文的 `dsh-client-runtime`、`conversationEvents` 等旧接口须按目标精确 tag 与 npm 产物重新核实,不能直接用于 Alpha.2 或后续版本。

这是正式版导向的执行清单。先判断运行面,再选择官方模板,实现后必须从真实组合和用户安装路径验证。不要把某个项目的偶然实现当成框架契约。

## 1. 开始前

1. 用 `pwd`、`git rev-parse --show-toplevel`、`git status --short --branch` 确认项目与用户改动。
2. 读取 `package.json`、`cordis.patch.yml`、`tsconfig*.json`、构建配置、相关 `src/` 和测试。
3. 不覆盖用户改动,不操作用户明确排除的 profile、端口或实例。
4. 判断最小运行面:
   - 工具、system prompt、HTTP、持久化、provider:host。
   - slot、Conversation Node、浏览器状态和浮层:client。