---
title: "命令参考"
description: "Verdent 的 VS Code 命令、工具语法和子智能体调用"
---

VS Code 命令、内置工具语法和子智能体用法的完整参考。

---

## VS Code 命令

### 打开 Verdent

**主要命令：**

| 命令            | 快捷键                                      | 描述                    |
| ------------------ | --------------------------------------------- | ------------------------------ |
| 打开聊天视图     | `Ctrl+L`（Windows/Linux）<br />`Cmd+L`（macOS） | 打开 Verdent 聊天界面    |
| 打开 Verdent 面板 | 点击侧边栏图标                            | 在活动栏中访问 Verdent |

---

### 执行模式

**模式切换：**通过输入框中的"切换模式"按钮或设置进行访问：

| 模式                 | 描述                          | 使用场景                               |
| -------------------- | ------------------------------------ | -------------------------------------- |
| **手动接受**    | 审查并批准每个操作    | 共享代码库、生产环境、学习 |
| **自动运行**         | 无需批准自动执行 | 个人项目、可信代码             |
| **跳过权限** | 无权限提示运行       | 快速迭代                       |

---

## 子智能体命令

### 内置子智能体

| 子智能体           | 调用方式                            | 用途                                    |
| ------------------ | ------------------------------------- | ------------------------------------------ |
| **@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>
