Our review
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
Examples
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
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.