> For the complete documentation index, see [llms.txt](https://zhouhao4221.gitbook.io/haiqing-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zhouhao4221.gitbook.io/haiqing-docs/04-prompt/templates/prompt-template.md).

# \[任务名称]

\[一句话说明这个文件是干什么的，在什么时候打开它]

***

## 什么时候用

\[具体场景。要有判断条件，不是"随时可以用"，而是"当X情况时用这个，当Y情况时不适合"]

## 准备什么

在触发 AI 之前，把这些输入收集好：

* **\[输入名]**：\[说明这个输入是什么，从哪里找]
* **\[输入名]**：\[说明]
* **\[输入名]**：\[说明，可选的标注哪些是可选的]

## 怎么触发

**单次任务（对话中直接说）**

```
先读 04-prompt/[路径]/[文件名].md，
然后 [具体任务描述]。
```

**写入 CLAUDE.md（高频任务，自动生效）**

```markdown
## [场景标题]
[做某类任务时]，按 04-prompt/[路径]/[文件名].md 的输入清单准备上下文。
```

## 好的输出是什么样的

* \[判断标准一]
* \[判断标准二]
* \[判断标准三]

## 常见失败模式

* **\[失败场景]**：\[原因 + 如何避免]
* **\[失败场景]**：\[原因 + 如何避免]

***

## 版本历史

* v1.0：初始版本


---

# 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://zhouhao4221.gitbook.io/haiqing-docs/04-prompt/templates/prompt-template.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.
