ux-audit

ux-audit is a cursor rule for Claude Code, Cursor from ssheleg/super-ux. It costs 38 tokens per session (845 once invoked), scanned A, original, MIT.

Rules for checking whether an interface implements the user scenarios documented for it, including buttons, loading states, and error handling.

In plain words
What is it for?
Use them for UX audits, scenario-compliance checks, and pre-release verification of interface behaviour.
Why use it?
They replace guesses with evidence from specific code lines and clearly identify work that cannot be verified before release.

Cursor rule for Claude CodeCursor

Written for Claude Code and Cursor: Claude Code plugin machinery, but also installed under .cursor/.

Good fit Use them for UX audits, scenario-compliance checks, and pre-release verification of interface behaviour.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/ssheleg/super-ux/ux-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ssheleg/super-ux

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ux-audit

README.md
[![agentmods](https://agentmods.dev/badge/rules/ssheleg/super-ux/ux-audit/github.svg)](https://agentmods.dev/rules/ssheleg/super-ux/ux-audit)
Your own site
<a href="https://agentmods.dev/rules/ssheleg/super-ux/ux-audit"><img src="https://agentmods.dev/badge/rules/ssheleg/super-ux/ux-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ux-audit

Your own site · 80×15
<a href="https://agentmods.dev/rules/ssheleg/super-ux/ux-audit"><img src="https://agentmods.dev/badge/rules/ssheleg/super-ux/ux-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 845 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00845
Opus 5.5 $0.00015 $0.00338
Sonnet 5.5 $0.00008 $0.00169
Haiku 4.5 $0.00004 $0.00085

Measured 19d ago against content hash cf31bea65e88, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ux-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/ux-audit.mdc · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ux-audit — Scenario Audit Loop

Verify the code delivers every scenario in docs/ux/scenarios.md. Output: a report in docs/ux/audits/YYYY-MM-DD[-scope].md + updated Last audit column in the base. If the base is missing, create it first (ux-scenarios rule) — there is nothing to audit against.

Evidence discipline: every verdict cites file:line. Cannot verify → verdict BLOCKED with the exact reason. Never guess, never a courtesy PASS.

Scope and limits (required section): the report ends with what was covered, what was left out and why, what could not be verified, and what the code cannot answer. An audit reads a slice; absence from the report never means PASS.

Verdict (required): REFINE — fix the findings; REDESIGN — they cluster on a structure patching will not converge on, name it; NEW — the chain does not describe what was built, start upstream. Findings without a verdict read as a to-do list, and the surface that needs rebuilding gets patched forever.

Loop

  1. Read the base (and foundation/flows/screens when they exist); scope = all | feature: | ID range | coverage; note the git SHA of docs/ux for the report header; skip retired scenarios.
  2. Batch by feature, ~5–8 scenarios per batch; list batches up front.
  3. Per scenario check against the code: entry point reachable; every step implemented; every listed UI element present and wired; every listed state (loading/empty/error/success) has a rendering branch; every error surfaced honestly (no silent catch, no fake success) with the described recovery; expected result observably occurs. Gaps → findings [AUD-YYYY-MM-DD-NN] (critical|major|minor) description -> suggested fix.
  4. Verdicts: PASS (complete), PARTIAL (flow exists, gaps), FAIL (missing or broken), BLOCKED (cannot verify — say why). When flows.md/screens.md exist, also check conformance: every flow node reachable and every edge (error edges included) wired; every registered screen's states rendered and its Coverage accurate — code that diverges from a screen's record is a drifted finding. Scope coverage audits the chain itself (orphan stories/flows/screens/ scenarios, journey stages without scenarios, personas unused).
  5. Write the report batch by batch: header (scope, method, base SHA), Summary (totals, top issues, prioritized next actions), per-batch verdicts with evidence, findings-register table.
  6. Update the base: Last audit = YYYY-MM-DD VERDICT; validated → implemented where PASSed. Do not edit scenario content during an audit.
  7. With user's go-ahead produce docs/ux/plans/YYYY-MM-DD-<scope>.md: target interface per affected screen (elements, states, behavior) + CREATE/MODIFY/DELETE change table, every row traced to scenario/flow/finding IDs, prioritized Frequency × Severity × Solvability. Then tell the user what they have in hand (plan, audit report, docs/ux chain, Figma) and hand the plan to the ssheleg task-pipeline plugin when it is installed (/task-pipeline <plan file>); otherwise its optional install is /plugin marketplace add ssheleg/task-pipeline + /plugin install task-pipeline@task-pipeline, or implement by hand. The plan is executable without the conversation.

Read the full file on GitHub · 62 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed cf31bea65e88
  2. 3mo ago First seen · 62 lines · 38 tokens per session scan A f077782089b2

Subscribe to this mod's changes

ux-audit is a cursor rule published in the GitHub repository ssheleg/super-ux (8 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 845 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ux-audit compared with cursor rules from other repositories

ux-audit next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ux-auditssheleg/super-uxCursor rule82d agoMITA38Claude Code, Cursor
sheleg-designssheleg/sheleg-design-skillCursor rule4yesterdayMITA40Cursor
tell-ui-designashishpatill/tell-proofCursor rule21mo agoMITA0Cursor
motion-designAI-by-design/Design-workflowCursor rule245mo agononeA3,740Cursor
ux-designAI-by-design/Design-workflowCursor rule245mo agononeA3,966Cursor
cross-platform-ux-consistencyspencergoldade/cursor-designerCursor rule389mo agoGPL-3.0A25Cursor
ui-components-and-statesspencergoldade/cursor-designerCursor rule389mo agoGPL-3.0A0Cursor