What problem does it solve? Reviewing pull requests requires locating the correct head and base commits and generating readable diffs, which is tedious when done manually across different trigger contexts like PR comments or issue references. ## Core Features & Use Cases - Context-Aware SHA Resolution: Automatically detects whether the run is triggered by a PR comment (via CNB environment variables) or by a user-mentioned PR number, then resolves head and target SHAs through the CNB API. - Flexible Diff Extraction: Produces changed file lists, diff statistics, full diffs with configurable context lines, and per-file diffs using git three-dot comparison. - Noise Filtering: Excludes lock files, images, binaries, build artifacts, and dependency directories so reviews focus on meaningful code changes. - Use Case: During an automated code review on CNB, fetch the diff of PR !45, exclude package-lock.json and dist files, and summarize the actual source code changes. ## Quick Start Get the diff for pull request !45, excluding lock files and build artifacts, and summarize the code changes.