Design review
Check an implemented UI against its design reference — side-by-side visual comparison plus token conformance (hardcoded colours, off-scale spacing, missing states, contrast). Use after implementing a screen — triggers on "compare avec la maquette", "est-ce conforme au design", "vérifie le rendu", "revue design", "/design-review".From its SKILL.md
npx -y skills add tsiresymila1/claude-agent-kit --skill design-reviewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, as published. Nobody here has run it
Design Review — Implementation vs Reference
Verify that what was built matches what was specified, on two axes: what it looks like and what it is made of.
Why both axes
A screen can look right and still be unmaintainable — twelve hardcoded hex values that happen to match. It can also use perfect tokens and look wrong. Checking only one axis misses half the problem.
Step 1 — Load the reference
specs/design/tokens.mdandcomponents.md— the contract- The original reference (URL, Figma, screenshots) if still reachable
Without specs/design/, run design-intake first. There is nothing to review against.
Step 2 — Visual comparison
Render the implemented screen in the browser (preview_start, navigate, screenshot).
Compare against the reference on:
- Layout — proportions, alignment, density
- Rhythm — vertical spacing, are gaps consistent
- Hierarchy — does the eye go where it should
- States — hover, focus, disabled, empty, loading, error
Check both themes and mobile (resize_window). Most design regressions live
outside the desktop light-mode happy path.
Where a screenshot cannot settle it, measure:
getComputedStyle(document.querySelector('.target')).padding
Step 3 — Token conformance
The mechanical part — this is where drift is caught:
# Hex codés en dur hors du fichier de tokens
grep -rnE '#[0-9a-fA-F]{6}\b' src/ --include=*.tsx --include=*.css \
| grep -v 'tokens.css' | head -20
# Espacements hors échelle (px arbitraires)
grep -rnE '\b(padding|margin|gap):\s*[0-9]+px' src/ --include=*.css | head -20
For each finding: is it a legitimate exception, or drift? Say which.
Also verify:
- Every state in
components.mdis actually implemented - Contrast ≥ 4.5:1 for body text, ≥ 3:1 for large text
- Focus visible on every interactive element — the most frequently forgotten one
Step 4 — Report
Findings ordered by severity, with file:line evidence:
| Severity | Examples |
|---|---|
| High | Insufficient contrast, focus invisible, state missing entirely |
| Medium | Hardcoded colour, off-scale spacing, inconsistent state |
| Low | Minor visual deviation, naming |
Then: what matches well, quick wins, and a verdict — Conforme / Écarts à corriger / Écart majeur.
Rules
- Evidence, always. "The spacing looks off" is not a finding; "gap: 13px, scale is
4/8/12/16 —
src/x.tsx:42" is. - Never invoke a token that does not exist in
tokens.md. If a colour is genuinely missing from the system, that is a finding against the system, not a licence to hardcode. - An approximate reference value is not a compliance failure. A value marked
≈ approx.intokens.mdcannot be used to fail an implementation — flag it as needing confirmation instead. - Report what works, briefly. A review that only lists faults gets ignored.
Handoff
builder for corrections · design-intake if the system itself proves incomplete.