> 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/guides.md).

# 指南

GitBook Agent 可帮助你借助 AI 创建、改进并维护文档。这些指南涵盖适合你团队的实用工作流程。

#### 探索

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><i class="fa-pen-to-square">:pen-to-square:</i></h4></td><td><h4>如何借助 AI 编写文档</h4></td><td>将 GitBook Agent 作为你文档工作的 AI 队友</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse">/spaces/LBGJKQic7BQYBXmVSjy0/pages/lZib1r0W2EKSeHHGsXse</a></td></tr><tr><td><h4><i class="fa-wand-magic-sparkles">:wand-magic-sparkles:</i></h4></td><td><h4>借助 GitBook Agent 简化文档工作流</h4></td><td>查找适用于内容更新和维护的实用工作流程</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv">/spaces/LBGJKQic7BQYBXmVSjy0/pages/qFDlIyMYStBBWzAihxLv</a></td></tr><tr><td><h4><i class="fa-brain-circuit">:brain-circuit:</i></h4></td><td><h4>将 AI 引入你的文档工作流程</h4></td><td>规划一个由 AI 辅助、但仍由人掌控的流程</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/D9vypo5fHLnICOAyJTNU">/spaces/LBGJKQic7BQYBXmVSjy0/pages/D9vypo5fHLnICOAyJTNU</a></td></tr><tr><td><h4><i class="fa-code-pull-request">:code-pull-request:</i></h4></td><td><h4>协作处理变更请求</h4></td><td>与团队一起审查、讨论并合并文档更改</td><td><a href="/spaces/LBGJKQic7BQYBXmVSjy0/pages/d95mdHFHppZlERwwiByR">/spaces/LBGJKQic7BQYBXmVSjy0/pages/d95mdHFHppZlERwwiByR</a></td></tr></tbody></table>

#### 快速指南

<details>

<summary>如何使用 GitBook Agent 创建初稿？</summary>

GitBook Agent 可以将明确范围的请求转化为草稿更改。

本指南涵盖添加上下文、审阅草稿以及优化内容。

<button type="button" class="button secondary" data-action="ask" data-query="How do I create a first documentation draft with GitBook Agent? Show me how to add context, request a draft, review the change, and refine the content. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>如何使用 GitBook Agent 审查变更请求？</summary>

GitBook Agent 可以在你合并前审查文档更改并识别问题。

本指南涵盖发起审查、处理反馈以及批准更改。

<button type="button" class="button secondary" data-action="ask" data-query="How do I review a documentation change request with GitBook Agent? Show me how to request a review, address feedback, and approve the change. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>如何自动发现并修复文档缺口？</summary>

GitBook Agent 可以识别过时或不完整的文档并准备修复方案。

本指南涵盖执行改进、审阅建议的更改以及发布更新。

<button type="button" class="button secondary" data-action="ask" data-query="How do I find and fix documentation gaps with GitBook Agent? Show me how to run automatic improvements, review suggested changes, and publish updates. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>

<details>

<summary>如何使用 GitBook Agent 翻译文档？</summary>

GitBook Agent 可以翻译内容，并保持译文与源内容同步。

本指南涵盖创建翻译、审阅本地化内容以及管理更新。

<button type="button" class="button secondary" data-action="ask" data-query="How do I translate documentation with GitBook Agent? Show me how to create translations, review localized content, and manage source updates. Include links to the relevant docs pages." data-icon="gitbook-assistant">打开指南</button>

</details>


---

# 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/guides.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.
