Skip to content
Skill

PR

Gives the agent a structured template for writing pull request bodies

PR is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
326K
Last commit
License
MIT
Listing updated

Similar skills

About PR

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (5 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

PR 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.

More from mattpocock/skills

  1. Guides the agent through test-first red-green-refactor development with vertical slices

    • Open source
    • 326K GitHub stars
    • Developer tools
  2. Recommends which skill or flow in Matt Pocock's engineering set fits your situation

    • Open source
    • 326K GitHub stars
    • Developer tools
  3. Reviews a branch or PR in two parallel passes: repo coding standards and match to the spec

    • Open source
    • 326K GitHub stars
    • Developer tools
  4. Teaches a deep-module vocabulary for designing interfaces, seams and testable code

    • Open source
    • 326K GitHub stars
    • Design and media
  5. Runs a six-phase debugging loop that begins by building a fast pass-fail signal

    • Open source
    • 326K GitHub stars
    • Developer tools
  6. Maintains a project glossary and architecture decision records while a design is discussed

    • Open source
    • 326K GitHub stars
    • Developer tools