smithery.ai

pr-diff

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.

First seen Apr 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash(aide:*)

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,968 B
  • docs SUMMARY.md 202 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

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

  1. Source and target branches
  2. Changed files with +/- line counts (with --stat)
  3. Full unified diff output (default)
  4. File list only (with --files)

Best Practices

  • Start with --stat to get an overview of changes
  • Use --files to see which files were modified
  • Focus on specific files with --file <path> for detailed review
  • Auto-fetch is enabled by default - use --no-fetch if 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