PRs on Edge is a generative UI agent that reads your open GitHub pull requests and dynamically renders the right interface for the moment: a swipe stack, a risk matrix, a contributor-focused view, a dependency graph, or a category-grouped board.

There is no fixed dashboard to configure. The agent analyzes repository state and decides what to show, how to show it, and in what priority order.

This is not a chatbot wrapped in a UI. It is a copilot that ships, rendering interactive components inline so you can confirm, tweak, and execute actions directly from a handheld or edge device.

The Problem

Pull request reviews are still stuck on desktop dashboards. Engineers context-switch between their IDE, GitHub, Slack, and email just to stay on top of open PRs. Reviews pile up, blockers go unnoticed, and high-risk changes get buried in routine noise.

Existing tools give you a list. PRs on Edge tries to give you a decision interface.

What We Built

The agent reads your open PRs and chooses one of five generative views based on what it finds.

The user can still ask the agent to switch views or drill into a specific PR at any time, but the default surface is chosen by the system rather than configured manually.

The Five Views

SwipeStack is the fastest review mode: one pull request at a time, with explicit approve, skip, or inspect actions.

PRs on Edge swipe mode

RiskMatrix turns the queue into a severity surface so the reviewer can see whether the real problem is low-risk maintenance or a handful of changes that deserve immediate attention.

PRs on Edge risk matrix mode

ContributorFocus becomes useful when one contributor or team owns a disproportionate share of open work and the review bottleneck is coordination, not just prioritization.

PRs on Edge contributor focus mode

DependencyGraph is the structure-aware view: it shows whether PRs are independent or whether merge order matters because changes reference or block one another.

PRs on Edge dependency graph mode

CategoryGroup is the batching view, grouping PRs by feature, testing, maintenance, and similar patterns so reviewers can process like with like.

PRs on Edge category group mode

Risk Scoring

Every PR is scored from 0 to 100 using a lightweight runtime heuristic based on additions, deletions, number of changed files, and whether sensitive paths such as auth/, billing/, payment/, or schema are touched.

No external scoring service and no heavy model are required. The point is to make risk visible fast enough to shape the interface in real time.

PR Classification Parameters

Before rendering any UI, the agent classifies pull requests across four dimensions:

  1. Category grouping — bug fix, refactor, maintenance, or new feature.
  2. Dependency graph — identifies blocking chains so reviewers do not merge out of order.
  3. Priority ranking — pushes older and unreviewed PRs upward so they do not disappear into backlog noise.
  4. Release targeting — maps PRs to upcoming release targets and splits them by feature vs bug fix.

GitHub API Surface

The agent relies on a small, focused tool surface:

Why This Matters

Most AI tools stop at recommendation text: “you have 12 open PRs” or “this change looks risky.”

PRs on Edge tries to go one step further. The output is not just analysis. It is an interface the user can act on directly: swipe, filter, inspect, approve, or merge. The UI is generated by the agent, not preconfigured by the user.

That is the core idea behind the project: replacing static dashboards with review interfaces that emerge from context.

Explore the Work