← ClaudeAtlas

pre-pr-reviewlisted

Comprehensive runbook and automated checklist for conducting a thorough code review before opening a Pull Request. Use this skill whenever the user asks to review changes before a PR, prepare a PR, audit branch diffs, verify code quality, check tests and formatting, or ensure client parity, accessibility, and UI performance.
wisnuwiry/padu · ★ 21 · Code & Development · score 71
Install: claude install-skill wisnuwiry/padu
# Pre-PR Code Review Skill Systematic, diff-scoped code review process that ensures every change meets Padu's quality bar before it becomes a Pull Request. The review covers automated verification, performance safety, client parity, accessibility, security, and produces a structured report with a ready-to-paste PR description. --- ## Step 0 — Determine Scope Before reviewing anything, establish *what changed* so every subsequent step focuses on the affected surface area: ```bash git diff --name-only origin/main...HEAD ``` Classify the changed files into domains: | Domain | Paths | Activates | | :--- | :--- | :--- | | **Rust native** | `apps/desktop/`, `crates/`, `Cargo.*`, `build.rs` | Rust format, check, test, performance audit | | **Wire protocol** | `crates/padu-protocol/` | Protocol sync, client package checks | | **Client package** | `packages/padu-client/` | Client typecheck & tests | | **Web client** | `apps/web/` | Web typecheck & tests | | **Mobile client** | `apps/mobile/` | Mobile typecheck | When a change touches `apps/desktop/src/` UI files (`app/`, `ui/`, `input/`, `browser/`, `terminal/`) but not `apps/web/`, flag a **parity warning**. The converse is also a warning. --- ## Step 1 — Run Automated Checks Execute the smart-scoped check runner: ```bash .agents/skills/pre-pr-review/scripts/run-checks.sh ``` Options: - `--base <ref>` — compare against a different base (default: `origin/main`) - `--full` — run every check regardless of changed files The