> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/scan-fix-and-prevent/fix/snyk-pull-or-merge-requests/customize-pr-templates.md).

# Customize PR templates

When you fix or upgrade Snyk Open Source and Snyk Container Projects imported using the [SCM integrations](/developer-tools/integrations/scm-integrations/organization-level-integrations.md), Snyk raises pull requests (PRs) against your repository.

Snyk has default PR templates for the title, description, and commit message. These indicate what packages are being changed, which issues are being fixed, and many other details.

You may have your own standards and practices for submitting pull requests. For instance, if a pull request comes from Snyk, you may require the title to begin with `SNYK:`.

You can set custom PR templates using the following methods:

* API request - set all PRs in the Group to the custom template that is uploaded. Refer to [Create an API request with a Custom template](/scan-fix-and-prevent/fix/snyk-pull-or-merge-requests/customize-pr-templates/apply-a-custom-pr-template.md#create-and-manage-a-custom-pr-template-using-the-api) on the [Apply a Custom PR template](/scan-fix-and-prevent/fix/snyk-pull-or-merge-requests/customize-pr-templates/apply-a-custom-pr-template.md) page.
* [YAML upload ](/scan-fix-and-prevent/fix/snyk-pull-or-merge-requests/customize-pr-templates/apply-a-custom-pr-template.md#customize-using-a-yaml-pr-template-file)- set the custom template for a specific repository

After the template is set, the custom PR template feature is enabled.

PR templates are opened with a custom template in the following order of precedence:

* First, Snyk applies anything that is set for the specific repository, that is, the YAML upload.
* If there is anything missing from that template or the Project does not have a YAML file, Snyk checks for your Group template uploaded and set using the API request.
* If anything is missing in the Group template or no custom template is found, Snyk applies the default template.


---

# 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://docs.snyk.io/scan-fix-and-prevent/fix/snyk-pull-or-merge-requests/customize-pr-templates.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.
