sdd-review-code
Skill3 starsChanged 35 days agoMITView on GitHub
SDD review when implementation must be audited against PRD, TechSpec, and tasks, in a session or fresh-context subagent that did not write that code; does not correct findings.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-ready-fixSkill
- ai-ready-scoreSkill
- architectural-analysisSkill
- commitSkill
- deep-reviewSkill
- domain-modelingSkill
- dotnet-efficient-validationSkill
- herdr-orchestrationSkill
- no-workaroundsSkill
- repository-cli-efficiencySkill
- sdd-create-prdSkill
- sdd-create-techspecSkill
- sdd-execute-correctionsSkill
- sdd-execute-taskSkill
- sdd-orchestrate-flowSkill
- sdd-orchestrate-prdsSkill
- sdd-orchestrate-tasksSkill
- sdd-plan-auditSkill
- sdd-plan-correctionsSkill
- sdd-plan-refactoringSkill
- sdd-plan-tasksSkill
- sdd-snapshotSkill
- sdd-triageSkill
- update-nuget-packagesSkill
- writing-agents-mdSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Output: every task has proven location and state.
- Distinctive: line 16
Output: no orphan obligation; incomplete tasks, broken links, and acceptance without evidence remain gaps.
- Very specific: line 24
Read references/TEMPLATE.md in full when issuing the report.
- Distinctive: line 34
If sources or code change during review, revalidate the affected part before the opinion.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review SDD code
Run in a session that did not write or change the code under review, or as a delegated reviewer: a fresh-context subagent the authoring session launches under the protocol in references/delegated-review.md, whose contract applies together with this skill. This session consolidates the matrix and writes the report; its subagents are read-only explorers for disjoint inspections. If this session authored any of that code, stop before step 1 and apply the independence rule from .agents/skills/sdd-orchestrate-tasks/references/session-continuity.md, which delegates the review or recommends ending the session; if the user continues in the authoring session anyway, record the missing independence under the report's limitations.
- Require
prd.md,techspec.md, andtasks.mdundertasks/prd-[slug]/. Whencontext-snapshot.mdexists, load it through the Load branch of.agents/skills/sdd-snapshot/SKILL.mdas an independent stage. Read PRD and TechSpec once per version; then manifest, tasks, and handoffs. Check every link, extra file, ID, state, and dependency. Output: every task has proven location and state; a missing source blocks review with the exact path. - Bound the implementation by
--baseresolved to a commit, including relevant committed, staged, unstaged, and new files. Without a base, use handoffs and worktree; state the scope limitation. In a re-review, include correction reports and handoffs without altering history. Output: reviewable set identified. An invalid base requests correction and never silently changes scope. - Build a matrix of every obligation: origin, implementation, test, state, and evidence. Reuse IDs; read each task's details according to its criteria without transcribing sources. Mark
conformant,non-conformant,pending, ornot verifiable. Disjoint slices of the matrix may go to parallel read-only explorers that return states withpath:lineevidence; verify the evidence a finding will rest on, and do not treat a slice without findings as approval of the whole. Output: no orphan obligation; incomplete tasks, broken links, and acceptance without evidence remain gaps. - Trace callers, effects, contracts, errors, and risks in changed paths, sending explorers only for sweeps across many files; consult
AGENTS.mdand relevant skills. Check commands and results; reuse execution proven for the same code, configuration, and environment, running missing or invalidated checks in this session and serializing those that sharebin/,obj/, orTestResults/. Run all TechSpec quality profile commands over the reviewable set, blocking and reservation, and subtract the Terrain baseline: debt that existed before the feature is not a finding of this review, and treating it as one hides what the implementation actually introduced. Conformance with acceptance and tests does not replace the profile: a diff that meets every obligation and still carries a new, unjustified blocking hit has a defect. A TechSpec without a quality profile or without a baseline is a gap recorded in limitations, not an empty profile or a zeroed baseline. A divergence between the code and other features' artifacts is not a finding: they are not maintained after the owning feature completes. In desktop C#/.NET, omit E2E and record the policy, including for inherited commands. Omission is neither a defect nor approved testing; check unit, integration, and manual acceptance evidence required by the TechSpec. Unexecuted essential manual work isnot verifiable. Output: states supported by evidence or an explicit limitation; zero tests do not prove acceptance. - Number findings
CR-01,CR-02within this review. Record origin, fact, file, symbol, and line, impact, severity, and evidence. Recommend a correction only with a proven cause. Identify a prior finding by review path + ID and mark it resolved, persistent, or not verifiable. A blocking profile hit becomes a finding with theQA-NNrule as its origin; a reservation hit becomes an optional improvement with the same traceability. Count the feature's reservations and, when a profile trigger fires, record in the escalation section the relevant skill and the number that justifies it — as a suggestion to the HIL, never executed in this review. Output: actionable findings distinct from optional improvements; all verifiable without conversation history; escalation suggested only with a counted trigger. - Read references/TEMPLATE.md in full when issuing the report. Reserve the next free numeric suffix under
codereview_[num]/, considering all existing folders. Write a newcodereview.md; preserve code, tasks, and previous reports. As a delegated reviewer, write into the folder the caller reserved instead of reserving another, record the execution asdelegated reviewer, and return under the contract, without a session pause. In standalone use, run the session pause; a snapshot written then records stagereview, the report incovers_through,authored_code: no, and the status as an open thread. Because this session changed no code, it may continue intosdd-plan-corrections. Output: immutable report with matrix, findings, validations, limitations, and status below; report path and blocks.
Status
APPROVED: all obligations conformant, tasks complete, links intact, required validations proven, and no unjustified blocking quality profile hit.APPROVED WITH RESERVATIONS: only optional improvements, including profile reservation hits, with no requirement, security, or essential evidence pending.REJECTED: any non-conformant or incomplete obligation, inconsistent state, failing mandatory test, missing essential evidence, or blocking profile hit not covered byDEC-NN.
If sources or code change during review, revalidate the affected part before the opinion. A missing environment records command, error, and affected IDs, without turning missing evidence into approval.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

