> For the complete documentation index, see [llms.txt](https://docs.cherry-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/advanced-basic/quick-phrase.md).

# 快捷短語

快捷短語（Quick Phrase）係一組**預設嘅對話模板**，可喺對話框入面透過快捷選單一鍵調用，避免重複輸入提示詞。

短語分兩類：

* **全局短語**：喺任何助手／對話入面都可以調用
* **助手短語**：只喺所屬助手下生效，適合畀某個角色配套專用模板

### 添加快捷短語

打開 `設定 → 快捷短語`：

<figure><img src="/files/bb9a2bba3c13ef3f28ef4967dff24055e8cf8d8d" alt=""><figcaption><p>快捷短語管理面板</p></figcaption></figure>

1. 點擊頁面右上角嘅 **+** 按鈕（鼠標懸停會顯示「添加短語」提示）
2. 填寫：
   * **標題**：喺調用選單入面顯示嘅名稱（如「翻譯成英文」、「代碼 review」）
   * **內容**：實際插入對話框嘅文字，**支援變量**（見下）
   * **添加位置**：選擇 `全局短語` 或某個特定助手
3. 儲存

### 內容入面嘅變量：`${name}` 語法

快捷短語支援**用戶自定義變量**，語法係 `${變量名}`。調用短語之後，撳 <kbd>Tab</kbd> 鍵可以喺多個變量位置之間快速跳轉同填寫。

示例：

```
幫我規劃由 ${出發地} 去到 ${目的地} 嘅路線，並發送到 ${郵箱}。
```

調用呢個短語時：

1. 內容會插入對話框，游標自動定位到 `${出發地}`
2. 輸入「上海」，撳 <kbd>Tab</kbd> 跳到 `${目的地}`
3. 輸入「杭州」，撳 <kbd>Tab</kbd> 跳到 `${郵箱}`
4. 填完地址撳 Enter 發送

變量名可以任意命名（中文、英文都得），相同名稱嘅變量會保持同步填寫。

{% hint style="info" %}
**同「助手提示詞變量」嘅分別**：助手 / Cherry Agent 嘅**系統提示詞**支援另一套**預設變量**（如 `{{date}}`、`{{time}}`、`{{model_name}}`、`{{username}}` 等），由 Cherry Studio 喺運行時自動替換。兩套機制各自獨立：

* `${name}`：只用於快捷短語，**用戶自定義**、運行時手動填寫
* `{{date}}` 等：只用於助手 / Agent 系統提示詞，**系統自動替換**
  {% endhint %}

### 喺對話框入面使用

* 喺 [對話介面](/docs/zhong-wen-fan-ti/cherry-studio/preview/chat.md) 嘅輸入工具欄中點擊 ⚡ **快捷短語** 圖標，或者喺輸入框中輸入 `/` 喚起斜線選單
* 選擇目標短語 → 內容自動插入到當前輸入框，游標停喺第一個變量上
* 撳 <kbd>Tab</kbd> 跳到下一個變量

### 排序同編輯

* 拖拽列表項可調整順序
* 點擊短語條目可編輯或刪除（刪除後無法恢復）

### 提示同技巧

* 寫一條 **「對下列代碼做 review，按 嚴重度 / 類型 / 修復建議 三欄匯總：`${code}`」**，調用之後貼代碼到 `${code}` 位置就得
* 同 [劃詞助手](/docs/zhong-wen-fan-ti/cherry-studio/preview/selection-assistant.md) 互補：劃詞助手處理「已選中的內容」，快捷短語提供「通用模板」
* 多個短語可以組成你嘅「提示詞工程庫」，建議按場景分類命名

***

### 💡 獲取幫助同提交反饋

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改進建議，請參考 [反饋同建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/advanced-basic/quick-phrase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
