Gh Pr Diff

Get the unified diff for a GitHub pull request. Use when the user wants to see code changes, review a diff, or understand what changed in a PR. Use when this capability is needed.

tomevault-io d848051 2 files · 1.8 KB Updated

File contents

gh-pr-diff

Retrieve the unified diff for a GitHub pull request, showing all code changes in standard diff format.

Command

python3 .claude/skills/gh-pr-diff/scripts/get_diff.py --owner OWNER --repo REPO --pr-number PR_NUMBER

Arguments

Argument Required Description
--owner Yes Repository owner (username or organization)
--repo Yes Repository name
--pr-number Yes Pull request number

Usage Examples

# Get diff for PR #42 in octocat/hello-world
python3 .claude/skills/gh-pr-diff/scripts/get_diff.py --owner octocat --repo hello-world --pr-number 42

# Get diff for a PR in the current project
python3 .claude/skills/gh-pr-diff/scripts/get_diff.py --owner my-org --repo my-repo --pr-number 123

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/y-hirakaw--mcp-gh-pr-mini--gh-pr-diff commit d848051b87

Frequently asked questions

npx skillmds@latest add tomevault-io/gh-pr-diff