# Code Review

> Review code changes for correctness, security, test coverage, and style. Use when this capability is needed.

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

---


# /code-review

Spawns the `code-reviewer` agent to analyze your current changes and provide structured feedback.

## Steps

1. **Gather context** — detect the scope of changes to review:
   - If arguments are provided (file paths or PR number), use those as scope
   - Otherwise, use `git diff` (unstaged) and `git diff --cached` (staged) to determine what changed
   - Run `git log --oneline -5` for recent commit context

2. **Spawn the agent** — use the Task tool:
   ```
   Task tool with subagent_type="code-reviewer"
   ```
   Pass in the prompt:
   - The diff output (or file contents if reviewing specific files)
   - The list of changed files
   - Any project conventions from `.claude/rules/` that apply

3. **Present findings** — relay the agent's review to the user:
   - Group by severity: CRITICAL > WARNING > NIT > PRAISE
   - Include file paths and line numbers
   - Show suggested fixes for each finding

4. **Offer follow-up actions**:
   - "Fix critical issues?" — apply suggested fixes
   - "Run tests?" — verify fixes do not break anything
   - "Review again?" — re-run after changes

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/bis-code) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

