fufuyin/dsh-prompt-workbench ↗★ 0
dsh-prompt-workbench
Prompt rewrite workbench for DeepSeek Harness — four rewrite modes, cancellable streaming output, and a token-level before/after diff. 提示词重写工作台。 适合需要对提示词进行智能增强、重写并对比修改差异的提示词创作者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fufuyin/dsh-prompt-workbenchドキュメント
README 全文を読む ↗Usage
- Type or paste a draft into the composer. Anything from one sentence to a multi-paragraph brief works.
- Click ✦ 提示词增强 in the composer tool row. A panel opens above the composer
with your draft already in the left pane. (You can also paste straight into the
left pane, or hit
⭯to pull the current composer draft in.) - Pick a mode and, if you want to force it, an output language.
- Hit 开始增强 (or
Ctrl/Cmd + Enter). The right pane streams the rewrite. - Review it. Toggle 差异高亮 to see exactly what was added and removed.
- 替换输入框 to write the rewrite back into the composer, or 追加 to keep both. 复制 puts it on the clipboard.
Modes
| Mode | What it does |
|---|---|
| 细化需求 refine | Turns a vague wish into concrete, checkable requirements: the real goal, the expected outcome, the deliverables. |
| 补充约束 constraints | Makes the implicit boundaries explicit — in scope / out of scope, platform limits, style rules, non-goals, acceptance criteria. |
| 结构化重写 structure | Reorganizes the whole prompt into a scannable hierarchy (目标 / 背景 / 输入 / 具体要求 / 输出格式 / 验收标准) without changing content. |
| 精简表达 concise | Removes filler, hedging and repetition, merging overlaps while keeping every distinct fact. |
Configuration
There is no settings page and no config file. The plugin follows your session's default model route — change the model in the composer's model selector and the next rewrite uses it. The active route is shown as a read-only chip in the panel header.
Deliberate limits, all enforced host-side:
| Limit | Value | Behaviour past it |
|---|---|---|
| Draft length | 24,000 characters | Refused with an explicit message; no silent truncation |
| Live diff size | 700 tokens per side | Diff view degrades to plain text with a note |
| Concurrent runs | 8 tracked tasks | Finished tasks are reaped first |
使用
在输入框打好草稿 → 点工具行的 ✦ 提示词增强 → 选模式 → 开始增强(或 Ctrl/Cmd + ↵)
→ 右栏流式出结果 → 点 差异高亮 看逐词改动 → 替换输入框 写回。
配置
没有设置页,也没有配置文件。插件跟随你当前会话的默认模型路由——在输入框的模型选择器 里换模型,下一次增强就用新模型。面板标题栏会显示当前路由。