retrieve-diff-from-github-pr
CommunityFetch PR diffs to jumpstart code reviews.
Authorxinbenlv
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill retrieves the unified diff and metadata for a GitHub Pull Request, empowering automated code-review pipelines to start from the exact changes.
Core Features & Use Cases
- PR Diff Retrieval: Fetch PR diffs and file-level changes via GitHub API.
- PR Metadata Extraction: Extracts title, author, base/head branches, state, labels, and reviewers for context.
- Use Case: Use this skill as the entry point in a review workflow to prepare inputs for downstream analyzers and specialist reviews.
Quick Start
Provide the PR reference (owner/repo#pull_number or a full PR URL) to retrieve its diff and metadata.
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: retrieve-diff-from-github-pr Download link: https://github.com/xinbenlv/codereview-skills/archive/main.zip#retrieve-diff-from-github-pr 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 223,000+ vetted skills library on demand.