Introduction

When drafting requirements on the DSH Web chat page, the raw sentences in the input box often only contain the task direction, lacking specific comparison items, output lists, and boundary conditions. dsh-prompt-enhance is designed to enhance prompts for this specific input scenario: it expands the current draft into a more specific prompt while preserving the original sentence and providing a one-click undo; it defaults to reusing the DSH current default model, and automatically degrades to a rule template if the model is unavailable or times out.

What is this

dsh-prompt-enhance is a Web input enhancement plugin for DeepSeek Harness. The verified repository address is:

https://github.com/BBbangage/dsh-prompt-enhance

The owner indicated by the repository path is BBbangage; the maintainer’s information was not provided in the verified data. The license is MIT.

It mainly solves three specific problems:

  • Original requirements are too short, lacking executable requirements;
  • You want to keep the original text after enhancement;
  • You still want usable output when the model is unavailable.

In the DSH plugin ecosystem, it is a standard plugin that can be installed into the Web profile. The community directory is a separate site and has no official affiliation with DeepSeek / Huanfang.

Core Features

One-click Enhancement

Clicking the star icon next to the input box’s send button will expand the current draft into an enhanced prompt.

Preserve Original Sentence

The enhanced output starts with “Original sentence. Specific requirements are as follows:”, followed by naturally line-broken specific requirements (2-4 items). This allows for direct reading and modification item by item without needing to re-understand the entire rewritten paragraph.

Intelligent Based on Content

The plugin identifies the following task intents:

  • Parameter modification
  • Data aggregation
  • Content creation
  • Translation
  • Review
  • Code
  • File processing

It also extracts existing data sources, formats, audience, time, and other information from the input to avoid repetitive questioning.

Model-First with Rule Fallback

It uses the DSH current default model for rewriting by default. If the model is unavailable or times out after 15s, the plugin automatically degrades to a rule template and will still output results.

One-click Undo

After enhancement is complete, the same button changes to the undo icon . Clicking it restores the original text before enhancement, preventing the loss of the original requirement after replacing the input box content.

Icon-Only State

The button does not use additional text, expressing status solely through icons:

  • Button is grayed out when input is empty;
  • Icon spins while processing;
  • Turns red on failure, with the reason visible on hover.

Zero Configuration

The plugin reuses the DSH current default model and does not require separate API Key configuration.

Installation and Enablement

The verified installation command is as follows, installing to the web profile:

dsh plugin --profile web add dsh-prompt-enhance

If your profile name is not web, replace web in the command with the corresponding profile name.

Verified data does not confirm the current release status; the command in the README is marked for use after release. If installed via source code or local channels, the environment requirements are:

Node.js 22+
pnpm

After installation, restart dsh. This plugin does not depend on the dynamic plugin RPC harness, it is a standard installable plugin, stays resident after restart, and does not require authorization every time.

Typical Usage

The following are reproducible usage steps.

  1. Open the DSH Web chat page.
  2. Write the raw requirement in the input box, for example:
   根据提供的PPT内容,对变压器参数进行修改
  1. Click the star icon next to the send button.
  2. The input box is replaced by the enhanced prompt, for example:
   根据提供的PPT内容,对变压器参数进行修改。具体要求如下:
   识别PPT中涉及的所有变压器参数(如额定容量、额定电压、额定电流、阻抗电压、空载损耗等),与现有参数逐一比对,找出差异项。
   按PPT中的最新数值更新差异项,未涉及的参数保持原值不变。
   修改完成后,输出变更前后的参数对比清单,标注每项参数的新旧值。
  1. Read and fine-tune item by item, then send.
  2. If not satisfied, click the same button. At this point, the button is the undo icon; clicking it restores the original text.

You can also use the slash command directly in the input box:

/prompt-enhance 你的任务

It has the same effect as clicking the star icon.

Applicable Scenarios and Notes

Suitable for the following users:

  • Frequently writing short task requirements in DSH Web and wanting to quickly expand them into more specific prompts;
  • Wanting to preserve the original sentence after enhancement and being able to undo with one click;
  • Wanting to reuse the current DSH default model without extra API Key configuration;
  • Accepting automatic degradation to a rule template when the model is unavailable.

Environment requirements:

DeepSeek Harness Web 0.1.0-rc.6+

A same or newer rc version is recommended.

LLM mode requires a usable default model configured in DSH. If not configured, the plugin will automatically use the rule template as a fallback and will not throw an error.

Notes before use:

  • Install to the current profile being used and restart dsh;
  • The current page should be the DSH Web chat session page;
  • If the output is too generic, it means the LLM channel is not connected, and it has degraded to a rule template; after configuring a usable default model, it will return to LLM enhancement;
  • The plugin runs with the permissions of the current dsh process; check the source code and MIT license before installing.

Links

GitHub Repository:

https://github.com/BBbangage/dsh-prompt-enhance

Directory Page: Verified data did not provide the directory page URL, so this article does not provide unverified directory page links.