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

# Review and publish a template

Check the Template setup and make it available for use.

<figure><img src="https://558651701-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN3Qz33TugJFhuCkpYl2x%2Fuploads%2FvHxW85E8DmNexPKPiTM8%2F%7BDF8A7614-EF95-40C5-9124-0A2DDA2CB01F%7D.png?alt=media&amp;token=91820eed-f5b5-49b3-8b70-4526fbb47659" alt=""><figcaption></figcaption></figure>

The final **Review** step summarizes the Template before publication. Review its Basics, Purpose, Inputs, and Structure.

Before publishing, check:

* Is the Template name clear?
* Does the Goal describe the outcome?
* Are the right questions or files requested?
* Are fixed elements protected?
* Can Decky customize content that needs to change?
* Are Dynamic slides positioned correctly?

You can return to earlier setup steps and make changes before publishing. When ready, select **Publish template**.

### Related articles

* [Create a template](/decky-docs/templates/create-a-template.md)
* [Set up template basics and purpose](/decky-docs/templates/set-up-template-basics-and-purpose.md)
* [Add questions and file inputs](/decky-docs/templates/add-questions-and-file-inputs.md)
* [Control what Decky can change](/decky-docs/templates/control-what-decky-can-change.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://decky.gitbook.io/decky-docs/templates/review-and-publish-a-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.
