shouwang37/dsh-comfyui-node-development
DeepSeek Harness(DSH)插件:ComfyUI自定义节点开发浓缩指南,打包为comfyui-node-dev技能
Project Overview项目介绍
A DSH plugin that packages a bilingual condensed guide to ComfyUI custom node development as the runtime skill comfyui-node-dev. Core capability: covers node contracts, registration and lifecycle, data types, hidden/flexible inputs, lazy evaluation, list handling, frontend JS extensions, i18n, node documentation, and V1→V3 migration, with backend/frontend/datatypes/links reference subdocuments. When to use: writing new nodes, completing node code, migrating V1 to V3, or looking up data types and frontend extension patterns. Caveat: content is summarized from the official ComfyUI documentation and serves as a learning aid only, not a replacement for the official docs.
DSH 插件,把 ComfyUI 自定义节点开发的中英双语浓缩指南打包为运行时技能 comfyui-node-dev。核心能力:覆盖节点契约、注册与生命周期、数据类型、隐藏/灵活输入、惰性求值、列表处理、前端 JS 扩展、i18n、节点文档及 V1→V3 迁移,并附带 backend/frontend/datatypes/links 分册。适用场景:编写新节点、补全节点代码、迁移 V1 到 V3、查阅数据类型或前端扩展写法。注意事项:内容总结自 ComfyUI 官方文档,仅作学习辅助,不能替代官方文档。
请帮我了解并安装插件:【dsh-comfyui-node-development】【https://github.com/shouwang37/dsh-comfyui-node-development】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
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
pingfanfan/hello-dsh
feicaiclub/deepseek-harness-whitepaper
cendaifeng/dsh-learn-everything