yaoshuo530/dsh-prompt-enhancer ↗★ 4

dsh-prompt-enhancer

输入框新增增强按钮,结合会话上下文重写提示词,信息不足时追问。 适合想快速优化提示词的用户;无需配置,自动使用当前会话模型与上下文。

包名
dsh-prompt-enhancer
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年8月28日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yaoshuo530/dsh-prompt-enhancer

Configuration

None required. The plugin automatically uses:

  • Model route: the current session agent's model (agent.options), falling back to the agent-default-model selection; it calls the model with thinking disabled (reasoningEffort: off) for speed and stability
  • Context: systemPrompt.assemble() (persona / memory / skills) + sessionQuery.readSurface() (last 30 messages)

Usage

  1. Type a draft prompt in the composer, e.g. Write a weekly summary report
  2. Click the "✨ Enhance" button
  3. If the model decides key information is missing, a clarification card appears (e.g. "What did you complete this week?", "Who is the audience?") — select or type your answers, then click "Generate"
  4. Preview the enhanced prompt, click "Apply to input" to write it into the composer, then edit and send as you like

The output language follows your input language.