Fetches and displays GitHub pull request diffs with line-number annotation for easier code review.
Install
mkdir -p .claude/skills/fetch-diff && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4478" && unzip -o skill.zip -d .claude/skills/fetch-diff && rm skill.zipInstalls to .claude/skills/fetch-diff
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Fetch PR diff with filtering and line numbers for code review.Key capabilities
- →Fetch a pull request diff from GitHub
- →Add line numbers to the diff for review
- →Filter diffs by file patterns
- →Mask diffs for auto-generated files
- →Mask diffs for deleted files
How it works
The skill fetches a pull request diff, annotates lines with numbers, and applies filtering based on provided file patterns, masking auto-generated or deleted files.
Inputs & outputs
When to use fetch-diff
- →Review PR diffs in terminal
- →Filter PR changes by file type
- →Add review comments with line numbers
About fetch-diff
Retrieves PR diffs from GitHub, applies filters for specific file patterns, and formats them with line numbers. This simplifies the review process by providing context.
Fetch PR diff with filtering and line numbers for code review.
Prerequisites
How it compares
This skill automates the process of fetching, formatting, and filtering PR diffs with line numbers, which is more efficient than manually reviewing raw diff outputs.
Compared to similar skills
fetch-diff side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| fetch-diff (this skill) | 1 | 5mo | Review | Beginner |
| resolve-conflicts | 81 | 10mo | Review | Intermediate |
| dependency-upgrade | 26 | 6mo | Review | Intermediate |
| git-commits | 21 | 5mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by mlflow
View all by mlflow →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
github-multi-repo
ruvnet
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
git-workflow-enforcer
CrazyDubya
Ensures commits follow conventional commits, branch naming conventions, and PR templates. Use when creating commits, branches, or PRs, or when user mentions git workflow.