dsh-prompt-optimizer
Manifest validOne-click prompt enhancement and structuring button for DSH composer.
dsh-prompt-optimizer
✦ One-Click Prompt Enhancement and Structuring Plugin for DeepSeek Harness (DSH)
一键提示词结构化增强与润色插件,无缝集成至 DSH 输入框
English | 中文说明
English
✨ Features
- Seamless Composer Integration: Injects an elegant
✦sparkle button directly into the DSH composer tool row (conversation.input.rightslot), matching the native design system. - Smart Prompt Structuring: Instantly turns short, vague, or casual ideas into professional, structured instructions with objectives, key details, execution steps, and constraints.
- Automatic Domain Intelligence:
- 🎬 Video & Script Creation: Generates high-retention 3-second hooks, narrative pacing, and storyboard editing tips.
- 💻 Coding & Architecture: Enforces environment specifications, API interfaces, boundary tests, and error handling.
- 🎯 Universal AI Directives: Formats any daily prompt into a production-grade instruction.
- Session Model Sync: Automatically leverages the currently active model in your session (MiniMax, DeepSeek, Claude, etc.) without extra configuration.
- Keyboard Shortcut: Press
Alt + Oto optimize instantly without clicking. - One-Click Revert (Undo): Revert back to your original input at any time with a single click or by pressing
Alt + Oagain within 15 seconds.
📦 Installation
In your DSH environment:
# Add plugin to your web profile
dsh plugin add dsh-prompt-optimizer
# Or install from GitHub
dsh plugin add git+https://github.com/lokih1028/dsh-prompt-optimizer.git
Then start DSH:
dsh web
中文说明
✨ 核心特性
- 原生输入栏嵌入:无缝注入至 DSH 官方输入栏右侧槽位(
conversation.input.right),完全遵循 DSH 官方设计规范与主题配色。 - 一键结构化重构:将简短或粗略的一句话需求,秒级重构为包含【任务目标】、【核心要求】、【分步执行路径】与【输出约束规范】的高质量专业指令。
- 垂类场景智能识别:
- 🎬 影视解说与视频文案:自动补齐黄金前3秒吸睛 Hook、情绪递进叙事节奏、分镜剪辑提示点与爆款标题方案。
- 💻 代码与架构开发:自动补充技术栈约束、接口规范、边界测试与异常处理逻辑。
- 🎯 通用任务结构化:全面提升各类日常问答与 Agent 执行任务的准确度。
- 会话模型自动联动:自动感知并使用当前会话激活的模型(如 MiniMax M3、DeepSeek-V3 等),无需单独配置密钥。
- 快捷键支持:随时按下
Alt + O快捷键极速触发优化。 - 防误触一键撤销(Undo):优化后 15 秒内再次点击或按快捷键,可一键还原至修改前的原始内容。
📦 安装使用
在 DSH 项目根目录下执行:
# 通过 DSH 插件管理器添加
dsh plugin add dsh-prompt-optimizer
# 或直接通过 GitHub 仓库安装
dsh plugin add git+https://github.com/lokih1028/dsh-prompt-optimizer.git
启动 DSH Web 界面:
pnpm dsh web
刷新浏览器页面后,在输入框右侧即可看到 ✦ 优化按钮。
📄 License
MIT License © 2026 lokih1028
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 2.0.0 | — | — |
| 2.0.1 | — | — |
| 2.0.2 | — | — |
| 2.0.3 | — | — |
Comments
Loading…
Similar plugins
by du-u-uck
Adds a one-click prompt optimization button to the DSH composer, with undo and an optional dedicated optimizer model.
★ 0
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-prompt-optimizationOptimize Prompt button under the composer: one click rewrites your draft into a clearer, more executable prompt, with a before-and-after dialog and one-click replacement.
★ 0
↓ 185/wk
dsh plugin --profile web add dsh-prompt-optimizerby LCQ-1024
Adds a prompt-enhancement button to the DSH composer that rewrites drafts into agent-ready prompts.
★ 3
↓ 487/wk
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-prompt-enhancerby wmengxiang
Adds an icon button to the composer that optimizes the current draft prompt through the active model.
★ 3
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-prompt-optimizerby XXXXXQ-0206
Adds a composer button that optimizes the current prompt or designs the next one from the current session and project context.
★ 0
MIT
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-prompt-for-meby rongxingda
Prompt enhancement plugin for the DeepSeek Harness web GUI: one-click rewrite of the composer draft into a structured prompt, with preview, fill-back, and undo.
★ 31
↓ 1.4k/wk
Apache-2.0
TypeScript
Oct 22, 2026
dsh plugin --profile web add dsh-prompt-enhance