# Review Pr

> Thorough code review of current changes or a specific PR Use when this capability is needed.

- Skill: `tomevault-io/review-pr-6` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/review-pr-6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/review-pr-6/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/review-pr-6

---


Review changes for: $ARGUMENTS

1. **Get the diff:**
   - If $ARGUMENTS is a PR number: `gh pr diff $ARGUMENTS`
   - If no arguments: `git diff` and `git diff --staged` for uncommitted changes

2. **For each changed file, check:**
   - **Correctness:** Does the logic do what it claims? Any off-by-one errors, race conditions, or wrong assumptions?
   - **Types:** Are TypeScript types accurate and strict? Are Go errors properly handled?
   - **Security:** No exposed secrets, no injection vectors, no reentrancy (contracts), no XSS
   - **Tests:** Are new functions tested? Are edge cases and error paths covered?
   - **Exports:** If public API changed, is the barrel `index.ts` updated? (sdk-compat: no SSR-unsafe re-exports)
   - **Docs:** If behavior changed, are README/CLAUDE.md/migration docs updated?
   - **Style:** Consistent with existing patterns in the file and project conventions

3. **Categorize findings:**
   - **CRITICAL:** Must fix before merge (bugs, security issues, data loss risk)
   - **WARNING:** Should fix (missing tests, poor error handling, incomplete docs)
   - **SUGGESTION:** Nice to have (naming improvements, minor refactors, style tweaks)

4. **Give an overall verdict:** APPROVE / REQUEST CHANGES / COMMENT

---
> Source: [layer-3/nitrolite](https://github.com/layer-3/nitrolite) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-17 -->

