# 命令參考 (/zh-Hant/docs/verdent-for-vscode/reference/commands)

> Verdent 的 VS Code 命令、工具語法與子代理呼叫



VS Code 命令、內建工具語法與子代理使用的完整參考。

***

## VS Code 命令 [#vs-code-命令]

### 開啟 Verdent [#開啟-verdent]

**主要命令：**

| 命令            | 快捷鍵                                         | 說明              |
| ------------- | ------------------------------------------- | --------------- |
| 開啟聊天視圖        | `Ctrl+L`（Windows/Linux）<br />`Cmd+L`（macOS） | 開啟 Verdent 聊天介面 |
| 開啟 Verdent 面板 | 點擊側邊欄圖示                                     | 在活動列存取 Verdent  |

***

### 執行模式 [#執行模式]

**模式切換：** 透過輸入框的「Switch Mode」按鈕或設定存取：

| 模式                   | 說明         | 使用情境           |
| -------------------- | ---------- | -------------- |
| **Manual Accept**    | 審查並核准每一項操作 | 共用程式碼庫、正式環境、學習 |
| **Auto-Run**         | 自動執行而不需核准  | 個人專案、受信任的程式碼   |
| **Skip Permissions** | 執行時不顯示權限提示 | 快速迭代           |

***

## 子代理命令 [#子代理命令]

### 內建子代理 [#內建子代理]

| 子代理                | 呼叫方式                                  | 用途          |
| ------------------ | ------------------------------------- | ----------- |
| **@Explorer**      | `@Explorer find all React components` | 程式碼庫搜尋與架構問題 |
| **@Verifier**      | `@Verifier check if tests pass`       | 快速驗證與確認     |
| **@Code-reviewer** | `@Code-reviewer review for security`  | 安全性與品質分析    |

***

### 自訂子代理 [#自訂子代理]

**位置：** `~/.verdent/subagents/[name].md`

**呼叫方式：**

```
@custom-subagent-name perform task
```

**透過設定建立：**

```
Settings → Subagents → Create New Subagent
```

***

## 另請參閱 [#另請參閱]

<CardGroup cols="3">
  <Card title="鍵盤快捷鍵" icon="keyboard" href="/docs/verdent-for-vscode/reference/shortcuts">
    鍵盤快捷鍵快速參考
  </Card>

  <Card title="詞彙表" icon="book" href="/docs/verdent-for-vscode/reference/glossary">
    技術術語與定義
  </Card>

  <Card title="工具參考" icon="wrench" href="/docs/verdent-for-vscode/advanced-features/tool-reference">
    完整的工具功能與範例
  </Card>
</CardGroup>
