prtea

Terminal PR dashboard with AI-powered review

Go v0.5.0 MIT
View on GitHub

A three-panel TUI built with Bubbletea for reviewing GitHub PRs without leaving the terminal. Browse PRs, review diffs, and chat with Claude AI about changes — with hunk selection, review submission, CI status, and streaming markdown responses.

Preview

Features

Three-panel layout — PR list, diff viewer, and AI chat side-by-side

AI-powered analysis — one-key risk assessment and architecture review

Interactive chat — ask Claude about PRs with streaming markdown responses

Hunk selection — focus AI analysis on specific diff sections

Review submission — approve, request changes, or comment inline

CI status tab with check results grouped by status

Per-reviewer approval breakdown with visual badges

Search in diff with / and navigate matches with n/N

Command palette (Ctrl+P) with autocomplete

Chat persistence — sessions saved and restored per PR

Vim-style navigation (j/k, Ctrl+d/u, g/G)

Demo mode — 6 fictional PRs, no prerequisites needed

Install

Homebrew

$ brew install shhac/tap/prtea

GitHub Release (macOS)

$ curl -L https://github.com/shhac/prtea/releases/latest/download/prtea-darwin-arm64.tar.gz | tar xz

Build from Source

$ git clone https://github.com/shhac/prtea.git && cd prtea && make build

Getting Started

prtea relies on external CLIs to talk to GitHub and power AI features. Install and authenticate these before launching.

1. Install and authenticate the GitHub CLI

$ brew install gh && gh auth login

Required. prtea uses gh to fetch PRs, diffs, and submit reviews.

2. Install Claude Code (optional)

$ npm install -g @anthropic-ai/claude-code

Enables AI-powered PR analysis and interactive chat. Without it, prtea works as a pure diff viewer and review tool.

3. Try the demo mode

$ prtea --demo

Explore the UI with 6 fictional PRs — no GitHub auth or Claude needed.

Usage

Launch the dashboard
$ prtea
Try the demo mode
$ prtea --demo