reviewlisted
Install: claude install-skill Borda/AI-Rig
# Review
Run a linear review loop with strict output gates.
## Input Schema
```json
{
"scope": "working-tree|path|commit",
"target": "optional path or commit ref",
"done_when": "blocking issues are identified with gate decision"
}
```
## Workflow (Exact Commands)
1. Create run directory.
```bash
TS=$(date -u +%Y-%m-%dT%H-%M-%SZ)
OUT_DIR=".reports/codex/review/$TS"
mkdir -p "$OUT_DIR"
```
2. Resolve scope and collect diff.
```bash
git status --short >"$OUT_DIR/status.txt"
git diff --name-only >"$OUT_DIR/files.txt"
```
3. Read the changed files end-to-end and identify findings before considering any fix or gate outcome.
4. Cross-check every blocking finding against surrounding context and existing project patterns before reporting it. Critical/blocking findings require an independent second pass when feasible; if unconfirmed, downgrade or mark the evidence gap explicitly.
5. Run shared quality gates.
```bash
.codex/skills/_shared/run-gates.sh \
--out "$OUT_DIR" \
--lint "${LINT_CMD:-uv run --no-sync ruff check .}" \
--format "${FORMAT_CMD:-uv run --no-sync ruff format --check .}" \
--types "${TYPES_CMD:-uv run --no-sync mypy src/}" \
--tests "${TESTS_CMD:-uv run --no-sync pytest -q}" \
--review "${REVIEW_CMD:-git diff --check}"
```
6. Classify findings using `../_shared/severity-map.md`.
7. If no findings are present, state that explicitly and note any residual risks.
8. Write man