reviewing-code — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited reviewing-code (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Structured methodology for reviewing code implementations. Produces consistent, severity-based, actionable feedback that a developer can act on without ambiguity.
The orchestrator selects which perspective references to load for each review based on the workflow tier and chunk characteristics. The core process, finding format, and decision criteria remain the same regardless of which perspectives are active.
This skill defines the review process — how to conduct a review, format findings, and make decisions. The what to look for lives in perspective reference files that the orchestrator loads selectively.
This skill does NOT cover:
Perspectives are reference files under references/ that define what to examine during review. The orchestrator tells the reviewer-agent which perspectives to load.
Available perspectives:
| Reference | Focus | Typical use |
|---|---|---|
references/spec-compliance.md | Does code match the brief and acceptance criteria? | All tiers — always loaded |
references/code-quality.md | Correctness, simplicity, readability, test quality | Standard + Thorough |
references/security.md | Input validation, injection, auth, data exposure | Thorough, or when chunk handles user input |
references/whole-project.md | Full codebase against PRD success criteria | End of Standard/Thorough build only |
references/design-compliance.md | UI matches system.md tokens, depth, patterns | Standard + Thorough, when project has system.md and chunk touches UI |
Tier defaults:
| Tier | Perspectives loaded |
|---|---|
| Quick | spec-compliance (covers correctness against brief) |
| Standard | spec-compliance → code-quality → design-compliance (if system.md exists and chunk touches UI) |
| Thorough | spec-compliance → code-quality → design-compliance (if system.md exists and chunk touches UI) → security (as needed) |
| End-of-build | whole-project (standalone, against PRD not brief) |
The orchestrator may override defaults based on chunk characteristics (e.g., load security for a Quick auth fix).
A structured review document:
# Code Review: [chunk name/ID]
**Brief:** [reference to development brief or roadmap chunk]
**Perspectives:** [which perspectives were applied]
**Decision:** Accept / Revise
**Findings:** [count by severity]
## Findings
[Findings grouped by severity: critical first, then major, minor, notes]
## What Works Well
[Brief acknowledgement of what meets standards]
## Decision
[Accept or Revise with rationale]
## Observations
[Anything relevant to the broader project but outside this chunk's scope]Read the development brief or enriched roadmap chunk completely. Internalise:
Do not open code files until you understand what was supposed to be built.
Run the test suite. Record which tests pass and fail. This is factual input — do not form conclusions yet.
Examine the code through each perspective the orchestrator loaded. Work through them in order: spec-compliance first (always), then others.
Not every concern in a perspective applies to every chunk — use judgement. Spend time proportional to risk.
Trap: reviewing beyond scope. Review this chunk, not the entire codebase. Broader issues go in observations, separate from findings.
Trap: style preferences over standards. Review against the project's patterns (ARCHITECTURE.md), not personal preferences.
For each issue, write a finding using the Finding Format below. Assign honest severity.
Trap: nitpicking on accept. If heading towards acceptance, limit minor findings to the 3-5 most valuable.
Does this code, as a whole, solve the problem the brief describes? A review that catches every style issue but misses that the core logic is wrong has failed.
Apply the decision criteria. State your decision clearly with rationale.
When reviewing a second or subsequent iteration:
**[SEVERITY]** file:line (or component)
_Finding:_ What the issue is.
_Impact:_ Why it matters.
_Suggestion:_ How to fix it.| Level | Meaning | Examples |
|---|---|---|
| Critical | Blocks acceptance. Must fix. | Acceptance criterion not met, security vulnerability, data loss risk, tests broken |
| Major | Degrades quality significantly. Should fix. | Unhandled error causing user-facing failure, missing test for core logic, architectural pattern violation |
| Minor | Improves quality. Desirable but does not block. | Naming could be clearer, minor duplication, missing edge case test for non-critical path |
| Note | Observation only. No action required. | Worth knowing for future work, pattern that could become a problem at scale |
Severity honesty: Do not inflate. A naming improvement is not critical. Inflation erodes trust and wastes developer cycles.
All of:
Minor findings and notes are included but do not block acceptance.
Any of:
The review must list the specific issues requiring revision.
Developer implements a bug fix. Orchestrator loads spec-compliance perspective only. Code satisfies acceptance criteria, tests pass.
Expected: Accept. Review is short — only spec-compliance checked. No code-quality or security commentary.
Developer implements a feature chunk. Code works but uses an abstract factory pattern for a simple validator. Tests pass, acceptance criteria met.
Expected: Revise with one major finding from code-quality perspective. Example finding:
**[MAJOR]** src/validators/email-validator.ts:1-45
_Finding:_ Email validation uses an abstract factory pattern with three
interfaces and a plugin system. The actual validation is 4 lines of code
wrapped in 40 lines of abstraction.
_Impact:_ Maintenance burden disproportionate to the problem. Future
developers must understand the factory pattern to modify a simple check.
Violates simplicity principle.
_Suggestion:_ Replace with a direct validation function. If additional
validators are needed later, extract a pattern then — not before.Spec-compliance perspective passes (acceptance criteria are met).
Developer implements a search endpoint. Input passed directly to database query without sanitisation. All acceptance criteria met. Tests pass.
Expected: Revise with one critical finding from security perspective (injection vulnerability). Even though spec-compliance passes, security vulnerabilities are always critical.
All chunks complete. Orchestrator loads whole-project perspective against PRD.
Expected: Review assesses the entire codebase against PRD success criteria, not individual chunks. Findings reference PRD requirements, not chunk briefs.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.