PR Explainer AI
Version updated for https://github.com/rafaeltorresng/pr-explainer-action to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
What’s Changed
Understanding is the new bottleneck
- Generates architectural background and change intuition from the PR diff
- Builds HTML flow diagrams and a code walkthrough
- Includes a 5-question interactive quiz for review comprehension
- Supports OpenRouter with configurable model selection
- Defaults to
deepseek/deepseek-v4-flash
How it works:
- Computes the diff against the PR base branch
- Skips oversized patches based on a configurable line threshold
- Sends the diff to an OpenRouter model
- Renders a standalone HTML artifact
- Uploads the result to the workflow run and can comment on the PR
Recommended usage:
actions/checkout@v4withfetch-depth: 0pull-requests: writepermission if PR comments are enabledOPENROUTER_API_KEYstored as a repository secret