Automated summary
Shows the diff of a pull request, including file changes, statistics, and the ability to focus on specific files.
Strengths
- Provides a quick overview with --stat
- Allows filtering by file with --file
- Auto-detects PR from the current branch
- Automatically fetches missing branches when needed
Limitations
- Requires a configured Git remote
- Can be slow for very large PRs
- Does not include commenting or approval functionality
Use this skill when you need to review the changes in a pull request, understand the scope of modifications, or prepare a code review.
Avoid using this skill if you need to comment on or approve the PR; use dedicated commenting or review skills instead.
Security analysis
SafeThe skill exclusively runs `aide pr diff` commands, which are read-only and display pull request changes. No destructive actions, data exfiltration, or execution of arbitrary code is involved.
No concerns found
How this analysis is madeExamples
Show me the changes in the current pull request with statistics.What files were modified in PR #42?Show the diff for the file src/auth/login.ts in this PR.name: pr-diff description: View pull request diff and code changes. Use when the user wants to see what changed in a PR, review code changes, understand the scope of modifications, or examine specific file changes. allowed-tools: Bash(aide:*)
View Pull Request Diff
View changes in a pull request including file diffs and change statistics.
When to Use
- User asks "what changed?" or "show me the changes"
- User wants to review code before approving
- User needs to understand the scope of modifications
- User wants to see a specific file's changes
How to Execute
Run:
aide pr diff [--pr <id|url>] [options]
Options
| Flag | Description |
|-------------|-------------------------------------------------------|
| --pr | PR ID or URL (auto-detected from branch if omitted) |
| --stat | Show summary statistics with line counts |
| --files | Show only changed file paths |
| --file | Show diff for a specific file path |
| --no-fetch| Skip auto-fetching missing branches (fetch by default)|
Output Includes
- Source and target branches
- Changed files with +/- line counts (with
--stat) - Full unified diff output (default)
- File list only (with
--files)
Best Practices
- Start with
--statto get an overview of changes - Use
--filesto see which files were modified - Focus on specific files with
--file <path>for detailed review - Auto-fetch is enabled by default - use
--no-fetchif branches are already local
Progressive Review Pattern
# 1. Get overview of changes
aide pr diff --stat
# 2. See which files changed
aide pr diff --files
# 3. Review specific file
aide pr diff --file src/auth/login.ts
Next Steps
After viewing PR diff:
- Use pr-comments skill to see related feedback
- Use pr-view skill for PR metadata
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/view-pull-request-diff-mmh8qqc5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/view-pull-request-diff-mmh8qqc5/download' --output '.skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md.part' && mv '.skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md.part' '.skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(aide:*)
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md' && test -s '.skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr-diff' && cp -R '.skill-downloads/view-pull-request-diff-mmh8qqc5' '.claude/skills/pr-diff'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/view-pull-request-diff-mmh8qqc5'openskills read 'view-pull-request-diff-mmh8qqc5'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/view-pull-request-diff-mmh8qqc5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.