xindady/dsh-prompt-enhancer ↗★ 0
dsh-prompt-enhancer
One-click prompt enhancement for the composer: rewrite the draft with prompt-engineering rules, write it back undoably, and keep @file references verbatim. 适合需要快速优化草稿提示词,同时保留文件引用并支持随时撤回的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xindady/dsh-prompt-enhancerドキュメント
README 全文を読む ↗使用
- 在输入框里写下你的提示词(为空则按钮不显示)
- 点击工具栏右侧的 ✦ 图标
- 稍等片刻,草稿会被替换为优化后的提示词
- 不满意就点 撤回,恢复原文
按钮有三种状态:
| 状态 | 外观 | 说明 |
|---|---|---|
| 待优化 | ✦ | 点击开始优化 |
| 优化中 | 旋转图标 | 自动禁用,防止重复点击 |
| 可撤回 | ↺ 撤回 | 点击恢复原始提示词 |
优化完成后如果手动修改了草稿,撤回按钮会自动变回 ✦。