PRBrain - AI PR Analyzer
Version updated for https://github.com/buildthingsuseful/prbrain to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
PRBrain is a GitHub Action that leverages AI to automate pull request analysis and enhance code review processes. It provides features such as intent extraction, AI-generated content detection, duplicate PR identification, and alignment checks against project goals, while scoring PRs on quality metrics like structure, tests, and documentation. This tool simplifies and accelerates code reviews, helping developers identify issues, gaps, and potential improvements in pull requests.
Release notes
🧠 PRBrain v1.0.0
AI-powered PR analysis for GitHub. Free and open source.
Features
- 💡 Prompt Intent Extraction — Reverse-engineers the likely goal behind every PR
- 🤖 AI Detection — Identifies AI-generated PRs with confidence scores
- 🔄 Duplicate Detection — Finds similar open PRs and issues via embeddings
- 📐 Vision Alignment — Checks PRs against your project’s VISION.md
- 📊 Quality Scoring — Scores PRs on tests, size, structure, docs, and complexity
Quick Start
- Add the workflow file to your repo
- Set
OPENAI_API_KEYas a repository secret - Open a PR — PRBrain comments automatically
See README for full setup guide.
What’s Next
- Better duplicate detection across issue history
- Configurable comment sections
- More LLM provider support
Free and open source. Contributions welcome!