SouthernSibyl/dsh-quick-prompt ↗★ 0

dsh-quick-prompt

Composer button that rewrites the current draft into a precise, executable prompt in place, with one-click revert 在输入框提供一键改写和撤销功能,支持自定义规则,适合需要快速优化Prompt的用户。

Package
dsh-quick-prompt
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 21, 2026

Install

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

配置

全部可选项,写在 profile 的 cordis.patch.yml 里同名条目下:

- id: quick-prompt
  config:
    provider: deepseek-official   # 不填 = 跟随 DSH 当前默认模型
    model: deepseek-chat
    maxTokens: 2400
    timeoutMs: 60000
    rulesPath: ""                # 留空 = $DSH_HOME/skills/promptify/SKILL.md
    extraInstruction: ""         # 追加到系统提示词末尾

改写规则从哪来

按顺序取第一个可用的:

  1. config.rulesPath 指定的文件;
  2. $DSH_HOME/skills/promptify/SKILL.md(去掉 YAML frontmatter 后的正文);
  3. 内置的精简规则(结构/语言/内容三条约束)。

每次点击现读,带 mtime 缓存——只改规则内容时立即生效,不用重启。