Melosic/dsh-invoke1

@dsh-external/dsh-invoke

提示词库与快速调用插件:支持侧边栏 GUI 管理、分类及别名调用提示词

AI 分析

核心用途是提供一个可视化的提示词仓库,支持快速复制、变量填充和别名调用。适合积累了大量常用提示词、需要高效管理和高频调用的用户。

套件
@dsh-external/dsh-invoke
版本
0.2.0
授權
MIT
最近更新
2026年8月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Melosic/dsh-invoke

Command-Line Usage (Optional)

Most operations can be done via the sidebar; the command line targets keyboard-driven users and fallback scenarios. Current commands:

CommandDescription
/promptList all prompts (with category, built-in marker, description)
/prompt-listList all prompts grouped by category
/aliasList all registered aliases and the prompts they point to
/ [content]Invoke the aliased prompt: renders it and copies to the clipboard

Alias System

  • Open the alias dialog via the link-icon action on a prompt card (or by clicking the alias badge on the card). Each prompt can be bound to one alias.
  • Alias rules: lowercase letters / digits / hyphens; must not collide with reserved commands (prompt, prompt-list, alias, help, clear, exit) or existing aliases. Validated server-side.
  • Invocation: / content — the text after the command fills the template variables. A single-variable prompt receives the whole text; a multi-variable prompt splits it in declaration order using ||. Missing required variables produce a usage hint.
  • On success the rendered prompt is copied to the system clipboard (when the clipboard is unavailable, the body is echoed for manual copy) and the usage counter increments.
  • Deleting a prompt cascades to delete its alias.
  • Alias data lives in the user-level aliases.json (global, not workspace-scoped).