/uxd-research:uxd-evaluate-code-heuristicsfrom uxd-research
Evaluates UI code changes against UX heuristics including state coverage, content quality, destructive action safety, and accessibility. Works on any UI codebase without screenshots or rendered output.
Ships in uxd-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Evaluate code changes against UX heuristics grounded in established usability principles and WCAG accessibility standards. Works on any UI codebase — React, Vue, Angular, Svelte, vanilla HTML, or any framework that renders interactive UI.
This skill reviews code, not designs. It does not require screenshots, Figma context, or rendered output.
The caller provides code to review: a diff, a set of changed files, or a directory. The skill scans for code signals relevant to each evaluation dimension and produces findings only where evidence exists.
Load these reference files:
For each dimension:
When no signals are found for any dimension, return []. Do not
fabricate findings or force evaluation on irrelevant code.
| Dimension | Applies when | Source |
|---|---|---|
| State Coverage | Components render data from APIs, queries, or props | evaluation-rubric.md |
| Content & Microcopy | UI text: labels, headings, error messages, CTAs | evaluation-rubric.md |
| Destructive Action Safety | Code performs delete, remove, destroy, or irreversible operations | evaluation-rubric.md |
| Accessibility | Interactive elements, dynamic content, ARIA attributes | a11y-checklist.md |
All four dimensions apply to any UI framework. Accessibility and State Coverage are conditional — evaluated only when their code signals appear. Content & Microcopy is evaluated whenever UI text appears in the diff. Destructive Action Safety is evaluated whenever destructive operations are present in the diff.
Each finding should include:
Do not recommend specific UI components or framework patterns unless the codebase already uses that framework. Keep recommendations at the principle level.
[] when there is insufficient evidence| Doc | Purpose |
|---|---|
| evaluation-rubric.md | ERROR/WARN criteria for State Coverage, Content & Microcopy, Destructive Action Safety |
| a11y-checklist.md | Code-level accessibility checks (WCAG 2.2, WAI-ARIA 1.2) |
eval/cases/a11y-missing-labels/annotations.yaml (opens in a new tab)eval/cases/a11y-missing-labels/fixture.tsx (opens in a new tab)eval/cases/a11y-missing-labels/input.yaml (opens in a new tab)eval/cases/backend-no-signals/annotations.yaml (opens in a new tab)eval/cases/backend-no-signals/fixture.go (opens in a new tab)eval/cases/backend-no-signals/input.yaml (opens in a new tab)eval/cases/multi-dimension-gaps/annotations.yaml (opens in a new tab)eval/cases/multi-dimension-gaps/fixture.tsx (opens in a new tab)eval/cases/multi-dimension-gaps/input.yaml (opens in a new tab)eval/eval.yaml (opens in a new tab)references/a11y-checklist.md (opens in a new tab)references/evaluation-rubric.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rh-uxd/ai-helpers --plugin uxd-research4 skills in this plugin
/uxd-discoveryProduce a structured UX discovery brief from a feature request, Jira issue, or problem statement. Use when framing a design problem, identifying strategic decisions, or scoping design work./uxd-evaluate-design-heuristicsScore a design against accessibility, visual hierarchy, content, and state coverage heuristics. Use when a team asks for an AI design critique, a heuristic review, or a neutral evaluation of one or more design directions. Works with screenshots, Figma context, or any visual input./uxd-research-heuristic-evalConduct a heuristic evaluation of a prototype or interface using three independent expert evaluators. Use when running a usability audit, evaluating a UI against Nielsen's heuristics or other frameworks, or preparing for user testing. Do not use for accessibility audits, WCAG checks, or axe scans.Other plugins' skills for the same job