2861292267/dsh-prompt-enhancer ↗★ 3
@local/dsh-prompt-enhancer
Bring WorkBuddy's 增强提示词 (Enhance Prompt) button to DeepSeek Harness: rewrite the composer draft into a stronger, better-structured prompt with one click, with a /enhance slash command for the keyboard path. 适合需要快速优化提示词结构的用户,需显式配置 provider。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2861292267/dsh-prompt-enhancer四、配置项
| 键 | 本机当前值 | 说明 |
|---|---|---|
provider | workbuddy-xdpool | 改写用的 provider 路由 |
model | deepseek-v4.1-flash | 改写用的模型 id |
defaultStyle | default | 未指定风格时使用 |
slashCommand | true | 是否注册 /enhance |
⚠️
provider必须显式配置。留空时插件会去读宿主的默认模型服务 (agentDefaultModel),但实测该服务在此环境拿不到,请求会带着provider: undefined发出去并立刻失败:no adapter registered for provider "undefined"。 显式写死最稳——与 profile 里agent-default-model用同一个。
风格取值:
| 风格 | 行为 |
|---|---|
default | WorkBuddy 原版行为,不加任何额外指令 |
expand | 在原文基础上追加「把隐含的显式化」要求 |
concise | 追加「收紧、去冗余、不加需求」要求 |
structured | 追加「按 目标/交付物/约束/验收标准 分节」要求 |
实测效果(本机 2026-10-12):
输入 写个爬虫脚本
输出 请编写一个完整的爬虫脚本,明确说明目标网站或页面类型、需要抓取的数据字段、
翻页与去重逻辑、请求频率控制,以及数据保存格式(如 CSV、JSON 或数据库),
并附上必要的异常处理和反爬应对说明。
中文进、中文出——语言一致性规则生效。