# Code Review

> Multi-lens code review against working directory changes. Evaluates diffs through configurable criteria like code-quality, maintainability, product-vision, and accessibility. Use when user says "review my changes", "review this code", "check before committing", or "code review". Use when this capability is needed.

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

---


# Code Review

Review working directory changes through configurable lenses — each lens evaluates the diff against specific criteria and project tools.

## Quick start

```
/review                          # All lenses, working dir diff
/review --lens code-quality      # Single lens
/review --lens quality,ux        # Multiple lenses
/review --base main              # Diff against a branch
/review --staged                 # Only staged changes
/review-lenses                   # List available lenses
/review-init                     # Scaffold lenses for this project
```

Or use the `code_review` tool directly for programmatic access.


## Lens format

Each lens is a markdown file in `.code-review/lenses/`:

```md
# Lens Name

Description of what this lens evaluates.

## Criteria
- Evaluation point 1
- Evaluation point 2

## Tools
- `npm run typecheck`
- `npm run lint`

## Severity
- blocker: What constitutes a blocking issue
- warning: What constitutes a warning
- note: What constitutes a note
```

## Configuration

Optional `.code-review.json` at project root:

```json
{
  "lensDir": ".code-review/lenses",
  "defaultLenses": ["code-quality", "maintainability"]
}
```

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

