Pull request template with a walkthrough reviewers and AI agents can read

Updated November 2026

QUICK ANSWER

Save a file named pull_request_template.md in your repository's .github folder (the root or docs folder also work) on the default branch, and GitHub fills every new pull request with it. A good template asks for what changed, why, how it was tested, risks, and a short walkthrough recording that shows the change running.

A pull request description is where the author explains the change to someone who was not there when it was written. More and more of those changes are written with AI, and more of the reviewers are AI too. The template below is built for both.

Where does the GitHub pull request template go?

According to GitHub's documentation:

  • One template: name it pull_request_template.md and put it in the repository root, in docs/, or in the hidden .github/ folder. .github/pull_request_template.md is the most common choice.
  • Several templates: create a PULL_REQUEST_TEMPLATE folder inside one of those locations, add one file per template, and pick one with the template query parameter on the pull request URL.
  • Default branch: templates apply once they are merged into the repository's default branch.

The pull request template

### What changed
<!-- One or two sentences. What does this PR do? -->

### Why
<!-- Link the issue, PRD or user story. What problem does it solve? -->
Closes #

### Walkthrough
<!-- A 2-minute recording: show the change running and talk through the
     key decisions, the way you would walk a reviewer through it at a desk.
     Reviewers watch it; AI reviewers read the agent context link. -->
Recording: https://clipy.online/video/<id>
Agent context: https://clipy.online/video/<id>.arec

### How it was tested
- [ ] Unit / integration tests added or updated
- [ ] Ran it locally: <what you clicked or called, what you saw>
- [ ] Checked edge cases: <empty, error, permissions, large input>

### Risk and rollout
- Risk: Low / Medium / High, because ...
- Feature flag or migration:
- How to roll back:

### Reviewer notes
<!-- Where to start reading, what you are unsure about, what to ignore. -->

### AI assistance
<!-- Which parts were written or reviewed with AI, and what you checked by hand. -->

The AI assistance section is there so reviewers know where to look harder. CodeRabbit's December 2025 analysis of 470 open source pull requests found AI-coauthored PRs had about 1.7 times more issues than human-only ones, with logic and correctness issues 75% more common.

Talk to your PR

Think about the best code review you ever had. Someone sat next to you, you opened the app, and you said "here's the old behaviour, here's what I changed, this part I'm unsure about". It took five minutes and they understood more than a page of description could tell them.

The Walkthrough field brings that back for remote and async teams. You record your screen, run the change, open the key files, and talk. The reviewer watches the reasoning instead of reconstructing it from a diff. An AI reviewer gets the same walkthrough as text: transcript, summary and key moments with frames, so it reviews against what you meant to build as well as what you wrote.

With Clipy, the walkthrough is a share link that plays with no signup to watch, and appending .arec gives the agent context document. On a recording's watch page, the Generate tab can also draft a PR description from the walkthrough: what changed, why, and how it was verified on screen.

How do AI code review tools fit into a PR workflow?

AI code review tools read a diff and leave comments, usually as a first pass before a human reviewer. The main kinds today:

  • Hosted PR reviewers such as CodeRabbit, which review pull requests automatically once installed on a repository.
  • Platform built-ins such as GitHub Copilot code review, which you request from the Reviewers menu or turn on for every pull request.
  • Coding agents run locally. Claude Code's /code-review reviews a branch, a path or a pull request number in a fresh subagent and can post inline comments with --comment. Codex CLI's /review opens review presets and reports prioritized findings without changing your working tree.

All of them see the diff. None of them saw you build it. The Walkthrough and Why fields give an AI reviewer the intent, which turns "this looks unusual" into "this does not match what the author said it should do". Anthropic's Claude Code guide recommends reviewing against a written spec and adding "skip style" to the request, because a reviewer asked to find problems will always find something.

Coding agents can also prove their own work. clipy proof turns the agent's screenshots or an existing recording of its verification run into a watch link and an agent context link, which the agent can paste into the Walkthrough field (proof of work for agents, CLI docs).

Code review checklist

Intent
[ ] I watched the walkthrough or read the description, and I know what this should do
[ ] The change solves the linked issue and nothing extra

Correctness
[ ] Edge cases handled: empty, null, error, large input, concurrency
[ ] Errors are handled and shown to the caller or user
[ ] Tests cover the new behaviour and would fail without the change

Security and data
[ ] No secrets, tokens or personal data in code, logs or fixtures
[ ] Input is validated; permissions are checked server side

Maintainability
[ ] Names say what things are; no dead code or leftover debug output
[ ] Follows existing patterns in the codebase

Release
[ ] Migration and rollback plan are clear
[ ] AI-written sections were checked by a person

Prompt: review a PR with the walkthrough

Use this in Claude Code or Codex from the repository. If the agent has Clipy connected through MCP, it reads the recording through Clipy's tools. Otherwise it can fetch the .arec link. Set it up once at /agent-setup.

Review pull request #<number>. Use `gh pr view <number>` and `gh pr diff <number>`
to read it.

First read the author's walkthrough: <Clipy recording link>. If you have the
Clipy MCP tools, use get_recording, get_transcript and get_key_moments;
otherwise fetch the same link with .arec appended. Summarize in three lines
what the author says the change should do.

Then review the diff against that intent. Report:
1. Places where the code does not match what the walkthrough says.
2. Correctness bugs and missing edge cases, with file and line.
3. Missing or weak tests.
4. Security or data handling problems.

Skip style and naming comments. For each finding give severity
(blocker / should fix / nit) and a suggested fix. Do not edit files.

Steps

  1. Create the file. Add .github/pull_request_template.md with the template above.
  2. Merge it to the default branch. GitHub only uses templates from the default branch.
  3. Record a walkthrough on your next PR. Two minutes: run the change, show the key files, say what you are unsure about.
  4. Add an AI first pass. Run a review tool or the prompt above before requesting a human review.
  5. Review with the checklist. Start from the walkthrough, then the diff.

FAQ

Where do I put a pull request template in GitHub? Save it as .github/pull_request_template.md, or pull_request_template.md in the root or docs/ folder, and merge it to the default branch.

Can I have more than one pull request template? Yes. Put several files in a PULL_REQUEST_TEMPLATE folder and choose one with the template query parameter on the pull request URL.

What should a good PR description include? What changed, why, how it was tested, risks and rollout, and a short walkthrough that shows the change running.

Are AI code review tools worth using? They catch a useful share of bugs quickly as a first pass. They work best with context about intent, so link the issue and a walkthrough, and keep a human reviewer for design decisions.

How do I get Claude Code to review a pull request? Run /code-review followed by the PR number in Claude Code, or use the prompt above to have it read the walkthrough first and review against it.

Sources

  • GitHub Docs, "Creating a pull request template for your repository" (file locations, PULL_REQUEST_TEMPLATE folder, template query parameter, default branch). https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository (accessed November 2026)
  • CodeRabbit, "State of AI vs Human Code Generation" (470 PRs; about 1.7x more issues in AI-coauthored PRs; logic and correctness issues 75% more common), December 17, 2025. https://www.coderabbit.ai/blog/state-of-AI-vs-human-code-generation-report
  • GitHub Docs, "Using GitHub Copilot code review on GitHub" (request from Reviewers, automatic reviews for all pull requests). https://docs.github.com/en/copilot/how-tos/copilot-on-github/use-copilot-agents/copilot-code-review (accessed November 2026)
  • Anthropic, "Review locally with /code-review" (PR number, branch or path targets, background subagent, --comment). https://code.claude.com/docs/en/code-review-local (accessed November 2026)
  • Anthropic, Claude Code best practices (review against a spec, "skip style"). https://code.claude.com/docs/en/best-practices (accessed November 2026)
  • OpenAI, Codex code review docs (/review opens the CLI review presets and reports prioritized findings without changing the working tree). https://learn.chatgpt.com/docs/code-review?surface=cli (accessed November 2026)

Show it instead of typing it

Record your screen and talk. Clipy gives the people you share with a video they can watch with no signup, and gives your AI agents the transcript, summary and key moments. 7-day free trial, no card.