lcsdg/dsh-quick-prompts0

@max1997/dsh-quick-prompts

Quick prompts dock for the dsh web GUI: a row of user-defined prompt chips above the composer — click a chip to preview and edit its text (with {{placeholder}} fields), then sync it into the input or send it directly. Prompts are stored in the official settings document, not localStorage.

AI 分析

核心用途是管理和快速调用高频使用的提示词模板,支持 `{{placeholder}}` 动态填参。适合有大量重复性任务、需要标准化 Prompt 录入的用户。数据保存在官方设置中。

パッケージ
@max1997/dsh-quick-prompts
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/25

インストール

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

ドキュメント

README 全文を読む ↗

配置说明 / Configuration

指令列表保存在 settings namespace quick-prompts(schema 驱动,官方设置页同样可见)。结构:

{
  "categories": [
    { "id": "review", "name": "代码审查" }
  ],
  "prompts": [
    { "id": "review-changes", "label": "审查当前改动", "text": "审查当前 git 改动…", "categoryId": "review" }
  ]
}

text 中的 {{任意名字}} 会成为预览弹窗里的填写字段(橙色高亮),同步/发送时替换为填写值;未填写的占位符原样保留。