SkySheep1999/dsh-polish-prompts ↗★ 0
dsh-prompt-polish
DeepSeek Harness Web plugin that adds a ✨ button beside the composer send control to polish the current prompt with a chosen model.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SkySheep1999/dsh-polish-prompts说明文档
阅读完整 README ↗dsh-prompt-polish
A dual-face DeepSeek Harness plugin that adds a ✨ button next to the composer send control. Click it to rewrite the current draft into a clearer, more structured prompt without changing the original intent.
Demo

Type a draft in the composer, click the ✨ button next to Send, and the polished prompt replaces the draft in place. / 在输入框写下草稿,点击发送按钮旁的 ✨,润色结果会原地替换草稿。
English
Features
- ✨ One-click polish — a star button sits immediately before Send / Stop in the Web composer.
- ⚡ Fast mode by default — polish requests disable deep thinking when the selected model supports it (measured ~10s → ~1s on typical models); uncheck it in settings for high-effort rewrites.
- 🧠 Keeps the original intent — the default system prompt asks the model to stay in the user's language, add only necessary structure, and return the polished prompt with no preamble.
- ⚙️ Settings page — choose provider, model, and the polish system prompt under Settings → 提示词润色.
- 💾 Persistent config — values are stored in
$DSH_HOME/prompt-polish.jsonand survive restarts. - 🔁 Default model fallback — leave provider / model empty to use the current session default (
agentDefaultModel).
Drafts that already contain composer references (occurrences) are skipped, because those attachments cannot be rewritten safely.
Install
This package is a standard DSH bundle: package.json declares dsh.bundle, so dsh plugin installs the dependency and activates the layer automatically. No hand-edited composition is required.