Install
openclaw skills install @afonsoft/web-design-guidelinesUse when auditing UI code for interface-guideline compliance (accessibility, forms, animation, images, performance, UX copy) and/or validating a deployed page against Lighthouse 95+ targets. Produces evidence-based findings (file:line + Lighthouse JSON) and turns confirmed pendencies into Draft SPECs via write-specs. Do NOT use to design/build UI from scratch (use design) or to fix findings inline — fixes go through the SPEC pipeline.
openclaw skills install @afonsoft/web-design-guidelinesMerged validation skill: static interface-guidelines review of UI code (accessibility, focus, forms, animation, typography, images, performance, state, touch, theming, i18n, hydration, copy) + runtime Lighthouse verification (95+ in all categories, mobile and desktop) → consolidated findings report → Draft SPECs via write-specs → Epic + Issues via create-issues → execution via orchestrator.
Adapted from:
vercel-labs/web-design-guidelines (rules vendored in references/interface-guidelines.md — do not re-fetch at runtime)aliborhothamud/lighthouse-95-skill (measurement loop in references/lighthouse-verification.md)This skill audits and plans — it never edits application code. Confirmed pendencies become SPECs and Issues; implementation happens in the normal SPEC/PR pipeline.
| Term | Definition |
|---|---|
finding | One concrete violation, cited as file:line (static) or audit ID + evidence (Lighthouse) |
pendency | A finding the user confirmed should be fixed |
finding group | A set of related pendencies that share one fix strategy — the unit of a Draft SPEC |
pass | A full Lighthouse run (all four categories) on one URL, one preset |
| File | Read when |
|---|---|
references/interface-guidelines.md | Always — the complete rule set for the static review |
references/lighthouse-verification.md | Phase 2 — measurement loop, JSON interrogation, fix playbook, traps, verification gate |
references/report-template.md | Phase 3 — report structure and SPEC handoff packet format |
../write-specs/SKILL.md | Phase 4 — Draft SPEC format |
../create-issues/SKILL.md | Phase 5 — Issue format |
../orchestrator/SKILL.md | Phase 6 — downstream coordination |
file:line (read the file — never invent line numbers). Runtime: the Lighthouse audit ID, metric value, and offending element/URL from the JSON.localhost, dev servers, or unminified dev bundles. A plain deploy may be a preview; confirm the URL users actually hit before measuring.references/lighthouse-verification.md.Ask in pt-BR (short question, default [1]):
Qual modo de validação?
[1] Revisão de código (guidelines) — padrão
[2] Verificação Lighthouse (URL já publicada)
[3] Ambos — código + Lighthouse
Then resolve inputs:
*.razor, *.tsx, *.html, *.css, *.component.ts…).accessibility, performance, forms…).No file reading or measurement before this phase ends.
references/interface-guidelines.md in full — it is the complete rule set.file:line + rule violated + one-line evidence. Group by file, then category.Follow references/lighthouse-verification.md exactly:
Write design-review-{YYYYMMDD}.md at the repo root following references/report-template.md:
critical / high / medium / low), evidence, and suggested fix direction.finding groups — coherent fix units that will become SPECs (e.g., "form a11y pass", "font loading + LCP", "image dimensions & lazy loading").Present the group list to the user in pt-BR:
Encontrei {N} pendências agrupadas em {M} grupos:
1. {group} — {n} findings ({severidade máxima})
...
Posso gerar os Draft SPECs desses grupos? Responda "sim" ou indique quais grupos excluir.
write-specs)For each approved finding group:
write-specs with the handoff packet from references/report-template.md (findings, evidence, fix direction, acceptance criteria, out-of-scope)..specs/SPEC-{YYYYMMDD}-{finding-group}.md.Encontrei {N} Draft SPECs do design review:
- .specs/SPEC-...-form-a11y.md — {resumo}
- .specs/SPEC-...-lcp-fonts.md — {resumo}
Aprova a criação das Issues no GitHub? Responda "sim" para continuar.
Silence or anything other than explicit approval → stop. On partial rejection, revise only the cited SPECs.
create-issues)After the gate:
Design Review {YYYYMMDD} — {n} pendências, body summarizing report + linking all slices.orchestrator with the Epic link and execution notes..claude/memory/web-design-guidelines-{YYYYMMDD}.md (files/URLs audited, findings count, SPECs, Issues, pending decisions).designcode-review-and-quality / diagnosemigration-planner