/claude-skills:ux-auditfrom claude-skills
Audits rendered web pages against Nielsen's 10 heuristics, WCAG 2.2 A/AA, and responsive behavior, returning prioritized findings with concrete fixes. Use to review page usability or accessibility from a URL or screenshot.
Ships in claude-skills. 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.
Audit an existing, rendered page against a fixed rubric and return findings the caller can act on. The discipline that makes this useful: audit what's actually on screen, cite the heuristic or success criterion, and propose a concrete fix. A finding with no location and no fix is noise; a "problem" you assumed without observing the page is worse.
This is distinct from neighbours:
ux-auditor agent fans out — one auditor per page (see that agent).Audit the rendered DOM and the visual result, not the raw source. Use whatever browser
driver is installed (prefer agent-browser, fall back to playwright-cli; the CLI binary
is playwright-cli, not playwright):
# preference order — use whichever exists
if command -v agent-browser >/dev/null 2>&1; then echo agent-browser
elif command -v playwright-cli >/dev/null 2>&1; then echo playwright-cli
else echo NONE; fi
For each page capture: a screenshot at each viewport, the rendered HTML/DOM, and (where the driver allows) computed styles for contrast and a tab-order walk for keyboard checks. The screenshot is your evidence; reference it in findings.
Isolate the session — the #1 cause of bad audits under fan-out. Both drivers default to a single shared browser session via a background daemon. When several audits run at once (the fan-out pattern), they collide on that shared session and you get cross-contamination — evals returning another page's DOM. Always give each audit its own named session and close it when done. This, not the tool, is what broke an early run of this skill.
Time-box the driver. If it still doesn't render cleanly within a few tries, switch drivers or drop to a static audit and say so — don't sink 30 calls into fighting it.
S="uxaudit-$$" # unique session per audit (fan-out safe)
agent-browser --session "$S" --allow-file-access open "file:///abs/path/page.html"
agent-browser --session "$S" --allow-file-access open "https://example.com" # remote too
--allow-file-access — no HTTP server needed.eval via --stdin avoids all shell-quoting corruption (the trap that wastes calls);
return a string with JSON.stringify(...):
agent-browser --session "$S" eval --stdin <<'EOF'
JSON.stringify((() => {
const noAlt = Array.from(document.images).filter(i => !i.alt).length;
const p = document.querySelector("p"); const s = getComputedStyle(p);
const b = document.querySelector("button"); const r = b.getBoundingClientRect();
return { noAlt, color: s.color, bg: s.backgroundColor, target: r.width + "x" + r.height };
})())
EOF
snapshot -i (a11y refs/roles), screenshot --annotate
(numbered labels — ideal for icon-only buttons), screenshot --full. For mobile, set
viewport via config/flags or audit at the iOS profile (-p ios).agent-browser --session "$S" close when done.playwright-cli, not playwright)file:// URLs often don't load. Start a throwaway
server and target http://localhost:
( cd "$DIR" && python3 -m http.server 8731 & ) # or `uv run python -m http.server`
playwright-cli open # start the browser
playwright-cli goto "http://localhost:8731/page.html" # goto, not open-with-arg
open <url> may stay on about:blank; always goto explicitly after open.eval takes a function and the value prints under ### Result. Use () => ...
form; a bare expression containing => is misparsed as a function-to-apply. Return a
string (JSON.stringify(...)) so the result is unambiguous:
playwright-cli eval "() => { const b=document.querySelector('button'); const r=b.getBoundingClientRect(); return JSON.stringify({w:r.width,h:r.height}); }"
alt, inputs whose .labels is empty, computed
color/backgroundColor for contrast, getBoundingClientRect() for target size.playwright-cli resize 375 812 then screenshot, repeat at
1280 900. playwright-cli snapshot dumps the accessibility tree (names/roles).playwright-cli close when done.If no driver is installed (or you abandoned a flaky one), set "driver": "static-only",
audit the static HTML + any screenshot the user provides, and flag in notes that
dynamic/contrast/keyboard/viewport checks were not performed. An honest partial audit beats
a guess.
Walk all three lenses. Don't stop at accessibility — usability and responsiveness catch different failures.
Check the high-yield criteria first:
alt on informative images; empty alt="" on
decorative ones.<label>s; controls
expose an accessible name; ARIA used correctly (or not at all).main, nav, header); descriptive page <title>.Match the fleet's review scale (same as code-reviewer):
Reserve blocking for "this stops someone," and back every finding with what you observed.
One object per audited page. (When fanned out, the agent merges these.)
{
"page": "url-or-path",
"goal": "what the user is here to do (stated or inferred)",
"viewports_checked": ["375x812", "1280x900"],
"driver": "agent-browser | playwright-cli | static-only",
"summary": { "blocking": 0, "major": 0, "minor": 0 },
"findings": [
{
"severity": "blocking | major | minor",
"lens": "usability | accessibility | responsive",
"ref": "Nielsen #5 | WCAG 1.4.3 | responsive@375px",
"location": "selector or region, e.g. 'form#signup > button.submit'",
"evidence": "what you observed (+ screenshot ref / measured value)",
"suggested_fix": "concrete change to make",
"confidence": "high | medium | low"
}
],
"notes": "assumptions, what couldn't be checked, empty if none"
}
Be precise over exhaustive. Ten located, fixable findings beat forty vague ones. If you couldn't render the page, say what you could and couldn't assess rather than inventing problems.
The audited pages and any findings about a specific product are often the client's
property — keep the page content and results out of any shared/committed location. This
skill and the ux-auditor agent are generic and publishable; the data they process is not.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kevin-burns/claude-skills --plugin claude-skills32 skills in this plugin
/adr-authorWrite or amend an architecture decision record (ADR) that a team will want to read and that names exactly what it decides: the modules, functions, paths or settings, and what must or must never happen. Asks whether the decision deserves a record, interviews briefly, follows the repo's existing ADR format and numbering, shows the draft before writing, and self-checks it (hedged decisions, names missing from the code, status and supersede links). Also amends or supersedes a record when the code turned out to be right. Use for "write an ADR", "record this decision", "document the architecture decision we made", "turn this into a decision record", "supersede ADR 4", "our ADR no longer matches the code", or a one-off exception to an existing ADR. Does not judge code against records, and does not make the decision. General prose and docs are clear-and-human./azadvertizerOffline lookups over AzAdvertizer's published Azure data: Policy, policy initiative and RBAC role metadata with cross-references found nowhere else in one place (which roles a policy uses, which initiatives include a policy, which policies use a role), plus Entra ID roles, API permissions (Microsoft Graph and other first-party apps) and resource types with their latest API versions. Use whenever accurate current facts about an Azure built-in policy, initiative, RBAC or Entra role, Graph permission or resource API version are needed for Azure IaC, governance or landing-zone work.Other plugins' skills for the same job