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\".
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- audio-program-haxSkill
- audio-program-transcribeSkill
- grad-bloomsSkill
- hax-a11y-auditSkill
- hax-backend-devSkill
- haxcms-lrs-raterSkill
- haxcms-prototypeSkill
- hax-content-authoringSkill
- hax-content-chunking-auditSkill
- hax-design-system-ingestSkill
- hax-design-systemSkill
- hax-design-system-syncSkill
- hax-element-demoSkill
- hax-feedback-designSkill
- hax-i18n-translateSkill
- hax-importer-devSkill
- hax-instructional-elementSkill
- hax-instructional-events-auditSkill
- hax-issue-analysisSkill
- hax-issue-researchSkill
- hax-managed-filesSkill
- hax-mental-modelSkill
- hax-multimedia-principles-auditSkill
- hax-openstax2haxSkill
- hax-parity-agent-legSkill
- hax-pattern-library-auditSkill
- hax-practice-and-retrievalSkill
- hax-proficiency-scaffoldingSkill
- hax-reflection-promptsSkill
- hax-release-prepSkill
- hax-rule-managementSkill
- hax-site-generatorSkill
- hax-site-structureSkill
- hax-testingSkill
- hax-theme-builderSkill
- hax-tutorial-siteSkill
- hax-ubd-backward-designSkill
- hax-ubd-essential-questionsSkill
- hax-ubd-graspsSkill
- hax-ubd-six-facetsSkill
- hax-ubd-stage1Skill
- hax-ubd-stage2Skill
- hax-ubd-stage3Skill
- hax-ubd-unit-auditSkill
- hax-udl-auditSkill
- hax-url-migrationSkill
- heosat-report-siteSkill
- heosatSkill
- oerschema-auditSkill
- oerschema-integration-finderSkill
- praw-connection-ingestSkill
- reading-notesSkill
- siip-course-alignmentSkill
- youtube-vttSkill
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
- Distinctive: line 42
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 …
- Distinctive: line 73
Late discovery: only matters if the task needed that control early.
- Very specific: line 94
Search for duplicates per finding: gh issue list --repo haxtheweb/issues --search "<control label> in:title,body" --state all.
- Distinctive: line 106
Never attach raw session files to a public issue.
≈ “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.
Files
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
- Sign in to the HAXcms site under study (latest
mainof the backend, not a published npm build, if you are testing new capability). - 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. - 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"). - Full page reloads are fine; the session resumes from
sessionStorage. - Choose Stop and export. A
ux-study-<site>-<time>.jsonfile 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.jsThis 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.
- Search for duplicates per finding:
gh issue list --repo haxtheweb/issues --search "<control label> in:title,body" --state all. - 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.
- File each confirmed one:
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.gh issue create --repo haxtheweb/issues \ --title "[ux-study] <short title>" \ --body-file finding-UX-01.md - Reply with a clickable link to every issue created.
Thresholds (from the analyzer)
| Signal | Rule |
| Rage click | 3+ clicks within 1s and 32px |
| Dead click | non-interactive target, no route or focus change within 1s |
| Near miss | dead click within 16px of a control in the current snapshot (no scroll since) |
| Hesitation | hover of 1.5s+ on a control |
| Late discovery | first use 30s+ after the control was first on screen |
| Backtrack | A → B → A with 10s or less on B |
| Small target | under 24px in either dimension (WCAG 2.2 target size) |
| Faded | opacity under 0.6 |
Change thresholds in webcomponents (UXStudyAnalyzer.js), not here, so the viewer and the
script stay in agreement.
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
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.

