JoukoPuro/dsh-prompt-polish1

dsh-prompt-polish

DSH prompt-polish plugin: an icon-only composer toolbar button that rewrites the current draft through the connected LLM (balanced / concise / detailed / code styles), with multi-language UI.

AI Analysis

核心用途是优化和重写输入框中的提示词。适合希望快速提升提示词质量、调整表达风格(如精简或代码化)的 DSH Web 用户。

Package
dsh-prompt-polish
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

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

Configuration

The plugin accepts optional config in the profile's cordis.patch.yml (user layer, applied after the bundle layer):

- id: prompt-polish
  config:
    provider: deepseek-official   # explicit route (optional)
    model: deepseek-v4-flash      # must be paired with provider
    style: balanced               # default rewrite style: balanced | concise | detailed | code
    maxTokens: 2048               # output cap for the rewrite call
    # system: '...'               # custom rewrite instruction (replaces the built-in per-style prompts)

Without provider/model, the plugin uses agentDefaultModel.currentSelection() — the same default model the session uses.