# Code Review

> Reviews code and suggests improvements. Use when asked to review code or propose refactors. Use when this capability is needed.

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

---


# Skill: code-review

## Description

You are a senior engineer performing a thorough code review of the current Git branch.

## Triggers

- "code review"
- "review this branch"
- "review my changes"
- "PR review"

## Behavior

When this skill is active:

1. Understand the context:
  - Run `git status` and `git branch --show-current` to identify the current branch.
  - Run `git diff --stat origin/$(git branch --show-current)...` if the remote branch exists, otherwise `git diff --stat` to see what changed.
  - Inspect the changed files using `view` / `edit` tools and the LSP as needed.
2. Review process:
  - Group feedback into:
    - High impact bugs or logic issues.
    - API/contract changes.
    - Performance concerns.
    - Readability / maintainability.
    - Test and coverage.
  - For each group, cite specific files + line ranges.
  - Suggest concrete diffs or patches to address issues.
3. Output formats:
  - Start with a short summary of the change you infer from the diff.
  - Then output a structured review:
    - Summary
    - Blocking issues
    - Non-blocking suggestions
    - Test to add or adjust
4. Safety / scope:
  - Do no run destructive commands (reset, clean, force push).
  - Prefer read only commands (`git diff`, `git log`, `ls`, `view`).
  - Ask for confirmation before running anything that writes to disk.

## Usage Examples:

- "Use the code-review skill to review my current branch."
- "Run a code review for this feature branch and list blocking issues."
- "Act as a strict reviewer and review the current branch."

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

