agentleFS
haxthewebhaxtheweb/praw/skills/hax-ux-study/SKILL.md

hax-ux-study

Skill2 starsChanged 22 days agoApache-2.0View on GitHub

Run and analyze an internal HAXcms UX study: record sessions with Merlin's >developer/ux-study, then turn the exported JSON into a findings report, a heatmap/replay review and confirmed issues in haxtheweb/issues. Use for \"ux study\", \"usability test\", \"analyze these recordings\", \"where do people get lost\", \"button visibility\".

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the same tasks, in the same order, at the same viewport class (laptop vs phone) for every participant, or the comparisons below are not …

    line 42
  2. Distinctive:

    Late discovery: only matters if the task needed that control early.

    line 73
  3. Very specific:

    Search for duplicates per finding: gh issue list --repo haxtheweb/issues --search "<control label> in:title,body" --state all.

    line 94
  4. Distinctive:

    Never attach raw session files to a public issue.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

HAX UX Study

Record how people actually use HAXcms, then find where the interface makes them hesitate, miss, or give up. The recorder ships in HAXcms (webcomponents, haxcms-elements); this skill covers running the study, analyzing the exports, and turning confirmed findings into issues.

What it measures. Clicks (with the real control they hit, through shadow DOM), dead and rage clicks, near misses beside small targets, hover dwell before acting, pointer path, scroll, route changes, Escape-after-open, and snapshots of every control on screen. Pointer position is an attention proxy, not eye tracking: people often look ahead of the cursor. Say so in every report.

What it never records. Typed characters (only the key category, like char or Tab), input values, or anything outside the browser. Sessions stay in the participant's sessionStorage until exported to a file.

1. Run a session

  1. Sign in to the HAXcms site under study (latest main of the backend, not a published npm build, if you are testing new capability).
  2. Open Merlin, type >developer/ux-study, type a participant code (P01, P02; never a name), and choose Start UX study recording. A "Recording UX study" pill stays on screen for the whole session; tell the participant what it is.
  3. Give one task at a time. Before each, mark it: use the pill's Mark task button or Merlin (>developer/ux-study, type the task, choose Mark task). Write tasks as goals, not instructions ("Add a page about safety under Week 1", not "Click the + button").
  4. Full page reloads are fine; the session resumes from sessionStorage.
  5. Choose Stop and export. A ux-study-<site>-<time>.json file downloads. Collect the files from all participants into one folder.

Run the same tasks, in the same order, at the same viewport class (laptop vs phone) for every participant, or the comparisons below are not apples to apples.

2. Analyze

node scripts/analyze.mjs ./sessions --out ./ux-study-out
# offline / pinned: --analyzer <your webcomponents checkout>/elements/haxcms-elements/lib/core/utils/UXStudyAnalyzer.js

This writes ux-study-analysis.json (findings, per-task medians, per-control exposure vs use) and ux-study-report.md. The analyzer is the same module the viewer uses, so numbers match.

For the heatmap and replay, open the viewer from the webcomponents demo (elements/haxcms-elements/demo/ux-study-viewer.html, on the Vercel preview or a local hax serve of the monorepo) and drop the same JSON files in. Selecting a finding outlines its control on the wireframe.

3. Review every finding before reporting it

The analyzer is deliberately noisy-but-honest; a person (or you, carefully) confirms each finding against the real UI before it becomes a claim:

  • Find the control. Each finding carries a shadow-piercing path (haxcms-site-editor-ui > #shadow > simple-toolbar-button#addpage). Locate that element in webcomponents and check what it is supposed to do.
  • Dead clicks on content text are often people reading or selecting text: drop them unless they cluster on something styled like a control (pointer cursor, button-like box).
  • Hesitation on a control everyone eventually used correctly is weaker than hesitation followed by Escape, backtracking, or a different control.
  • Late discovery only matters if the task needed that control early. Check the task marks.
  • "Used by no one" is context, not a finding.
  • Weight by how many participants hit it, not raw counts: one person rage-clicking ten times is one person.
  • Low contrast is measured only where a control paints its own opaque background; anything else needs a real contrast check in light and dark mode.

4. Write the report

Lead with the 3 to 5 findings that most block the tasks, each with: what happened (evidence with "N of M participants"), where (control + path), why it likely happened, and a suggested direction. Then the task table, then the rest grouped by category. Recommendations must respect HAX rules: redesigns don't change an element's front-end API (attributes, usage, labels), use DDD tokens, keep purple for incorrect and green for correct, and stay accessible. Mark which findings were confirmed by a human.

5. File issues (ask first)

Issues go to the unified queue, haxtheweb/issues, never individual repos.

  1. Search for duplicates per finding: gh issue list --repo haxtheweb/issues --search "<control label> in:title,body" --state all.
  2. Show the person the proposed list (title, severity, evidence, duplicate matches) and get an explicit yes per issue or for the batch. Do not file unconfirmed findings.
  3. File each confirmed one:
    gh issue create --repo haxtheweb/issues \
      --title "[ux-study] <short title>" \
      --body-file finding-UX-01.md
    Body: evidence, the control path, the task it blocked, participant count (codes only), the suggested direction, and a note that the pointer heatmap is an attention proxy. Never attach raw session files to a public issue.
  4. Reply with a clickable link to every issue created.

Thresholds (from the analyzer)

SignalRule
Rage click3+ clicks within 1s and 32px
Dead clicknon-interactive target, no route or focus change within 1s
Near missdead click within 16px of a control in the current snapshot (no scroll since)
Hesitationhover of 1.5s+ on a control
Late discoveryfirst use 30s+ after the control was first on screen
BacktrackA → B → A with 10s or less on B
Small targetunder 24px in either dimension (WCAG 2.2 target size)
Fadedopacity under 0.6

Change thresholds in webcomponents (UXStudyAnalyzer.js), not here, so the viewer and the script stay in agreement.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.