UNRELEASED DEVELOPMENT SNAPSHOT · READ-ONLY EXCERPT
skills/review/SKILL.md
This is the cited technical source at local revision 275a354, inspected on 22 September 2026. It differs from the public release. This reference publishes only the cited sections, not an installable release or the development branch.
Line numbers refer to the complete recorded file. Uncited lines are omitted. Full-file SHA-256: 1f8c86b664e927d0e98d3be1e10bac97469930c62e8f6f553e0c7e4575ffd9c9.
1
---2
name: review3
layer: foundation4
description: Use after BUILD, before SHIP, to adversarially review what was built — checks spec compliance, code quality, the active pack's compliance gates, and cross-artifact consistency. A P1 finding blocks SHIP until resolved.5
color: cyan6
tools: Read, Bash, Grep, Glob7
voice: internal8
cli_support: [claude-code, codex, copilot]9
necessity: STRONGLY_RECOMMENDED10
gap_if_skipped: "Unreviewed code reaches SHIP with no signal; spec-compliance and compliance gates never fire yet a ship-ready verdict is asserted."11
---13
You are the REVIEW skill — Phase 6 of the Lintel cycle.15
## What this skill does… omitted uncited lines …
180
- `codex exec` with read-only sandbox181
- Prompt: "Independent reviewer. 5 representative diffs. Spot what internal review may have missed. Output: P1/P2/P3 findings."182
- Run with 5-min timeout183
- Surface output verbatim under "OUTSIDE VOICE (Codex):" header184
- Cross-synthesize with internal findings186
If unavailable: skip silently.188
### Step 7 — Write artifacts190
**`review-report.md`** (`.claude/runtime/state/review-report-<datetime>.md`):191
```markdown192
# Review report: <wedge title>194
**Phase:** REVIEW195
**Date:** <date>196
**Stage 1 (spec compliance):** PASS | FAIL (N iterations)197
**Stage 2 (code quality):** PASS | FAIL (N iterations)198
**Stage 3 (compliance gates):** PASS | FAIL (per gate breakdown)200
## Stage 1 — Spec compliance findings201
[per-task deviations and fixes applied]203
## Stage 2 — Code quality findings204
### P1 (block ship)… omitted uncited lines …
222
[Codex output verbatim]224
## Verdict225
- Ship-ready: <yes/no/yes-with-caveats>226
- Remaining concerns: <list>227
- Loop-back recommended: <to BUILD if P1 unaddressed; to PLAN if scope-gap; to DEFINE if requirements unclear>228
```230
**`compliance-report.md`** (if the active pack defines compliance gates):231
- Per-gate breakdown for audit trail232
- Path: `.claude/runtime/state/compliance-report-<datetime>.md`234
### Step 8 — 00-state.md append236
Mechanical since v5.0 (ADR-0008) — one command, not a YAML obligation. `next=` is SHIP, or BUILD on loop-back, or DEFINE on scope gap; per-stage detail lives in review-report.md:238
```bash239
_sl="${LINTEL_SOURCE_ROOT:-${LINTEL_REPO_ROOT:-$(git rev-parse --show-toplevel 2>/dev/null)}}/lib/state.sh"240
[ -f "$_sl" ] || _sl="$HOME/.lintel/lib/state.sh"; source "$_sl" # installed by install.sh in consumer repos241
state_append REVIEW <DONE|DONE_WITH_CONCERNS|BLOCKED> next=<SHIP|BUILD|DEFINE> review_report_path=<path> p1_findings=<count> p2_findings=<count> p3_findings=<count> ship_ready=<yes|no|yes-with-caveats>242
```244
## Status protocol246
- **DONE** — all stages PASS, P1 findings addressed, ship-ready… omitted uncited lines …
271
- optional swarm coordination plus all lane reports/reviews and integration attribution272
- plan.md (PLAN phase)273
- design doc (DEFINE phase)274
- build-log.md (BUILD phase)275
- CORE-PRINCIPLES.md276
- the active pack's compliance gates (`resolve_pack_field compliance.hooks`; none by default)277
- the active pack's voice corpus (`resolve_pack_field voice.corpus`; none by default — if voice gate)278
- `.claude/memory/lessons.md` (via `/li:lessons-surface`, keyword-scoped, non-blocking)280
**Writes:**281
- `.claude/runtime/state/review-report-<datetime>.md`282
- `.claude/runtime/state/compliance-report-<datetime>.md` (if the active pack defines compliance gates)283
- `.claude/runtime/state/00-state.md` (REVIEW entry)284
- `.claude/runtime/audit/review-metrics.jsonl`286
**Triggers:**287
- SHIP if PASS288
- BUILD loop-back if P1 unfixed289
- DEFINE loop-back if scope gap revealed291
## Recommended agents (concentrated review pool)293
**Engineering:**294
- CodeReviewer — primary for Stage 1 + 2295
- SanityChecker — cross-component architectural sanity296
- DebugForensics — if reviews reveal bug297
- RegressionDetective — if regression suspected