Skip to content
Academy ofAI Learning

Store / Claude Code Setup Kit

Claude skill · Developers

PR description

Pull request text a reviewer can test from without reading the diff first.

When Claude uses it (the skill's own description)

Write a pull request title and description from the branch's commits and diff: what changed, why, how to test it, what to look at, and what is not included. Use when asked to open a PR, write a PR description, or prepare a change for review. Produces text the reviewer can use without reading the diff first.

claude-code-setup-kit/skills/pr-description/SKILL.md

The skill, as Claude reads it

Plain text you can open, read and edit.

# Pull request description

A reviewer with ten minutes should be able to read the description, know what to look at, and test it, before opening a single file.

## Method

1. **Read the branch**: `git log main..HEAD --oneline` and `git diff main...HEAD --stat`, then the diff itself for anything that is not obvious from the commits.
2. **State the change in one sentence** from the user's or operator's point of view. That is the title, under 70 characters.
3. **Say why**: the problem, the ticket, or the decision. One short paragraph.
4. **Say what changed** as a list grouped by area, in plain words, not file names. Call out anything that changes behaviour for users, a database, a public API, configuration or a dependency.
5. **Say how to test it**: the exact commands or clicks, and the result the reviewer should see. Include the test run output you got.
6. **Say what to look at**: the two or three places where a mistake would matter most, so the reviewer spends their time there.
7. **Say what is not included**: follow-ups, known gaps, anything deferred, and whether a migration, a config change or a deploy step is needed.
8. **Check for anything that must not be in a PR**: secrets, customer data, debugging code, commented-out blocks. Remove them first.
9. **Open it** with `gh pr create` using a heredoc for the body, unless told only to draft. Show the URL.

## Shape

```
Title: <one sentence, under 70 characters>

## Why
<problem or decision, one paragraph; link the ticket>

## What changed
- <area>: <change in plain words>
- …
Behaviour changes: <list, or "none">
Database, config, dependencies: <list, or "none">

## How to test
1. <command or steps>
2. <expected result>
Test run: <command and summary of output>

## Where to look
- <file or area>: <why it matters>

## Not included
- <follow-ups, gaps, deploy steps>
```

## Rules

- No file-by-file narration; the diff already shows that.
- No "various fixes", "cleanup", "minor changes".
- If the project's `CLAUDE.md` or template asks for a checklist, attribution line or label, include it.
- British spelling. No em dashes.

Also in the Claude Code Setup Kit