Check that a change does what the task asked by running the project's own meters and checks — build, tests, the checks the project registers — and reading each row of the task's acceptance, then give the behavior verdict with the level every failure returns to. Use when the user invokes sdd-code-review or /sdd-review, or during execution verification.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sdd Code Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zakyrion-sdd-code-review)
---
name: sdd-code-review
description: Check that a change does what the task asked by running the project's own meters and checks — build, tests, the checks the project registers — and reading each row of the task's acceptance, then give the behavior verdict with the level every failure returns to. Use when the user invokes sdd-code-review or /sdd-review, or during execution verification.
---
# Load
```clojure
{:requires [".sdd-flow/references/CLOJURE_NOTATION.md"]
:light "this file is the whole procedure — the glossary is the only other read"
:missing (:then (stop!)
(tell-user! "run sdd-flow doctor ."))
:project (when (project-adapter-present? ".sdd-flow/project.md")
(:then (read-last! ".sdd-flow/project.md")))
:adapter-gives "# Meters — the instruments that mean done here — and the check tools of # Tools"}
```
# Activate
```clojure
{:fits "code that was just written or changed, and a statement of what it must do"
:by #{"the user invokes the skill or /sdd-review, naming the change — a diff, files, a task"
"the lifecycle, during execution verification"}
:runs-in "this session — it reads what the instruments print, not every file as a stranger"
:mutates "# Acceptance, # Decisions and # Amendments of the active FLOW, the telemetry row, and nothing else; a fix is a new task step, never done from the review"}
```
# Run
```clojure
(-> (:step-1 "run what the project says means done — the adapter's meters, its registered check tools, the build and tests")
(:step-2 "read every row of # Acceptance and write its :actual and :status from what ran")
(:step-3 "where a meter points into a file, read those lines — only those")
(:step-4 "ask 'sdd-flow eval': on — run sdd-code-critic :audit, conformance then critic, in one fresh subagent; conform — its :conform alone; off — go to :step-5. The skill names what is logged; a :reject of either step returns the task before troubling the owner, an ambiguous or :unproven item becomes the owner's question")
(:step-5 "put every declared addition of # Added that the audit found to the owner — accept or remove")
(:step-6 "ask the owner for the check only the owner can make — the rows marked :owner, play the scene, try the screen — and log their word when an audit ran: accepted, 'sdd-flow stats human-pass --task <task>'; rejected, before any fix, sdd-code-critic :record through its subagent, then 'sdd-flow stats human-reject'; silence is not a pass and is not logged"))
```
# Verdict
```clojure
{:behavior #{:met :failed :pending}
:met "every acceptance row at target, the conformance verdict :pass when eval is on or conform, every addition accepted or removed, the owner's own check passed where one is named"
:pending "a row that only the owner can read has not been read yet, or an ambiguous or :unproven item or a declared addition waits for an answer"
:failure "{:what \"what failed\" :level #{:task :survey :algorithm :code} :returns-to \"the step the chain runs again from\"}"
:levels {:survey "a fact the change stood on was false — the survey, then everything after it"
:algorithm "the algorithm computes the wrong thing — the algorithm, then the code"
:code "the code slipped — the code alone"
:task "the task reads two ways or asked for the wrong thing — the question, then everything it changes"}
:boundary "a behavioral failure is returned to the level where the fault lives (:task, :survey, :algorithm, or :code) rather than patched with workarounds"}
```
# Report
```clojure
{:tell "in prose: the verdict, the conformance rows that are not :present, every failure with its level, what ran and what it printed in one line each"
:record "# Acceptance of the active FLOW — :actual and :status per row, :level on a failed one; standalone, the report is told and nothing is written"
:discovered "a live tool the audit discovered is offered to the owner as one entry of # Tools, once"
:never #{"a green that rests on a row nobody read"
"a failure without a level"
"rereading every touched file whole by default — the owner calls for that explicitly when they want it"}}
```