code-review-artifactslisted
Install: claude install-skill Naoray/skills
# Code Review Artifacts
Create review artifacts that help a human build a correct mental model before approval. This skill is about comprehension and risk triage, not approval.
**Evidence tier**: P (practitioner-backed)
**Basis**: program comprehension research (mental-model construction during code reading), change-impact analysis, code review risk triage. Predecessors: `flow-review` (mode → flow-map) and `xray` (mode → x-ray) in this registry.
**Source IDs**: program-comprehension literature (Sillito et al. on developer questions during code review), Google/Microsoft modern code review studies, Naoray internal `flow-review` + `xray` skills (now consolidated here).
**Reviewed**: 2026-05-12
## Context Budget
Read only:
1. This file.
2. `workflows/preflight.md`.
3. One mode workflow.
4. One principle file when the selected workflow asks for it.
Do not load every file in this skill. `evals/` is not runtime context.
## Route
Read this file. Then read exactly one of:
- `workflows/diff-brief.md` — summarize a branch's changes by purpose, list review risks (high/medium/low), suggest a next artifact.
- `workflows/flow-map.md` — trace changed logic and render ASCII runtime paths with `[NEW]`/`[MOD]`/`[REMOVED]` markers.
- `workflows/xray.md` — discover entry points, scope flows, render diagrams, evaluate for dead ends, missing error paths, wrong-direction coupling.
Heuristics:
- "what changed", "summarize this PR" → Diff brief.
- "show me the flow", "how does this run" → F