nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:MJDACK/dsh-prompt-assistant
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness(DSH)侧边栏里的提示词助手:一句话中文,出一个能直接用的提示词。
三个页签:
system_prompt_t2i.md,输出英文画面描述 + 画幅比例(rewritten_prompt / wh_ratio)。system_prompt_edit.md,需要放要改的图,输出编辑指令 + 画幅(多图时带 ratio_follow)。模型名: 中文描述 的格式(moss: …、anima:…、h3: …),用该模型的原生语法写英文提示词,并附中文直译;本地没收录的模型会联网查,查到后缓存。三个页签都能放参考图;出结果后还能在面板底部继续对话调整。

模型规范库可以展开,点一个模型名自动把 别名: 填进输入框:

<image1>(简短描述) 的格式写(如 <image1>(穿白裙的女孩)、<image2>(夜晚的城市街道)),下游能直接看出每张图是什么。+ 传图;前端统一重编码成 PNG/JPEG(最长边 2048),WebP、超大图、MIME 不符都不会到上游才报错。↻ 重新读取,不用重启(Host 侧缓存 30 秒,面板每次打开也会刷一次)。~/.dsh/prompt-assistant/specs/<model>.md,下次直接命中。h3-prompt-writing skill 的话,h3: / h3-ref: 会自动用它的官方指南(T2VA/I2VA/FL2VA/L2VA 三段式、Ref2VA 六段式)。ctx.llm / ctx.attachments / ctx.webServer。deepseek-flash 实测可以)。这是 DSH 的一个 bundle(package.json 里 dsh.bundle.patch + dsh.client),不需要构建。
方式一:插件管理界面
D:\plugins\dsh-prompt-assistant。方式二:命令行
dsh plugin --profile <profile-name> add link:/absolute/path/to/dsh-prompt-assistant
桌面版自己管理的 profile 可能会拒绝命令行写入(
profile "…" is managed exclusively by the Electron application),这种情况用方式一。
装好后如果改了 index.js(Host 半),浏览器不会自动换新代码:在插件页把这个 bundle 关掉再打开,或者重启 DSH。
所有配置都在 bundle 的 cordis.patch.yml 里,config 下覆盖即可:
- insert:
- id: prompt-assistant
name: dsh-prompt-assistant
config:
promptDir: 'D:\my-prompts' # 你的 文生图/ 图像编辑/ 目录
specDir: 'D:\my-specs' # 自己的模型规范库
learnedDir: 'D:\my-specs-learned'
| 键 | 默认 | 说明 |
|---|---|---|
promptDir |
~/.dsh/prompt-assistant/prompts |
下面放 文生图/system_prompt_t2i.md、图像编辑/system_prompt_edit.md;找不到就用包内 prompts/ |
specDir |
~/.dsh/skills/model-prompt-en/references |
模型规范库(带 index.md 和 models/) |
specFallbackDir |
包内 specs/ |
上面找不到时用这个 |
learnedDir |
~/.dsh/prompt-assistant/specs |
联网学到的模型规范存这里 |
specFiles |
h3 的两个路径 | 直接挂外部文件当规范;文件不存在自动跳过 |
maxImages / maxImageBytes / maxBodyBytes |
0(不限)/ 12MB / 256MB |
图片张数、单张、请求体上限 |
webLookup |
true |
未收录模型是否联网查 |
面板自己用,也可以脚本调(只接受回环 Host、同源请求,没有额外 token):
GET /dsh-prompt-assistant/info
GET /dsh-prompt-assistant/lookup?alias=moss
POST /dsh-prompt-assistant/rewrite {mode, text, images?, model?}
POST /dsh-prompt-assistant/chat {mode, input, result, history, text, model?}
NOTICE)。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: prompt-engineering。