> 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-agent/review-change-requests-with-gitbook-agent.md).

# 使用 GitBook Agent 审查变更请求

以及 [创建内容](/docs/documentation/zh/gitbook-agent/write-and-edit-with-ai.md)，GitBook Agent 可以审查你的变更请求，快速找出并修复错误、提出改进建议等。

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

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

你可以在任何 [开放的变更请求](/docs/documentation/zh/xie-zuo/change-requests/change-requests-screen.md) 在你的网站中。

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

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

如果需要，它会建议进一步的更改——如果你想让 Agent 实施这些更改，你可以告诉它这样做，方式可以是 [通过聊天窗口](/docs/documentation/zh/gitbook-agent/write-and-edit-with-ai.md#open-gitbook-agent-chat-window-in-any-change-request) 或者通过 [在评论中提及它](/docs/documentation/zh/gitbook-agent/write-and-edit-with-ai.md#tag-gitbook-agent-in-a-comment).

当你对更改感到满意后，你可以 [合并变更请求](/docs/documentation/zh/xie-zuo/change-requests.md#merge) 以将更改发布上线。

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

GitBook Agent 与你协作，就像你团队中的另一位成员。 [在变更请求中](/docs/documentation/zh/xie-zuo/change-requests/change-requests-in-a-space.md)，你可以 [打开 GitBook Agent 聊天窗口](/docs/documentation/zh/gitbook-agent/write-and-edit-with-ai.md#open-gitbook-agent-chat-window-in-any-change-request) 开始协作。

你可以让它执行以下操作：

* 撰写新内容或扩展现有部分
* 修正常见错别字和拼写错误
* 重写不清晰或过时的说明
* 审查页面的准确性、清晰度和完整性
* 生成或更新代码示例
* 识别缺失的文档或工作流程中的空缺。

了解更多关于 [在此使用 GitBook Agent 写作](/docs/documentation/zh/gitbook-agent/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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
