Communitygithub.com

ui-audit-rubric

Audits UI designs and screenshots against a standardized UX/UI quality rubric and produces a structured handoff report. Trigger automatically when asked to audit a UI, critique a screen, check visual alignment or artifacts, or score a design before developer handoff.

O que é ui-audit-rubric?

ui-audit-rubric is a Claude Code agent skill that audits UI designs and screenshots against a standardized UX/UI quality rubric and produces a structured handoff report. Trigger automatically when asked to audit a UI, critique a screen, check visual alignment or artifacts, or score a design before developer handoff.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ranjanthangjam/ui-audit-rubric-skill/tree/HEAD/ui-audit-rubric

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

UI Audit Rubric

Evaluate screenshots, prototypes, or specifications against the rubric below. Do not rewrite code unless the user explicitly requests implementation. Base findings on visible or specified evidence; identify assumptions when an artifact does not show enough to judge.

Required Layout & Action-Hierarchy Checks

For every audit, explicitly inspect fixed, sticky, or floating headers, footers, toolbars, and overlays for content occlusion at the shown or specified viewport. Check whether they cover, clip, or make any underlying content unavailable, including data rows, interactive rows, or controls. If a data row, interactive row, control, or other meaningful content is hidden or occluded, report it as at least Major. Mark it Critical if it blocks a core task, hides essential content, or makes the screen unusable. Recommend a measurable fix such as reserving space for the fixed element, adding sufficient content inset, or making the affected region scroll independently; verify that all content and controls remain visible and reachable at the target viewport.

For every screen and header, explicitly inspect primary actions for competing emphasis. Check whether multiple CTAs have identical visual prominence—such as two solid purple buttons labeled “Upgrade Plan” and “Buy Extra Credits”—without a clear primary/secondary hierarchy. When equally prominent primary CTAs make the intended primary action ambiguous, report it as a Major issue. Recommend establishing one visually dominant primary action and using a clearly secondary treatment for other actions, while retaining labels that communicate their distinct outcomes. Do not flag multiple actions solely because they exist when the visual hierarchy is clear.

Scoring

Award whole points up to each category maximum. Use the anchors to calibrate scores; give partial credit when evidence falls between anchors. Do not award points for unobservable behavior—mark it unverified and score only the evidence available.

  1. Layout, Grid & Alignment — 25 points
  • 22–25: Clear hierarchy; consistent spacing and alignment; coherent grid; content fits intended viewport.
  • 15–21: Structure is understandable, with a few noticeable spacing, alignment, or hierarchy inconsistencies.
  • 8–14: Repeated misalignment, uneven spacing, crowding, or weak hierarchy impairs scanning.
  • 0–7: Layout is broken or confusing; major content is misplaced, obscured, or unusable.
  1. Visual Realism & Artifact Check — 20 points
  • 18–20: No visible rendering defects; layers, edges, icons, and text render cleanly.
  • 12–17: One or two minor defects that do not obscure content or suggest a broken layout.
  • 6–11: Noticeable artifacts, such as overlapping layers, clipped text, distorted icons, or rendering glitches, distract or obscure details.
  • 0–5: Severe or repeated artifacts make substantial parts of the screen appear broken or unreadable.
  1. Typography & Readability — 20 points
  • 18–20: Text is legible at the shown size; hierarchy, contrast, line length, and wrapping support reading.
  • 12–17: Mostly readable, with isolated weak contrast, cramped text, inconsistent hierarchy, or awkward wrapping.
  • 6–11: Frequent readability problems, including small or low-contrast text, dense blocks, or unclear hierarchy.
  • 0–5: Key text is unreadable, clipped, or too ambiguous to understand.
  1. Interaction & Affordance Clarity — 20 points
  • 18–20: Primary actions and interactive elements are easy to identify; labels and states communicate expected behavior. For static artifacts, judge only the affordances shown.
  • 12–17: Main action is apparent, but some controls, states, or action outcomes are ambiguous.
  • 6–11: Multiple controls are hard to distinguish from decoration or their purpose is unclear.
  • 0–5: Users cannot reliably identify or understand the primary action. Mark interaction behavior unverified when no prototype or specification demonstrates it.
  1. Edge-Case & Handoff Readiness — 15 points
  • 13–15: Important states and constraints are addressed or clearly specified; implementation-relevant details are ready for handoff.
  • 9–12: Mostly ready, with a small number of unspecified states, responsive constraints, or content rules.
  • 4–8: Several material states or constraints are missing, making implementation decisions uncertain.
  • 0–3: Critical states or requirements are absent; the design cannot be handed off reliably.

Verdict

Choose one verdict from the total score: Ready for handoff (90–100), Ready with minor fixes (75–89), Needs revision (50–74), or Not ready (0–49). Keep the verdict consistent with critical issues: if any issue blocks core use, do not call the design ready for handoff regardless of score; explain the blocker.

Issue Priority

Order issues under Critical, Major, then Minor. Mark an issue Critical when it blocks a core task, hides essential content, or makes the screen unusable; Major when it materially harms comprehension, interaction, or implementation confidence; Minor when polish or a localized inconsistency is affected. Avoid duplicate issues.

For every issue include:

  • Location: Name the screen, region, element, or state precisely.
  • Evidence: Describe the visible or specified problem; do not infer unsupported causes.
  • Measurable Fix: State a concrete change with a verifiable target (for example, align edges, prevent clipping at the target viewport, meet a specified contrast ratio, or document a missing state). Do not invent design intent or exact values when the artifact provides no basis; state the measurement or constraint to confirm.

When auditing a static screenshot or specification, only report occlusion or competing action hierarchy when it is visible or explicitly specified. If fixed-element behavior or CTA styling cannot be determined from the artifact, mark that check unverified rather than assuming a problem.

Required Output Format

Return these sections in this order and use this structure exactly:

Scorecard Summary

Total Score: XX / 100

Verdict:

CategoryScore
Layout, Grid & AlignmentXX / 25
Visual Realism & Artifact CheckXX / 20
Typography & ReadabilityXX / 20
Interaction & Affordance ClarityXX / 20
Edge-Case & Handoff ReadinessXX / 15

Prioritized Issues & Fixes

Critical

  • Location: ... Evidence: ... Measurable Fix: ...

Major

  • Location: ... Evidence: ... Measurable Fix: ...

Minor

  • Location: ... Evidence: ... Measurable Fix: ...

If a priority has no findings, write “None.” Never omit a priority heading. Keep the breakdown to five rows, one per rubric category. Ensure category scores sum to the total. Include only evidence-backed issues; if the artifact has no actionable issues, write “None.” under all three priority headings.

Habilidades Relacionadas