/deniz-process:requesting-code-reviewfrom deniz-process
Use after each task in subagent-driven development, after completing a major feature, before merging to main, or when asked to review changes since a commit, branch or tag — pins the range, then reports Standards and Spec separately
Ships in deniz-process. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation — never your session's history.
Core principle: Review early, review often.
The review runs on two axes, and they are never merged:
A change can pass one and fail the other, which is the whole reason to keep them apart. See Why two axes.
Mandatory:
Optional but valuable:
On request: "review the branch", "review since main", "review what changed since that tag".
Same process — the fixed point is whatever the human named.
Every review is a diff between HEAD and a fixed point. Get it from the human if they named one,
otherwise derive it:
BASE_SHA=$(git merge-base main HEAD) # a branch; or HEAD~1, a tag, a task's starting commit
HEAD_SHA=$(git rev-parse HEAD)
git log --oneline $BASE_SHA..$HEAD_SHA
Confirm the range before dispatching anything: the ref resolves (git rev-parse) and the diff
is non-empty. A bad ref should fail here, in one place, not inside a subagent that has already
burned its context discovering it.
For a branch review prefer the three-dot form (git diff BASE...HEAD) so the comparison is against
the merge-base rather than against whatever main has since collected.
What the change was supposed to do, in this order:
#123, Closes #45) — fetch them the way this
repo's issue-tracker notes describe. If that convention has not been set up here, tell the human
to open /deniz-process:setup-matt-pocock-skills rather than guessing at a tracker.docs/, specs/ or .scratch/ matching the branch or feature.Search this repo for every file that documents how code should be written — CONTRIBUTING.md,
CODING_STANDARDS.md, the agent contract, a house style file. When CODING_STANDARDS.md or
CONTRIBUTING.md exists, it must be on the list. Pass the paths to the reviewer.
You do not need to supply a baseline: code-reviewer.md carries a fixed set of code smells that applies even when a repo documents nothing. Two rules bind it, and the template states them to the reviewer: the repo overrides — a documented standard always wins, and where it endorses something the baseline would flag, the smell is suppressed; and every baseline smell is a judgement call, never a hard violation.
Fill the template at code-reviewer.md and dispatch a general-purpose
subagent. Placeholders: [DESCRIPTION], [SPEC], [STANDARDS_SOURCES], [BASE_SHA],
[HEAD_SHA]. Start each reviewer with a fresh context window, never a fork of this conversation.
One reviewer by default. It holds both axes and reports them separately.
Two reviewers when the Spec axis is a genuinely different document — an issue, a PRD, a spec
file that the Standards sources are not. Then send one message with two Agent calls, each getting
the range and only its own axis's material, and neither seeing the other's brief. Isolation is the
point: two long documents in one context is where one axis starts masking the other.
When the plan is the requirements — the common case, and subagent-driven development's final whole-branch review — a second subagent would read the same document twice for the same range. Dispatch one.
Wait until every reviewer has reported. Never read, merge, or act on any review while another is still out, and never write your own in place of a missing one.
Both axes come back under their own headings. Do not merge or rerank them, and do not pick a single worst issue across both. Severity within an axis is the reviewer's job; ordering the two axes against each other is exactly the masking this separation exists to prevent.
A merge verdict is still one decision — but it must name what each axis contributed to it.
The reviewer that holds the spec also returns a Declined to judge list: behaviors it set aside as outside the spec. Rule on every line — it stands, or it is now a finding — and say which; nothing on it is dropped silently. Then re-grade by effect before acting: a finding's grade is what a person using the software gets if it ships, not whether the spec names its trigger. A Minor that was Minor only because the spec was silent is graded again.
How to take the feedback — what to accept, what to question, how to push back without capitulating or getting defensive — is the deniz-process:receiving-code-review skill's job. It applies to a subagent's findings exactly as it applies to a human's, except inside an executing-plans or subagent-driven-development run, where the executor's ruling rules win.
| Excuse | Reality |
|---|---|
| "I'll just review the diff myself instead of dispatching a reviewer" | You're the coordinator — reviewing the diff inline burns the context window you need to keep driving the work. Dispatch a reviewer subagent: the diff and the evaluation live in its context, and only the findings come back to you. |
| "The reviewer needs my whole session history to understand the change" | Hand it precisely crafted context, never your session's history. That keeps the reviewer on the work product, not your thought process. |
| "There's no written spec, so I'll review against what I think it should do" | Then you are reviewing your own assumptions and calling it a Spec axis. Say "no spec available" and let the Standards axis carry the review. |
| "Standards findings are nitpicks next to a missing requirement" | That ranking is the masking. Report both; a change can follow every standard and implement the wrong thing. |
Never:
If reviewer wrong:
A change can pass one axis and fail the other:
Reporting them separately stops one from masking the other.
See template at: code-reviewer.md
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub blind-striker/agent-skills-and-plugins --plugin deniz-process45 skills in this plugin
/asd-ste100Use when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and misreading has a real cost, or when text reads as dense, hedged, or easy to misparse. Triggers: disambiguate, STE100 rewrite, apply Simplified Technical English, plain-language rewrite, controlled-language rewrite, rewrite so an agent cannot misread this. Not for creative or marketing copy./ask-denizUse when unsure which skill or ceremony fits, or when asked which to use, across installed deniz Modules: process workflows, .NET, Aspire, and Akka. Manual ceremonies stay user-started./brainstormingOther plugins' skills for the same job