JoukoPuro/dsh-prompt-polish1

dsh-prompt-polish

DSH 提示词润色插件:一个仅显示图标的编辑器工具栏按钮,可通过连接的 LLM 重写当前草稿(支持平衡、简明、详细、代码等风格),提供多语言界面。

AI 分析

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

套件
dsh-prompt-polish
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$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.