AI product Open source
oss-pr-reviewer is an AI-powered command-line tool for reviewing GitHub pull requests and producing structured Markdown or JSON reports for maintainers. It fetches pull-request metadata and changed-file patches with Octokit, normalizes reviewable content, skips binary, patchless, truncated, and oversized files with explanations, and splits large text diffs into deterministic batches without cloning or executing the repository code.
The tool sends batched changes to OpenAI for structured findings, validates responses with Zod, then merges, deduplicates, orders, and filters findings by severity. It can apply repository-specific review rules and ignored paths from a trusted base-branch `.oss-pr-reviewer.yml` file, retry transient GitHub and OpenAI failures, and optionally publish bounded advisory reports through GitHub Actions. It requires Node.js 20 LTS or newer and, according to the repository, is run from a checkout because its package-ready release is not yet published to npm.
1 use taken from transcripts — each links to the moment in the video.
Turns GitHub pull requests into structured Markdown reviews without cloning or executing their code. It fetches and batches patches, requests findings, validates and deduplicates them, and uses rules from the trusted base branch.
1 in the library.