yaoshuo530/dsh-prompt-enhancer ↗★ 4

dsh-prompt-enhancer

Prompt enhancement plugin for DeepSeek Harness: an "✨ Enhance" composer button that rewrites prompts with first-principles thinking using session context, and asks clarifying questions when key info is missing. 适合想快速优化提示词的用户;无需配置,自动使用当前会话模型与上下文。

Package
dsh-prompt-enhancer
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Aug 28, 2026

Other repositories with this package name

Install

$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.