dsh-role-prompts

在 DSH 输入框里用岗位角色约束整个会话:在输入框开头键入 - 选一个角色,它会以引用 chip 的形式落在草稿里,随后作为 system prompt 的一部分在这一会话的每一轮注入,指令持续生效且不会出现在对话记录中。角色在设置页新增和编辑,保存在 ~/.dsh/dsh-role-prompts.md。

插件介绍

在 DSH 输入框里用岗位角色约束整个会话:在输入框开头键入 - 选一个角色,它会以引用 chip 的形式落在草稿里,随后作为 system prompt 的一部分在这一会话的每一轮注入,指令持续生效且不会出现在对话记录中。角色在设置页新增和编辑,保存在 ~/.dsh/dsh-role-prompts.md。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Justin-Mai/dsh-role-prompts

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令