PR Analyzer
Understand PRs at a glance
A full TUI for reviewing pull requests with AI-generated summaries. Get instant insight into architecture alignment, test coverage, and code flow before diving into the diff. The Strategic Review wizard guides you through complex PRs.
Key Features
Architecture Alignment
AI detects if the PR follows existing patterns or introduces architecture drift. Flags deviations early.
Test Coverage Analysis
Shows what's tested and what's missing. Highlights critical paths without coverage.
Code-Flow Diagram
ASCII visualization of the logic flow. Understand complex changes without reading every line.
User Journey
For UI PRs: step-by-step user interaction flow. See how the feature works from a user perspective.
Dependency Graph
For backend PRs: service and module relationship visualization. Understand the blast radius.
Strategic Review Wizard
Guided walkthrough focusing on architecture, key changes, edge cases, and testing.
Commands
niyah pr-analyzer 123
Open PR #123 in the analyzer TUI
niyah pr-analyzer --repo owner/repo 45
Analyze PR from another repo
[r]
Start Strategic Review wizard
[s]
View AI summary