Horizon215/dsh-plugins--packages-prompt-templates ↗★ 9

@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. 24.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Horizon215/dsh-plugins#47c61d624358f92d2f229dd981ef3883ee2af6a1&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
  • Starter presets — a first run into an empty library seeds three zh templates (代码审查 / 解释代码 / 写提交信息); they're ordinary templates, so edit or delete them freely — deleting never resurrects them
  • 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