qifenglun1/dsh-plugin-prompt ↗★ 0
dsh-plugin-prompt
A sidebar prompt template library for DeepSeek Harness: browse, manage, and insert reusable prompts into the composer. 适合需要高频使用、分类管理和快速输入常用提示词的用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:qifenglun1/dsh-plugin-promptConfiguration
The plugin has no Config schema and no required settings. There is no API key, token, password, endpoint, or model selection to configure.
| Setting | Where |
|---|---|
| Templates | Managed in the library panel or the template editor. |
| Categories | Created with New category or by typing a new category in the template editor. |
| Language | Follows the DSH language setting (English or 简体中文). |
| Built-in templates | Fixed in the plugin; Save as mine creates an editable copy. |
Browser storage
Templates and categories are stored in the Harness Web origin's localStorage:
dsh.prompt-library.templates.v1— user templates.dsh.prompt-library.categories.v1— categories that exist independently of templates. When this key is missing, categories already used by saved templates are migrated into it.
localStorage is scoped to the Web origin. A different origin, browser profile, or cleared browser storage has separate data. The plugin does not write templates to the session log, does not send them to a server, and does not read credentials. When you send a message, its text reaches your configured model through DSH as usual.
Usage
Sidebar library
- Click the bookmark entry in the left sidebar.
- Search by title, text, or category, or choose a category chip.
- Choose Insert to put the template into the current draft, Copy to copy it, or Save as mine to duplicate a built-in template.
- Use New category to create a category before it has templates.
- Use the back arrow in the panel header to return to the conversation.
Composer picker
- Click the bookmark button in the composer's left tool row.
- In a new, empty conversation the picker opens as a centered dialog, so the search field is always visible; in an active conversation it opens above the composer.
- Search for a template. Use the arrow keys to move and Enter to insert, or click a row.
- The template is inserted at the caret (or replaces the current selection).
Example
Create a reusable review prompt:
-
Open the sidebar library.
-
Choose New template.
-
Set the title to
Review a pull request, the category toEngineering, and the body to:Review this change for correctness, edge cases, performance, security, and maintainability. List issues by severity, then give concrete fixes. -
Save. The template appears under My templates.
-
In any conversation, click the composer bookmark, choose the template, and it is inserted at the caret.
Empty categories
A newly created category is selected immediately. Until it has templates, the panel shows No templates in this category yet and New template in this category. That button opens the editor with the category prefilled.
Categories can be created and selected, but renaming or deleting a category is not yet supported.