# Code Review

> Review code for bugs, improvements, and best practices. Use when asked to review a file, PR, or codebase. Use when this capability is needed.

- Skill: `tomevault-io/code-review-197` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/code-review-197`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/code-review-197/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/code-review-197

---


# Code Review

## Review Checklist
1. **Correctness** — Does it do what it's supposed to?
2. **Edge cases** — What happens with null, empty, boundary values?
3. **Error handling** — Are errors caught and handled properly?
4. **Security** — Any injection, exposure, or auth issues?
5. **Performance** — Any obvious bottlenecks or N+1 queries?
6. **Readability** — Clear naming, reasonable complexity, good comments?
7. **Testing** — Are tests present and meaningful?

## PR Review via GitHub
```bash
# List open PRs
gh pr list

# View PR details
gh pr view NUMBER

# View PR diff
gh pr diff NUMBER

# Add review comment
gh pr review NUMBER --comment --body "COMMENT"

# Approve
gh pr review NUMBER --approve

# Request changes
gh pr review NUMBER --request-changes --body "REASON"
```

## Output Format
For each issue found:
- **Severity:** 🔴 Critical / 🟡 Warning / 🔵 Suggestion
- **Location:** file:line
- **Issue:** What's wrong
- **Fix:** How to fix it

---
> Source: [JansenAnalytics/claudex](https://github.com/JansenAnalytics/claudex) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

