Horizon215/dsh-plugins--packages-prompt-templates1

@your-scope/dsh-prompt-templates

Prompt template library for the DeepSeek Harness web UI: save reusable prompts, insert or insert-and-send them from a composer button

包名
@your-scope/dsh-prompt-templates
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Horizon215/dsh-plugins#c84fe501557dc3de34d0655055154358916b3153&path:packages/prompt-templates

@your-scope/dsh-prompt-templates

English | 中文

A prompt-template library for the DeepSeek Harness (dsh) web UI. DeepSeek Harness Web UI 的提示词模板库插件。

Screenshots / 截图见仓库根 README:https://github.com/Horizon215/dsh-plugins


English

Features

  • Composer toolbar button opens the template manager modal
  • Create / edit / delete templates with title + body; two-step delete prevents accidents
  • Insert appends the template to the current draft (blank-line joined); Insert & send fires immediately
  • Templates persist in browser localStorage — nothing leaves the machine

Install

From source (npm package coming soon):

git clone https://github.com/Horizon215/dsh-plugins.git
cd dsh-plugins
pnpm install && pnpm build
dsh plugin --profile web add file:./packages/prompt-templates

Restart dsh web. The package declares dsh.bundle, so it joins the profile automatically — no config edits.

Notes

  • Requires dsh ≥ 0.1.0-rc.5 (verified on rc.5 / rc.6), web UI only

Uninstall

dsh plugin --profile web remove @your-scope/dsh-prompt-templates

中文

功能

  • 输入框工具栏新增模板按钮,点击打开模板管理弹窗
  • 模板增删改查(标题 + 正文),两步删除防误触
  • 一键插入到草稿(自动空行拼接)或插入并发送
  • 数据保存在浏览器 localStorage,不上传任何服务器

安装

从源码安装(npm 包稍后发布):

git clone https://github.com/Horizon215/dsh-plugins.git
cd dsh-plugins
pnpm install && pnpm build
dsh plugin --profile web add file:./packages/prompt-templates

装完重启 dsh web 即可(插件声明了 dsh.bundle,会自动装配进 profile,无需手动改配置)。

说明

  • 需要 dsh ≥ 0.1.0-rc.5(在 rc.5 / rc.6 上验证通过),仅 Web UI

卸载

dsh plugin --profile web remove @your-scope/dsh-prompt-templates

License

MIT