---
title: "Github: pull request template"
url: https://perrotta.dev/2025/05/github-pull-request-template/
last_updated: 2025-05-04
---


To create a pull request template for a github repository, create a
`.github/pull_request_template.md` file.

Take advantage of [markdown
formatting](https://www.markdownguide.org/basic-syntax/).

I found the following prompt useful as a starting point for [Claude
Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview)
within the repository:

> Suggest a template for this repository for new github PRs.

[Upstream
docs](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository).

