dsh-prompt-booster

为不擅长写提示词的小白用户设计:每次输入都会自动调用本插件(agent/pre-step 钩子),把不完整、不准确的原话补全为带目标/约束/交付形式的完整表述,并用「► 重点」标注关键诉求,再交给主模型处理。补全稿对用户可见,原话始终保留在首位,二者冲突以原话为准;调用失败不影响原对话(fail-open)。零宿主私有依赖,纯 JS 自包含。

插件介绍

为不擅长写提示词的小白用户设计:每次输入都会自动调用本插件(agent/pre-step 钩子),把不完整、不准确的原话补全为带目标/约束/交付形式的完整表述,并用「► 重点」标注关键诉求,再交给主模型处理。补全稿对用户可见,原话始终保留在首位,二者冲突以原话为准;调用失败不影响原对话(fail-open)。零宿主私有依赖,纯 JS 自包含。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:haidashu79-prog/dsh-prompt-booster

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。