pr

Structure pull request bodies with visual summaries, evidence, and merge risk assessment.

309k|26.0k|Updated Feb 3, 2026
Ready to run
npx skills add https://github.com/mattpocock/skills --skill pr-mattpocock
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/mattpocock/skills/tree/main/skills/engineering/pr
Command: npx skills add https://github.com/mattpocock/skills --skill pr-mattpocock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing clear, reviewable PR descriptions is tedious and inconsistent. This Skill eliminates guesswork by providing a structured template that ensures reviewers understand the change, see concrete evidence, and grasp potential risks before merging. ## Core Features & Use Cases - Visual Summary: Choose from pseudocode, call trees, component trees, file trees, Mermaid diagrams, or diffs to illustrate the core change. - Evidence Section: Include before/after screenshots or test results proving the change works. - Merge Danger Assessment: Classify the PR as one-way or two-way door and describe the blast radius. - Use Case: A backend engineer refactors session state management. Use this Skill to show a component tree diff, include test results, and explain why rolling back is risky—helping reviewers approve with confidence. ## Quick Start Use the pr skill to write a pull request description for your changes, including a visual summary of the logic or file structure, evidence that the change works, and an assessment of merge risk.

Frequently Asked Questions about pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What visuals should I include in a PR summary?▼

Choose the smallest view that makes your point clear: pseudocode for algorithms, call trees for runtime flow, component trees for UI changes, file trees for refactors, Mermaid diagrams for interactions, or diffs for concrete changes. Use only what illustrates the key decision.

How do I describe merge danger in a PR?▼

Classify the change as a one-way door (cannot roll back) or two-way door (easily reversible). Then describe the blast radius—potential impact scope like layout shifts, API breakages, or mobile responsiveness issues.

What evidence should I provide in the PR body?▼

Screenshots are preferred for visual changes. For logic changes, include test results showing the exact test that now passes. Include both before and after states to prove the change works.

Should I include my entire commit message in the PR description?▼

No. Keep prose brief and skip preambles. Use domain language from your project glossary. Focus on the change itself, not background context.

What file formats does the skill support for diffs?▼

The skill uses standard diff format for component changes, file-layout changes, call-tree changes, and state or control-flow changes. Match the diff shape to the type of change you are documenting.