Skip to content
Sniptide

Pull request template for GitHub

A pull request template is a Markdown file that GitHub puts in the description box of every new pull request, so authors explain the change the same way each time. Save the example below as .github/pull_request_template.md on your default branch and open a pull request to see it.

Updated

Files

.github/pull_request_template.mdRaw
## What changed

<!-- One or two sentences on what this pull request does and why. Link the issue it closes. -->

Closes #

## How to test

<!-- Steps a reviewer can follow to see the change work. -->

1.
2.

## Screenshots

<!-- Before and after for anything visible. Write "No visible change" otherwise. -->

| Before | After |
| --- | --- |
|  |  |

## Checklist

- [ ] Tests cover the change, or I explained why they don't.
- [ ] Documentation is updated where behavior changed.
- [ ] Database changes include a migration that runs on existing data.
- [ ] No secrets, credentials or personal data are in the diff.

## Notes for reviewers

<!-- Risky parts, open questions or follow-up work. Delete this section if there is none. -->

Save with your agent

Run this command to add Sniptide to Claude Code in the current project. Open /mcp in Claude Code and sign in to Sniptide. Once the server shows as connected, use the prompt below to save a private copy in your library.

Terminal
claude mcp add --scope local --transport http sniptide https://app.sniptide.com/api/mcp
Prompt
Read https://sniptide.com/templates/pull-request-template.json and use create_snippet to save its files as a private Sniptide snippet titled "Pull request template for GitHub". Keep the file names and contents from the JSON.

Where to put it

GitHub looks for pull_request_template.md in .github/, the repository root or docs/, and only on the default branch. The file name isn't case-sensitive. After you merge it, start a new pull request and the description box opens with the template. GitHub pull request templates

The template only fills the box. Authors can still delete every line, so keep it short enough that they won't want to.

What each section does

Section
What it gives the reviewer
When to change it
What changed
The purpose before the diff. Closes # links the issue and closes it on merge.
Rarely.
How to test
Steps to see the change work, so review doesn't stop at reading code.
Add your preview deployment link here if you have one.
Screenshots
Before and after for visible changes, in a table so they sit side by side.
Remove it for libraries and APIs without a UI.
Checklist
The checks your team forgets most.
Replace the items with the comments your reviewers repeat. Keep it under six.
Notes for reviewers
Where to look closely and what is left for later.
Rarely.

HTML comments (<!-- -->) guide the author and don't show in the rendered description.

Variant: several templates

For repositories with distinct kinds of changes, put one file per kind in .github/PULL_REQUEST_TEMPLATE/:

.github/PULL_REQUEST_TEMPLATE/
.github/PULL_REQUEST_TEMPLATE/
  feature.md
  bugfix.md
  release.md

GitHub doesn't show a chooser for these. Authors pick one by adding ?template=bugfix.md to the compare URL, such as https://github.com/OWNER/REPO/compare/main...my-branch?template=bugfix.md. Link those URLs from your CONTRIBUTING.md.

Variant: pull requests from coding agents

When agents open pull requests, ask in AGENTS.md that they fill in this template, and add the section that reviewers of agent work need most:

.github/pull_request_template.md
## What I verified

<!-- Commands you ran and their result. List anything you could not verify. -->

- [ ] `npm test` passed
- [ ] I ran the app and checked the change by hand
All templates
  • Project setupGitHub issue templates

    GitHub issue form templates for bug reports and feature requests, plus a config.yml that sends questions and security reports elsewhere.

  • CONTRIBUTING
    Project setupCONTRIBUTING.md template

    A CONTRIBUTING.md template for open source projects with where to report bugs, local setup, branch and commit rules, and how pull requests get reviewed.

  • CODEOWNERS
    Project setupCODEOWNERS file example

    A CODEOWNERS file example for a monorepo with team owners per folder, the precedence rule explained, and how to require code owner reviews on GitHub.

Pick where your library lives.

Use sniptide.com

Save your first pattern in the app, then connect Claude Code, Cursor or Codex with one sign-in in the browser.

Run it on your own server

One image and a database give you the app, the API and the MCP endpoint. Sniptide is open source under AGPL-3.0.

$docker compose up -d