prtea

Terminal PR dashboard with AI-powered review

Language
Go
Version
0.5.0
License
MIT
Category
Dev Tool

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

01

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

02

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

03

Interactive chat — ask Claude about PRs with streaming markdown responses

04

Hunk selection — focus AI analysis on specific diff sections

05

Review submission — approve, request changes, or comment inline

06

CI status tab with check results grouped by status

07

Per-reviewer approval breakdown with visual badges

08

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

09

Command palette (Ctrl+P) with autocomplete

10

Chat persistence — sessions saved and restored per PR

11

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

12

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.

01 · Install and authenticate the GitHub CLI

>_
$ brew install gh && gh auth login

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

02 · 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.

03 · 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