pr-diff
CommunityReview PRs with clean, noise-free diffs.
Software Engineering#code review#pull request#GitHub CLI#git diff#merge-base#three-dot diff#diff truncation
Authoraustintheriot
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Producing a review-ready diff for a long-lived PR is hard because repeated merges pollute git diff output with many irrelevant commits and changes.
Core Features & Use Cases
- Three-dot diff for true change sets: generates a “only what this branch adds” view by using merge-base logic instead of noisy two-dot comparisons.
- PR-aware context when available: accepts a PR number, branch name, or git range, then fetches PR metadata (title, author, body, base/head SHAs) when a PR association is found.
- Reviewer-friendly output controls: applies default exclusion globs to reduce noise (optionally overridable) and truncates very large diffs while still providing a useful excerpt.
Quick Start
Run the pr-diff skill with the PR number you want to review and read the returned structured summary plus the clean diff.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pr-diff Download link: https://github.com/austintheriot/dotfiles/archive/main.zip#pr-diff Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.