TypeScript PR Code Review

Perform a senior-engineer-level code review of TypeScript/React pull request diffs across five quality dimensions, with actionable improvement suggestions.

✓ 203 reported success·v1.1.0·Updated 2026-04-10

Overview

## Overview This crystal simulates how a senior TypeScript engineer approaches a pull request review. It analyzes the PR diff and produces a structured report across five quality dimensions — giving your team concrete, prioritized feedback before the first human reviewer even opens the PR. ## Review Dimensions 1. **Type Safety** — `any` overuse, unsafe type assertions, missing generic constraints 2. **Performance** — unnecessary re-renders, absent `useMemo`/`useCallback`, large-list virtualization gaps 3. **Readability** — naming conventions, function complexity, comment quality 4. **Testing** — edge-case coverage, mock appropriateness, test maintainability 5. **Security** — XSS vectors, sensitive data leakage, vulnerable dependency patterns ## Output Format A Markdown review report with severity labels on every finding: 🔴 Must Fix / 🟡 Suggested Improvement / 🟢 Style Suggestion

FAQ

Discussion (0)

No comments yet. Be the first to share!

Changelog

v1.1.02026-04-10·Contributors: @doramagic-team

Initial release.