shouwang37/dsh-comfyui-node-development ↗★ 1
dsh-comfyui-node-development
DeepSeek Harness (DSH) plugin that packages a distilled bilingual guide to ComfyUI custom node development as the comfyui-node-dev skill, ready for any DSH agent to load.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:shouwang37/dsh-comfyui-node-development说明文档
阅读完整 README ↗或使用本地路径
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` 指引时,智能体会自动加载该技能。
## 开发
```bash
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。
相关链接
- 官方文档:
- ComfyUI 源码:
- 官方自定义节点示例:
使用方法
在任意对话中提问,例如:
- "帮我写一个 ComfyUI 自定义节点"
- "ComfyUI 节点的 INPUT_TYPES 怎么写?"
- "怎么给 ComfyUI 节点加前端 JS 扩展?"
- "把这段节点代码从 V1 迁移到 V3"
任务匹配技能的 whenToUse 指引时,智能体会自动加载该技能。