---
name: Code Review
slug: code-review-23
category: Quality
description: Code Review reviews a Git diff against repository standards and the originating requirements. Use it for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.
github: "https://github.com/stevesolun/ctx/tree/main/.agents/skills/code-review"
language: Python
stars: 578
forks: 71
install: "npx degit https://github.com/stevesolun/ctx/tree/main/.agents/skills/code-review ~/.claude/skills/code-review"
installs_to: ~/.claude/skills/code-review
source_path: .agents/skills/code-review/SKILL.md
collection_size: 25
category_size: 1354
collection_url: "https://dirskills.com/collections/stevesolun/ctx"
added: 2026-08-25T05:13:57.751Z
last_synced: 2026-08-25T05:13:57.751Z
canonical_url: "https://dirskills.com/skills/code-review-23"
---

# Code Review

Code Review reviews a Git diff against repository standards and the originating requirements. Use it for pull requests, branches, work-in-progress changes, or changes since a commit, tag, or merge-base.

**Install:**

```bash
npx degit https://github.com/stevesolun/ctx/tree/main/.agents/skills/code-review ~/.claude/skills/code-review
```

## README

# Review code changes

## Establish scope

Honor a fixed point supplied by the user. Otherwise infer a sensible comparison
from the repository state, such as the default-branch merge-base. Ask only when
different choices would materially change the review.

Verify that the ref resolves and inspect the diff and relevant commit messages.
Report an empty or unavailable comparison instead of manufacturing findings.

## Collect references

Use the repository's actual standards and the originating issue, PRD, or spec
when available. Follow repository conventions for fetching tracker context. If
requirements cannot be found, review the standards axis and state that spec
conformance was not verified.

## Evaluate two axes

- **Standards:** Does the change follow documented repository conventions and
  avoid material design regressions?
- **Spec:** Does it implement the requested behavior without omissions,
  incorrect behavior, or unrelated scope?

Use deterministic checks for properties tooling can decide. For qualitative
review, load [review heuristics](references/review-heuristics.md) only when the
diff warrants deeper design analysis.

The axes are independent and may be evaluated concurrently when the diff is
large enough to benefit. Keep a small review local, and avoid parallel work
when coordination would cost more than it saves.

## Report

Lead with actionable findings, citing the affected file and evidence. Separate
documented violations from judgment calls and keep Standards and Spec findings
distinct so one axis cannot mask the other. State unavailable evidence and
report when no material findings remain.
