> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/review-change-requests-with-gitbook-agent.md).

# 使用 GitBook Agent 审查变更请求

与 GitBook Agent 协作，审查或处理变更请求

除了 [创建内容](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/write-and-edit-with-ai.md)之外，GitBook Agent 还可以审核你的更改请求，快速查找并修复错误、提出改进建议等。

Agent 能理解文档其余内容的上下文；你还可以添加 [团队风格指南](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/overview.md#add-a-style-guide-and-custom-instructions) 以确保它在审核更改时遵循团队的风格。

### 使用 GitBook Agent 审查变更请求

你可以在站点中的任何 [未关闭的更改请求](https://gitbook.com/docs/documentation/zh/collaborate/change-requests/change-requests-screen.md) 中请求 GitBook Agent 进行审核。

查看已打开的变更请求时，你可以将 GitBook Agent 添加为审阅者。添加后，GitBook Agent 将浏览你的更改，并结合你已发布网站和风格指南的上下文，从准确性、清晰度等方面进行审查。

如果你想自行检查更改，请在编辑器中打开更改请求，然后切换到 **更改** 标签页。编辑器底部的浮动差异导航器可让你在已更改的区块之间跳转，继续查看有差异的下一页，并使用可用的审核操作，从最后一处更改完成审核。

如果需要，它会建议进一步的更改；如果你希望 Agent 实施这些更改，可以通过以下任一方式告诉它： [在对话中](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/write-and-edit-with-ai.md#open-gitbook-agent) 或者 [在评论中标记它](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/write-and-edit-with-ai.md#tag-gitbook-agent-in-a-comment).

对更改满意后，你可以 [合并更改请求](https://gitbook.com/docs/documentation/zh/collaborate/change-requests.md#merge) 以发布这些更改。

### 使用 GitBook Agent 更新变更请求

GitBook Agent 会像团队中的另一位成员一样与你协作。 [在更改请求中](https://gitbook.com/docs/documentation/zh/collaborate/change-requests/change-requests-in-a-space.md)，你可以 [打开 GitBook Agent](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/write-and-edit-with-ai.md#open-gitbook-agent) 开始协作。

你可以让它做诸如以下事情：

* 编写新内容或扩展现有章节
* 修正错别字和拼写错误
* 改写不清晰或过时的说明
* 检查页面的准确性、清晰度和完整性
* 生成或更新代码示例
* 找出缺失的文档或工作流程中的空缺。

点击此处了解更多关于 [使用 GitBook Agent 撰写内容的信息](https://gitbook.com/docs/documentation/zh/gitbook-dai-li/write-and-edit-with-ai.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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/zh/gitbook-dai-li/review-change-requests-with-gitbook-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
