精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
Prompt optimizer plugin for DeepSeek Harness: rewrite a composer draft into a clearer, more executable prompt with one click.
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
Prompt optimizer plugin for DeepSeek Harness: rewrite a composer draft into a clearer, more executable prompt with one click.
待人工精选——以下事实来自源码仓库。
Prompt optimizer plugin for DeepSeek Harness: rewrite a composer draft into a clearer, more executable prompt with one click.
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:SongMiao-tech/dsh-prompt-optimizer 作者没有声明支持的平台。
dsh). It adds an ✨ Optimize Prompt button right below the chat composer: click it to rewrite your draft into a clearer, more executable prompt — then apply it back into the input box with one click. ## Features - Button rendered under the composer (via the conversation.composer.dock slot) - Reads the current composer text on click; friendly prompt when empty - Rewrites the draft through the host's ctx.llm with a fixed six-step procedure (intent → context → hidden constraints → gaps → restructure → language check) - Before/after dialog with a Replace into input button that writes the result back - Output always matches the input language; code, terms, and URLs are preserved ## Requirements - DeepSeek Harness dsh (web profile) with a configured model (e.g. a DeepSeek API key in Settings → Models) ## Install sh dsh plugin --profile web add https://github.com/SongMiao-tech/dsh-prompt-optimizer Or clone and install from source: sh git clone https://github.com/SongMiao-tech/dsh-prompt-optimizer.git cd dsh-prompt-optimizer pnpm install pnpm run build Then register the bundle in your profile's cordis.patch.yml: yaml - insert: - id: prompt-optimizer name: '@deepseek-ai/dsh-prompt-optimizer' - id: ui-prompt-optimizer name: '@deepseek-ai/dsh-client-ui-prompt-optimizer' ## Usage 1. Type a rough draft in the composer 2. Click ✨ Optimize Prompt 3. Review the rewrite in the dialog 4. Click Replace into input to swap it in, then send ## Development sh pnpm install pnpm run build # tsc + tsdown for both packages pnpm run test # vitest unit tests ## Structure . ├── cordis.patch.yml # bundle manifest patch (host + client rows) ├── packages/ │ ├── prompt-optimizer/ # host half: promptOptimizer Remote over ctx.llm │ └── ui-prompt-optimizer/ # client half: dock button, dialog, write-back └── scripts/ # vendored tsdown client-bundle preset ## License MIT不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。