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. 提示词重写工作台。 适合需要对提示词进行智能增强、重写并对比修改差异的提示词创作者。

パッケージ
dsh-prompt-workbench
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/23

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fufuyin/dsh-prompt-workbench

ドキュメント

README 全文を読む ↗

Usage

  1. Type or paste a draft into the composer. Anything from one sentence to a multi-paragraph brief works.
  2. 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.)
  3. Pick a mode and, if you want to force it, an output language.
  4. Hit 开始增强 (or Ctrl/Cmd + Enter). The right pane streams the rewrite.
  5. Review it. Toggle 差异高亮 to see exactly what was added and removed.
  6. 替换输入框 to write the rewrite back into the composer, or 追加 to keep both. 复制 puts it on the clipboard.

Modes

ModeWhat it does
细化需求 refineTurns a vague wish into concrete, checkable requirements: the real goal, the expected outcome, the deliverables.
补充约束 constraintsMakes the implicit boundaries explicit — in scope / out of scope, platform limits, style rules, non-goals, acceptance criteria.
结构化重写 structureReorganizes the whole prompt into a scannable hierarchy (目标 / 背景 / 输入 / 具体要求 / 输出格式 / 验收标准) without changing content.
精简表达 conciseRemoves 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:

LimitValueBehaviour past it
Draft length24,000 charactersRefused with an explicit message; no silent truncation
Live diff size700 tokens per sideDiff view degrades to plain text with a note
Concurrent runs8 tracked tasksFinished tasks are reaped first

使用

在输入框打好草稿 → 点工具行的 ✦ 提示词增强 → 选模式 → 开始增强(或 Ctrl/Cmd + ↵) → 右栏流式出结果 → 点 差异高亮 看逐词改动 → 替换输入框 写回。

配置

没有设置页,也没有配置文件。插件跟随你当前会话的默认模型路由——在输入框的模型选择器 里换模型,下一次增强就用新模型。面板标题栏会显示当前路由。