dsh-prompt-forge: DeepSeek Harness Prompt Enhancement Plugin

Introduction

When developing DeepSeek Harness (DSH), transforming quick drafts into well-structured prompts with clear requirements often requires extensive adjustments. The dsh-prompt-forge plugin ports WorkBuddy’s “Enhance Prompt” feature into the native DSH environment, providing one-click rewriting, original text restoration, and slash command capabilities to help developers quickly generate high-quality prompts.

Core Features

The plugin provides the following core capabilities:
* One-click Rewrite & Restore: Click the enhance button next to the input box, and the model will rewrite the draft into a structured prompt. After rewriting, the button changes to “Restore Original,” allowing you to revert to the pre-rewrite state with a single click.
* Slash Commands: Supports keyboard shortcuts with the command format /enhance [--concise|--structured] <draft>.
* Preset Styles: Offers multiple style choices including Default, Expanded, Concise, and Engineering Brief.
* Safeguards: Does not call the model for empty drafts; if you continue typing during rewriting, the rewrite result is automatically discarded.
* Undo Scope: The “Restore Original” function is only available when the draft has not been modified or cleared, preventing accidental overwrites.
* Custom Styles: Supports managing configurations in the settings panel and adding custom styles.

Installation & Activation

When installing, you must use the github: prefix; the link: method cannot be updated remotely.

dsh plugin add github:2861292267/dsh-prompt-forge

After installation, enable the plugin in DSH settings and configure cordis.patch.yml in the plugin directory to set the provider and model for rewriting.

Notes

  • The prompts and interaction logic originate from the WorkBuddy core, not an approximate replica.
  • Continuing to type during rewriting will discard the result.
  • The provider must be explicitly configured, otherwise requests will fail.
  • The plugin is licensed under MIT.
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye