devtools-ux-audit
Skill1 starsChanged 4 months agoMITView on GitHub
Collect browser evidence for a declared web journey or formal UX score gate. Use when audit coverage must span specified journeys and viewports.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- artgen-scaffoldSkill
- decideSkill
- frontend-aesthetic-directorSkill
- run-adaptiveSkill
- run-analysisSkill
- run-ciSkill
- run-committeeSkill
- run-flowSkill
- run-generalSkill
- run-modernizeSkill
- run-pipelineSkill
- run-simpleSkill
- run-specSkill
- run-uxSkill
- ui-communication-designerSkill
- ui-ux-workflowSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
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 13
Do not use it as the primary workflow for native interfaces that cannot be exercised through a browser.
- Distinctive: line 29
If no suitable browser capability is available, do not infer rendered behavior from source alone.
- Distinctive: line 38
If this task starts a server, completion requires the URL to stop responding and its expected port to stop listening.
- Distinctive: line 39
If this task starts a dedicated browser or DevTools session, completion requires that owned session to be closed.
- Distinctive: line 51
Do not assume mobile-first behavior.
- Distinctive: line 55
Use one preset consistently unless a defect requires an extra diagnostic size:
- Distinctive: line 78
When visual layout, hierarchy, clipping, contrast, or state appearance is material, capture and actually inspect a screenshot at readable …
- Distinctive: line 83
When a finding occurs only at one viewport, state that scope.
- Distinctive: line 98
Do not claim a console, network, accessibility, or responsive result that was not actually checked.
- Distinctive: line 103
Do not lower a desktop-first product's primary score for a compatibility-only mobile defect unless mobile quality is in scope.
- Distinctive: line 105
When navigation, authentication, test data, browser tooling, or a local preview blocks part of the journey, report reduced coverage and …
- Very specific: line 107
Do not repair the product or repeat an audit to chase a requested score.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
DevTools UX Audit
Collect browser evidence for one bounded user journey. This is the evidence layer; pair it with $run-ux when the user wants a formal multi-perspective scorecard and synthesized report.
Ordinary verification of an affected component or state may use available browser tooling at that smaller scope. That does not start this journey-audit contract or a $run-ux score gate. When the user requests this audit or a formal gate, preserve the complete declared product profile, journey, viewport, evidence, and not_evaluable requirements below.
Do not use it as the primary workflow for native interfaces that cannot be exercised through a browser.
For a blind audit, keep source code, RepoFindings, implementation intent, and design
rationale out of the evaluator handoff. The controller may use them only to locate or
start the target. A requested score gate requires complete browser coverage of every
declared primary journey and primary viewport; otherwise report not_evaluable.
Capability Preflight
Before auditing:
- Identify the available browser capability. Prefer Chrome DevTools tools. An equivalent browser or Playwright workflow is acceptable only if it can preserve viewport, interaction, snapshot, console/network, and screenshot evidence relevant to the task.
- Confirm the target URL is reachable.
- Decide who owns the local server and browser session.
- Select a product profile and viewport preset.
If no suitable browser capability is available, do not infer rendered behavior from source alone. Report the evidence limitation and either stop or perform a clearly labeled source-only review when that still helps.
For Chrome-specific call order and recovery, read references/chrome-devtools.md. For Windows lifecycle details, read references/windows-notes.md.
Ownership and Cleanup
- A paired server workflow owns startup, readiness, and teardown of a local preview.
- This task owns only the processes, pages, profiles, or browser sessions it starts. Never kill an unrelated shared browser or server.
- Reuse an already-authorized page or session when practical.
- If this task starts a server, completion requires the URL to stop responding and its expected port to stop listening.
- If this task starts a dedicated browser or DevTools session, completion requires that owned session to be closed.
- Record incomplete cleanup as a blocker or limitation; do not treat a disconnected tool as proof that the underlying process stopped.
Choose the Product Profile
Select one before interaction:
desktop-web: desktop is primary; mobile is normally compatibility-onlyresponsive-web: desktop, tablet, and mobile are scoreddesktop-app: browser-hosted desktop UI; small viewports are compatibility-only unless requestedmobile-web: mobile is primary
Do not assume mobile-first behavior.
Choose a Viewport Preset
Use one preset consistently unless a defect requires an extra diagnostic size:
desktop-2:1366x768,1920x1080desktop-3:1366x768,1440x900,1920x1080responsive-core:390x844,768x1024,1366x768mobile-core:375x812,390x844, plus secondary430x932
The bundled helper emits a deterministic plan. Inspect its interface before use:
python3 scripts/viewport_plan.py --help
python3 scripts/viewport_plan.py --profile desktop-web --format textEvidence Loop
For each scored viewport:
- Navigate to the exact entry page and apply the viewport.
- Capture a fresh semantic snapshot before interacting.
- Execute the same target journey using normal-user inputs.
- Record friction under discoverability, clarity, efficiency, confidence, and recovery.
- Capture console or network evidence when it explains behavior.
- When visual layout, hierarchy, clipping, contrast, or state appearance is material, capture and actually inspect a screenshot at readable scale. A file path or semantic snapshot alone is not visual evidence.
- Summarize the viewport before moving on.
Prefer semantic snapshots for routine inspection and screenshots for genuinely visual claims. Do not reuse stale evidence after navigation or a meaningful state change. For before/after or reference comparison, keep viewport, locale, theme, data, selected state, and zoom comparable; wait for fonts/assets to settle. Record mismatches and unavailable evidence rather than inventing visual scores. These comparison notes do not grant product-repair authority.
When a finding occurs only at one viewport, state that scope. Keep desktop-primary findings separate from compatibility-only mobile findings.
Evidence Record
For each material observation, record:
- profile and viewport
- page or state
- attempted user action
- observed result
- evidence type: snapshot, screenshot, console, network, or interaction outcome
- severity or task impact
- confidence and any limitation
- for visual claims, the screenshot actually viewed, relevant region, and comparison conditions; label visual claims unverified if image inspection is unavailable
Do not claim a console, network, accessibility, or responsive result that was not actually checked.
Reporting Discipline
- Score only the viewports included in the selected product profile.
- Do not lower a desktop-first product's primary score for a compatibility-only mobile defect unless mobile quality is in scope.
- Separate observed evidence from inference.
- When navigation, authentication, test data, browser tooling, or a local preview blocks part of the journey, report reduced coverage and confidence.
- Include cleanup evidence for resources started by this task.
- Do not repair the product or repeat an audit to chase a requested score. Return the
observed evidence once;
$run-uxowns the terminal gate decision.
The repo-level protocol contains the durable audit contract: ../../protocols/UX_DEVTOOLS_WORKFLOW.md.
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.

