rongxingda/dsh-prompt-enhance
Turns a rough composer draft into a structured prompt with explicit role, steps, output format and acceptance criteria, then shows it beside the original for apply, copy or undo.
A small button in the composer tool row sends the draft through a low-temperature rewrite pass using the harness's own LLM service. The preview panel puts original and enhanced side by side with the model name and elapsed time, and the result can be applied, copied or discarded, with one-click undo after applying. The rewrite is instructed to keep intent and add no facts: it supplies the role, goal, executable steps, output format, acceptance criteria and edge cases a good prompt states. A maxInputChars cap (12,000 code points by default) rejects over-long drafts rather than truncating them, and every failure path leaves the draft as typed.
Install
dsh plugin --profile web add dsh-prompt-enhanceThe npm line, and the package dsh-prompt-enhance@0.2.7 has a registry repository field pointing at this repo. The README also documents a github: form for installing from source, which needs a local build.
Compatibility
Boot-verified by the author on DSH 0.1.1-rc.2, 0.1.2-alpha.3, 0.1.7-rc.2 and 0.2.0-rc.2. The host half needs the @deepseek-ai/dsh-llm runtime module the dsh host supplies; React peers come from the web shell's module registry.
Details
- Repo: rongxingda/dsh-prompt-enhance
- Category: Agent Capabilities
- Stars: 20
- Version: 0.2.7 (npm); Apache-2.0
Alternatives
Xilin3/dsh-prompt-persona · Wine-Red/dsh-prompt-stash · knopki/dsh-prompt-profiles