Dsh Plugin Dev

DeepSeek Harness (DSH) 插件、扩展与技能开发权威规范。当需要为 DSH 编写自定义工具 (Tool)、拦截钩子 (Hook)、UI 扩展、服务提供方或打包发布 DSH 插件时使用。提供官方 Cordis 微内核架构契约、执行流水线、隔离调试与质量校验 SOP。

24 stars 1 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add realchendahuang/dsh-skill --skill dsh-plugin-dev
Manual install
git clone --depth 1 https://github.com/realchendahuang/dsh-skill.git /tmp/dsh-skill
mkdir -p ~/.claude/skills
cp -r /tmp/dsh-skill/. ~/.claude/skills/dsh-plugin-dev

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 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) 查看参数校验与卡片规范 |
| **开发权限门禁 / 安全拦截 (Hook)** | [`playbooks/03-hook-plugin.md`](playbooks/03-hook-plugin.md) | 参阅 [`references/execution-pipeline.md`](references/execution-pipeline.md) 查看流水线 5 阶段 |
| **编写单元测试 (Unit Test)** | [`references/plugin-testing.md`](references/plugin-testing.md) | 基于 Node 原生测试运行器的 Mock 上下文与取消测试 |
Read the full skill on GitHub

Details

Skill name
dsh-plugin-dev
License
MIT
Repo updated
24 October 2026

FAQ

What does the Dsh Plugin Dev skill do?

DeepSeek Harness (DSH) 插件、扩展与技能开发权威规范。当需要为 DSH 编写自定义工具 (Tool)、拦截钩子 (Hook)、UI 扩展、服务提供方或打包发布 DSH 插件时使用。提供官方 Cordis 微内核架构契约、执行流水线、隔离调试与质量校验 SOP。

How do I install the Dsh Plugin Dev skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add realchendahuang/dsh-skill --skill dsh-plugin-dev. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Dsh Plugin Dev popular?

It lives in realchendahuang/dsh-skill, which has 24 GitHub stars and 1 forks.

Related skills

Telegram Premium Emoji

20

Zulut30/premium-telegram-emoji

Select verified Telegram custom emoji by meaning, preserve a consistent visual style across a bot or application, and generate HTML with catalog IDs. Use when a Telegram project needs premium emoji or the user requests a palette from this catalog. Includes ordered multi-emoji compositions. Not for unrelated UI icons.

Frontend & Design

Build Startup Brand

24

Kappaemme-git/build-startup-brand

Turn a startup idea, product, URL, pitch, or existing visual identity into a distinctive startup brand system and a polished standalone HTML report. Use when Codex needs to create or refine startup positioning, a salient brand idea, brand promise, tagline, messaging, voice, creative territories, logo or symbol directions, color palette, typography, visual language, brand applications, or compact brand guidelines. Also use for startup rebrands and brand audits that should end with an actionable, openable brand identity report.

Frontend & Design

UI Sift

22

Ciao1019/ui-sift

设计、实现、评审或打磨简洁且交互精致的前端页面与组件。提供项目画像、视觉判断、精选组件检索、官方 skills/MCP 与源码发现、多库集成和证据验收。适用于新页面、后台、AI 对话、文档工作台、参考还原和局部 UI 改善;纯后端、仅修复业务逻辑或机械改字时不使用。

Frontend & Design

UX Audit

21

EliaAlberti/ux-audit-skill

Run a heuristic UX audit of a customer journey from screenshots. Use when the user asks for a UX audit, heuristic evaluation, usability review, design teardown, or expert review of screens, mockups, or a flow, whether your own product or a competitor's. Evaluates against named frameworks (Nielsen, Shneiderman, Gerhardt-Powals, Bastien & Scapin, Hick/Fitts/Miller/Jakob/Peak-End, Fogg, Cialdini, Gestalt, Norman, Tognazzini, WCAG 2.1, content design heuristics) and produces severity-rated findings with heuristic citations, annotated screenshots, and a structured markdown report. Do not use for ge

Frontend & Design

Components

18

AnayDhawan/Components

Use when building a frontend and the user wants a distinctive / animated / "wow" UI element in React + Tailwind - e.g. a laptop-opening-on-scroll, 3D tilt card, spotlight hero, animated beams/background, marquee, bento grid, interactive globe, meteor/particle background, shimmer button, or scroll/reveal motion. Fetches the showpiece component LIVE at build time from code libraries (Aceternity, Magic UI, Cult UI, ReactBits, 21st.dev) via their shadcn registry command (or WebFetch fallback), then adapts it to brand tokens. Also covers plain components (button, form, modal, table, etc.) as a fall

Frontend & Design

Webflow to React

28

dmenchaca/webflow-to-react

Converts a Webflow HTML export into a maintainable React app with TanStack Start (SSR, TanStack Router conventions) using an idiomatic React-first approach. Sets up Storybook early, builds UI primitive + page-section SOT components with variant stories before composing routes. Use when the user has a Webflow export (index.html + css/ + js/ + images/ + fonts/) and wants to migrate to React, when they mention TanStack Start, TanStack Router, SSR, Storybook, SOT components, "convert Webflow to React", or when a repo already contains a Webflow export at its root. Works in Cursor, Claude Code, GitH

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.