shouwang37/dsh-comfyui-node-development
DeepSeek Harness(DSH)插件:ComfyUI自定义节点开发浓缩指南,打包为comfyui-node-dev技能
Project Overview项目介绍
This is a native DeepSeek Harness (DSH) plugin that adds a comfyui-node-dev runtime skill for ComfyUI custom node development. To install the plugin, you need an existing DSH profile, such as the default web profile. You can run the DSH plugin CLI command to install directly from GitHub, which is the recommended method because it works out of the box with no additional build steps required. You can also install it from a local file path if you are modifying the plugin code locally, after which you just need to restart your DSH web service or profile process manager to activate it.
The plugin is intended for developers who are learning to build or actively building custom ComfyUI nodes. When you ask questions related to ComfyUI node development in a DSH chat, the agent will automatically load this skill based on the built-in matching rules. You can ask any development-related question, from how to write an INPUT_TYPES definition, to how to add a front-end JavaScript extension, to how to migrate existing node code from version 1 to version 3 of the ComfyUI API. This gives you quick, summarized reference right in your DSH chat without having to switch to the official docs every time you hit a roadblock.
This plugin has zero runtime dependencies outside of the two core DSH packages that are already included in all standard DSH profiles: @deepseek-ai/cordis and @deepseek-ai/dsh-skill. All compiled build output is checked into the git repository, so you do not need to run any build commands after installing from GitHub. The plugin is released under the permissive MIT open source license. It is a learning aid that summarizes all key points from the official ComfyUI custom node documentation, covering everything from node contracts to API migration, and it is not intended to replace the full official documentation.
这是一个专为 DeepSeek Harness (DSH) 打造的原生插件,提供了名为 comfyui-node-dev 的运行时技能,用于辅助 ComfyUI 自定义节点开发。它将 ComfyUI 官方文档浓缩为以中文为主、保留英文术语的双语开发指南,覆盖节点契约、注册生命周期、数据类型、前端扩展和版本迁移等核心开发要点,任何 DSH 智能体都可以根据对话需求按需加载。
该插件适合正在学习或开发 ComfyUI 自定义节点的开发者使用,在任何涉及 ComfyUI 节点开发的对话中,DSH 智能体会根据任务匹配规则自动加载该技能。用户可以直接提问开发相关问题,比如询问 INPUT_TYPES 的写法、如何添加前端 JS 扩展、如何从 V1 迁移到 V3 版本等,安装后仅需重启对应进程即可使用。
该插件遵循 MIT 开源许可协议,没有额外的运行时依赖,仅依赖 DSH 配置文件自带的两个官方包 @deepseek-ai/cordis 和 @deepseek-ai/dsh-skill。它可以通过 DSH 插件命令从 GitHub 直接安装,编译产物已提交至仓库,安装后无需重新构建,注意它仅作为学习辅助,不能替代官方文档。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-comfyui-node-development(shouwang37/dsh-comfyui-node-development)
仓库:https://github.com/shouwang37/dsh-comfyui-node-development
本站详情页:https://www.yhbd.top/plugins/shouwang37-dsh-comfyui-node-development/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-17 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add "github:shouwang37/dsh-comfyui-node-development"
把 shouwang37/dsh-comfyui-node-development 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-comfyui-node-development
中文 | 日本語
DeepSeek Harness(DSH)插件:把 ComfyUI 自定义节点开发的浓缩双语指南(中文为主,保留英文术语)打包为运行时技能 comfyui-node-dev。
任何 DSH 智能体都可以按需加载该技能——它涵盖节点类契约(INPUT_TYPES、RETURN_TYPES、CATEGORY、FUNCTION)、节点注册与生命周期、数据类型、隐藏/灵活输入、惰性求值、列表处理、前端 JavaScript 扩展、国际化(i18n)、节点文档,以及 V1 → V3 迁移要点。
内容总结自 ComfyUI 官方文档(docs.comfy.org,中文镜像 docs.comfy.org/zh)。本插件是学习辅助,不能替代官方文档。
特性
- 一个技能搞定一切:
comfyui-node-dev—— 任何涉及 ComfyUI 自定义节点的对话中都可加载。 - 深度参考分册:
assets/skill/references/内置backend.md、frontend.md、datatypes.md、links.md。 - 人类可读总结:
docs/SUMMARY.zh.md与docs/SUMMARY.en.md。 - 零运行时依赖:插件仅通过
ctx.skills注册运行时技能;peer 依赖只有 DSH profile 自带的两个包(@deepseek-ai/cordis、@deepseek-ai/dsh-skill)。
安装到 DSH
需要一个 DSH profile(如 web)。在终端执行:
# 从 GitHub 安装(推荐,零构建开箱即用)
dsh plugin --profile web add "github:shouwang37/dsh-comfyui-node-development"
# 或使用本地路径
dsh plugin --profile web add "file:C:/path/to/dsh-comfyui-node-development"
然后重启 DSH web 服务(或 profile 对应的进程管理器)。插件会作为 profile 图层 comfyui-node-dev 挂载,并注册 comfyui-node-dev 技能。
使用方法
在任意对话中提问,例如:
- "帮我写一个 ComfyUI 自定义节点"
- "ComfyUI 节点的 INPUT_TYPES 怎么写?"
- "怎么给 ComfyUI 节点加前端 JS 扩展?"
- "把这段节点代码从 V1 迁移到 V3"
任务匹配技能的 whenToUse 指引时,智能体会自动加载该技能。
开发
pnpm install
pnpm build # tsc -> lib/
pnpm smoke # 冒烟测试:在桩上下文中注册技能
说明:编译产物
lib/会提交进仓库,这样从 GitHub 安装时无需执行构建脚本(pnpm 会拦截 git 依赖的构建脚本)。
仓库结构
.
├── src/ # 插件源码(Cordis 插件入口 + 技能注册)
├── assets/skill/ # 技能正文与分册(随插件分发给智能体)
├── docs/ # 人类可读总结(中/英)
├── cordis.patch.yml # DSH bundle 补丁(profile 图层挂载)
├── package.json # 声明 dsh.bundle
└── scripts/smoke.mjs # 冒烟测试
许可证
MIT —— 见 LICENSE。
walkinglabs/learn-harness-engineering
Electricitysheep/dsh-handbook
humblebanana/open-record-replay
pingfanfan/hello-dsh
feicaiclub/deepseek-harness-whitepaper
tsrigo/dsh-from-scratch