Ackerman0/Dsh-Prompt-Enhancement0

dsh-prompt-enhance

Standalone dsh web plugin: an input-area "Prompt Enhance" button that improves the current draft with GitHub prompt-engineering templates and fills it back after confirmation, with its own on/off switch in Settings.

包名
dsh-prompt-enhance
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ackerman0/Dsh-Prompt-Enhancement

使用指南

  1. 在输入框写下草稿,点击「✨ 提示词增强」按钮;
  2. 弹窗显示「正在分析并增强提示词…」,当前模型直连返回改写后的提示词(秒级);
  3. 在弹窗里可继续编辑;若期间又改了输入框内容,点「重新增强」用最新内容重跑;
  4. 点「替换输入框」回填草稿(不发送),或「复制」/「关闭」保持原输入不变;
  5. 「设置 → 提示词增强」中的开关可随时停用/启用插件。

配置方法

配置项位置说明
开启/关闭Web「设置 → 提示词增强」或 settings.yamlprompt-enhance.enabled关闭后按钮与公告即时隐藏
诊断记录settings.yamlprompt-enhance.diagnostics(只读)记录槽位注册、挂载与渲染错误,用于排障
增强模型全局模型选择器路由使用当前默认模型(provider/model/reasoningEffort)
API Key走 DSH 自身的模型凭据配置插件不接触、不存储任何密钥