# PR

> PR is an open-source agent skill for developer tools. Gives the agent a structured template for writing pull request bodies. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mattpocock/skills/tree/main/skills/engineering/pr
- **Repository:** https://github.com/mattpocock/skills
- **GitHub stars:** 326,295
- **License:** MIT
- **Skill name:** pr
- **Collection:** https://github.com/mattpocock/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-30

## About

This skill guides the agent to write pull request descriptions using a fixed template with a Summary, Evidence and Merge Danger section. The Summary asks for the smallest useful visual, such as pseudocode, a call tree, a file tree, a diff or a Mermaid diagram, chosen to match the point being made. Evidence is meant to show a before and after, with screenshots preferred when the change is visual and test output otherwise. Merge Danger states whether the change is a one-way or two-way door and describes its blast radius, covering things like layout shifts or consumer breakages.

The instructions push the agent toward brief prose and no preamble, and they reference a GLOSSARY.md file so the PR uses the project's own domain terms. The skill runs no scripts and needs no external tools; it works by shaping the text the agent writes. It is credited as derived from an earlier skill by Humanlayer.

## When your agent uses it

> Use when writing a PR body.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mattpocock/skills/tree/HEAD/skills/engineering/pr)
- [License: MIT](https://github.com/mattpocock/skills/tree/HEAD/skills/engineering/pr)

## Features

- **Fixed PR body template:** Provides a markdown skeleton with Summary, Evidence and Merge Danger sections to fill in.
- **Visual summary guidance:** Explains when to use pseudocode, call trees, file trees, diffs or Mermaid diagrams to explain a change.
- **Before and after evidence:** Asks for screenshots or test output showing the behaviour before and after the change.
- **Merge risk assessment:** Prompts the agent to classify the change as a one-way or two-way door and note its blast radius.
- **Project glossary alignment:** Directs the agent to use domain language from a GLOSSARY.md file when one exists.

## Good for

- Write a PR description for a refactor that moves files around
- Draft a PR body showing before and after test results
- Describe the merge risk of a database or API change in a PR
- Summarise a UI component change in a PR with a component tree

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/pr` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattpocock/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/pr &&
cp -R "$tmp/skills/engineering/pr" ~/.claude/skills/pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/pr` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/pr` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattpocock/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/pr &&
cp -R "$tmp/skills/engineering/pr" ~/.agents/skills/pr &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/pr` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/pr` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattpocock/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/pr &&
cp -R "$tmp/skills/engineering/pr" ~/.cursor/skills/pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/pr` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mattpocock/skills.git --path skills/engineering/pr
```

Or copy the folder to `~/.gemini/skills/pr` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/pr`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mattpocock/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/pr &&
cp -R "$tmp/skills/engineering/pr" ~/.copilot/skills/pr &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/pr` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mattpocock/skills.git
```

Then copy `skills/skills/engineering/pr` into your agent's skills folder as `pr`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does PR trigger?

It is meant for tasks where the agent is writing a PR body, according to its description.

### Does PR need any scripts or tools?

No scripts are included and no allowed tools are set. It works through instructions alone.

### What does the PR template contain?

A Summary section with a visual, an Evidence section with before and after material, and a Merge Danger section covering the door type, a blast radius and possible ramifications.

### Does PR expect a glossary file?

It tells the agent to use domain language from GLOSSARY.md, so that file is expected to exist in the project for that step.

### How do I install PR in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/pr to use it in all your projects, or to .claude/skills/pr in one project.

### Does PR run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use PR?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to PR?

The closest alternatives to PR are PR writer, Make PR easy to review, PR review, Get PR comments and Run by experts.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [PR writer](https://ai-powered.com/skills/pr-writer): PR writer is an open-source agent skill for developer tools.
- [Make PR easy to review](https://ai-powered.com/skills/make-pr-easy-to-review): Make PR easy to review is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review): PR review is an open-source agent skill for developer tools.
- [Get PR comments](https://ai-powered.com/skills/get-pr-comments): Get PR comments is an open-source agent skill for developer tools.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [PR address feedback](https://ai-powered.com/skills/pr-address-feedback): PR address feedback is an open-source agent skill for developer tools.
- [Prd vXX skill name](https://ai-powered.com/skills/prd-vxx-skill-name): Prd vXX skill name is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/pr
